Closed Bug 257188 Opened 21 years ago Closed 21 years ago

Crash [@nsThread::Main]

Categories

(Core :: XPCOM, defect)

x86
Windows XP
defect
Not set
critical

Tracking

()

RESOLVED FIXED

People

(Reporter: timeless, Assigned: csthomas)

Details

(Keywords: crash)

Crash Data

Attachments

(1 file)

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]
Is this another one of those "if (null) return NS_ERROR_NOT_INITIALIZED" bugs?
->me
Assignee: timeless → cst
Status: ASSIGNED → NEW
Comment on attachment 157213 [details] [diff] [review] Patch looks fine.
Attachment #157213 - Flags: review?(dougt) → review+
Fixed on trunk
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Crash Signature: [@nsThread::Main]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: