Closed Bug 587375 Opened 14 years ago Closed 14 years ago

Crash [@ GetFinalizableArenaTraceKind]

Categories

(Firefox Build System :: General, defect)

All
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla2.0b4

People

(Reporter: MatsPalmgren_bugz, Assigned: khuey)

References

Details

(Keywords: crash, regression)

Crash Data

Attachments

(2 files, 1 obsolete file)

Attached file crash stack
My stack looks different from bug 573440/bug 572560 so I'm filing a new bug.

STEPS TO REPRODUCE
1. start Firefox (using a clean profile)

ACTUAL RESULT
within seconds, before the first window appears  ==>  crash

PLATFORMS AND BUILDS TESTED
local Firefox debug build on x86-64 Linux, built from rev 1604f5408616
which includes the TM merge from 2010-08-13: 
http://hg.mozilla.org/mozilla-central/pushloghtml?changeset=69cffc79d212
which has the fix for bug 585824, so it's not that bug either.

ADDITIONAL INFORMATION
must be a recent regression (last day or so), I would suspect the
TM merge on 2010-08-13.
rev 0ee09dea0911 (just before the TM merge) works fine
I tried a x86-64 Linux tinderbox-build and it seems to work correctly.
So, maybe something in my build environment is causing it...
Severity: critical → normal
I also see this reliably on new profiles, and intermittent GC crashes on existing ones.
(And I'm also on 64-bit Linux.)
For me the following mozconfig options makes it crash:
ac_add_options --disable-ipc
ac_add_options --disable-libxul
In my crashes, I always seem to be crashing tracing the scope property of an object whose class is "StatementParams".  The object looks ok, and the sprop looks ok other than its id, which looks like a pointer that was never in a GC arena.
It appears so - backing that out locally makes the crash go away.
Just to verify, I also tried a clean build with:
ac_add_options --disable-ipc
ac_add_options --disable-libxul
ac_add_options --enable-shared-js
and that also works.
Blocks: 580407
Probably just need to make --disable-libxul imply --enable-shared-js
Hardware: x86_64 → All
Would it be naive of me to ask why the link difference causes a crash, and why this crash?
If I had to guess we're linking bits and pieces of js statically into a bunch of different shared libraries.
And then checking for function pointer equality across them, perhaps?
Perhaps.  Whatever we're doing, it's certainly not good.
Attached patch Patch (obsolete) — Splinter Review
This should do it.  Somebody who is seeing the crash want to test?
Assignee: general → me
Status: NEW → ASSIGNED
Attachment #466198 - Flags: review?(ted.mielczarek)
Attached patch PatchSplinter Review
Wrong patch.
Attachment #466198 - Attachment is obsolete: true
Attachment #466199 - Flags: review?(ted.mielczarek)
Attachment #466198 - Flags: review?(ted.mielczarek)
Attachment #466199 - Flags: review?(ted.mielczarek) → review+
Component: JavaScript Engine → Build Config
QA Contact: general → build-config
Comment on attachment 466199 [details] [diff] [review]
Patch

a2.0=dbaron
Attachment #466199 - Flags: approval2.0? → approval2.0+
I'll land this shortly (and hope it doesn't also require changes to js/src/configure.in).
http://hg.mozilla.org/mozilla-central/rev/33ff08c153d4
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla2.0b4
I can confirm that it's fixed for me with the patch.
Keywords: checkin-needed
Blocks: 601128
Crash Signature: [@ GetFinalizableArenaTraceKind]
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: