Closed Bug 168502 Opened 22 years ago Closed 22 years ago

Mozilla crashes when using javascript debugger [@ js_ValueToString]

Categories

(Other Applications Graveyard :: Venkman JS Debugger, defect)

PowerPC
macOS
defect
Not set
critical

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 179524

People

(Reporter: matt.richard, Assigned: rginda)

Details

(Keywords: crash)

Crash Data

Attachments

(1 file)

Mozilla 1.2a {Build ID 2002091014} on Mac OS 10.2 (build 6C115, commercial release).

Mozilla crashes very frequently when using Venkman, the javascript debugger.

No specific sequence of events causes the crash. 

I have minimized the number of threads as best as I could.  If someone knows how
to do this better, or run mozilla from gdb on on OS X, please post it here and I
will try it.
On unix, ./mozilla -g -d gdb will start gdb with the environment variables
needed to run mozilla.  From here, "run" should be enough to start mozilla. 
Hopefully this works under OS X too, but I've never tried it myself.

Have a look at http://www.mozilla.org/unix/debugging-faq.html for more
information about mozilla and gdb.

Do you crash when evaluating javascript in the Interactive Session?  Is this
crash new to 1.2a?
Severity: normal → critical
Keywords: crash
Summary: Mozilla crashes when using javascript debugger → Mozilla crashes when using javascript debugger [@ js_ValueToString]
New information:   It only crashed when "Pretty Print" is turned on.  I was able
to completely debug the javascript when "Pretty Print" is turned off.

I am debugging a specific html document from my local harddrive.  I'm not typing
in code by hand - I think that's what you mean by interactive sessions.

I got the same results when testing Moz on linux:
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2a) Gecko/20020913, build 2002091318
(from mozilla-1.2a-2002091314_trunk.i386.rpm, etc.)

This crash is not new to 1.2a - I am new to javascript debugging.  I went
backwards and tested with Moz 1.0 and 1.1 on Mac OS 10.2, and it crashed just
the same.

As far as gdb goes, for some reason I cannot launch Mozilla from terminal on
OSX.  When I try ./Mozilla (actually Mozilla.app/Contents/MacOS/Mozilla) it says
"./Mozilla: cannot execute binary file."  Most apps will launch from a shell,
but Mozilla must be a different animal...

Now that I know what it does, I can post the javascript code with which I have
been working.  It came in a spam, as a HTMLcrypt document, so I hesitate to send
it allo over the place unless I know what it does and unless there's a
significant need.  If someone wants me to post (or not post) the code, please
vote for it here...

With this new information, I suspect this may be a duplicate bug, but I could
not find one.  If someone else could look around also, I would appreciate it.

Thanks,

Matt
Please reopen if still crashing using latest build.
http://ftp.mozilla.org/pub/mozilla/nightly/latest

*** This bug has been marked as a duplicate of 179524 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
Product: Core → Other Applications
Crash Signature: [@ js_ValueToString]
Product: Other Applications → Other Applications Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: