On Tue, 09 Jun 2009 19:58:10 +0200, Julien Cristau writes:
>any chance you could reproduce this in gdb, rather than strace?
>Ideally with debug symbols for xdm.
sure, just did that. DEB_BUILD_OPTIONS="debug nostrip noopt" CFLAGS=-g LDFLAGS=-g dpkg-buildpackage -rfakeroot -us -uc
seems to have left sufficient debug info in the binary.
gdb-attaching to the greeter works fine; trying to login still causes a SIGSEGV.
gdb output:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb7ba6910 (LWP 14991)]
0xb7e99fc0 in _XSend () from /usr/lib/libX11.so.6
(gdb) i s
#0 0xb7e99fc0 in _XSend () from /usr/lib/libX11.so.6
#1 0xb7e9a1b2 in _XFlush () from /usr/lib/libX11.so.6
#2 0xb7e6d280 in XClearArea () from /usr/lib/libX11.so.6
#3 0x080604f0 in SetPrompt (ctx=0x91a7ba0, promptNum=0,
message=0x91a577c " Login:", state=LOGIN_TEXT_INFO,
minimumTime=0 '\0') at ../greeter/Login.c:905
#4 0x0805d5d6 in pamconv (num_msg=1, msg=0xbfb81cb4, response=0xbfb81cb8,
appdata_ptr=0xbfb86f1c) at ../greeter/greet.c:699
#5 0xb7e19a68 in pam_vprompt () from /lib/libpam.so.0
#6 0xb7e19bf9 in pam_prompt () from /lib/libpam.so.0
#7 0xb7ac6dc9 in ?? () from /lib/security/pam_mkhomedir.so
#8 0x091ec100 in ?? ()
#9 0x00000004 in ?? ()
#10 0x00000000 in ?? ()
(gdb) q
regards
az
--
+ Alexander Zangerl + DSA 42BD645D + (RSA 5B586291)
Usenet: open mouth, insert foot, propagate internationally
Attachment:
signature.asc
Description: Digital Signature