Packages and debugging symbols

Asked by Pierre-Alexandre Meyer

Is there a central repository for unstripped binaries?

Firefox is spread across repos for instance. firefox-3.0-dbgsym is in the ddebs repo but firefox-3.5-dbg in the main/universe.

Also, some packages don't seem to have a debug version, for instance mozilla-mplayer. Is there a description of the official Ubuntu toolchain to reproduce the binaries?

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Derek White (d-man97) said :
#1

No central repo, they are usually in whatever repo the main program is in.

I believe if you compile from source, you can add the debug symbols, right?

Firefox add-ons don't have debug symbols...firefox is their debugger. If a problem is found, it should be reported properly using the firefox debug symbols. If it's a js issue, you can try the mozilla-venkman package.

HTH

Revision history for this message
Pierre-Alexandre Meyer (pam-mouraf) said :
#2

On Sat, Jul 11, 2009 at 03:35:22AM -0000, Derek White wrote:
> I believe if you compile from source, you can add the debug symbols,
> right?

Sure, but to compile from source and create the exact same binary, I
need the version of whatever was used to create the debian package
(version of nasm, ld, gcc, ar, nm, ...). Is there a spec file with this
info for each release?

> Firefox add-ons don't have debug symbols...firefox is their debugger. If
> a problem is found, it should be reported properly using the firefox
> debug symbols.

I tried debugging with firefox-3.0-dbgsym but the segfault occurs in
/usr/lib/firefox/plugins/mplayerplug-in-qt.so and the package doesn't
provide symbols for this plugin.

(Note: the problem I was trying to debug is fixed in Karmic already, cf
https://bugs.launchpad.net/mandriva/+source/mplayer/+bug/360222, but I
would still like to have a clear debugging story for the next bug)

--
Pierre-Alexandre Meyer

Can you help with this problem?

Provide an answer of your own, or ask Pierre-Alexandre Meyer for more information if necessary.

To post a message you must log in.