[Bug 563535] [NEW] thunderbird -g fails due to invoking "$LIBDIR/$META_NAME" instead of "$LIBDIR/$META_NAME"-bin

Stephen Warren swarren at wwwdotorg.org
Thu Apr 15 03:45:25 UTC 2010

Public bug reported:

Binary package hint: thunderbird

Running "thunderbird -g" causes
/usr/lib/thunderbird-3.0.4/thunderbird.sh to attempt to run thunderbird
under gdb. In this case, thunderbird.sh executes:

  echo "sh $LIBDIR/run-mozilla.sh $GDB "$LIBDIR/$META_NAME"-bin -x $tmpfile"
  # force command name to be thunderbird for run-mozilla.sh
  CMDNAME_USER=thunderbird sh $LIBDIR/run-mozilla.sh $GDB "$LIBDIR/$META_NAME" -x $tmpfile

The echo line correctly shows it invoking "$LIBDIR/$META_NAME"-bin.
However, the gdb line actually just invokes "$LIBDIR/$META_NAME" (note
missing -bin at end of thunderbird command).

This ends up running gdb on /usr/lib/thunderbird-3.0.4/thunderbird (a
shell script) instead of /usr/lib/thunderbird-3.0.4/thunderbird-bin (the
thunderbird ELF binary) and hence gdb fails.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: thunderbird 3.0.4+nobinonly-0ubuntu1 [modified: usr/lib/thunderbird-3.0.4/thunderbird.sh]
ProcVersionSignature: Ubuntu 2.6.32-21.31-generic
Uname: Linux 2.6.32-21-generic i686
Architecture: i386
Date: Wed Apr 14 21:41:31 2010
 PATH=(custom, user)
SourcePackage: thunderbird

** Affects: thunderbird (Ubuntu)
     Importance: Undecided
         Status: New

** Tags: apport-bug i386 lucid

thunderbird -g fails due to invoking "$LIBDIR/$META_NAME" instead of "$LIBDIR/$META_NAME"-bin
You received this bug notification because you are a member of Mozilla
Bugs, which is subscribed to thunderbird in ubuntu.

More information about the Ubuntu-mozillateam-bugs mailing list