After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 107806 - KSnapshot freezes X (keep grab)
KSnapshot freezes X (keep grab)
Status: RESOLVED DUPLICATE of bug 106217
Product: metacity
Classification: Other
Component: general
2.4.x
Other Linux
: Normal normal
: ---
Assigned To: Metacity maintainers list
Metacity maintainers list
Depends on:
Blocks:
 
 
Reported: 2003-03-07 10:12 UTC by Frederic Crozat
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.1/2.2


Attachments
metacity log (574 bytes, text/plain)
2003-03-07 15:29 UTC, Frederic Crozat
Details
metacity log (183.05 KB, text/plain)
2003-03-07 15:30 UTC, Frederic Crozat
Details
tarball of ksnapshot and metacity traces (134.38 KB, application/octet-stream)
2003-03-07 17:36 UTC, Frederic Crozat
Details

Description Frederic Crozat 2003-03-07 10:12:11 UTC
Initial bug report : 

http://qa.mandrakesoft.com/show_bug.cgi?id=1961

With metacity 2.4.34.

running KSnapshot (KDE 3.1) under metacity and choosing "Save capture"
freezes the entire desktop (metacity doesn't popup save dialog and seems to
keep keyboard and mouse grab) => you need to kill all KDE process and
metacity to get access to your desktop again..

It might be related to the SM problem in QT 3.1 ..
Comment 1 Havoc Pennington 2003-03-07 15:17:07 UTC
run metacity with METACITY_VERBOSE=1 METACITY_USE_LOGFILE=1 and 
it should say why it sticks the grab.
Comment 2 Frederic Crozat 2003-03-07 15:29:52 UTC
Created attachment 14837 [details]
metacity log
Comment 3 Frederic Crozat 2003-03-07 15:30:16 UTC
Created attachment 14838 [details]
metacity log
Comment 4 Frederic Crozat 2003-03-07 15:31:23 UTC
Take the second log file, first one is a wrong file..

I've truncated the file since metacity is looping on

ERRORS: 2 traps remain
ERRORS: 1 traps

Comment 5 Havoc Pennington 2003-03-07 16:25:51 UTC
On my system ksnapshot uses all RAM and gets killed. 
Maybe it is expecting to be able to interact with other apps 
while it has a server grab?

In any case, I can't reproduce metacity doing anything wrong 
on my system, though yes metacity hangs while ksnapshot is
sitting there with a grab eating all RAM, that is unavoidable.
Comment 6 Frederic Crozat 2003-03-07 16:57:40 UTC
Strange, here, when I switch to sawfish, ksnapshot doesn't have any
problem, nor under KDE.. I think it is asking kded (or another KDE
process) to popup the SaveAs filedialog ..
Comment 7 Havoc Pennington 2003-03-07 17:22:52 UTC
I would try getting a backtrace of both metacity and ksnapshot during 
the hang.
Comment 8 Frederic Crozat 2003-03-07 17:36:40 UTC
Created attachment 14840 [details]
tarball of ksnapshot and metacity traces
Comment 9 Frederic Crozat 2003-03-08 09:01:43 UTC
Havoc, could you have a look at this bug :
http://qa.mandrakesoft.com/show_bug.cgi?id=708

It contains a small test case which is probably the same problem than
knapshot.. I haven't test it yet, I plan to test it on Monday..
Comment 10 Havoc Pennington 2003-03-08 18:24:40 UTC
Ah, bug 106217 has the same thing in the log file, and also does not 
happen for me. 

Does Mandrake have any metacity patches? Maybe send those.

*** This bug has been marked as a duplicate of 106217 ***