[Bug 355021] Re: Unplugging USB tablet crashes xserver (Jaunty)

Martin Olsson mnemo at minimum.se
Thu May 14 17:20:38 UTC 2009


Okay, what we need is to collect a full backtrace where each stacktrace
has both local variable information and a proper function name. For this
we're going to need debug symbols installed. Start by installing these
packages (you mostly need the core package but it doesn't hurt to throw
in all of them):

sudo apt-get -y install libc6-dbg xserver-xorg-core-dbg libgl1-mesa-dri-
dbg libgl1-mesa-glx-dbg xserver-xorg-video-intel-dbg xserver-xorg-video-
radeon-dbg xserver-xorg-video-ati-dbg libx11-6-dbg libice6-dbg

And that, please add the ddebs repository to your /etc/apt/sources.list file (and run "apt-get update") as explained here:
https://wiki.ubuntu.com/DebuggingProgramCrash
Once you have ddebs repository correctly setup you should be able to install these packages:

sudo apt-get -y install xserver-xorg-input-aiptek-dbgsym xserver-xorg-input-evdev-dbgsym xserver-xorg-input-mouse-dbgsym xserver-xorg-input-kbd-dbgsym
Again, I think you probably just need the "xserver-xorg-input-aiptek-dbgsym" one but more debug symbols are always nice to have.

Once you got the debug symbols installed you will be able to attach gdb
to the X process and run "bt full" to see exactly what X is doing and
the values of its variables and so forth. The best way to do this is to
login to the buggy machine using ssh and attach gdb from there using
"sudo gdb -p $(pidof X)" because once you freeze the X process for
debugging all of X will be frozen. Once inside gdb, attached to X, just
type "c" to let it continue running. Then you unplug the tablet so
trigger the crash and instead of returning to GDM directly the debugger
should switch back into "prompt mode" and at the "(gdb)" prompt just
type "backtrace full" to see the full list of functions leading up to
the crash. Please attach the full output of this "bt full" command to
the bug report.

More info on obtaining backtraces for X is available here:
https://wiki.ubuntu.com/X/Backtracing

PS. It would also be useful if you attached the files
/var/log/Xorg.0.log and also /var/log/Xorg.0.log.old recorded just after
the crash happened, plus also the output of "lspci -vvnn".

-- 
Unplugging USB tablet crashes xserver (Jaunty)
https://bugs.launchpad.net/bugs/355021
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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




More information about the universe-bugs mailing list