thunderbird -g fails due to invoking "$LIBDIR/$META_NAME" instead of "$LIBDIR/$META_NAME"-bin

Bug #563535 reported by Stephen Warren
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
thunderbird (Ubuntu)
Fix Released
Medium
Micah Gersten
Nominated for Lucid by Micah Gersten

Bug Description

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 2.6.32.11+drm33.2
Uname: Linux 2.6.32-21-generic i686
Architecture: i386
Date: Wed Apr 14 21:41:31 2010
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.utf8
 SHELL=/bin/bash
SourcePackage: thunderbird

Revision history for this message
Stephen Warren (srwarren) wrote :
Revision history for this message
Micah Gersten (micahg) wrote :

Thanks for reporting this bug and any supporting documentation. Since this bug has enough information provided for a developer to begin work, I'm going to mark it as Triaged. Thanks for taking the time to make Ubuntu better! Please report any other issues you may find.

Changed in thunderbird (Ubuntu):
assignee: nobody → Micah Gersten (micahg)
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package thunderbird - 3.0.6+build2+nobinonly-0ubuntu1

---------------
thunderbird (3.0.6+build2+nobinonly-0ubuntu1) maverick; urgency=low

  * New upstream release v3.0.6 (THUNDERBIRD_3_0_6_BUILD2)
    - see USN-958-1

  [ Chris Coulson <email address hidden> ]
  * Fix LP: #600217 - StartupWMClass value in thunderbird.desktop file is
    not correct
    - update debian/thunderbird.desktop

  [ Micah Gersten <email address hidden> ]
  * Fix LP: #590452 - Thunderbird needs change for dictionary transition;
    Use hunspell dictionaries for Maverick and later
    - update debian/rules
  * Fix LP: #569762 - Thunderbird's .desktop file does not contain russian
    translation; Thanks to Igor Zubarev for the translation
    - update debian/thunderbird.desktop
  * Fix LP: #563535 - thunderbird -g fails due to invoking "$LIBDIR/$META_NAME"
    instead of "$LIBDIR/$META_NAME"-bin
    - update debian/thunderbird.sh.in
  * Fix LP: #411691 - many Exception... "update.locale file doesn't exist" in
    console
    - update debian/rules
 -- Micah Gersten <email address hidden> Tue, 13 Jul 2010 08:59:50 -0500

Changed in thunderbird (Ubuntu):
status: Triaged → Fix Released
Revision history for this message
Micah Gersten (micahg) wrote :
tags: added: patch
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.