[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#681796: segmentation fault during suspend



Here is more detailed output but I guess I would just need to setup
remote debugging somehow... :

Program received signal SIGSEGV, Segmentation fault.
0x00007fec6053e757 in XIChangeDeviceProperty (dev=0x7fec63c494f0, property=120, type=19, format=8, mode=0, len=1, value=0x7fff67dc75af, sendevent=1) at ../../Xi/xiproperty.c:772
772                         if (handler->SetProperty) {
  Id   Target Id         Frame 
* 1    Thread 0x7fec60369880 (LWP 3614) "Xorg" 0x00007fec6053e757 in XIChangeDeviceProperty (dev=0x7fec63c494f0, property=120, type=19, format=8, mode=0, len=1, 
    value=0x7fff67dc75af, sendevent=1) at ../../Xi/xiproperty.c:772
I: some variables, dev, dev->properties.handlers, handler
$1 = (DeviceIntPtr) 0x7fec63c494f0
$2 = (XIPropertyHandlerPtr) 0x7fec63e97130
$3 = (XIPropertyHandlerPtr) 0x7fec00000001
I: bt
#0  0x00007fec6053e757 in XIChangeDeviceProperty (dev=0x7fec63c494f0, property=120, type=19, format=8, mode=0, len=1, value=0x7fff67dc75af, sendevent=1)
    at ../../Xi/xiproperty.c:772
#1  0x00007fec6040eb57 in DisableDevice (dev=0x7fec63c494f0, sendevent=1 '\001') at ../../dix/devices.c:481
#2  0x00007fec60471460 in xf86VTSwitch () at ../../../../hw/xfree86/common/xf86Events.c:454
#3  0x00007fec604710f5 in xf86Wakeup (blockData=0x0, err=-1, pReadmask=0x7fec60858f00) at ../../../../hw/xfree86/common/xf86Events.c:285
#4  0x00007fec60422be2 in WakeupHandler (result=-1, pReadmask=0x7fec60858f00) at ../../dix/dixutils.c:421
#5  0x00007fec605c0925 in WaitForSomething (pClientsReady=0x7fec63b2ff30) at ../../os/WaitFor.c:224
#6  0x00007fec60414984 in Dispatch () at ../../dix/dispatch.c:357
#7  0x00007fec604057d1 in main (argc=8, argv=0x7fff67dc7bc8, envp=0x7fff67dc7c10) at ../../dix/main.c:288
I: bt full
#0  0x00007fec6053e757 in XIChangeDeviceProperty (dev=0x7fec63c494f0, property=120, type=19, format=8, mode=0, len=1, value=0x7fff67dc75af, sendevent=1)
    at ../../Xi/xiproperty.c:772
        handler = 0x7fec00000001
        checkonly = 1 '\001'
        new_data = 0x7fec63874fa0
        old_data = 0x0
        prop = 0x7fec63ac7e00
        size_in_bytes = 1
        total_size = 1
        total_len = 1
        prop_value = 0x7fec63ac7e10
        new_value = {type = 19, format = 8, size = 1, data = 0x7fec63874fa0}
        add = 0
        rc = 0
#1  0x00007fec6040eb57 in DisableDevice (dev=0x7fec63c494f0, sendevent=1 '\001') at ../../dix/devices.c:481
        prev = 0x7fec639cf3c8
        other = 0x0
        enabled = 0 '\000'
        flags = {0 <repeats 40 times>}
#2  0x00007fec60471460 in xf86VTSwitch () at ../../../../hw/xfree86/common/xf86Events.c:454
        i = 1
        prevSIGIO = 0
        pInfo = 0x7fec63c3d300
        ih = 0x0
#3  0x00007fec604710f5 in xf86Wakeup (blockData=0x0, err=-1, pReadmask=0x7fec60858f00) at ../../../../hw/xfree86/common/xf86Events.c:285
        LastSelectMask = 0x7fec60858f00
        devicesWithInput = {fds_bits = {0, 0, 115146, 893290107, 140734935889712, 140653204764360, 140734935889760, 0, 515396075520000, 140653204448034, 140734935889776, 
            140653208375040, -4294967296, 0, -4294967296, 47244640256}}
        pInfo = 0x7fff67dc7700
#4  0x00007fec60422be2 in WakeupHandler (result=-1, pReadmask=0x7fec60858f00) at ../../dix/dixutils.c:421
        i = 1
        j = 0
#5  0x00007fec605c0925 in WaitForSomething (pClientsReady=0x7fec63b2ff30) at ../../os/WaitFor.c:224
        i = -1
        waittime = {tv_sec = 2, tv_usec = 806463}
        wt = 0x7fff67dc7830
        timeout = 2808
        clientsReadable = {fds_bits = {0 <repeats 16 times>}}
        clientsWritable = {fds_bits = {140734935890320, 140734935890128, 140734935890208, 140653154506956, 51, 140653267432464, 4096, 0, 140734935890272, 140653203837136, 
            140734935890880, 0, 0, 140653170735228, 140653245830704, 140653204090905}}
        curclient = 32748
        selecterr = 4
        nready = 0
        devicesReadable = {fds_bits = {5914262752, 44607270688, 140653246607296, 140653173915232, 140734935890352, 140653203837136, 140734935890880, 0, 140734935890352, 
            140653205720800, 140653222786000, 140653135732522, 140653267432464, 0, 140734935890416, 140653203960955}}
        now = 115146891
        someReady = 0
#6  0x00007fec60414984 in Dispatch () at ../../dix/dispatch.c:357
        clientReady = 0x7fec63b2ff30
        result = 0
        client = 0x7fec62c11490
        nready = -1
        icheck = 0x7fec608521f0
        start_tick = 478800
#7  0x00007fec604057d1 in main (argc=8, argv=0x7fff67dc7bc8, envp=0x7fff67dc7c10) at ../../dix/main.c:288
        i = 1
        alwaysCheckForInput = {0, 1}



On Sat, 28 Jul 2012, Julien Cristau wrote:

> On Tue, Jul 24, 2012 at 00:09:43 -0400, Yaroslav Halchenko wrote:


> > On Mon, 16 Jul 2012, Julien Cristau wrote:
> > > > [145698.415] Caught signal 11 (Segmentation fault). Server aborting
> > > > [145698.415] 
> > > > [145698.415] 

> > > Any chance you can get a backtrace from gdb?

> > Program received signal SIGSEGV, Segmentation fault.
> > XIChangeDeviceProperty (dev=dev@entry=0x7f4bac237fa0, property=<optimized out>, type=type@entry=19, format=format@entry=8, mode=<optimized out>, mode@entry=0, len=len@entry=1, 
> >     value=value@entry=0x7fff092e860f, sendevent=sendevent@entry=1) at ../../Xi/xiproperty.c:772
> > 772     ../../Xi/xiproperty.c: No such file or directory.
> > #0  XIChangeDeviceProperty (dev=dev@entry=0x7f4bac237fa0, property=<optimized out>, type=type@entry=19, format=format@entry=8, mode=<optimized out>, mode@entry=0, 
> >     len=len@entry=1, value=value@entry=0x7fff092e860f, sendevent=sendevent@entry=1) at ../../Xi/xiproperty.c:772
> > #1  0x00007f4ba813c20f in DisableDevice (dev=0x7f4bac237fa0, sendevent=sendevent@entry=1 '\001') at ../../dix/devices.c:481
> > #2  0x00007f4ba817e344 in xf86VTSwitch () at ../../../../hw/xfree86/common/xf86Events.c:454
> > #3  xf86Wakeup (blockData=<optimized out>, err=<optimized out>, pReadmask=<optimized out>) at ../../../../hw/xfree86/common/xf86Events.c:285
> > #4  0x00007f4ba8146d9b in WakeupHandler (result=result@entry=-1, pReadmask=pReadmask@entry=0x7f4ba84f1e00) at ../../dix/dixutils.c:421

> > and then -- this gesture from gdb while running from a script was not expected:

> > ---Type <return> to continue, or q <return> to quit---

> You can probably avoid this next time with the 'set pagination off'
> command.

> > so atm I do not have further backtrace -- but is this any useful?

> It's helpful, yes, thanks.  Could you forward it upstream to
> https://bugs.freedesktop.org/enter_bug.cgi?product=xorg&component=Server/Input/Core

-- 
Yaroslav O. Halchenko
Postdoctoral Fellow,   Department of Psychological and Brain Sciences
Dartmouth College, 419 Moore Hall, Hinman Box 6207, Hanover, NH 03755
Phone: +1 (603) 646-9834                       Fax: +1 (603) 646-1419
WWW:   http://www.linkedin.com/in/yarik        


Reply to: