Closed Bug 97789 Opened 25 years ago Closed 25 years ago

mozilla executes the answer to a question

Categories

(SeaMonkey :: Build Config, defect)

x86
Linux
defect
Not set
minor

Tracking

(Not tracked)

CLOSED WORKSFORME

People

(Reporter: leary, Assigned: cls)

Details

From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.3+) Gecko/20010831 BuildID: 2001083106 when you answer n to "debug this?" 'n' is executed Reproducible: Always Steps to Reproduce: Only repro if there's core dump (and that wasn't repro....) 1. answer n to "debug?" 2. 3. Actual Results: Do you want to debug this ? You need a lot of memory for this, so watch out ? [y/n] n Use of uninitialized value in -e at /home/leary/bin/n line 2. Use of uninitialized value in concatenation (.) or string at /home/leary/bin/n line 5. print() on closed filehandle OUT at /home/leary/bin/n line 6. Expected Results: $> _ <--- plain ol' command prompt
build config?
Component: Browser-General → Build Config
.
Assignee: asa → cls
QA Contact: doronr → granrose
Which shell does /bin/sh point to?
On my system /bin/sh _is_ GNU bash, version 2.04.0(1)-release (i686-pc-linux-gnu) Copyright 1999 Free Software Foundation, Inc.
I can't reproduce this. I modified my tree to force a crash before we create any threads (usually linux won't dump cores when multiple threads are running). It asks me to debug and I say no and it exits correctly. I even downloaded and compiled bash 2.04. /usr/cls/moz/main/obj-opt-O2/dist/bin/run-mozilla.sh: line 72: 6973 Segmentation fault (core dumped) $prog ${1+"$@"} Oh no! ./mozilla-bin just dumped a core file. Do you want to debug this ? You need a lot of memory for this, so watch out ? [y/n] n grimlock:bin> echo $? 139 grimlock:bin> The code that reads the input looks correct as well: printf "\n\nOh no! %s just dumped a core file.\n\n" $prog printf "Do you want to debug this ? " printf "You need a lot of memory for this, so watch out ? [y/n] " read ans if [ "$ans" = "y" ] then That's the only place $ans gets used. Marking WFM.
Status: UNCONFIRMED → RESOLVED
Closed: 25 years ago
Resolution: --- → WORKSFORME
OK, thanks for the effort. :) Closing; will re-open if I have a solid repro.
Status: RESOLVED → CLOSED
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.