Hi Julien, I have finally repro-ed the crash. Attached is the gdb log and Xorg log.
Please let me know if you need anything else. Core dump? I am a developer, too, but not familiar with Xorg codebase. Thanks Matthew On 09/10/11 03:08 AM, Julien Cristau wrote:
On Sat, Oct 8, 2011 at 17:18:15 -0700, Matthew Lai wrote:Package: xserver-xorg Version: 1:7.6+8 Severity: critical Tags: upstream Justification: causes serious data loss Dear Maintainer, I am seeing Xorg crashing to gdm without any obvious pattern, though it seems to happen a lot more when I'm laying out circuits in KiCad (but I cannot find repro steps). It has happened with just Firefox open, too. It happens about every hour when I use KiCad, otherwise every few days. Thanks! The laptop has Intel integrated graphics (in Core i3) and an nVidia card (Optimus/hybrid switching), but the nVidia card is not used and is powered off through ACPI, with the driver (nouveau) blacklisted. Here is Xorg.0.old after a crash. The callstack refers to Intel driver, but I don't know where the problem is. I tried installing as many related debugging symbols packages as I can find, but it looks like some function names are still not resolved.You should use gdb to get a backtrace, see http://wiki.debian.org/XStrikeForce/XserverDebugging Cheers, Julien
Continuing. Program received signal SIGSEGV, Segmentation fault. 0x00007fa3353ff70c in fbBresSolid (pDrawable=<optimized out>, pGC=<optimized out>, dashOffset=<optimized out>, signdx=-1, signdy=-4, axis=0, x1=<optimized out>, y1=0, e=<optimized out>, e1=8, e3=-10, len=0) at ../../fb/fbseg.c:88 88 ../../fb/fbseg.c: No such file or directory. in ../../fb/fbseg.c #0 0x00007fa3353ff70c in fbBresSolid (pDrawable=<optimized out>, pGC=<optimized out>, dashOffset=<optimized out>, signdx=-1, signdy=-4, axis=0, x1=<optimized out>, y1=0, e=<optimized out>, e1=8, e3=-10, len=0) at ../../fb/fbseg.c:88 dst = 0x7fa332f16ffc dstStride = <optimized out> dstBpp = 32 dstXoff = <optimized out> dstYoff = <optimized out> pPriv = 0x7fa332f16ffc and = <optimized out> xor = 40960 mask = 4294967295 mask0 = 4294967295 bits = <optimized out> #1 0x00007fa335400ba7 in fbSegment (pDrawable=0x31d1f10, pGC=0x3147630, x1=3, y1=-2, x2=-2, y2=2, drawLast=0, dashOffset=0x7fff398b036c) at ../../fb/fbseg.c:715 new_x1 = 1 new_y2 = 0 clip1 = 2 clipdx = <optimized out> err = <optimized out> new_y1 = 0 new_x2 = 0 clip2 = 8 clipdy = <optimized out> bres = 0x7fa3353ff4f0 <fbBresSolid> pClip = <optimized out> pBox = 0x3147a58 nBox = 1 adx = 5 ady = 4 signdx = -1 signdy = 1 e = -6 e1 = 8 e2 = <optimized out> e3 = -10 len = <optimized out> axis = 0 octant = 4 dashoff = 515 doff = <optimized out> bias = 216 oc1 = <optimized out> oc2 = <optimized out> #2 0x00007fa3353f4ddd in fbPolySegment32 (pDrawable=0x31d1f10, pGC=0x3147630, nseg=<optimized out>, pseg=<optimized out>) at ../../fb/fbbits.h:847 pts = 0x3209fd0 xoff = 1146 yoff = 0 bias = 216 dst = 0x7fa332f17000 dstStride = 1152 dstXoff = 0 dstYoff = 0 bits = <optimized out> bitsBase = 0x7fa332f17000 bitsStride = 1152 xorBits = 40960 andBits = 4294926335 xor = 40960 and = 4294926335 dashoffset = 520 ul = 0 lr = 35259514 pt1 = <optimized out> pt2 = <optimized out> e = <optimized out> e1 = <optimized out> e3 = <optimized out> len = <optimized out> stepmajor = <optimized out> stepminor = <optimized out> octant = <optimized out> capNotLast = 1 #3 0x00007fa335e52765 in uxa_check_poly_segment (pDrawable=0x31d1f10, pGC=0x3147630, nsegInit=379, pSegInit=0x3209f78) at ../../uxa/uxa-unaccel.c:218 screen = <optimized out> __FUNCTION__ = "uxa_check_poly_segment" #4 0x00000000004fc65f in damagePolySegment (pDrawable=0x31d1f10, pGC=0x3147630, nSeg=379, pSeg=<optimized out>) at ../../../miext/damage/damage.c:1096 pGCPriv = 0x31476f8 oldFuncs = 0x7d86e0 #5 0x0000000000434113 in ProcPolySegment (client=0x30ebf70) at ../../dix/dispatch.c:1769 nsegs = <optimized out> pGC = 0x3147630 pDraw = 0x31d1f10 stuff = 0x3209f6c #6 0x0000000000437ae9 in Dispatch () at ../../dix/dispatch.c:432 clientReady = 0x2f76600 result = <optimized out> client = 0x30ebf70 nready = 0 icheck = 0x7eadd0 start_tick = 15160 #7 0x0000000000426eaa in main (argc=12, argv=<optimized out>, envp=<optimized out>) at ../../dix/main.c:287 i = <optimized out> alwaysCheckForInput = {0, 1}
Xorg.0.log.old
Description: application/trash