Last Comment Bug 675802 - Instrument DestroyScript to identify double-free caller
: Instrument DestroyScript to identify double-free caller
Status: RESOLVED FIXED
[inbound]
:
Product: Core
Classification: Components
Component: JavaScript Engine (show other bugs)
: unspecified
: x86 Linux
: -- normal (vote)
: mozilla8
Assigned To: Bill McCloskey (:billm)
:
Mentors:
Depends on:
Blocks: 670702
  Show dependency treegraph
 
Reported: 2011-08-01 16:43 PDT by Bill McCloskey (:billm)
Modified: 2011-08-03 02:12 PDT (History)
3 users (show)
See Also:
Crash Signature:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Attachments
patch (10.02 KB, patch)
2011-08-01 16:43 PDT, Bill McCloskey (:billm)
dmandelin: review+
Details | Diff | Review

Description Bill McCloskey (:billm) 2011-08-01 16:43:06 PDT
Created attachment 549973 [details] [diff] [review]
patch

This bug is to try and track down the issues in bug 670702 comment 9. It ensures that we always set the owner of a script immediately after attaching the script to a function. Also, when destroying a script, it writes out a little identifying info about the DestroyScript caller that we can find in minidumps.
Comment 1 Marco Bonardo [::mak] 2011-08-03 02:12:50 PDT
http://hg.mozilla.org/mozilla-central/rev/d976a3aed628

Note You need to log in before you can comment on or make changes to this bug.