Closed
Bug 257188
Opened 21 years ago
Closed 21 years ago
Crash [@nsThread::Main]
Categories
(Core :: XPCOM, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: timeless, Assigned: csthomas)
Details
(Keywords: crash)
Crash Data
Attachments
(1 file)
991 bytes,
patch
|
dougt
:
review+
|
Details | Diff | Splinter Review |
Components.classes["@mozilla.org/thread;1"].createInstance(Components.interfaces.nsIThread).init(null,
0, 0, 0, 0);
This happens because nsThread->mRunnable is null. In real cases this happens
because the object you're passing to Init failed to be created.
> xpcom.dll!nsThread::Main(void * arg=0x00b3d730) Line 118 + 0x5 C++
nspr4.dll!_PR_NativeRunThread(void * arg=0x00b3d688) Line 455 C
nspr4.dll!pr_root(void * arg=0x00b3dc38) Line 113 + 0xb C
msvcr71.dll!_threadstartex(void * ptd=0x00b1acc8) Line 241 + 0x6 C
Status: NEW → ASSIGNED
Summary: Crash [@nsThread::Main]\ → Crash [@nsThread::Main]
Assignee | ||
Comment 2•21 years ago
|
||
Is this another one of those "if (null) return NS_ERROR_NOT_INITIALIZED" bugs?
Assignee | ||
Comment 4•21 years ago
|
||
Assignee | ||
Updated•21 years ago
|
Attachment #157213 -
Flags: review?(dougt)
Comment 5•21 years ago
|
||
Comment on attachment 157213 [details] [diff] [review]
Patch
looks fine.
Attachment #157213 -
Flags: review?(dougt) → review+
Comment 6•21 years ago
|
||
Fixed on trunk
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Updated•14 years ago
|
Crash Signature: [@nsThread::Main]
You need to log in
before you can comment on or make changes to this bug.
Description
•