Bug 187552

Summary: Applications crash on menu item selection
Product: [I don't know] kde Reporter: john
Component: generalAssignee: Unassigned bugs <unassigned-bugs-null>
Status: RESOLVED UPSTREAM    
Severity: crash CC: andresbajotierra
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description john 2009-03-18 21:09:11 UTC
Version:            (using KDE 4.2.1)
OS:                Linux
Installed from:    Ubuntu Packages

I'm not sure if this is directly connected to KDE but rather xserver, and there seem to be a lot of bugs like that out there, so it's probably a duplicate. Anyway:

Whenever I try to use a non-KDE application under Kubuntu Intrepid, it crashes as soon as I click on the menu. This problem exists since dist-upgrade.

reproduced several times for gimp, evince, rkward, gthumb

bash output for gimp, similar for the others:

The program 'gimp' received an X Window System error.
This probably reflects a bug in the program.         
The error was 'BadValue (integer parameter out of range for operation)'.
  (Details: serial 25362 error_code 2 request_code 53 minor_code 0)     
  (Note to programmers: normally, X errors are reported asynchronously; 
   that is, you will receive the error a while after causing it.        
   To debug your program, run it with the --sync command line           
   option to change this behavior. You can then get a meaningful        
   backtrace from your debugger if you break on the gdk_x_error() function.)
Comment 1 Dario Andres 2009-03-19 13:03:59 UTC
What GTK style are you using ? Maybe "gtk-qt-engine" ? If you were using it, try choosing another GTK style, or uninstalling the GTK-Qt engine. 
Anyways, that style is not part of official KDE.

Does RKWard also crash? It is a KDE app. If it crashes too, can you post the crash message here?

Thanks
Comment 2 john 2009-03-19 14:13:22 UTC
cool, uninstalling gtk-qt-engine solved the problem for the other apps (though they look a bit ugly now). I got a bit confused, the Rkward error is similar (crashes whenever I try to select something from the menu), but actually different, and therefor mentioning rkward in this report was wrong. It crashes with a message :

The support file "/home/john/rkward/phpfiles/common.php" could not be found or is not readable. Please check your installation.

Backtracing:

Anwendung: RKWard (rkward), Signal SIGSEGV
[Current thread is 0 (LWP 12956)]

Thread 2 (Thread 0xb3cf8b90 (LWP 12960)):
#0  0xb80e1430 in __kernel_vsyscall ()
#1  0xb5ef63a2 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb6f1e0b9 in ?? () from /usr/lib/libQtCore.so.4
#3  0xb6f1e1eb in QThread::msleep () from /usr/lib/libQtCore.so.4
#4  0x0813a65f in _start ()

Thread 1 (Thread 0xb571a6c0 (LWP 12956)):
[KCrash Handler]
#6  0xb6fa91e5 in QProcess::kill () from /usr/lib/libQtCore.so.4
#7  0x0813151c in _start ()
Comment 3 Dario Andres 2009-03-19 23:30:03 UTC
(In reply to comment #2)
> cool, uninstalling gtk-qt-engine solved the problem for the other apps (though
> they look a bit ugly now). I got a bit confused, the Rkward error is similar
> (crashes whenever I try to select something from the menu), but actually
> different, and therefor mentioning rkward in this report was wrong. It crashes
> with a message :

Yes.. they are completely different problems, you had a GTK problem that crashed all the GTK apps when using the gtk-qt-engine.. And now you have a problem with RKWARD

However, RKWard isn't supported in this bugtracker. You need to file a bug report at http://sourceforge.net/tracker/?group_id=50231&atid=459007

Thanks!
Comment 4 Dario Andres 2009-03-19 23:30:42 UTC
BTW: this may be related/duplicate of http://sourceforge.net/tracker/index.php?func=detail&aid=2690602&group_id=50231&atid=459007
Comment 5 john 2009-03-20 06:40:40 UTC
thanx

i guess this bug is now closed ;-)