Bug 464619
| Summary: | xfs segfaults intermittently | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 4 | Reporter: | ritz <rkhadgar> | ||||||||
| Component: | xorg-x11 | Assignee: | Kristian Høgsberg <krh> | ||||||||
| Status: | CLOSED ERRATA | QA Contact: | |||||||||
| Severity: | high | Docs Contact: | |||||||||
| Priority: | high | ||||||||||
| Version: | 4.8 | CC: | caillon, cmeadors, jplans, jwilleford, tao, zcerza | ||||||||
| Target Milestone: | rc | ||||||||||
| Target Release: | --- | ||||||||||
| Hardware: | All | ||||||||||
| OS: | Linux | ||||||||||
| Whiteboard: | |||||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||||
| Doc Text: | Story Points: | --- | |||||||||
| Clone Of: | Environment: | ||||||||||
| Last Closed: | 2009-05-18 20:26:59 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
ritz
2008-09-29 18:33:18 UTC
Any update at all? Do we know why it's segfaulting yet? Is there any progress to a patch? This event sent from IssueTracker by calvin_g_smith issue 188699 This request was evaluated by Red Hat Product Management for inclusion, but this component is not scheduled to be updated in the current Red Hat Enterprise Linux release. If you would like this request to be reviewed for the next minor release, ask your support representative to set the next rhel-x.y flag to "?". This request was evaluated by Red Hat Product Management for inclusion, but this component is not scheduled to be updated in the current Red Hat Enterprise Linux release. If you would like this request to be reviewed for the next minor release, ask your support representative to set the next rhel-x.y flag to "?". Instrumenting the code, we see that the pointer to ListenTransConns is free
and nullied by the cloned process in StopListening() but there is no actual
test for its validity in
Dec 8 11:11:17 localhost xfs[4840]: ListenTransConns = 0x522580
Dec 8 11:11:17 localhost xfs[4840]: In Dispatch() - ListenTransConns
= 0x522580
Dec 8 11:11:17 localhost xfs[4840]: ListenTransConns = 0x522580
Dec 8 11:11:17 localhost xfs[4840]: attempting clone...
Dec 8 11:11:17 localhost xfs[9608]: ListenTransConns = 0x522580
Dec 8 11:11:17 localhost xfs[9608]: In StopListening() -
ListenTransConns = 0x0
Dec 8 11:11:17 localhost xfs[9608]: clone: child becoming drone
Dec 8 11:11:17 localhost xfs[9608]: In Dispatch() - ListenTransConns
= 0x0
So a fix would be to:
- Make sure ListenTransCount is reset to 0 when ListenTransConns is
freed
- Checks for nullity of the table in CloseSockets() and avoids the
segfault
of the child process which is about to finish.
Olivier.
This event sent from IssueTracker by ofourdan
issue 188699
Created attachment 326111 [details]
Patch to implement the fix described above
The code is similar upstream, and the same reproducer tried on EL5 and on the latest F10 shows that the problem also affects current versions of xfs.
This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux maintenance release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Update release for currently deployed products. This request is not yet committed for inclusion in an Update release. Kristian, Xnest -fp unix:/:7100 :0 isn't working here; I'm getting an "Unable to find transport for unix: ..." error message. I've seen this before but I've long since forgotten how to work around it. (In reply to comment #24) > Kristian, Xnest -fp unix:/:7100 :0 isn't working here; I'm getting an "Unable > to find transport for unix: ..." error message. I've seen this before but I've > long since forgotten how to work around it. It's unix/:7100, not unix:/:7100. It should just work. Back to MODIFIED. Uh, weird, could have sworn I tried that too. Thanks! An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2009-0998.html |