[BUG] crash when trying to add a master XI2 device

Maxim Levitsky maximlevitsky at gmail.com
Mon Aug 17 02:46:55 PDT 2009


running 'xinput create-master testdev' crashes X

0: /usr/local/bin/X(xorg_backtrace+0x3b) [0x80a65db]
1: /usr/local/bin/X [0x809e8f5]
2: [0xb7f6040c]
3: /usr/local/bin/X [0x81194ea]
4: /usr/local/bin/X [0x81106c3]
5: /usr/local/bin/X [0x807c23f]
6: /usr/local/bin/X [0x8067065]
7: /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe5) [0xb7b3a775]
8: /usr/local/bin/X [0x8066c21]
Segmentation fault at address 0x1ba55

Fatal server error:
Caught signal 11 (Segmentation fault). Server aborting

(gdb) l *0x81194ea
0x81194ea is in ProcXIChangeHierarchy (xichangehierarchy.c:206).
201	                        xfree(name);
202	                        goto unwind;
203	                    }
205	                    ActivateDevice(ptr, FALSE);
206	                    ActivateDevice(keybd, FALSE);
207	                    flags[ptr->id] |= XIMasterAdded;
208	                    flags[keybd->id] |= XIMasterAdded;

Best regards,
	Maxim Levitsky

This is latest X stack from git, happened few days (maybe a week) ago
100% reproduceable

More information about the xorg mailing list