On 29/5/14 9:09 , Sebastian Reitenbach wrote:
> Hi,
> 
> yesterday I updated my desktop from a 5.2 or 5.3, to a current snapshot, now 
> to find
> the X server dying on me. See Xorg.0.log, xdm.log and dmesg below.
> 
> So I went back, installed a 5.5 release, where starting X just worked.
> 
> Afterward again, back to the snapshot.
> 
> I built, xenocara with debug symbols, following instructions
> in the README, giving me the following backtrace:
> 
> (gdb) bt
> #0  0x0000133e268f0fea in kill () at <stdin>:2
> #1  0x0000133e26953239 in abort () at /usr/src/lib/libc/stdlib/abort.c:53
> #2  0x0000133c21c42a6b in OsAbort () at /home/xenocara/xserver/os/utils.c:1372
> #3  0x0000133c21ab802c in ddxGiveUp (error=EXIT_ERR_ABORT) at 
> /home/xenocara/xserver/hw/xfree86/common/xf86Init.c:1078
> #4  0x0000133c21ab8155 in AbortDDX (error=EXIT_ERR_ABORT) at 
> /home/xenocara/xserver/hw/xfree86/common/xf86Init.c:1122
> #5  0x0000133c21c4c4d4 in AbortServer () at 
> /home/xenocara/xserver/os/log.c:770
> #6  0x0000133c21c4ca9f in FatalError (f=0x133c21d7f5c8 "Caught signal %d 
> (%s). Server aborting\n")
>     at /home/xenocara/xserver/os/log.c:911
> #7  0x0000133c21c3fc46 in OsSigHandler (signo=11, sip=0x7f7ffffbea30, 
> unused=0x7f7ffffbe950)
>     at /home/xenocara/xserver/os/osinit.c:147
> #8  <signal handler called>
> #9  0x0000133e2ede2ee2 in ?? ()
> #10 0x0000133e2f806952 in _dl_bind (object=0x7f7ffffbee30, index=Variable 
> "index" is not available.
> ) at /usr/src/libexec/ld.so/amd64/rtld_machine.c:404
> #11 0x0000133e2f802811 in _dl_bind_start () at 
> /usr/src/libexec/ld.so/amd64/ldasm.S:143
> #12 0x0000000100000160 in ?? ()
> #13 0x0000133e00004000 in ?? ()
> #14 0x0000000000000ff0 in ?? ()
> #15 0x0000133e3188b800 in ?? ()
> #16 0x00000000259d54a0 in ?? ()
> #17 0x0000000000000000 in ?? ()
> Current language:  auto; currently asm
> 
> 
> Due to the xdm.log and seen the GLX extension being loaded as the last
> thing before the segfault, I changed the xorg.conf, adding:
> 
> Section "Module"
>       Disable "glx"
> EndSection
> 
> on a restart of xdm, the x server again segfaulted, but without the line
> about loading GLX extension.
> 
> When I use the vesa driver instead of the nv driver, my X starts up, but
> with lousy resolution :(
> 
> any hint what I should try next?
> 

Can you disable xdm, run the failing server and capture stdout and
stderr. The fact that the backtrace goes through dl_* stuff seem to
indicate a failure while loading a shared object. ld.so writes its
errors to stderr and this doesn't get captured in Xorg.0.log

There may be something intesting to read here.

Otherwise build the xf86-video-nv with debugging symbols too and get a
backtrace, if possible by running Xorg directly under gdb, rather than
from a core file. From a remote login run sudo gdb Xorg and then 'r' ...


-- 

Matthieu Herrb

Reply via email to