You should be able to see both what you type and what gdb prints back,
while also logging at the same time. Anyway, the gdb trace looks good
except you're missing some debug symbols so you get a lot of stack
frames like this:

#1  0xb754b647 in ?? () from /usr/lib/libgdk-x11-2.0.so.0

For fix this you need to install debug symbols for the package that
ships the file, in this case "/usr/lib/libgdk-x11-2.0.so.0". You can
find out which package that is by running "dpkg -S filename" and in this
case:

$ dpkg -S /usr/lib/libgdk-x11-2.0.so.0
libgtk2.0-0: /usr/lib/libgdk-x11-2.0.so.0

Which means that it ships in the libgtk2.0-0 package. Now, for most
packages there is no -dbg package on the main repositories so you need
to add the debug symbol repositories first. For jaunty you need to have
these lines in source.list (just like a PPA basically):

      deb http://ddebs.ubuntu.com jaunty main restricted universe multiverse
      deb http://ddebs.ubuntu.com jaunty-updates main restricted universe 
multiverse 
      deb http://ddebs.ubuntu.com jaunty-security main restricted universe 
multiverse
      deb http://ddebs.ubuntu.com jaunty-proposed main restricted universe 
multiverse

Then run "sudo apt-get update" and after that you should have a special
debug symbol package suffixed -dbgsym for all the packages in main. So
in the case above you can now install:

sudo apt-get install libgtk2.0-0-dbgsym

You can read about the ddebs repo here: 
https://wiki.ubuntu.com/DebuggingProgramCrash
This is a pretty powerful and very useful technique in general because it 
allows you to trace any crash in any Ubuntu software.

---

Anyway, you need to install -dbgsym packages for all the .so files in
your previous backtrace. After that run gdb again and attach the
complete stacktrace both here and in the upstream bug report.

-- 
XV video crashes player on Jaunty (VIA KM400/KN400/P4M800, S3 UniChrome)
https://bugs.launchpad.net/bugs/372469
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to