Closed Bug 422720 Opened 16 years ago Closed 16 years ago

Crash when trying to reorder "date" column for gmail IMAP account, ~5000 messages [@nsAutoLock::SetThreadPrivate]

Categories

(MailNews Core :: Backend, defect)

defect
Not set
critical

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: bugmil.ebirol, Assigned: bugmil.ebirol)

References

Details

Attachments

(2 files, 1 obsolete file)

User-Agent:       Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-us) AppleWebKit/523.15.1 (KHTML, like Gecko) Version/3.0.4 Safari/523.15
Build Identifier: version 3.0a1pre (2008031219)

Installed tbird, and tried to setup the first mail account. Did setup my gmail imap account, waited for a while for headers to show up. When done, clicked on the date column to reorder.  

Reproducible: Always

Steps to Reproduce:
1.Setup an imap account (gmail in this specific case)
2.Click on the date column to make the newest message top most

Actual Results:  
Tbird becomes unresponsive for a while then crashes

Expected Results:  
Messages should be reordered by date

Exception Type:  EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000000
Crashed Thread:  0

Thread 0 Crashed:
0   ???                           	0000000000 0 + 0
1   libnspr4.dylib                	0x00554072 PR_SetThreadPrivate + 445 (prtpd.c:215)
2   libxpcom_core.dylib           	0x00335a95 nsAutoLockBase::nsAutoLockBase(void*, nsAutoLockBase::nsAutoLockType) + 467 (nsAutoLock.cpp:326)
3   libxpcom_core.dylib           	0x00373867 nsAutoMonitor::nsAutoMonitor(PRMonitor*) + 39 (nsAutoLock.h:300)
4   libxpcom_core.dylib           	0x003738f6 nsAutoMonitor::nsAutoMonitor(PRMonitor*) + 24 (nsAutoLock.h:307)
5   libxpcom_core.dylib           	0x003a5dcd nsEventQueue::PutEvent(nsIRunnable*) + 59 (nsEventQueue.cpp:114)
6   libxpcom_core.dylib           	0x003a74bc nsThread::nsChainedEventQueue::PutEvent(nsIRunnable*) + 102 (nsThread.cpp:632)
7   libxpcom_core.dylib           	0x003a7f6c nsThread::PutEvent(nsIRunnable*) + 130 (nsThread.cpp:362)
8   libxpcom_core.dylib           	0x003a857e nsThread::Dispatch(nsIRunnable*, unsigned int) + 510 (nsThread.cpp:406)
9   libxpcom_core.dylib           	0x00333916 NS_DispatchToCurrentThread_P(nsIRunnable*) + 62 (nsThreadUtils.cpp:145)
10  libgklayout.dylib             	0x18e8b38f nsPLDOMEvent::PostDOMEvent() + 17 (nsPLDOMEvent.cpp:78)
11  libgklayout.dylib             	0x19123930 nsTreeSelection::SetCurrentIndex(int) + 672 (nsTreeSelection.cpp:650)
12  libmailnews.dylib             	0x11182f03 nsMsgDBView::RestoreSelection(unsigned int, nsMsgKeyArray&) + 419 (nsMsgDBView.cpp:827)
13  libmailnews.dylib             	0x1119ee11 nsMsgThreadedDBView::Sort(int, int) + 1177 (nsMsgThreadedDBView.cpp:385)
14  libxpcom_core.dylib           	0x003c21dd NS_InvokeByIndex_P + 99 (xptcinvoke_unixish_x86.cpp:179)
15  libxpconnect.dylib            	0x114ae5fa XPCWrappedNative::CallMethod(XPCCallContext&, XPCWrappedNative::CallMode) + 6154 (xpcwrappednative.cpp:2369)
16  libxpconnect.dylib            	0x114b8bb3 XPC_WN_CallMethod(JSContext*, JSObject*, unsigned int, long*, long*) + 399 (xpcwrappednativejsops.cpp:1470)
17  libmozjs.dylib                	0x0024d972 js_Invoke + 2603 (jsinterp.c:1275)
18  libmozjs.dylib                	0x0023f32b js_Interpret + 74949 (jsinterp.c:4908)
19  libmozjs.dylib                	0x0024d9e7 js_Invoke + 2720 (jsinterp.c:1291)
20  libxpconnect.dylib            	0x114a845c nsXPCWrappedJSClass::CallMethod(nsXPCWrappedJS*, unsigned short, XPTMethodDescriptor const*, nsXPTCMiniVariant*) + 4858 (xpcwrappedjsclass.cpp:1475)
21  libxpconnect.dylib            	0x114a03e7 nsXPCWrappedJS::CallMethod(unsigned short, XPTMethodDescriptor const*, nsXPTCMiniVariant*) + 97 (xpcwrappedjs.cpp:559)
22  libxpcom_core.dylib           	0x003c24c0 PrepareAndDispatch(nsXPTCStubBase*, unsigned int, unsigned int*) + 662 (xptcstubs_unixish_x86.cpp:93)
23  libxpcom_core.dylib           	0x003c251f nsXPTCStubBase::Stub3() + 53 (xptcstubsdef.inc:1)
24  libgklayout.dylib             	0x18e5dfdf nsEventListenerManager::HandleEventSubType(nsListenerStruct*, nsIDOMEventListener*, nsIDOMEvent*, nsISupports*, unsigned int) + 595 (nsEventListenerManager.cpp:1082)
25  libgklayout.dylib             	0x18e5fc8e nsEventListenerManager::HandleEvent(nsPresContext*, nsEvent*, nsIDOMEvent**, nsISupports*, unsigned int, nsEventStatus*) + 1094 (nsEventListenerManager.cpp:1160)
26  libgklayout.dylib             	0x18e8c2bf nsEventTargetChainItem::HandleEvent(nsEventChainPostVisitor&, unsigned int) + 333 (nsEventDispatcher.cpp:207)
27  libgklayout.dylib             	0x18e8c3a6 nsEventTargetChainItem::HandleEventTargetChain(nsEventChainPostVisitor&, unsigned int, nsDispatchingCallback*) + 194 (nsEventDispatcher.cpp:240)
28  libgklayout.dylib             	0x18e8cd14 nsEventDispatcher::Dispatch(nsISupports*, nsPresContext*, nsEvent*, nsIDOMEvent*, nsEventStatus*, nsDispatchingCallback*) + 1640 (nsEventDispatcher.cpp:479)
29  libgklayout.dylib             	0x18b7024b PresShell::HandleEventInternal(nsEvent*, nsIView*, nsEventStatus*) + 579 (nsPresShell.cpp:5895)
30  libgklayout.dylib             	0x18b70460 PresShell::HandleEventWithTarget(nsEvent*, nsIFrame*, nsIContent*, nsEventStatus*) + 64 (nsPresShell.cpp:5800)
31  libgklayout.dylib             	0x18e69c49 nsEventStateManager::CheckForAndDispatchClick(nsPresContext*, nsMouseEvent*, nsEventStatus*) + 585 (nsEventStateManager.cpp:3356)
32  libgklayout.dylib             	0x18e6dc57 nsEventStateManager::PostHandleEvent(nsPresContext*, nsEvent*, nsIFrame*, nsEventStatus*, nsIView*) + 1599 (nsEventStateManager.cpp:2420)
33  libgklayout.dylib             	0x18b703e4 PresShell::HandleEventInternal(nsEvent*, nsIView*, nsEventStatus*) + 988 (nsPresShell.cpp:5916)
34  libgklayout.dylib             	0x18b7065b PresShell::HandlePositionedEvent(nsIView*, nsIFrame*, nsGUIEvent*, nsEventStatus*) + 485 (nsPresShell.cpp:5783)
35  libgklayout.dylib             	0x18b72633 PresShell::HandleEvent(nsIView*, nsGUIEvent*, nsEventStatus*) + 1593 (nsPresShell.cpp:5643)
36  libgklayout.dylib             	0x1901a2a2 nsViewManager::HandleEvent(nsView*, nsPoint, nsGUIEvent*, int) + 114 (nsViewManager.cpp:1383)
37  libgklayout.dylib             	0x1901b203 nsViewManager::DispatchEvent(nsGUIEvent*, nsEventStatus*) + 3915 (nsViewManager.cpp:1335)
38  libgklayout.dylib             	0x190117cd HandleEvent(nsGUIEvent*) + 83 (nsView.cpp:171)
39  libwidget_mac.dylib           	0x11d84b66 nsChildView::DispatchEvent(nsGUIEvent*, nsEventStatus&) + 236 (nsChildView.mm:1544)
40  libwidget_mac.dylib           	0x11d7c34a nsChildView::DispatchWindowEvent(nsGUIEvent&) + 40 (nsChildView.mm:1558)
41  libwidget_mac.dylib           	0x11d8478a nsChildView::DispatchMouseEvent(nsMouseEvent&) + 50 (nsChildView.mm:1569)
42  libwidget_mac.dylib           	0x11d85605 -[ChildView mouseUp:] + 531 (nsChildView.mm:2876)
43  com.apple.AppKit              	0x93d3ab61 -[NSWindow sendEvent:] + 5539
44  libwidget_mac.dylib           	0x11d76aca -[NSWindow(MethodSwizzling) nsCocoaWindow_NSWindow_sendEvent:] + 440 (nsCocoaWindow.mm:2012)
45  com.apple.AppKit              	0x93d07714 -[NSApplication sendEvent:] + 2780
46  com.apple.AppKit              	0x93c650f9 -[NSApplication run] + 847
47  libwidget_mac.dylib           	0x11d6abb0 nsAppShell::Run() + 288 (nsAppShell.mm:587)
48  libtoolkitcomps.dylib         	0x12af72c0 nsAppStartup::Run() + 148 (nsAppStartup.cpp:181)
49  XUL                           	0x000f4dcd XRE_main + 13853 (nsAppRunner.cpp:3154)
50  org.mozilla.thunderbird       	0x000027c8 main + 288 (nsMailApp.cpp:91)
51  org.mozilla.thunderbird       	0x00001ff4 _start + 210
52  org.mozilla.thunderbird       	0x00001f21 start + 41

Thread 1:
0   libSystem.B.dylib             	0x9308b72e select$DARWIN_EXTSN$NOCANCEL + 10
1   libnspr4.dylib                	0x00573722 poll + 632 (unix.c:3672)
2   libnspr4.dylib                	0x0056eb6c _pr_poll_with_poll + 1329 (ptio.c:3895)
3   libnspr4.dylib                	0x0056edd9 PR_Poll + 31 (ptio.c:4299)
4   libnecko.dylib                	0x11612372 nsSocketTransportService::Poll(int, unsigned int*) + 222 (nsSocketTransportService2.cpp:349)
5   libnecko.dylib                	0x1161388e nsSocketTransportService::DoPollIteration(int) + 794 (nsSocketTransportService2.cpp:644)
6   libnecko.dylib                	0x11613b97 nsSocketTransportService::OnProcessNextEvent(nsIThreadInternal*, int, unsigned int) + 61 (nsSocketTransportService2.cpp:522)
7   libxpcom_core.dylib           	0x003a7a00 nsThread::ProcessNextEvent(int, int*) + 416 (nsThread.cpp:500)
8   libxpcom_core.dylib           	0x00333740 NS_ProcessNextEvent_P(nsIThread*, int) + 130 (nsThreadUtils.cpp:227)
9   libnecko.dylib                	0x116133f4 nsSocketTransportService::Run() + 288 (nsSocketTransportService2.cpp:553)
10  libxpcom_core.dylib           	0x003a7b04 nsThread::ProcessNextEvent(int, int*) + 676 (nsThread.cpp:511)
11  libxpcom_core.dylib           	0x00333740 NS_ProcessNextEvent_P(nsIThread*, int) + 130 (nsThreadUtils.cpp:227)
12  libxpcom_core.dylib           	0x003a7d13 nsThread::ThreadFunc(void*) + 263 (nsThread.cpp:253)
13  libnspr4.dylib                	0x00570340 _pt_root + 314 (ptthread.c:224)
14  libSystem.B.dylib             	0x93084c55 _pthread_start + 321
15  libSystem.B.dylib             	0x93084b12 thread_start + 34

Thread 2:
0   libSystem.B.dylib             	0x93053a46 semaphore_timedwait_signal_trap + 10
1   libSystem.B.dylib             	0x93085daf _pthread_cond_wait + 1244
2   libSystem.B.dylib             	0x930d0de7 pthread_cond_timedwait + 47
3   libnspr4.dylib                	0x005692cc pt_TimedWait + 243 (ptsynch.c:280)
4   libnspr4.dylib                	0x005697e7 PR_WaitCondVar + 370 (ptsynch.c:407)
5   libxpcom_core.dylib           	0x003af657 TimerThread::Run() + 719 (TimerThread.cpp:335)
6   libxpcom_core.dylib           	0x003a7b04 nsThread::ProcessNextEvent(int, int*) + 676 (nsThread.cpp:511)
7   libxpcom_core.dylib           	0x00333740 NS_ProcessNextEvent_P(nsIThread*, int) + 130 (nsThreadUtils.cpp:227)
8   libxpcom_core.dylib           	0x003a7d13 nsThread::ThreadFunc(void*) + 263 (nsThread.cpp:253)
9   libnspr4.dylib                	0x00570340 _pt_root + 314 (ptthread.c:224)
10  libSystem.B.dylib             	0x93084c55 _pthread_start + 321
11  libSystem.B.dylib             	0x93084b12 thread_start + 34

Thread 3:
0   libSystem.B.dylib             	0x93053a2e semaphore_wait_signal_trap + 10
1   libSystem.B.dylib             	0x93085dc6 _pthread_cond_wait + 1267
2   libSystem.B.dylib             	0x930cb8bb pthread_cond_wait + 48
3   libnspr4.dylib                	0x005697c2 PR_WaitCondVar + 333 (ptsynch.c:405)
4   libpipnss.dylib               	0x1b245daa nsSSLThread::Run() + 286 (nsSSLThread.cpp:949)
5   libpipnss.dylib               	0x1b244483 nsPSMBackgroundThread::nsThreadRunner(void*) + 27 (nsPSMBackgroundThread.cpp:45)
6   libnspr4.dylib                	0x00570340 _pt_root + 314 (ptthread.c:224)
7   libSystem.B.dylib             	0x93084c55 _pthread_start + 321
8   libSystem.B.dylib             	0x93084b12 thread_start + 34

Thread 4:
0   libSystem.B.dylib             	0x93053a2e semaphore_wait_signal_trap + 10
1   libSystem.B.dylib             	0x93085dc6 _pthread_cond_wait + 1267
2   libSystem.B.dylib             	0x930cb8bb pthread_cond_wait + 48
3   libnspr4.dylib                	0x005697c2 PR_WaitCondVar + 333 (ptsynch.c:405)
4   libpipnss.dylib               	0x1b246d74 nsCertVerificationThread::Run() + 72 (nsCertVerificationThread.cpp:135)
5   libpipnss.dylib               	0x1b244483 nsPSMBackgroundThread::nsThreadRunner(void*) + 27 (nsPSMBackgroundThread.cpp:45)
6   libnspr4.dylib                	0x00570340 _pt_root + 314 (ptthread.c:224)
7   libSystem.B.dylib             	0x93084c55 _pthread_start + 321
8   libSystem.B.dylib             	0x93084b12 thread_start + 34

Thread 5:
0   libSystem.B.dylib             	0x93053a2e semaphore_wait_signal_trap + 10
1   libSystem.B.dylib             	0x93085dc6 _pthread_cond_wait + 1267
2   libSystem.B.dylib             	0x930cb8bb pthread_cond_wait + 48
3   libnspr4.dylib                	0x005697c2 PR_WaitCondVar + 333 (ptsynch.c:405)
4   libnspr4.dylib                	0x00569f03 PR_Wait + 265 (ptsynch.c:584)
5   libxpcom_core.dylib           	0x003739df nsAutoMonitor::Wait(unsigned int) + 27 (nsAutoLock.h:340)
6   libxpcom_core.dylib           	0x003a5cca nsEventQueue::GetEvent(int, nsIRunnable**) + 134 (nsEventQueue.cpp:86)
7   libxpcom_core.dylib           	0x003a85fe nsThread::nsChainedEventQueue::GetEvent(int, nsIRunnable**) + 34 (nsThread.h:113)
8   libxpcom_core.dylib           	0x003a7a6a nsThread::ProcessNextEvent(int, int*) + 522 (nsThread.cpp:501)
9   libxpcom_core.dylib           	0x00333740 NS_ProcessNextEvent_P(nsIThread*, int) + 130 (nsThreadUtils.cpp:227)
10  libxpcom_core.dylib           	0x003a7d13 nsThread::ThreadFunc(void*) + 263 (nsThread.cpp:253)
11  libnspr4.dylib                	0x00570340 _pt_root + 314 (ptthread.c:224)
12  libSystem.B.dylib             	0x93084c55 _pthread_start + 321
13  libSystem.B.dylib             	0x93084b12 thread_start + 34

Thread 6:
0   libSystem.B.dylib             	0x93053a46 semaphore_timedwait_signal_trap + 10
1   libSystem.B.dylib             	0x93085daf _pthread_cond_wait + 1244
2   libSystem.B.dylib             	0x930d0de7 pthread_cond_timedwait + 47
3   libnspr4.dylib                	0x005692cc pt_TimedWait + 243 (ptsynch.c:280)
4   libnspr4.dylib                	0x005697e7 PR_WaitCondVar + 370 (ptsynch.c:407)
5   libnspr4.dylib                	0x00569f03 PR_Wait + 265 (ptsynch.c:584)
6   libxpcom_core.dylib           	0x003739df nsAutoMonitor::Wait(unsigned int) + 27 (nsAutoLock.h:340)
7   libxpcom_core.dylib           	0x003ac588 nsThreadPool::Run() + 556 (nsThreadPool.cpp:200)
8   libxpcom_core.dylib           	0x003a7b04 nsThread::ProcessNextEvent(int, int*) + 676 (nsThread.cpp:511)
9   libxpcom_core.dylib           	0x00333740 NS_ProcessNextEvent_P(nsIThread*, int) + 130 (nsThreadUtils.cpp:227)
10  libxpcom_core.dylib           	0x003a7d13 nsThread::ThreadFunc(void*) + 263 (nsThread.cpp:253)
11  libnspr4.dylib                	0x00570340 _pt_root + 314 (ptthread.c:224)
12  libSystem.B.dylib             	0x93084c55 _pthread_start + 321
13  libSystem.B.dylib             	0x93084b12 thread_start + 34

Thread 7:
0   libSystem.B.dylib             	0x93053a46 semaphore_timedwait_signal_trap + 10
1   libSystem.B.dylib             	0x93085daf _pthread_cond_wait + 1244
2   libSystem.B.dylib             	0x930d0de7 pthread_cond_timedwait + 47
3   libnspr4.dylib                	0x005692cc pt_TimedWait + 243 (ptsynch.c:280)
4   libnspr4.dylib                	0x005697e7 PR_WaitCondVar + 370 (ptsynch.c:407)
5   libnspr4.dylib                	0x00569f03 PR_Wait + 265 (ptsynch.c:584)
6   libxpcom_core.dylib           	0x003739df nsAutoMonitor::Wait(unsigned int) + 27 (nsAutoLock.h:340)
7   libmsgimap.dylib              	0x1d7facab nsImapProtocol::ImapThreadMainLoop() + 117 (nsImapProtocol.cpp:1168)
8   libmsgimap.dylib              	0x1d80727c nsImapProtocol::Run() + 222 (nsImapProtocol.cpp:962)
9   libxpcom_core.dylib           	0x003a7b04 nsThread::ProcessNextEvent(int, int*) + 676 (nsThread.cpp:511)
10  libxpcom_core.dylib           	0x00333740 NS_ProcessNextEvent_P(nsIThread*, int) + 130 (nsThreadUtils.cpp:227)
11  libxpcom_core.dylib           	0x003a7d13 nsThread::ThreadFunc(void*) + 263 (nsThread.cpp:253)
12  libnspr4.dylib                	0x00570340 _pt_root + 314 (ptthread.c:224)
13  libSystem.B.dylib             	0x93084c55 _pthread_start + 321
14  libSystem.B.dylib             	0x93084b12 thread_start + 34

Thread 8:
0   libSystem.B.dylib             	0x93053a46 semaphore_timedwait_signal_trap + 10
1   libSystem.B.dylib             	0x93085daf _pthread_cond_wait + 1244
2   libSystem.B.dylib             	0x930d0de7 pthread_cond_timedwait + 47
3   libnspr4.dylib                	0x005692cc pt_TimedWait + 243 (ptsynch.c:280)
4   libnspr4.dylib                	0x005697e7 PR_WaitCondVar + 370 (ptsynch.c:407)
5   libnecko.dylib                	0x116279f5 nsHostResolver::GetHostToLookup(nsHostRecord**) + 83 (nsHostResolver.cpp:596)
6   libnecko.dylib                	0x11627bee nsHostResolver::ThreadFunc(void*) + 288 (nsHostResolver.cpp:688)
7   libnspr4.dylib                	0x00570340 _pt_root + 314 (ptthread.c:224)
8   libSystem.B.dylib             	0x93084c55 _pthread_start + 321
9   libSystem.B.dylib             	0x93084b12 thread_start + 34

Thread 0 crashed with X86 Thread State (32-bit):
  eax: 0xbfffcf44  ebx: 0x00553ec3  ecx: 0x00000000  edx: 0x00000000
  edi: 0xbfffd064  esi: 0x00613430  ebp: 0xbfffcce8  esp: 0xbfffcccc
   ss: 0x0000001f  efl: 0x00010202  eip: 0x00000000   cs: 0x00000017
   ds: 0x0000001f   es: 0x0000001f   fs: 0x00000000   gs: 0x00000037
  cr2: 0x00000000

Binary Images:
    0x1000 -     0x2fff +org.mozilla.thunderbird 3.0a1pre (3.0a1pre) <f2b5c7afd4136e79296a697345f43509> /Users/ebirol/Projects/mozilla/obj/tbird-debug/dist/ThunderbirdDebug.app/Contents/MacOS/thunderbird-bin
    0x7000 -     0x8ffe +libxpcom.dylib ??? (???) <296a1621ff20ee484381797dbafed2c2> /Users/ebirol/Projects/mozilla/obj/tbird-debug/dist/ThunderbirdDebug.app/Contents/MacOS/libxpcom.dylib
    0xe000 -    0x13feb +libplds4.dylib ??? (???) <5cb3f06899ea759ea7ab8e73ed64b5c3> /Users/ebirol/Projects/mozilla/obj/tbird-debug/dist/ThunderbirdDebug.app/Contents/MacOS/libplds4.dylib
   0x1b000 -    0x21feb +libplc4.dylib ??? (???) <5bf725edc57babe9be95af0415ae6966> /Users/ebirol/Projects/mozilla/obj/tbird-debug/dist/ThunderbirdDebug.app/Contents/MacOS/libplc4.dylib
   0xe9000 -   0x151ff4 +XUL ??? (???) <fe7dbfbc7cf18f11aec7672a39483ac5> /Users/ebirol/Projects/mozilla/obj/tbird-debug/dist/ThunderbirdDebug.app/Contents/MacOS/XUL
  0x1d2000 -   0x2e1ff3 +libmozjs.dylib ??? (???) <773d70813932a50b9fed056eb556bb25> /Users/ebirol/Projects/mozilla/obj/tbird-debug/dist/ThunderbirdDebug.app/Contents/MacOS/libmozjs.dylib
  0x323000 -   0x400ff7 +libxpcom_core.dylib ??? (???) <dac24952c92eb5a70bf4891697441b7b> /Users/ebirol/Projects/mozilla/obj/tbird-debug/dist/ThunderbirdDebug.app/Contents/MacOS/libxpcom_core.dylib
  0x547000 -   0x57efff +libnspr4.dylib ??? (???) <ae63d1cb8e3e38907ffc64961c21aa5d> /Users/ebirol/Projects/mozilla/obj/tbird-debug/dist/ThunderbirdDebug.app/Contents/MacOS/libnspr4.dylib
  0x700000 -   0x71dfff +libchrome.dylib ??? (???) <6fbaa2adf8ec748a293d01688faad721> /Users/ebirol/Projects/mozilla/obj/tbird-debug/dist/ThunderbirdDebug.app/Contents/MacOS/components/libchrome.dylib
  0x758000 -   0x76cffd +libpref.dylib ??? (???) <d2add443ddf4b2a486a734160a4e2867> /Users/ebirol/Projects/mozilla/obj/tbird-debug/dist/ThunderbirdDebug.app/Contents/MacOS/components/libpref.dylib
  0x798000 -   0x7abff7 +libmozz.dylib ??? (???) <2c611985c0611c0212e6a396e7603857> /Users/ebirol/Projects/mozilla/obj/tbird-debug/dist/ThunderbirdDebug.app/Contents/MacOS/libmozz.dylib
  0x7b3000 -   0x7c0fe2 +libgkgfx.dylib ??? (???) <c0452d2760b58e523adcc2f61b54132d> /Users/ebirol/Projects/mozilla/obj/tbird-debug/dist/ThunderbirdDebug.app/Contents/MacOS/libgkgfx.dylib
0x11100000 - 0x111fdfff +libmailnews.dylib ??? (???) <b27ef311927ded2c36c7a2c794490ae4> /Users/ebirol/Projects/mozilla/obj/tbird-debug/dist/ThunderbirdDebug.app/Contents/MacOS/components/libmailnews.dylib
0x1134c000 - 0x113b3fff +libmsgbaseutil.dylib ??? (???) <227bf071cd0a19b440212c9bcff59d8b> /Users/ebirol/Projects/mozilla/obj/tbird-debug/dist/ThunderbirdDebug.app/Contents/MacOS/libmsgbaseutil.dylib
0x11460000 - 0x114e3fff +libxpconnect.dylib ??? (???) <58f437f24dc28dbd53c32e342ea9fd74> /Users/ebirol/Projects/mozilla/obj/tbird-debug/dist/ThunderbirdDebug.app/Contents/MacOS/components/libxpconnect.dylib
0x115c6000 - 0x116d1ffb +libnecko.dylib ??? (???) <bb8ecdad2d91e45bc1807f48553fb334> /Users/ebirol/Projects/mozilla/obj/tbird-debug/dist/ThunderbirdDebug.app/Contents/MacOS/components/libnecko.dylib
0x1184c000 - 0x11866fff +libjar50.dylib ??? (???) <ffff2c7ca797a7b330eaf693b5fc5d91> /Users/ebirol/Projects/mozilla/obj/tbird-debug/dist/ThunderbirdDebug.app/Contents/MacOS/components/libjar50.dylib
0x1189a000 - 0x118d4ff8 +librdf.dylib ??? (???) <d83263fa4557a99b4f3d77b60364e16c> /Users/ebirol/Projects/mozilla/obj/tbird-debug/dist/ThunderbirdDebug.app/Contents/MacOS/components/librdf.dylib
0x11936000 - 0x119a0ff6 +libhtmlpars.dylib ??? (???) <97245007a258f6e731b4eaafaf96eae8> /Users/ebirol/Projects/mozilla/obj/tbird-debug/dist/ThunderbirdDebug.app/Contents/MacOS/components/libhtmlpars.dylib
0x11a17000 - 0x11a4cffb +libi18n.dylib ??? (???) <6ef62842b003d3a9f7f464fb831046d3> /Users/ebirol/Projects/mozilla/obj/tbird-debug/dist/ThunderbirdDebug.app/Contents/MacOS/components/libi18n.dylib
0x11a89000 - 0x11b4cfe6 +libuconv.dylib ??? (???) <84947320c3bcda9d1f3d96cbbbce77d7> /Users/ebirol/Projects/mozilla/obj/tbird-debug/dist/ThunderbirdDebug.app/Contents/MacOS/components/libuconv.dylib
0x11bae000 - 0x11c44fff +libdocshell.dylib ??? (???) <7f2de3d50884a6fbc81bd6ed63f74027> /Users/ebirol/Projects/mozilla/obj/tbird-debug/dist/ThunderbirdDebug.app/Contents/MacOS/components/libdocshell.dylib
0x11d45000 - 0x11dcffef +libwidget_mac.dylib ??? (???) <0b9dd72b4d727c921833c9026baa2536> /Users/ebirol/Projects/mozilla/obj/tbird-debug/dist/ThunderbirdDebug.app/Contents/MacOS/components/libwidget_mac.dylib
0x11e7e000 - 0x11f10ff6 +libthebes.dylib ??? (???) <9e5d5e10aede8d001d8f10d08b93baee> /Users/ebirol/Projects/mozilla/obj/tbird-debug/dist/ThunderbirdDebug.app/Contents/MacOS/libthebes.dylib
0x11f8f000 - 0x11fc1fe7 +libmozlcms.dylib ??? (???) <2be610addfa2a218803ec105d32c76c1> /Users/ebirol/Projects/mozilla/obj/tbird-debug/dist/ThunderbirdDebug.app/Contents/MacOS/libmozlcms.dylib
0x1299d000 - 0x129bcfff +libcaps.dylib ??? (???) <ca29b67a16e94fe457feeb41745a97dc> /Users/ebirol/Projects/mozilla/obj/tbird-debug/dist/ThunderbirdDebug.app/Contents/MacOS/components/libcaps.dylib
0x129f2000 - 0x129f9ffc +libwindowds.dylib ??? (???) <ce802d97cb4e1c8a9fc99f19f150e2ea> /Users/ebirol/Projects/mozilla/obj/tbird-debug/dist/ThunderbirdDebug.app/Contents/MacOS/components/libwindowds.dylib
0x12a0e000 - 0x12a23fe3 +libalerts_s.dylib ??? (???) <8dbbfc176083efd4029d34083166b85f> /Users/ebirol/Projects/mozilla/obj/tbird-debug/dist/ThunderbirdDebug.app/Contents/MacOS/components/libalerts_s.dylib
0x12af3000 - 0x12b45fff +libtoolkitcomps.dylib ??? (???) <b02eb41d77055e8a430f3c096dc64a56> /Users/ebirol/Projects/mozilla/obj/tbird-debug/dist/ThunderbirdDebug.app/Contents/MacOS/components/libtoolkitcomps.dylib
0x12bc6000 - 0x12c1cff7 +libembedcomponents.dylib ??? (???) <a6d69de5a007f59c275b1d57545e21a4> /Users/ebirol/Projects/mozilla/obj/tbird-debug/dist/ThunderbirdDebug.app/Contents/MacOS/components/libembedcomponents.dylib
0x12cbb000 - 0x12ce5ffd +libnsappshell.dylib ??? (???) <b9d5081061924d0e64308f8882d900ef> /Users/ebirol/Projects/mozilla/obj/tbird-debug/dist/ThunderbirdDebug.app/Contents/MacOS/components/libnsappshell.dylib
0x12d38000 - 0x12d3efff +libcommandlines.dylib ??? (???) <87f57414ca9f5fa2b8257e0a3359b2db> /Users/ebirol/Projects/mozilla/obj/tbird-debug/dist/ThunderbirdDebug.app/Contents/MacOS/components/libcommandlines.dylib
0x12d4e000 - 0x12d63fff +libgkgfxthebes.dylib ??? (???) <08002cb2e6996d95ae2a5614c66401f3> /Users/ebirol/Projects/mozilla/obj/tbird-debug/dist/ThunderbirdDebug.app/Contents/MacOS/components/libgkgfxthebes.dylib
0x14fcb000 - 0x14fd7fff +libbayesflt.dylib ??? (???) <a483f02ec854151172ce5ee5dd05dfbc> /Users/ebirol/Projects/mozilla/obj/tbird-debug/dist/ThunderbirdDebug.app/Contents/MacOS/components/libbayesflt.dylib
0x15a1d000 - 0x15a41ffd +libwallet.dylib ??? (???) <4040687c73f2fd0769e2bacef247f01b> /Users/ebirol/Projects/mozilla/obj/tbird-debug/dist/ThunderbirdDebug.app/Contents/MacOS/components/libwallet.dylib
0x16135000 - 0x16147fff  libTraditionalChineseConverter.dylib ??? (???) <086a18ff56a7d80d4446b979a18a4f64> /System/Library/CoreServices/Encodings/libTraditionalChineseConverter.dylib
0x183b1000 - 0x183bffeb  libSimplifiedChineseConverter.dylib ??? (???) <ec9a1c1949952acb83d09a0320ba2df1> /System/Library/CoreServices/Encodings/libSimplifiedChineseConverter.dylib
0x183cb000 - 0x183cffff +libpermissions.dylib ??? (???) <8e425a3b529339e3bdb4753e76de4459> /Users/ebirol/Projects/mozilla/obj/tbird-debug/dist/ThunderbirdDebug.app/Contents/MacOS/components/libpermissions.dylib
0x18a2d000 - 0x18a8cffb +libimglib2.dylib ??? (???) <cd7cdbb9fd782dc91ed0bae140e91393> /Users/ebirol/Projects/mozilla/obj/tbird-debug/dist/ThunderbirdDebug.app/Contents/MacOS/components/libimglib2.dylib
0x18ae2000 - 0x19360ff4 +libgklayout.dylib ??? (???) <05a918f90f37fc7fe54b1075aea4d43f> /Users/ebirol/Projects/mozilla/obj/tbird-debug/dist/ThunderbirdDebug.app/Contents/MacOS/components/libgklayout.dylib
0x1a078000 - 0x1a0a0ffd +libwebbrwsr.dylib ??? (???) <d28457791fc062e6c19d608e0a12a8a5> /Users/ebirol/Projects/mozilla/obj/tbird-debug/dist/ThunderbirdDebug.app/Contents/MacOS/components/libwebbrwsr.dylib
0x1a0fe000 - 0x1a10cffd +libcookie.dylib ??? (???) <870f4001f95cf3298dc1ff68847f1ea5> /Users/ebirol/Projects/mozilla/obj/tbird-debug/dist/ThunderbirdDebug.app/Contents/MacOS/components/libcookie.dylib
0x1a12e000 - 0x1a13dfff +libstoragecomps.dylib ??? (???) <de3b8534866ac12cff90f13c4697a5fa> /Users/ebirol/Projects/mozilla/obj/tbird-debug/dist/ThunderbirdDebug.app/Contents/MacOS/components/libstoragecomps.dylib
0x1a163000 - 0x1a1d6fff +libsqlite3.dylib ??? (???) <099c139ed4cec12503c5017dc81bd458> /Users/ebirol/Projects/mozilla/obj/tbird-debug/dist/ThunderbirdDebug.app/Contents/MacOS/libsqlite3.dylib
0x1a1fc000 - 0x1a209ffd +libpipboot.dylib ??? (???) <f3faaeed60c15867d037ed1e2841812d> /Users/ebirol/Projects/mozilla/obj/tbird-debug/dist/ThunderbirdDebug.app/Contents/MacOS/components/libpipboot.dylib
0x1b23b000 - 0x1b2c8fff +libpipnss.dylib ??? (???) <ab34ca730447520aacf5b23f62a60089> /Users/ebirol/Projects/mozilla/obj/tbird-debug/dist/ThunderbirdDebug.app/Contents/MacOS/components/libpipnss.dylib
0x1b38f000 - 0x1b3b4fff +libsmime3.dylib ??? (???) <08be16be8aa074db90f0bd0e46ec6c36> /Users/ebirol/Projects/mozilla/obj/tbird-debug/dist/ThunderbirdDebug.app/Contents/MacOS/libsmime3.dylib
0x1b3d0000 - 0x1b408ffd +libssl3.dylib ??? (???) <2d15f12e4ad29fa59cd834cb2aa31992> /Users/ebirol/Projects/mozilla/obj/tbird-debug/dist/ThunderbirdDebug.app/Contents/MacOS/libssl3.dylib
0x1b422000 - 0x1b5d9fef +libnss3.dylib ??? (???) <6e6c08de824263ac6b8dfa76f8c3e406> /Users/ebirol/Projects/mozilla/obj/tbird-debug/dist/ThunderbirdDebug.app/Contents/MacOS/libnss3.dylib
0x1b666000 - 0x1b67cfff +libnssutil3.dylib ??? (???) <29f9e8a83ed58bbe4db04e277dfa8cd9> /Users/ebirol/Projects/mozilla/obj/tbird-debug/dist/ThunderbirdDebug.app/Contents/MacOS/libnssutil3.dylib
0x1b692000 - 0x1b6c9fff +libsoftokn3.dylib ??? (???) <6a558934d04447a1e5ee4e014f01e967> /Users/ebirol/Projects/mozilla/obj/tbird-debug/dist/ThunderbirdDebug.app/Contents/MacOS/libsoftokn3.dylib
0x1b724000 - 0x1b74cfef +libnssdbm3.dylib ??? (???) <b79a148c4e72c344b1352b8647233717> /Users/ebirol/Projects/mozilla/obj/tbird-debug/dist/ThunderbirdDebug.app/Contents/MacOS/libnssdbm3.dylib
0x1b7e9000 - 0x1b85bff7 +libfreebl3.dylib ??? (???) <fe4f39ba9a25a81b1a05f266ae6a3cba> /Users/ebirol/Projects/mozilla/obj/tbird-debug/dist/ThunderbirdDebug.app/Contents/MacOS/libfreebl3.dylib
0x1b86f000 - 0x1b8b1fe7 +libnssckbi.dylib ??? (???) <7b1c5d7888f4b6bd0d8a4e1589a3f4f9> /Users/ebirol/Projects/mozilla/obj/tbird-debug/dist/ThunderbirdDebug.app/Contents/MacOS/libnssckbi.dylib
0x1ba00000 - 0x1ba0dffc +libintlapp.dylib ??? (???) <fdf1ba3e6964b9ad594aa56e6c73e955> /Users/ebirol/Projects/mozilla/obj/tbird-debug/dist/ThunderbirdDebug.app/Contents/MacOS/components/libintlapp.dylib
0x1ba38000 - 0x1bad8fff +libaddrbook.dylib ??? (???) <63aed465573b6215ff65f426b92a2e01> /Users/ebirol/Projects/mozilla/obj/tbird-debug/dist/ThunderbirdDebug.app/Contents/MacOS/components/libaddrbook.dylib
0x1bba3000 - 0x1bc3dfff +libmsgcompose.dylib ??? (???) <88809752ac71a68ee33fa94ab9177add> /Users/ebirol/Projects/mozilla/obj/tbird-debug/dist/ThunderbirdDebug.app/Contents/MacOS/components/libmsgcompose.dylib
0x1bcff000 - 0x1bd5bffb +libmsgnews.dylib ??? (???) <675e1976237b4d46e3f8d6739d1c7a62> /Users/ebirol/Projects/mozilla/obj/tbird-debug/dist/ThunderbirdDebug.app/Contents/MacOS/components/libmsgnews.dylib
0x1c600000 - 0x1c605fff +libtxmgr.dylib ??? (???) <8280b5e553621624abaca38d210ac312> /Users/ebirol/Projects/mozilla/obj/tbird-debug/dist/ThunderbirdDebug.app/Contents/MacOS/components/libtxmgr.dylib
0x1c92f000 - 0x1c940feb +libchardet.dylib ??? (???) <793f02b4464d630557a046302be0d0dd> /Users/ebirol/Projects/mozilla/obj/tbird-debug/dist/ThunderbirdDebug.app/Contents/MacOS/components/libchardet.dylib
0x1c9ac000 - 0x1c9adfe1  com.apple.textencoding.unicode 2.2 (2.2) <6566f38ef8ee61fab9aaecfb6a81f208> /System/Library/TextEncodings/Unicode Encodings.bundle/Contents/MacOS/Unicode Encodings
0x1cf35000 - 0x1d023fef  com.apple.RawCamera.bundle 2.0.2 (2.0.2) /System/Library/CoreServices/RawCamera.bundle/Contents/MacOS/RawCamera
0x1d5f3000 - 0x1d65afff +liblocalmail.dylib ??? (???) <b564197cc057f3194065d7f36db1e043> /Users/ebirol/Projects/mozilla/obj/tbird-debug/dist/ThunderbirdDebug.app/Contents/MacOS/components/liblocalmail.dylib
0x1d78d000 - 0x1d843ffc +libmsgimap.dylib ??? (???) <20661c8fa43b601448626c3121f914c3> /Users/ebirol/Projects/mozilla/obj/tbird-debug/dist/ThunderbirdDebug.app/Contents/MacOS/components/libmsgimap.dylib
0x1d92a000 - 0x1d95efea +libmork.dylib ??? (???) <b628a7fddb1771d9df79cb377a37e583> /Users/ebirol/Projects/mozilla/obj/tbird-debug/dist/ThunderbirdDebug.app/Contents/MacOS/components/libmork.dylib
0x1d9c5000 - 0x1d9f3fff +libmsgdb.dylib ??? (???) <c5f6c83f289a641a8e66fc84e3157d51> /Users/ebirol/Projects/mozilla/obj/tbird-debug/dist/ThunderbirdDebug.app/Contents/MacOS/components/libmsgdb.dylib
0x1da80000 - 0x1daadfe3 +libmailcomps.dylib ??? (???) <fe8addd8d12085f6fafc7412dcc8ffb7> /Users/ebirol/Projects/mozilla/obj/tbird-debug/dist/ThunderbirdDebug.app/Contents/MacOS/components/libmailcomps.dylib
0x1dae0000 - 0x1daeaffc +libmsgsmime.dylib ??? (???) <0ac111921ebdfa67d0d15adf0c55f8b6> /Users/ebirol/Projects/mozilla/obj/tbird-debug/dist/ThunderbirdDebug.app/Contents/MacOS/components/libmsgsmime.dylib
0x1e200000 - 0x1e24effa +libmime.dylib ??? (???) <f34ff3e4c1506c6abdddefa5c440b4e1> /Users/ebirol/Projects/mozilla/obj/tbird-debug/dist/ThunderbirdDebug.app/Contents/MacOS/components/libmime.dylib
0x1e2a5000 - 0x1e2e8fff +libgkplugin.dylib ??? (???) <9a1a81a6d9a0b80e19a5d771ba6b4584> /Users/ebirol/Projects/mozilla/obj/tbird-debug/dist/ThunderbirdDebug.app/Contents/MacOS/components/libgkplugin.dylib
0x8fe00000 - 0x8fe2da53  dyld 96.2 (???) <5013f43c4d2c33c9619011f103ec3238> /usr/lib/dyld
0x90003000 - 0x90008fff  com.apple.backup.framework 1.0 (1.0) /System/Library/PrivateFrameworks/Backup.framework/Versions/A/Backup
0x9000d000 - 0x9004ffef  com.apple.NavigationServices 3.5.1 (161) <2ab0914de9b7e1de2b3985a58a9afedf> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/NavigationServices.framework/Versions/A/NavigationServices
0x90051000 - 0x90058ff7  libCGATS.A.dylib ??? (???) <02a2c63ef94a180f9a0924cbff8d01ef> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libCGATS.A.dylib
0x90059000 - 0x900d0fe3  com.apple.CFNetwork 221.5 (221.5) <cdccff2f42d755041ac399cc2a9d6cd1> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwork.framework/Versions/A/CFNetwork
0x900d1000 - 0x900ecffb  libPng.dylib ??? (???) <0c5f9010b3b70a3d4bce4f93b78fc8a7> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libPng.dylib
0x900ed000 - 0x900f4fff  com.apple.agl 3.0.9 (AGL-3.0.9) <493bdf1318b1458ff62cbfb7b8c2bbdd> /System/Library/Frameworks/AGL.framework/Versions/A/AGL
0x900f5000 - 0x904b3fea  libLAPACK.dylib ??? (???) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib
0x904f9000 - 0x90575feb  com.apple.audio.CoreAudio 3.1.0 (3.1) <be7120e91df91425e904d5327b4338b7> /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
0x90576000 - 0x905f3fef  libvMisc.dylib ??? (???) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvMisc.dylib
0x905f4000 - 0x90612fff  libresolv.9.dylib ??? (???) <32ccbe19e89a3fdd09a0c88151ea508c> /usr/lib/libresolv.9.dylib
0x90613000 - 0x90622ffe  com.apple.DSObjCWrappers.Framework 1.2.1 (1.2.1) <43c5b91223501f917392f59fbf9d7ace> /System/Library/PrivateFrameworks/DSObjCWrappers.framework/Versions/A/DSObjCWrappers
0x90623000 - 0x90673ff7  com.apple.HIServices 1.7.0 (???) <f83f0cb838a646c69f08fd38a31265f3> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HIServices.framework/Versions/A/HIServices
0x90674000 - 0x9083fff7  com.apple.security 5.0.2 (33001) <7708022761ed64d9d5168e61cc8c46f4> /System/Library/Frameworks/Security.framework/Versions/A/Security
0x90881000 - 0x90895ff3  com.apple.ImageCapture 4.0 (5.0.0) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ImageCapture.framework/Versions/A/ImageCapture
0x90896000 - 0x90929fff  com.apple.ink.framework 101.3 (86) <dfa9debcd7537849d228021d1d9c0f63> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Ink.framework/Versions/A/Ink
0x9092a000 - 0x90936ff5  libGL.dylib ??? (???) /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
0x90944000 - 0x90a0bff2  com.apple.vImage 3.0 (3.0) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.framework/Versions/A/vImage
0x90a0c000 - 0x90b8afff  com.apple.AddressBook.framework 4.1 (687.1) <057d38b1e51e7bbf5810432c4a621ca8> /System/Library/Frameworks/AddressBook.framework/Versions/A/AddressBook
0x90b8b000 - 0x90bd0fef  com.apple.Metadata 10.5.2 (398.7) <9211ac4c6111fefc4dc9dbc0607203b0> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Metadata
0x90c1c000 - 0x90c1efff  com.apple.securityhi 3.0 (30817) <020419ad33b8638b174e1a472728a894> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SecurityHI.framework/Versions/A/SecurityHI
0x90c3d000 - 0x90c7cfef  libTIFF.dylib ??? (???) <4b7d3b3b9a9c8335c2538371cb39b60b> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libTIFF.dylib
0x90c7d000 - 0x91013ff7  com.apple.QuartzCore 1.5.2 (1.5.2) <dc9d964882640a50cb6f623f104503d8> /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
0x91014000 - 0x9103ffe7  libauto.dylib ??? (???) <2072d673706bbe463ed2426af57a28d7> /usr/lib/libauto.dylib
0x91040000 - 0x91064feb  libssl.0.9.7.dylib ??? (???) <0ee18f8589ed06aabdc1df5b37a801cd> /usr/lib/libssl.0.9.7.dylib
0x91065000 - 0x910a6fe7  libRIP.A.dylib ??? (???) <46bbaf96dacd04a7a699fabb0fb73fe0> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libRIP.A.dylib
0x910a7000 - 0x910a7ffd  com.apple.vecLib 3.4.2 (vecLib 3.4.2) /System/Library/Frameworks/vecLib.framework/Versions/A/vecLib
0x910a8000 - 0x910a9ffc  libffi.dylib ??? (???) <596e0dbf626b211741cecaa9698f271b> /usr/lib/libffi.dylib
0x910aa000 - 0x910adfff  com.apple.help 1.1 (36) <175489f8adf287b3ebd259362b0292c0> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Help.framework/Versions/A/Help
0x910ae000 - 0x910beffc  com.apple.LangAnalysis 1.6.4 (1.6.4) <fc8a73eb3d8b94467d46b81759f65d97> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LangAnalysis.framework/Versions/A/LangAnalysis
0x910d1000 - 0x910d3ff5  libRadiance.dylib ??? (???) <c307054a6d8337c85ef501780b54704d> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libRadiance.dylib
0x910d4000 - 0x910d4ffd  com.apple.Accelerate.vecLib 3.4.2 (vecLib 3.4.2) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/vecLib
0x91107000 - 0x91190fe3  com.apple.DesktopServices 1.4.5 (1.4.5) <dea68e8553708d9a29ff20e897788779> /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv
0x91191000 - 0x91191ffc  com.apple.audio.units.AudioUnit 1.5 (1.5) /System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit
0x91192000 - 0x9125dfff  com.apple.ColorSync 4.5.0 (4.5.0) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ColorSync.framework/Versions/A/ColorSync
0x9233f000 - 0x92812f36  libGLProgrammability.dylib ??? (???) <4202feccc57a1ed0907d6136b30a1c09> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLProgrammability.dylib
0x92813000 - 0x92839fff  libcups.2.dylib ??? (???) <362fab63e3640d6f7285167347e4e9b6> /usr/lib/libcups.2.dylib
0x9283a000 - 0x9285efff  libxslt.1.dylib ??? (???) <59399cc446ed903fd9479526ee9f116b> /usr/lib/libxslt.1.dylib
0x928d2000 - 0x929f6fe3  com.apple.audio.toolbox.AudioToolbox 1.5.1 (1.5.1) /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox
0x929f7000 - 0x92a15ff3  com.apple.DirectoryService.Framework 3.5.1 (3.5.1) <5ee87dc53f9c1f5e4578a63ff31437a2> /System/Library/Frameworks/DirectoryService.framework/Versions/A/DirectoryService
0x92a16000 - 0x92c90fe7  com.apple.Foundation 6.5.4 (677.15) <dcb17dfba9e39dde115084d0d2a73070> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
0x92c91000 - 0x92cb0ffa  libJPEG.dylib ??? (???) <c776945af9d960ccf5a80aa2d89fd918> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libJPEG.dylib
0x92cb1000 - 0x92cb6fff  com.apple.CommonPanels 1.2.4 (85) <3b64ef0de184d09c6f99a1a7e77e42be> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CommonPanels.framework/Versions/A/CommonPanels
0x92cb7000 - 0x92f90ff3  com.apple.CoreServices.CarbonCore 785.8 (785.8) <951405bc7822fb5c880f5736c5a5c839> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore
0x92f91000 - 0x92f95fff  libGIF.dylib ??? (???) <75b4fd9684d792add088205f987fb02e> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libGIF.dylib
0x92f96000 - 0x92f96ffd  com.apple.Accelerate 1.4.2 (Accelerate 1.4.2) /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate
0x93053000 - 0x931b2ff3  libSystem.B.dylib ??? (???) <efbdeb86e78c88920b954ba3cb548d56> /usr/lib/libSystem.B.dylib
0x931b3000 - 0x93294ff7  libxml2.2.dylib ??? (???) <e19cd91bc9c9e4b076792a5c30885fd9> /usr/lib/libxml2.2.dylib
0x93295000 - 0x9337aff3  com.apple.CoreData 100.1 (186) <9187380c86061cb4c37b6bec8abeae75> /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData
0x9337b000 - 0x9378bfef  libBLAS.dylib ??? (???) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
0x9378c000 - 0x93aa0fe2  com.apple.QuickTime 7.4.1 (14) <91da0a127f79b4943c8fbff886d23c5c> /System/Library/Frameworks/QuickTime.framework/Versions/A/QuickTime
0x93c2c000 - 0x94429fef  com.apple.AppKit 6.5.2 (949.26) <b7a6f2a925b93a328c9a7af44e993dd1> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
0x9442a000 - 0x94461fff  com.apple.SystemConfiguration 1.9.1 (1.9.1) <6cf73c7bae476624893ed6e4763b6922> /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration
0x94be2000 - 0x94be9ffe  libbsm.dylib ??? (???) <5582985a86ea36504cca31788bccf963> /usr/lib/libbsm.dylib
0x94bea000 - 0x94c19fe3  com.apple.AE 402.2 (402.2) <d0da935e781446faa4563e7a9c587cce> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE
0x94c1a000 - 0x94cadff3  com.apple.ApplicationServices.ATS 3.2 (???) <9b14b850b196498a15c6d3ae4bbed684> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/ATS
0x94cae000 - 0x94d07ff7  libGLU.dylib ??? (???) /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib
0x94d08000 - 0x94d64ff7  com.apple.htmlrendering 68 (1.1.3) <a9f65fa1c4668dc7c49af5bf7d5287ad> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HTMLRendering.framework/Versions/A/HTMLRendering
0x94d65000 - 0x9506dfff  com.apple.HIToolbox 1.5.2 (???) <961a3a9fdd82790b952493a8b7d34d08> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
0x9509e000 - 0x951d6ff7  libicucore.A.dylib ??? (???) <bcb2de540c724caf6f5344feb793d813> /usr/lib/libicucore.A.dylib
0x951d7000 - 0x95204feb  libvDSP.dylib ??? (???) <2ee4eb005babc90eaa352b33eb09226e> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvDSP.dylib
0x9527e000 - 0x95309fff  com.apple.framework.IOKit 1.5.1 (???) <cb8d56aaa6536c9f72055a509a1d94ea> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
0x95333000 - 0x95333ffa  com.apple.CoreServices 32 (32) <2760719f7a81e8c2bdfd15b0939abc29> /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
0x95334000 - 0x9536efff  com.apple.coreui 1.1 (61) /System/Library/PrivateFrameworks/CoreUI.framework/Versions/A/CoreUI
0x9536f000 - 0x953e9ff8  com.apple.print.framework.PrintCore 5.5.2 (245.1) <d888fff1828f81dffc4f5bcce3d8acf5> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/PrintCore.framework/Versions/A/PrintCore
0x95516000 - 0x95573ffb  libstdc++.6.dylib ??? (???) <6106b1f2b0b303b06ae476253dbb5f3f> /usr/lib/libstdc++.6.dylib
0x95574000 - 0x9557efeb  com.apple.audio.SoundManager 3.9.2 (3.9.2) <caa41909dcb5a18a94bc68cd13999bd5> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CarbonSound.framework/Versions/A/CarbonSound
0x95585000 - 0x95590ff9  com.apple.helpdata 1.0 (14) /System/Library/PrivateFrameworks/HelpData.framework/Versions/A/HelpData
0x95665000 - 0x95697fff  com.apple.LDAPFramework 1.4.3 (106) <fd2a420db8e3bf599c9c41713d7ad0a6> /System/Library/Frameworks/LDAP.framework/Versions/A/LDAP
0x956c9000 - 0x95755ff7  com.apple.LaunchServices 286.5 (286.5) <421c71c71f8e9d2ed2b84efa0b0111e7> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices
0x95756000 - 0x9589bff7  com.apple.ImageIO.framework 2.0.1 (2.0.1) <a32f883f504628bbdfae4c494b994ce0> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/ImageIO
0x9597c000 - 0x95a03ff7  libsqlite3.0.dylib ??? (???) <11311084bc4be9d4555dfac74fe7218a> /usr/lib/libsqlite3.0.dylib
0x95a04000 - 0x95a2cff7  com.apple.shortcut 1 (1.0) <5b57f8f162f77a1739b436900517d672> /System/Library/PrivateFrameworks/Shortcut.framework/Versions/A/Shortcut
0x95a2d000 - 0x95a2dff8  com.apple.ApplicationServices 34 (34) <e9cd7c823062c4382d89e3c9997f4739> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices
0x95a2e000 - 0x95a34fff  com.apple.print.framework.Print 218.0.2 (220.1) <2979f3be4e7e8adc875bf21658e9be94> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Print.framework/Versions/A/Print
0x95a35000 - 0x95a35ff8  com.apple.Cocoa 6.5 (???) <e9318c93615b27231498bbe585b8da98> /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
0x95a36000 - 0x95a46fff  com.apple.speech.synthesis.framework 3.6.59 (3.6.59) <516b0b1ae1d539c6f78f71ac779e3b87> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/SpeechSynthesis.framework/Versions/A/SpeechSynthesis
0x95a72000 - 0x95a79fe9  libgcc_s.1.dylib ??? (???) <28a7cbc3a5ca2982d124668306f422d9> /usr/lib/libgcc_s.1.dylib
0x95ab4000 - 0x95b66ffb  libcrypto.0.9.7.dylib ??? (???) <8f92cbdc8777bea2ec49b06ee79fabc0> /usr/lib/libcrypto.0.9.7.dylib
0x95b67000 - 0x95b7dfe7  com.apple.CoreVideo 1.5.0 (1.5.0) <fe4dc9ab74be4a7d2b56417de4668f68> /System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo
0x95d3a000 - 0x95d3affb  com.apple.installserver.framework 1.0 (8) /System/Library/PrivateFrameworks/InstallServer.framework/Versions/A/InstallServer
0x95eeb000 - 0x95eeffff  libmathCommon.A.dylib ??? (???) /usr/lib/system/libmathCommon.A.dylib
0x95ef0000 - 0x95f4aff7  com.apple.CoreText 2.0.1 (???) <59c0a38c748b0c90c05e57d027e55d12> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreText.framework/Versions/A/CoreText
0x96077000 - 0x96127fff  edu.mit.Kerberos 6.0.12 (6.0.12) <41a22621aec4b8b869fbae69f9f06dce> /System/Library/Frameworks/Kerberos.framework/Versions/A/Kerberos
0x9618e000 - 0x961ccff7  libGLImage.dylib ??? (???) <c1e472a6d2f3215b6753ea63bd4eb085> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLImage.dylib
0x96216000 - 0x962d0fe3  com.apple.CoreServices.OSServices 224.4 (224.4) <ee6c8e0c8cd49997324603a7f992ad82> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices
0x962db000 - 0x962eafff  libsasl2.2.dylib ??? (???) <75b9d97ca7c3d53cd38bdd420a377522> /usr/lib/libsasl2.2.dylib
0x962eb000 - 0x963cafff  libobjc.A.dylib ??? (???) <99a9ad33ca07114848fdd7580968a572> /usr/lib/libobjc.A.dylib
0x963cb000 - 0x964fdfef  com.apple.CoreFoundation 6.5.1 (476.10) <86e9bf8d3e1c88ddfa63f855f664a2c6> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x964fe000 - 0x965a5feb  com.apple.QD 3.11.52 (???) <d6efc4827b91e646965d15c409a6610f> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/QD.framework/Versions/A/QD
0x965a6000 - 0x965b1fe7  libCSync.A.dylib ??? (???) <58622c04bb330164e81a481305c4bd19> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libCSync.A.dylib
0x96601000 - 0x96c9afff  com.apple.CoreGraphics 1.351.21 (???) <1717f50b5d7b891dec8e93781df6eb16> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics
0x96c9b000 - 0x96ca9ffd  libz.1.dylib ??? (???) <545ca09467025f77131cfac09d8b9375> /usr/lib/libz.1.dylib
0x96caa000 - 0x96cc2fff  com.apple.openscripting 1.2.6 (???) <4e0b05f9f47c6f7e2b01b321b2eb1413> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/OpenScripting.framework/Versions/A/OpenScripting
0x96cc3000 - 0x96ccbfff  com.apple.DiskArbitration 2.2.1 (2.2.1) <42908e7ecc17a83cec4afef2850ec79e> /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
0x96ccc000 - 0x96cccfff  com.apple.Carbon 136 (136) <ec1d4184925e652dbe1b9200a5a552ec> /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
0x96ccd000 - 0x96cd9fe7  com.apple.opengl 1.5.6 (1.5.6) <732bef10fedb6c9c34a834f87a0f6977> /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
0x96cda000 - 0x96cf0fff  com.apple.DictionaryServices 1.0.0 (1.0.0) <7e9ff586b5c9d02b09e2a5527d98524f> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/DictionaryServices.framework/Versions/A/DictionaryServices
0x96cf1000 - 0x96d70ff5  com.apple.SearchKit 1.2.0 (1.2.0) <5abfde5537969168b8a8743ccb9ec735> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchKit.framework/Versions/A/SearchKit
0x96d71000 - 0x96d7afff  com.apple.speech.recognition.framework 3.7.24 (3.7.24) <6a6518b392d3d41ace3dcea69d6809d9> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecognition.framework/Versions/A/SpeechRecognition
0xba900000 - 0xba916fff  libJapaneseConverter.dylib ??? (???) <79f7cbef6bc9f4c32a42d63c7332bf8e> /System/Library/CoreServices/Encodings/libJapaneseConverter.dylib
0xbab00000 - 0xbab21fe2  libKoreanConverter.dylib ??? (???) <4b497e7a0027447eaff2b45572bb85ea> /System/Library/CoreServices/Encodings/libKoreanConverter.dylib
0xfffe8000 - 0xfffebfff  libobjc.A.dylib ??? (???) /usr/lib/libobjc.A.dylib
0xffff0000 - 0xffff1780  libSystem.B.dylib ??? (???) /usr/lib/libSystem.B.dylib
Attached file Crash report
an mxr link is here:

http://mxr.mozilla.org/seamonkey/source/xpcom/glue/nsAutoLock.cpp#467

Please try and reproduce with an official nightly trunk build, with that we'll know if it only applies to debug builds or not, before we confirm.
Summary: Crash when trying to reorder "date" column for gmail IMAP account, ~5000 messages. → Crash when trying to reorder "date" column for gmail IMAP account, ~5000 messages [@nsAutoLock::SetThreadPrivate]
Nightly works fine. Could be my build settings..
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → INVALID
My build environment is proven to be sane. Build settings are fine. Additionally TB 2.0 self built works fine and doesn't crash on reorder. I reopen this bug since there is possibility that this is a real bug.

Trunk built on Darwin 9.2.1, native binary (Intel), crashes consistently. Would be great if somebody try to reproduce it on a similar configuration. I am using my gmail account (IMAP) to reproduce it. For proper testing, test with a new profile. Existent profiles sometimes work fine. Plus, date should be the first column to be reordered. Reordering another column before the date column, makes it work for some reason.
Status: RESOLVED → UNCONFIRMED
Keywords: qawanted
Resolution: INVALID → ---
Version: unspecified → Trunk
http://bonsai.mozilla.org/cvsblame.cgi?file=/mozilla/nsprpub/pr/src/threads/prtpd.c&rev=3.12&mark=171,181,187,189-190,193,202,208,212,215-216#169

sorry, this doesn't make any sense. the lines seem the same for 1.8.0, 1.8, and trunk.

1   libnspr4.dylib                      0x00554072 PR_SetThreadPrivate + 445
(prtpd.c:215)

afaict implies that you're de-referencing a null pointer verty close to line 215. 215 doesn't exist in release builds, so assuming you're using a release build that's /probably 216/, but you should have returned earlier or crashed earlier.
I am testing with a debug version, and I can say that the problem is not de-referencing a null pointer. The problem is the casting the 'data' object to nsISupports.. 

Please see;
http://mxr.mozilla.org/seamonkey/source/nsprpub/pr/src/threads/prtpd.c#212

above line calls the dtor and the dtor tries to call static_cast<nsISupports*>(data)->Release(); 

data is not null but obviously not a valid memory address neither. I don't think this is a bug in NSPR or in AutoLockBase class. My tentative take on this that this problem looks like a race condition, and related to Bug 370229 in term of thread boundary crossing. Additional note, crash happens sometimes in main thread, sometimes in other threads (in different locations) while main thread doing some DOM stuff - which makes me draw a correlation between this bug and bug 370229. 

One last thing; I can easily reproduce this bug with a TB-Trunk debug built on  Windows XP, with MSVC v8 also. 

Possibilities are;

1- My builts on both platforms are insane, and nothing wrong with TB Trunk -- hmm

2- This bug related to IMAP protocol implementation/threading and happens in very rare conditions.. 

timeless; if you have enough bandwidth, would be great go ahead and try a built on your system. I think this bug is important enough to be a blocker for the release. 

thanks,
To reproduce the bug create a new profile and setup a new IMAP account. If the existent profile is already sorted, it doesn't crash.
> The problem is the casting the 'data' object to nsISupports..

ok, that's a start.

>  above line calls the dtor and the dtor tries to call
>  static_cast<nsISupports*>(data)->Release();

can you find who set the dtor? that's very whacky.

 157 static void InitAutoLockStatics()
 159     (void) PR_NewThreadPrivateIndex(&LockStackTPI, 0);

things to do:
1. breakpoint PR_NewThreadPrivateIndex, if you're using windbg
<http://developer.mozilla.org/en/docs/How_to_get_a_stacktrace_with_WinDbg>
you can actually do:

bp nspr4!PR_NewThreadPrivateIndex "kp; g"

that'll give you auto stacks for all such calls (relatively fast).
you could also do things like

bp nspr4!PR_GetThreadPrivate "kp; g"
bp nspr4!PR_SetThreadPrivate "kp; g"

which would get you auto stacks for the other bits.

>  data is not null but obviously not a valid memory address neither. I don't
>  think this is a bug in NSPR or in AutoLockBase class.

you probably will eventually need a data breakpoint. in windbg that's
ba. figuring out exactly how to use it will require effort (and it
will slow things down).

i see three possibilities:
1. someone is stomping on LockStackTPI
2. someone is stomping on the nspr destructor field for LockStackTPI
3. someone is stomping on the value of LockStackTPI per thread (this
is the least likely as it doesn't make any sense)

>  Additional note, crash happens sometimes in
>  main thread, sometimes in other threads (in different locations) while main
>  thread doing some DOM stuff - which makes me draw a correlation between this
>  bug and bug 370229.

interesting.

offhand, this sounds like xpconnect is the other involved party (js is
an unlikely third). note that if this is solvable by fixing
thunderbird to not call dom from random threads, then that's the thing
to do.

> 2- This bug related to IMAP protocol implementation/threading and happens in
> very rare conditions..

sure

things to try:
a. the various breakpoints (at the very least, please figure out if
someone is confusing thread private indexes. Each consumer of
PR_NewThreadPrivateIndex should have its own unique index and each
PR_[GS]etPrivateIndex should always use the index reserved for it by
its module (and not someone else's!)

b. some of the other stuff above
c. i have patches for DEBUG builds which cause xpconnect to reject all
access for non threadsafe objects. you'll get some errors and things
will break, but if it causes the crash to go away, then well...
Attached patch Data corruption patch revision 1 (obsolete) — Splinter Review
http://bonsai.mozilla.org/cvsblame.cgi?file=/mozilla/mailnews/base/src/nsMsgDBView.cpp&rev=1.305&mark=1991,3808,3809,3816#3816

There is a data corruption but not because of race condition nor because of other threading related reason. It's simpler than that. This is my observation;

When TB starts at line 1991, in nsMsgDBView:Open, it reads a value called sortColumns to initialize the m_sortColumns property. For some reason, in a new profile and new account, this value is empty, and as a result m_sortColumns.Length() is 0. That's fine as long as the user doesn't select the 'Date' column to sort as the first thing. Date column (value 18) is default and and it passes the conditions at lines 3808,3809 despite of empty m_sortColumns array. Since it is empty, and op nsTArray<>::[] is not defensive, the statement at line 3818 corrupts memory with an assertion. 

I don't know internals very well nor the logic behind it. So, I propose the attached patch to fix this behavior. 

Would be great if somebody who understands what should "sortColumns" value be, comments on this, and ideally confirms the bug.
Attachment #312161 - Flags: review?(bienvenu)
Comment on attachment 312161 [details] [diff] [review]
Data corruption patch revision 1

how about m_sortColumns.Length() == 1

:-)

Actually, I much prefer this fix:

    if m_sortColumns.Length())
      m_sortColumns[0].mSortOrder = sortOrder;
    SaveSortInfo(sortType, sortOrder);
Attachment #312161 - Flags: review?(bienvenu) → review-
Status: UNCONFIRMED → NEW
Component: General → MailNews: Backend
Ever confirmed: true
OS: Mac OS X → All
Product: Thunderbird → Core
QA Contact: general → backend
Hardware: Macintosh → All
Assignee: nobody → ebirol
Submitting the new patch as suggested by david.

David, would be great if you provide some information about the program logic such as;

- Is it acceptable for "sortColumns" option to be empty at the time that nsMsgDBView::Open() is called. Since I don't get this problem with nightly, trying to find out if this is a install issue or not.
- What is the meaning of the magic number 2 (or 1) in line 3808?

Also, is it possible to replace the assertion in nsTArray::[] operator with a WARNING or ERROR or something similar. It is almost certain that if we get this assertion either we corrupt memory by setting a value, or reading an invalid memory address.

thanks for the review.
Attachment #312161 - Attachment is obsolete: true
NS_ASSERTION is correct, failed assertions should be treated as NS_ERRORs
NS_WARNINGs are not critical.
Attachment #312310 - Flags: superreview?(dmose)
Attachment #312310 - Flags: review?(bienvenu)
Attachment #312310 - Flags: review?(bienvenu) → review+
It's out of the ordinary for sortColumns to be completely empty, but I know that it happens and I think we should handle it gracefully (I don't remember why it happens).

sortColumns is an array of sort orders - sortColumns[0] is the primary sort order, [1] the secondary order when two headers have the same primary sort key, [2] tertiary, etc, except that I haven't implemented anything beyond the secondary sort in the actual sort - I was hoping someone would step up and do that part, but so far no one has :-(

nsTArray is core xpcom code, so I'm not the person to ask (maybe bsmedberg?) but an ASSERTION seems about right - my guess is that they didn't want any release mode runtime overhead.
perhaps an explanation is in order. nsTArray was written as a way of enabling fast bounds-check free code. it was written with the understanding that only new safe consumers would use it, and that all authors who used it directly would be aware that bounds checking was entirely their responsibility.

yes, it's very much a perf decision.
Comment on attachment 312310 [details] [diff] [review]
Data corruption patch revision 2

sr=dmose
Attachment #312310 - Flags: superreview?(dmose) → superreview+
throwing an exception would be the best thing to do but, exceptions are not used in Mozilla code I guess. 

Break the code at that point in debugging mode would be good since it is guaranteed that this will cause memory corruption.  
(In reply to comment #12)
> NS_ASSERTION is correct, failed assertions should be treated as NS_ERRORs
> NS_WARNINGs are not critical.

Treating failed assertions like an NS_ERROR sounds like something worth thinking about, but it's certainly not how things work now.

(In reply to comment #16)
> throwing an exception would be the best thing to do but, exceptions are not
> used in Mozilla code I guess. 

Right; in the Mozilla code base today, instead of throwing an exception, one returns an NS_ERROR of some sort to indicate that something went wrong.  I suspect that the last paragraph of David's comment 13 is why we don't do that: assertions only take the performance hit when compiled with DEBUG defined.  As he says, though, bsmedberg is more likely to know for sure.

> Break the code at that point in debugging mode would be good since it is
> guaranteed that this will cause memory corruption.  

You can do this today with setting the XPCOM_DEBUG_BREAK environment var to "trap".

At some point, we hope to have tinderboxen that turn orange on asserts such that people are required to either fix or back out the patch that caused the assertion.  I think there may already be one or more Firefox tinderboxen that do this (though maybe only on the MozillaTest page?).


mailnews/base/src/nsMsgDBView.cpp 1.309
Status: NEW → RESOLVED
Closed: 16 years ago16 years ago
Resolution: --- → FIXED
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: