GNOME Bugzilla – Bug 106217
kdeapp qtdialog lock under Metacity
Last modified: 2004-12-22 21:47:04 UTC
I attach a very simple dialog with an 'About' button. Clicking on that button should bring up an About qt dialog (as it does under kde), but instead freezes everything. If I go in a second console a look at top, Metacity and X are each eating all the CPU usage. Killing the app is not enough to bring back a useable environment, I also have to send a SIGHUP to metacity. To build the app, you need qt3-devel, kde3-devel, then run 'qmake && make' Machine config: kernel-2.4.21.0.pre4.6mdk-1-1mdk metacity-2.4.34-1mdk gnome-desktop-2.2.0.1-1mdk libqt3-3.1.1-9mdk kdelibs-3.1-24mdk
Created attachment 14365 [details] Tarball of a sample app showing the problem
It works ok for me with kde 3.0 anyhow, I can try with 3.1 later this week perhaps. A backtrace from metacity, or contents of logfile when you run metacity as "METACITY_VERBOSE=1 METACITY_USE_LOGFILE=1 metacity --replace" may be informative.
I can't reproduce this with KDE 3.1 either. To debug further, maybe you can try "METACITY_VERBOSE=1 METACITY_USE_LOGFILE=1 metacity --replace" or get a backtrace from metacity?
Created attachment 14850 [details] Metacity log
Hi, Thank you for looking into that. I attached the (long) Metacity log. I think the app itself only shows up around line 100000. I could not make much out of this log, so I am afraid I cannot help you. For info, this defect is also entered in cooker's database: http://qa.mandrakesoft.com/show_bug.cgi?id=708
*** Bug 107806 has been marked as a duplicate of this bug. ***
The only patch I have in metacity code is attached.. It is a workaround for PPC gcc bug.. I'm wondering if all those problems are not caused by gcc optimization flags...
Created attachment 14887 [details] [review] workaround for PPC gcc patch
Can you try building with -O0? Or step through the infinite loop you guys see with gdb, and see what the loop is and whether it should be possible given the code?
*** This bug has been marked as a duplicate of 108108 ***