Bug 442321 - strace X server will halt it
Summary: strace X server will halt it
Alias: None
Product: Fedora
Classification: Fedora
Component: xorg-x11-server
Version: 8
Hardware: i686
OS: Linux
Target Milestone: ---
Assignee: Adam Jackson
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2008-04-14 10:34 UTC by Christoph Höger
Modified: 2018-04-11 18:50 UTC (History)
2 users (show)

Clone Of:
Last Closed: 2008-04-25 17:20:35 UTC

Attachments (Terms of Use)
strace of Xorg (232.24 KB, text/plain)
2008-04-15 15:08 UTC, Christoph Höger
no flags Details

Description Christoph Höger 2008-04-14 10:34:29 UTC
Description of problem:
There seems to be some deadlock problem when stracing x.org XServer in a gui

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. open xterm, gnome-terminal or whatever gui terminal you use
2. become root
3. get pid of X
4. strace -p $pid
5. move mouse around
Actual results:
XServer hangs

Expected results:
XServer should run

Comment 1 Matěj Cepl 2008-04-14 11:10:38 UTC
Could we get please at least partial result of the strace? And also
/var/log/Xorg.0.log might be interesting as well. Please, attach these files as
separate uncompressed attachments to this bug.

Thank you.

Comment 2 Christoph Höger 2008-04-15 15:08:19 UTC

discussion with some co-workers brought up that this may be simply a full
x-server queue. 

The problem is, that it runs well, as long as you don't generate new x-messages
(mouse move, new window etc)

Comment 3 Christoph Höger 2008-04-15 15:08:54 UTC
Created attachment 302472 [details]
strace of Xorg

Comment 4 Adam Jackson 2008-04-23 15:41:30 UTC
You're attaching strace to the X server.  You're expecting the X server to
display the results.  Which will cause more X server activity, which will make
it print more things, which...

I highly recommend not doing this.

Note You need to log in before you can comment on or make changes to this bug.