Closed Bug 180204 Opened 22 years ago Closed 22 years ago

imgContainerMNG::~imgContainerMNG / nsPPMDecoder::~nsPPMDecoder will release uninitialized objects

Categories

(Core :: Graphics: ImageLib, defect)

x86
Windows 2000
defect
Not set
critical

Tracking

()

RESOLVED FIXED

People

(Reporter: timeless, Assigned: timeless)

References

Details

(Keywords: crash)

Attachments

(1 file)

mng_display_freeze(mHandle); mng_cleanup(&mHandle); if (alpha) nsMemory::Free(alpha); if (image) nsMemory::Free(image); if (mBuffer) nsMemory::Free(mBuffer); + mBuffer 0xcdcdcdcd "" + image 0xcdcdcdcd "" + alpha 0xcdcdcdcd "" + mHandle 0xcdcdcdcd mng_display_freeze(mng_data_struct * 0xcdcdcdcd) line 1560 + 9 bytes imgContainerMNG::~imgContainerMNG() line 56 + 12 bytes imgContainerMNG::`scalar deleting destructor'(unsigned int 1) + 15 bytes imgContainerMNG::Release(imgContainerMNG * const 0x043a1df0) line 36 + 179 bytes XPCWrappedNative::~XPCWrappedNative() line 547 + 18 bytes XPCWrappedNative::`scalar deleting destructor'(unsigned int 1) + 15 bytes XPCWrappedNative::Release(XPCWrappedNative * const 0x043a1d90) line 777 + 147 bytes XPCWrappedNative::FlatJSObjectFinalized(JSContext * 0x004f4e70, JSObject * 0x0151ae58) line 897 XPC_WN_NoHelper_Finalize(JSContext * 0x004f4e70, JSObject * 0x0151ae58) line 630 js_FinalizeObject(JSContext * 0x004f4e70, JSObject * 0x0151ae58) line 1840 + 96 bytes js_GC(JSContext * 0x004f4e70, unsigned int 5) line 1311 + 11 bytes
PR_Free(void * 0xcdcdcdcd) line 502 + 10 bytes nsPPMDecoder::~nsPPMDecoder() line 109 + 13 bytes nsPPMDecoder::`scalar deleting destructor'(unsigned int 1) + 15 bytes nsPPMDecoder::Release(nsPPMDecoder * const 0x03eb5ba0) line 48 + 179 bytes XPCWrappedNative::~XPCWrappedNative() line 547 + 18 bytes XPCWrappedNative::`scalar deleting destructor'(unsigned int 1) + 15 bytes XPCWrappedNative::Release(XPCWrappedNative * const 0x03eb5b40) line 777 + 147 bytes + mRowData 0xcdcdcdcd ""
Keywords: crash
Summary: imgContainerMNG::~imgContainerMNG will releases uninitialized objects → imgContainerMNG::~imgContainerMNG / nsPPMDecoder::~nsPPMDecoder will release uninitialized objects
Attached patch init to null (deleted) — Splinter Review
Attachment #106265 - Flags: superreview?(tor)
Attachment #106265 - Flags: review?(paper)
Attachment #106265 - Flags: review?(paper) → review+
Attachment #106265 - Flags: superreview?(tor) → superreview+
checked in
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Blocks: 181491
Blocks: 181494
Blocks: 181496
Blocks: 181498
Blocks: 181500
Blocks: 181503
Blocks: 181505
Blocks: 181507
Blocks: 181509
Blocks: 181512
No longer blocks: 181512
No longer blocks: 181509
No longer blocks: 181507
No longer blocks: 181505
No longer blocks: 181500
No longer blocks: 181498
No longer blocks: 181496
No longer blocks: 181494
No longer blocks: 181503
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: