I'm fairly certain it's this line (or whenever priv is dereferenced
later if it's not built in debug):

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb7a386d0 (LWP 11461)]        
xf86WcmDevProc (pWcm=0xb7fa500, what=0) at ../../../src/xdrv/xf86Wacom.c:1014
1014            DBG(2, priv->debugLevel, ErrorF("BEGIN xf86WcmProc dev=%p 
priv=%p "
(gdb) bt                                                                        
   
#0  xf86WcmDevProc (pWcm=0xb7fa500, what=0) at 
../../../src/xdrv/xf86Wacom.c:1014  
#1  0x0808662f in ActivateDevice ()                                             
   
#2  0x080d89a4 in OpenInputDevice ()                                            
   
#3  0x0818bf8a in ProcXOpenDevice ()                                            
   
#4  0x08187713 in ?? ()                                                         
   
#5  0x0808d57f in Dispatch ()                                                   
   
#6  0x080722ed in main ()                                                       
   
(gdb) l                                                                         
   
1009    static int xf86WcmDevProc(DeviceIntPtr pWcm, int what)                  
   
1010    {                                                                       
   
1011            LocalDevicePtr local = 
(LocalDevicePtr)pWcm->public.devicePrivate; 
1012            WacomDevicePtr priv = (WacomDevicePtr)PRIVATE(pWcm);            
   
1013                                                                            
   
1014            DBG(2, priv->debugLevel, ErrorF("BEGIN xf86WcmProc dev=%p 
priv=%p "
1015                            "type=%s(%s) flags=%d fd=%d what=%s\n",         
   
1016                            (void *)pWcm, (void *)priv,                     
   
1017                            IsStylus(priv) ? "stylus" :                     
   
1018                            IsCursor(priv) ? "cursor" :                     
   
(gdb) l                                                                         
   
1019                            IsPad(priv) ? "pad" : "eraser",                 
   
1020                            local->name, priv->flags, local ? local->fd : 
-1,
1021                            (what == DEVICE_INIT) ? "INIT" :
1022                            (what == DEVICE_OFF) ? "OFF" :
1023                            (what == DEVICE_ON) ? "ON" :
1024                            (what == DEVICE_CLOSE) ? "CLOSE" : "???"));
1025
1026            switch (what)
1027            {
1028                    /* All devices must be opened here to initialize and
(gdb) print priv
$1 = (WacomDevicePtr) 0x10000

-- 
Xorg crashed with SIGSEGV in ActivateDevice()
https://bugs.launchpad.net/bugs/357544
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to