Bug 61613

Summary: Exiting X session causes X server to crash
Product: xorg Reporter: Alexandre <alexandre.nunes>
Component: Driver/intelAssignee: Chris Wilson <chris>
Status: RESOLVED DUPLICATE QA Contact: Intel GFX Bugs mailing list <intel-gfx-bugs>
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
Xorg.log from the crash scenario. none

Description Alexandre 2013-02-28 12:05:34 UTC
Created attachment 75687 [details]
Xorg.log from the crash scenario.

When exiting the session, the X server crashes.

I could capture a core dump and it's backtrace points to a possible problem in intel driver (SNA, sandybridge). I'm using a self compiled 2.22.3 version.

The backtrace is as this:

Program terminated with signal 6, Aborted.
#0  0x00007f8bdc5cbdd5 in __GI_raise (sig=6) at
#../nptl/sysdeps/unix/sysv/linux/raise.c:63
63      ../nptl/sysdeps/unix/sysv/linux/raise.c: Arquivo ou diretório não
encontrado.
(gdb) bt
#0  0x00007f8bdc5cbdd5 in __GI_raise (sig=6) at
#../nptl/sysdeps/unix/sysv/linux/raise.c:63
#1  0x00007f8bdc5ceefb in __GI_abort () at abort.c:90
#2  0x00007f8bde78194e in OsAbort () at ../../os/utils.c:1198
#3  0x00007f8bde68cefc in ddxGiveUp (error=EXIT_ERR_ABORT) at
#../../../../hw/xfree86/common/xf86Init.c:1009
#4  0x00007f8bde786772 in AbortServer () at ../../os/log.c:476
#5  0x00007f8bde786975 in FatalError (f=f@entry=0x7f8bde7ad3d0 "Caught
#signal %d (%s). Server aborting\n") at ../../os/log.c:611
#6  0x00007f8bde77f87e in OsSigHandler (sip=<optimized out>, signo=11,
#unused=<optimized out>) at ../../os/osinit.c:146
#7  OsSigHandler (signo=11, sip=<optimized out>, unused=<optimized out>) at
#../../os/osinit.c:107
#8  <signal handler called>
#9  ShmDestroyPixmap (pPixmap=0x7f8bdeef75d0) at ../../Xext/shm.c:272
#10 0x00007f8bda2e4cb8 in sna_glyphs_create (sna=sna@entry=0x7f8bde51d010)
#at sna_glyphs.c:244
#11 0x00007f8bda2bdd79 in sna_accel_create (sna=sna@entry=0x7f8bde51d010) at


The matching Xorg.log follows.
Comment 1 Chris Wilson 2013-02-28 12:09:32 UTC
Can you try running it under valgrind, it is crashing on a stale pointer that should not exist.
Comment 2 Chris Wilson 2013-02-28 12:09:42 UTC

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

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.