Bug 27764 - sigsegv during Xorg shutdown
Summary: sigsegv during Xorg shutdown
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/General (show other bugs)
Version: git
Hardware: x86-64 (AMD64) Linux (All)
: medium critical
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-20 19:35 UTC by Bob Gleitsmann
Modified: 2010-04-21 17:09 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Bob Gleitsmann 2010-04-20 19:35:06 UTC
When logging out or shutting down, Xorg crashes with sigsegv and hangs system (no keyboard (except for magic sysreq) or mouse). The problem was tracked to patch 2f29b163bbdebe384c24f781bb97b446959e8f4c in the master branch. Using gdb remote, the following call sequence was determined:
main -> CloseDownDevices -> CloseDevice -> FreeAllDeviceClasses -> FreeDeviceClass -> Xfree ->_int_free -> malloc-consolidate. Patch date was 3/22/10, committed 4/15/10. When I say the problem was traced to the above patch, I mean that the versions prior to this commit did not show the problem. 

I hope this is enough information to figure out what is happening. Let me know if you need more.

Best Wishes,

Bob Gleitsmann
Comment 1 Julien Cristau 2010-04-21 02:41:40 UTC
On Tue, Apr 20, 2010 at 19:35:06 -0700, bugzilla-daemon@freedesktop.org wrote:

> The problem was tracked to patch
> 2f29b163bbdebe384c24f781bb97b446959e8f4c in the master branch.

this doesn't make sense, that patch only adds a few _X_EXPORTs.  are you
sure it's not 00b8b7ad61b6f818271fb4d1e383113170309d72? (try reverting
that)
Comment 2 Bob Gleitsmann 2010-04-21 09:41:48 UTC
(In reply to comment #1)
> On Tue, Apr 20, 2010 at 19:35:06 -0700, bugzilla-daemon@freedesktop.org wrote:
> 
> > The problem was tracked to patch
> > 2f29b163bbdebe384c24f781bb97b446959e8f4c in the master branch.
> 
> this doesn't make sense, that patch only adds a few _X_EXPORTs.  are you
> sure it's not 00b8b7ad61b6f818271fb4d1e383113170309d72? (try reverting
> that)

I will check later today.
Comment 3 Bob Gleitsmann 2010-04-21 17:09:53 UTC
I'm sure it's not the one I said it was. Great work. Thanks, the revert was posted a short time ago. Case closed.

Bob Gleitsmann


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.