Closed Bug 113766 Opened 24 years ago Closed 23 years ago

importing ldif files asserts, accessing mork / addressbook from the import thread

Categories

(MailNews Core :: Backend, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED
mozilla0.9.8

People

(Reporter: sspitzer, Assigned: sspitzer)

Details

importing ldif files asserts, accessing mork / addressbook from the import thread NTDLL! 77f9f9df() nsDebug::Assertion(const char * 0x03e089bc, const char * 0x10108268, const char * 0x10108238, int 528) line 290 + 13 bytes NS_CheckThreadSafe(void * 0x00482ca0, const char * 0x03e089bc) line 528 + 34 bytes morkObject::AddRef(morkObject * const 0x056dfa98) line 68 + 55 bytes morkFile::AddRef(morkFile * const 0x056dfa98) line 119 + 12 bytes nsIMdbFile_SlotStrongFile(nsIMdbFile * 0x056dfaac, morkEnv * 0x056dfb60, nsIMdbFile * * 0x05738a48) line 440 + 35 bytes morkWriter::morkWriter(morkEnv * 0x056dfb60, const morkUsage & {...}, nsIMdbHeap * 0x056db4a0, morkStore * 0x03440068, nsIMdbFile * 0x056dfaac, nsIMdbHeap * 0x056db4a0) line 217 + 20 bytes morkThumb::Make_LargeCommit(morkEnv * 0x056dfb60, nsIMdbHeap * 0x056db4a0, morkStore * 0x03440068) line 309 + 64 bytes morkStore::SessionCommit(morkStore * const 0x03440094, nsIMdbEnv * 0x056dfb8c, nsIMdbThumb * * 0x05fcfea4) line 2281 + 23 bytes nsAddrDatabase::Commit(nsAddrDatabase * const 0x056dfd20, unsigned int 2) line 822 + 34 bytes nsAddrDatabase::CloseMDB(nsAddrDatabase * const 0x056dfd20, int 1) line 733 nsAddrDatabase::Close(nsAddrDatabase * const 0x056dfd20, int 1) line 850 ImportAddressThread(void * 0x05232fc0) line 962 _PR_NativeRunThread(void * 0x05232e50) line 413 + 13 bytes _threadstartex(void * 0x05232d50) line 212 + 13 bytes KERNEL32! 77e92ca8() we need to create proxy object for the objects that live on the UI thread. luck for us, bienvenu's changes to switch mork over to XPCOM exposed this problem.
Status: NEW → ASSIGNED
taking, I believe I've fixed this already.
Assignee: rdayal → sspitzer
Status: ASSIGNED → NEW
Target Milestone: --- → mozilla0.9.8
fixed.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
QA Contact: esther → stephend
NO assertion here...
Status: RESOLVED → VERIFIED
Product: MailNews → Core
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.