Bug 120065
Summary: | X server hangs in mutex | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Steve Knodle <slk> | ||||
Component: | XFree86 | Assignee: | X/OpenGL Maintenance List <xgl-maint> | ||||
Status: | CLOSED RAWHIDE | QA Contact: | David Lawrence <dkl> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | rawhide | CC: | jdennis | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | i686 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2004-10-12 18:14:28 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Steve Knodle
2004-04-05 19:14:33 UTC
Created attachment 99120 [details]
combined strace, and gdb output, and XFree86.0.log
You can not debug the X server via gdb nor strace the X server from a terminal inside the X server you are debugging. That will never work, and is not a bug. The only way to strace or debug the X server, is by having 2 computers via ethernet or serial cable or similar, and debugging the X server via remote shell to the computer running the X server. Comment #2 is entirely irrelevant to the situation described. The X server is waiting for a mutex apparently held by a process/thread that has either died, or forgotten it held the mutex lock. No commands were running from terminal sessions run by the X server at the times of the problem. (I am NOT in working at 4am. Sorry, my body is not 24/7). Very likely the problem is cron related, but how? My goal is to: 1. find out which process/thread holds the lock, 2. Find out why it died. 3. Find out why the kernel didn't clean up the lock if the process died. The "strace" and "gdb" commands described here were run from a different virtual terminal. Even gdb works fine, as long as you don't stop the X server at a breakpoint and then hot-key to the X server's window :-) To preclude confusion: My X server was again hung when I came in this morning, as was my colleague's. This time I ssh'd in from another machine, ran strace and gdb remotely, as described in comment#2. The X server was once again waiting in a mutex, the output the same as in the previous logs. By the way, neither of us is using the binary nvidia driver. Our installations are both pure test2. We are unable to reproduce this problem in any OS release. Users who have experienced this problem are encouraged to upgrade to the latest version of Fedora Core, which can be obtained from: http://fedora.redhat.com/download If this issue turns out to still be reproduceable in the latest version of Fedora Core, please file a bug report in the X.Org bugzilla located at http://bugs.freedesktop.org in the "xorg" component. Once you've filed your bug report to X.Org, if you paste the new bug URL here, Red Hat will continue to track the issue in the centralized X.Org bug tracker, and will review any bug fixes that become available for consideration in future updates. |