/bin/dash Segmentation fault

Bug #251889 reported by Mats Palmgren
4
Affects Status Importance Assigned to Milestone
Mozilla Thunderbird
Fix Released
Medium
dash (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: dash

# lsb_release -rd
Description: Ubuntu 8.04.1
Release: 8.04

# uname -a
Linux desk 2.6.24-19-generic #1 SMP Fri Jul 11 21:01:46 UTC 2008 x86_64 GNU/Linux

# ls -l /bin/dash
-rwxr-xr-x 1 root root 100856 Mar 12 12:52 /bin/dash

STEPS TO REPRODUCE
1. Build thunderbird from Mozilla source, instructions here:
http://developer.mozilla.org/en/docs/Comm-central_source_code_(Mercurial)

when ./configure runs it will crash /bin/sh (which is a symlink to dash).
Changing the symlink to bash instead makes ./configure run without error.

Revision history for this message
Mats Palmgren (mats-palmgren) wrote :
Revision history for this message
In , L. David Baron (dbaron) wrote :

As a result of the changes to configure.in in bug 442279, configure crashes on Ubuntu systems where /bin/sh is dash rather than bash, and when a config.cache is present from a previous run of configure. In other words, this crash is a result of the change:
http://hg.mozilla.org/mozilla-central/index.cgi/diff/9871082391f5/configure.in

Revision history for this message
In , L. David Baron (dbaron) wrote :

Created attachment 331343
patch

Revision history for this message
In , Ted Mielczarek (ted-mielczarek) wrote :

Comment on attachment 331343
patch

I don't get why it crashes, but ok!

Revision history for this message
In , Mats Palmgren (matspal) wrote :

FWIW, I filed this to Ubuntu yesterday:
https://bugs.launchpad.net/ubuntu/+source/dash/+bug/251889

Revision history for this message
Mats Palmgren (mats-palmgren) wrote :

FYI, there are some more details (and a workaround!) here:
https://bugzilla.mozilla.org/show_bug.cgi?id=448020

Revision history for this message
In , L. David Baron (dbaron) wrote :

Ah, I didn't file because the obvious simplified testcase didn't exhibit the problem, and I wasn't in the mood to simplify configure down to a testcase (though it may be worth doing).

In any case, fixed:
http://hg.mozilla.org/mozilla-central/index.cgi/rev/589f091246af

Revision history for this message
Jorge Castro (jorge) wrote :

Resolved upstream, Mats can you confirm this and close this bug? Thanks!

Revision history for this message
Mats Palmgren (mats-palmgren) wrote :

By "upstream" you mean Debian? or http://git.kernel.org/?p=utils/dash/dash.git;a=summary ?
or something else? What do want me to test exactly?

Changed in thunderbird:
status: Unknown → Fix Released
Revision history for this message
In , Samuel-sidler+old (samuel-sidler+old) wrote :

Comment on attachment 331343
patch

Approved for 1.9.0.2. Please land in CVS. a=ss

(Taking per bug 442279 comment 9.)

Revision history for this message
In , L10n-mozilla (l10n-mozilla) wrote :

Landed in CVS.

Changed in thunderbird:
importance: Unknown → Medium
Revision history for this message
Phillip Susi (psusi) wrote :

8.04 has reached end of life, and this was fixed long ago on the thunderbird side. If you have another way to reproduce the crash in dash on 12.04 or later, please update the description and change the status back to new.

Changed in dash (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

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