Bug#461783: X.org segfault with kxkb

2008-02-03 Thread Stefan Fritsch
severity 461783 grave
thanks

On Sunday 03 February 2008, Modestas Vainius wrote:
 I think this bug should be at least
 of 'grave' severity.

I agree. This version should definitely not go into testing.

Cheers,
Stefan



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#461783: X.org segfault with kxkb

2008-02-02 Thread Stefan Fritsch
Hi,

I have created a full backtrace with gdb. Maybe this helps.

My kxkb is using the following configuration:
LayoutList=de(nodeadkeys),us(basic)
Model=microsoftpro


After the crash, switching to other VTs is also broken (but switching 
back to VT7 with X works).

Cheers,
Stefan
# gdb /usr/bin/Xorg core

...

warning: Lowest section in system-supplied DSO at 0xe000 is .hash at 
e0b4
Core was generated by `/usr/X11R6/bin/X -nolisten tcp :0 vt7 -auth 
/var/run/xauth/A:0-futCvZ'.
Program terminated with signal 6, Aborted.
#0  0xe405 in __kernel_vsyscall ()
(gdb) bt full
#0  0xe405 in __kernel_vsyscall ()
No symbol table info available.
#1  0xf7d03f15 in raise () from /lib/i686/cmov/libc.so.6
No symbol table info available.
#2  0xf7d05891 in abort () from /lib/i686/cmov/libc.so.6
No symbol table info available.
#3  0xf7d3ca0c in __libc_message () from /lib/i686/cmov/libc.so.6
No symbol table info available.
#4  0xf7d44915 in _int_free () from /lib/i686/cmov/libc.so.6
No symbol table info available.
#5  0xf7d48380 in free () from /lib/i686/cmov/libc.so.6
No symbol table info available.
#6  0x081b4611 in Xfree (ptr=0x0) at ../../os/utils.c:1466
No locals.
#7  0x081a6880 in _XkbFreeGeomLeafElems (freeAll=value optimized out, 
first=value optimized out, count=25, num_inout=0x85369b4, sz_inout=0x85369b6,
elems=0x85369bc, elem_sz=8) at ../../xkb/XKBGAlloc.c:62
No locals.
#8  0x081a691c in _XkbClearRow (row_in=0x6 Address 0x6 out of bounds) at 
../../xkb/XKBGAlloc.c:342
No locals.
#9  0x081a635d in _XkbFreeGeomNonLeafElems (freeAll=1, first=0, count=5, 
num_inout=0x8533158, sz_inout=0x853315e, elems=0x8533164, elem_sz=24,
freeFunc=0x81a68e0 _XkbClearRow) at ../../xkb/XKBGAlloc.c:119
i = 5
ptr = 0x85369b0 \002\003\220\001
#10 0x081a64c9 in SrvXkbFreeGeomRows (section=0x8533148, first=0, count=5, 
freeAll=1) at ../../xkb/XKBGAlloc.c:349
No locals.
#11 0x081a6511 in _XkbClearSection (section_in=0x8533148 ã\001) at 
../../xkb/XKBGAlloc.c:363
No locals.
#12 0x081a635d in _XkbFreeGeomNonLeafElems (freeAll=1, first=0, count=7, 
num_inout=0x8532d66, sz_inout=0x8532d5a, elems=0x8532d78, elem_sz=48,
freeFunc=0x81a64d0 _XkbClearSection) at ../../xkb/XKBGAlloc.c:119
i = 4
ptr = 0x8533148 ã\001
#13 0x081a6479 in SrvXkbFreeGeomSections (geom=0x8532d40, first=0, count=7, 
freeAll=1) at ../../xkb/XKBGAlloc.c:374
No locals.
#14 0x081a6b8f in SrvXkbFreeGeometry (geom=0x8532d40, which=63, freeMap=1) at 
../../xkb/XKBGAlloc.c:443
No locals.
#15 0x081a4d61 in SrvXkbFreeKeyboard (xkb=0x8530550, which=127, freeAll=1) at 
../../xkb/XKBAlloc.c:328
No locals.
#16 0x0819342f in XkbFreeInfo (xkbi=0x828e6f8) at ../../xkb/xkbInit.c:820
No locals.
#17 0x0808546f in CloseDevice (dev=0x8288360) at ../../dix/devices.c:530
k = value optimized out
knext = value optimized out
p = value optimized out
pnext = value optimized out
i = value optimized out
inext = value optimized out
s = value optimized out
snext = value optimized out
b = value optimized out
bnext = value optimized out
l = value optimized out
lnext = value optimized out
#18 0x080858c9 in CloseDownDevices () at ../../dix/devices.c:626
dev = (DeviceIntPtr) 0x0
next = (DeviceIntPtr) 0x828ec58
#19 0x081bae43 in AbortServer () at ../../os/log.c:405
No locals.
#20 0x081bb3c6 in FatalError (f=0x81c5e5c Caught signal %d.  Server 
aborting\n) at ../../os/log.c:552
args = 0xffc7ff34 \v
beenhere = 1
#21 0x080c67bd in xf86SigHandler (signo=11) at 
../../../../hw/xfree86/common/xf86Events.c:766
No locals.
#22 signal handler called
No symbol table info available.
#23 0xf7d4c84c in memcpy () from /lib/i686/cmov/libc.so.6
No symbol table info available.
#24 0x0818b497 in XkbCopyKeymap (src=0x82a9e08, dst=0x8530550, sendNotifies=1) 
at ../../xkb/xkbUtils.c:1794
i = 2
j = 1
k = 0
tmp = (void *) 0x22
scolor = (XkbColorPtr) 0x8295078
dcolor = (XkbColorPtr) 0x8532d98
sdoodad = value optimized out
ddoodad = value optimized out
stype = (XkbKeyTypePtr) 0x82928b8
dtype = (XkbKeyTypePtr) 0x8530ed0
soutline = value optimized out
doutline = value optimized out
sprop = value optimized out
dprop = value optimized out
srow = value optimized out
drow = value optimized out
ssection = (XkbSectionPtr) 0x82958c0
dsection = (XkbSectionPtr) 0x8533118
sshape = value optimized out
dshape = value optimized out
pDev = value optimized out
tmpDev = value optimized out
mn = {type = 87 'W', xkbType = 76 'L', sequenceNumber = 2056, time = 
139685944, deviceID = 40 '(', ptrBtnActions = 114 'r', changed = 2089,
  minKeyCode = 32 ' ', maxKeyCode = 27 '\033', firstType = 0 '\0', nTypes = 0 
'\0', firstKeySym = 44 ',', nKeySyms = 116 't', firstKeyAct = 29 '\035',
  nKeyActs 

Bug#461783: X.org segfault with kxkb

2008-02-02 Thread Modestas Vainius
Hi,

I had exactly the same problem on my laptop. Backtrace is nearly identical to 
the one reported here and in other merged bug reports. X would simply crash 
when loading KDE session (nearly the end) leaving video card in semi-broken 
state (radeon driver).

2008 m. February 2 d., Saturday, jūs rašėte:
 My kxkb is using the following configuration:
 LayoutList=de(nodeadkeys),us(basic)
 Model=microsoftpro
I can confirm that XkbModel set to microsoftpro in xorg.conf was causing the 
problem which I solved by commenting this statement out and sticking with the 
default keyboard model. The bug is probably more generic as explained in 
other bug reports though.

 After the crash, switching to other VTs is also broken (but switching
 back to VT7 with X works).
Indeed, I have noticed the same. For me once the crash broke something in 
video bios and as a result garbage was being sent to the monitor even after 
full poweroff/power on. I even thought my hardware had broke. Therefore I 
think this bug should be at least of 'grave' severity.


-- 
Modestas Vainius [EMAIL PROTECTED]



signature.asc
Description: This is a digitally signed message part.