Bug 310666

Summary: Complete X crash on Konsole window resize
Product: [Applications] konsole Reporter: xanclic
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED UPSTREAM    
Severity: critical CC: cfeck
Priority: NOR    
Version: 2.9.3   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:

Description xanclic 2012-11-25 19:17:10 UTC
A year ago this never happened, for some months it's happened nearly half the time, as of today it happens everytime (I tried it seven times in a row):

When I resize the Konsole window, the whole X server crashes.

I found one bug here (https://bugs.kde.org/show_bug.cgi?id=199161) which was about a Konsole crash and there are several more out there which refer to graphical distortions or system freezes, but these don't apply to me, since it's the X server that crashes. I'm reporting the bug here since every other application can be resized just fine.

Maximizing and un-maximizing just work fine, but whenever I grab a window border and resize it, X crashes. This is independent of the number of tabs, the time Konsole has been running, whether desktop effects are enabled or not or even whether I have a background image enabled in Konsole.

Reproducible: Always

Steps to Reproduce:
1. Open Konsole.
2. Resize the Konsole window.
Actual Results:  
The X server crashes.

Expected Results:  
The Konsole window is resized.

I'm running Arch Linux, kernel is 3.6.7. Since this is somehow related to graphical output, my graphics hardware is an AMD HD7850 controlled by Catalyst 12.11. I'm using Xorg 1.13.0.

The X log tells the following story:
[  8001.286] (EE) Backtrace:
[  8001.286] (EE) 0: /usr/bin/X (xorg_backtrace+0x36) [0x58a326]
[  8001.286] (EE) 1: /usr/bin/X (0x400000+0x18e179) [0x58e179]
[  8001.286] (EE) 2: /usr/lib/libpthread.so.0 (0x7ff97f0ec000+0xf1a0) [0x7ff97f0fb1a0]
[  8001.286] (EE) 3: /usr/lib/libpixman-1.so.0 (0x7ff97ec48000+0x82a70) [0x7ff97eccaa70]
[  8001.286] (EE) 4: /usr/lib/libpixman-1.so.0 (0x7ff97ec48000+0x50c7b) [0x7ff97ec98c7b]
[  8001.286] (EE) 5: /usr/lib/libpixman-1.so.0 (pixman_blt+0x52) [0x7ff97ec534b2]
[  8001.286] (EE) 6: /usr/lib/xorg/modules/libfb.so (fbCopyNtoN+0x343) [0x7ff97b7e7873]
[  8001.286] (EE) 7: /usr/lib/xorg/modules/glesx.so (0x7ff9798a1000+0x8ce31) [0x7ff97992de31]
[  8001.286] (EE) 8: /usr/lib/xorg/modules/glesx.so (0x7ff9798a1000+0x8eef5) [0x7ff97992fef5]
[  8001.286] (EE) 9: /usr/bin/X (0x400000+0x114149) [0x514149]
[  8001.286] (EE) 10: /usr/bin/X (0x400000+0xc7305) [0x4c7305]
[  8001.286] (EE) 11: /usr/bin/X (0x400000+0xc862f) [0x4c862f]
[  8001.286] (EE) 12: /usr/bin/X (0x400000+0xc601c) [0x4c601c]
[  8001.286] (EE) 13: /usr/bin/X (ConfigureWindow+0x489) [0x462dd9]
[  8001.286] (EE) 14: /usr/bin/X (0x400000+0x32824) [0x432824]
[  8001.286] (EE) 15: /usr/bin/X (0x400000+0x37e61) [0x437e61]
[  8001.286] (EE) 16: /usr/bin/X (0x400000+0x2696a) [0x42696a]
[  8001.286] (EE) 17: /usr/lib/libc.so.6 (__libc_start_main+0xf5) [0x7ff97dd7a725]
[  8001.286] (EE) 18: /usr/bin/X (0x400000+0x26cad) [0x426cad]
[  8001.286] (EE) 
[  8001.286] (EE) Segmentation fault at address 0x7ff96ad9ff60
[  8001.286] 
Fatal server error:
[  8001.286] Caught signal 11 (Segmentation fault). Server aborting


Again: I'm reporting this bug here because Konsole is apparently the only application which crashes X on resize.
Comment 1 Christoph Feck 2012-11-26 00:08:29 UTC
Konsole is the only KDE application that can utilize a transparent window, so you do not see the issue with other applications. Try "konsole --notransparency" (from Alt+F2, after killing all Konsole instances).

The crash in the X server is caused by the drivers not supporting transparency (ARGB visuals) correctly. Please report this issue to https://bugs.freedesktop.org/
Comment 2 xanclic 2012-11-26 01:27:00 UTC
Wow. Thank you a lot!