pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/52452: qt3-tools build 'uic' stuck in "fdclose" w/modular Xorg on i386-8.0_BETA and i386-8.99.1



On Thu, Aug 03, 2017 at 04:00:01AM +0000, John D. Baker wrote:
> The following reply was made to PR pkg/52452; it has been noted by GNATS.
> 
> From: "John D. Baker" <jdbaker%mylinuxisp.com@localhost>
> To: gnats-bugs%NetBSD.org@localhost
> Cc: 
> Subject: Re: pkg/52452: qt3-tools build 'uic' stuck in "fdclose" w/modular
>  Xorg on i386-8.0_BETA and i386-8.99.1
> Date: Wed, 2 Aug 2017 22:59:42 -0500 (CDT)
> 
>  On Wed, 2 Aug 2017, John D. Baker wrote:
>  
>  > Rebooting to clear out the stuck 'uic' processes then executing the
>  > same command line under 'ktruss' shows:
>  [snip]
>  > 
>  > The EACCESS result from "mmap()" suggests perhaps a PAX MPROTECT issue?
>  
>  I've just noticed the same issue with 'mplayer'.  As with 'uic', it hangs
>  trying to "mmap()" the file descriptor previously obtained by opening
>  ""/usr/pkg/lib/libGL.so.1".
>  
>  [...]
>     105      1 mplayer  open("/usr/pkg/lib/libGL.so.1", 0, 0xbfb53350) = 3
>     105      1 mplayer  __fstat50(0x3, 0xbfb53350)  = 0
>     105      1 mplayer  mmap(0, 0x1000, 0x1, 0x1, 0x3, 0, 0, 0) = 0xb125b000
>     105      1 mplayer  munmap(0xb125b000, 0x1000)  = 0
>     105      1 mplayer  mmap(0, 0x67000, 0x5, 0x2, 0x3, 0, 0, 0) = 0xb11f5000
>     105      1 mplayer  mmap(0xb124e000, 0xe000, 0x7, 0x12, 0x3, 0, 0x58000, 0) Err#13 EACCES
                                                   ^ this is an RWX mapping?

Can you run it in GDB with a break point on mmap and figure out where
that call is from?

Joerg


Home | Main Index | Thread Index | Old Index