xorg-server 1.2.99.0 segfaults on keypress (releated to XkbCopyKeymap stuff) (with backtrace)

krics at linuxforum.hu krics at linuxforum.hu
Tue Nov 14 04:24:41 PST 2006


Hello there.

I got a bug (and maybe this is already mentioned by others) with 
xorg-server 1.2.99.0 version.

There is a thread in here which Subject is 'is xkbdata needed to have 
xf86Keymap.h?'

Seems the problem is very similary to that one. But i post a new thread 
about this in here.

A little quoting from that thread:

>> ps. here on radon new X is veeeery slow - to the point being 
>> unusable. I also have one report that pressing any key or producing 
>> evdev event causes X to segfault:
>>
>> Backtrace:
>> 0: /usr/bin/Xwrapper(xf86SigHandler+0x7e) [0x80c590a]
>> 1: [0xb7f08420]
>> 2: /usr/bin/Xwrapper(SwitchCoreKeyboard+0x12f) [0x8095847]
>> 3: /usr/bin/Xwrapper(mieqProcessInputEvents+0x16b) [0x81017b6]
>> 4: /usr/bin/Xwrapper(ProcessInputEvents+0x26) [0x80c6132]
>> 5: /usr/bin/Xwrapper(Dispatch+0x72) [0x8086248]
>> 6: /usr/bin/Xwrapper(main+0x4a7) [0x806ec15]
>> 7: /lib/libc.so.6(__libc_start_main+0xe3) [0xb7ceaf93]

> I can't see where SwitchCoreKeyboard crashes, so I assume it's in
> XkbCopyKeymap.  Unfortunately, I need a gdb backtrace telling me which
> line ...

I got similar problem on my system with xorg-server 1.2.99.0 . I 
figured out that you need a full debug enabled gdb backtrace. I made 
one :)

You can find it here: http://frugalware.org/~krix/misc/gdb_xorg.log

Just a notice for that: there is a line:
1101	xkbUtils.c: Nincs ilyen fájl vagy könyvtár.
	in xkbUtils.c

^^ Sorry it is in Hungarian :) That means: No such file or directory.

As i see you need which line and which file got segfault. GDB shows that.

(gdb) #0  0x00000000005b7da1 in XkbCopyKeymap (src=0x8de3e0, 
dst=0x8d7cd0,    sendNotifies=1) at xkbUtils.c:1101

Or dunno :)

btw i forgot about the main problem. Whats happens which cause 
segfaults. So simple. Just starting X (with X binary itself) and 
pressing any of keys. (mouse ok) If i press one key (nevermind which) 
then Xorg got segfault and drops this backtrace for me.

I hope this will be usefull and you can try to figure out whats broken 
or what not :)

Questions are welcome, i can do other tests/debugs, i got X debug 
version on now. :)

Regards

Christian Hamar alias krix
Hungary
Frugalware Development Team


----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

-------------------------
--- www.LinuxForum.hu ---
-------------------------




More information about the xorg mailing list