OK, recompiled without optimizations but it still crashes. This time
config is initialized incorrectly:

(gdb) p config
$9 = (xf86CrtcConfigPtr) 0x11
(gdb) p *config
Cannot access memory at address 0x11

config is derived from ((xf86CrtcConfigPtr)
((p)->privates[xf86CrtcConfigPrivateIndex].ptr))

The value of xf86CrtcConfigPrivateIndex is... -1:

(gdb) p xf86CrtcConfigPrivateIndex
$27 = -1

This value gets initialized to -1 in xf86Crtc.c:57 and gets updated in
xf86Crtc.c:xf86CrtcConfigInit(). This function does not seem to be
called before the crash occurs as it crashes before a breakpoint set on
this function gets triggered. This leaves xf86CrtcConfigPrivateIndex set
to -1 and with that config is undefined...

-- 
segfault during X startup with savage driver
https://bugs.launchpad.net/bugs/311544
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to