Closed Bug 598565 Opened 14 years ago Closed 8 years ago

Segfault on shutdown after locked profile dialog in Native2WrappedNativeMap::Find @ JS_DHashTableOperate

Categories

(Core :: XPConnect, defect)

All
macOS
defect
Not set
critical

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: jdm, Unassigned)

References

Details

(Keywords: crash)

Crash Data

Attachments

(1 file)

Attached file Backtrace
I've seen this a few times now, but intermittently so I guess it's some sort of race happening.  Backtrace attached.
Severity: normal → critical
Keywords: crash
Assignee: general → nobody
Component: JavaScript Engine → XPConnect
QA Contact: general → xpconnect
Crash Signature: [@ JS_DHashTableOperate]
Not sure if this is the same signature, but I'm seeing more of the same place in crash.  However I'm seeing the XPCWrappedNativeProto::GetNewOrUsed  in most of these signatures.  For example:

https://crash-stats.mozilla.com/report/index/51defd76-32b7-41c0-9b9f-81ac12110822

0 	libxul.so 	JS_DHashTableOperate 	js/src/jsdhash.cpp:608
1 	libxul.so 	XPCWrappedNativeProto::GetNewOrUsed 	js/src/xpconnect/src/xpcmaps.h:361
2 	libxul.so 	XPCWrappedNative::GetNewOrUsed 	js/src/xpconnect/src/xpcprivate.h:4093
3 	libxul.so 	XPCConvert::NativeInterface2JSObject 	js/src/xpconnect/src/xpcconvert.cpp:1293
4 	libxul.so 	NativeInterface2JSObject 	js/src/xpconnect/src/nsXPConnect.cpp:1300

More reports:
https://crash-stats.mozilla.com/report/list?range_value=7&range_unit=days&date=2011-08-22%2011%3A00%3A00&signature=JS_DHashTableOperate&version=Fennec%3A9.0a1
While these reports are not necessarily unrelated, there's no obvious similarity to them besides the first stack frame, so let's not conflate them.
It's #4 top crasher in 10.0 on Linux.
Keywords: topcrash
OS: Mac OS X → All
It's slightly correlated to Firebug on 10.0.2:
  JS_DHashTableOperate|SIGSEGV (49 crashes)
     37% (18/49) vs.  24% (287/1201) firebug@software.joehewitt.com (Firebug, https://addons.mozilla.org/addon/1843)
This doesn't appear to be that high on desktop anymore. It's higher on FennecAndroid. Removing the top crash keyword and we can add it again if it goes high again.
Keywords: topcrash
Whiteboard: [native-crash]
It's #11 top crasher in FennecAndroid 14.0b2.
Keywords: topcrash
Hardware: x86 → All
(In reply to Scoobidiver from comment #6)
> It's #11 top crasher in FennecAndroid 14.0b2.

Probably not with this summary though, as I doubt that we see a locked profile dialog on native Android builds (too much).
(In reply to Josh Matthews [:jdm] (travelling until June 25th) from comment #2)
> While these reports are not necessarily unrelated, there's no obvious
> similarity to them besides the first stack frame, so let's not conflate them.
I filed bug 759680 for Fennec crashes.
Keywords: topcrash
OS: All → Mac OS X
Summary: Segfault on shutdown after locked profile dialog [@ JS_DHashTableOperate] → Segfault on shutdown after locked profile dialog in Native2WrappedNativeMap::Find @ JS_DHashTableOperate
Whiteboard: [native-crash]
Depends on: 760597
Crash Signature: [@ JS_DHashTableOperate] → [@ JS_DHashTableOperate] [@ JS_DHashTableOperate | Native2WrappedNativeMap::Find]
A crash I saw once 6 years ago isn't interesting.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: