Closed
Bug 372287
Opened 18 years ago
Closed 18 years ago
Sunbird crashes on open in Mac OS 10.3, works in Mac OS 10.4 [@ nsACString_internal::GetReadableBuffer()]
Categories
(Calendar :: Sunbird Only, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: tony, Assigned: mattwillis)
Details
(Keywords: crash)
Crash Data
Attachments
(2 files)
|
1.72 KB,
patch
|
Details | Diff | Splinter Review | |
|
3.32 KB,
patch
|
dbo
:
review+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-us) AppleWebKit/418.9.1 (KHTML, like Gecko) Safari/419.3
Build Identifier: http://download.mozilla.org/?product=sunbird-0.3.1&os=osx&lang=en-US
Sunbird launches, but it crashes as soon as it tries to open the main window, when run in Mac OS 10.3.9. This error is not reproducible in Mac OS 10.4.8, nor does it occur when running a debug build in Mac OS 10.3.9.
Reproducible: Always
Steps to Reproduce:
1. Double-click Sunbird.
Actual Results:
Crashes.
Expected Results:
Doesn't crash.
The crash occurs in nsACString_internal::AsSubstring(), which is triggered by this line in calICSService::LatestTzId():
http://lxr.mozilla.org/mozilla1.8/source/calendar/base/src/calICSService.cpp#1476
Stack trace:
Date/Time: 2007-03-01 14:03:36 -0330
OS Version: 10.3.9 (Build 7W98)
Report Version: 2
Command: sunbird-bin
Path: /Users/celtx/Desktop/Sunbird-0.3.1.app/Contents/MacOS/sunbird-bin
Version: 0.3.1 (0.3.1)
PID: 498
Thread: 0
Exception: EXC_BAD_ACCESS (0x0001)
Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x00000064
Thread 0 Crashed:
0 libxpcom_core.dylib 0x2c06c6a4 nsACString_internal::GetReadableBuffer(char const**) const + 0x44
1 libxpcom_core.dylib 0x2c06c90c nsACString_internal::ToSubstring() const + 0x28
2 libxpcom_core.dylib 0x2c06b7ec nsACString_internal::Equals(nsACString_internal const&) const + 0x48
3 org.mozilla.sunbird 0x00130188 calICSService::LatestTzId(nsACString_internal const&, nsACString_internal&) + 0x354
4 org.mozilla.sunbird 0x0012a098 calDateTime::GetInTimezone(nsACString_internal const&, calIDateTime**) + 0x130
5 libxpcom_core.dylib 0x2c0550e8 _XPTC_InvokeByIndex + 0xd8
6 org.mozilla.sunbird 0x00398bec XPCWrappedNative::CallMethod(XPCCallContext&, XPCWrappedNative::CallMode) + 0x9dc
7 org.mozilla.sunbird 0x0038b9b8 XPC_WN_CallMethod(JSContext*, JSObject*, unsigned int, long*, long*) + 0xdc
8 libmozjs.dylib 0x2302ff08 js_Invoke + 0x724
9 libmozjs.dylib 0x2303a4b0 js_Interpret + 0x9288
10 libmozjs.dylib 0x2302ff4c js_Invoke + 0x768
11 libmozjs.dylib 0x23031140 js_InvokeConstructor + 0x270
12 libmozjs.dylib 0x23037004 js_Interpret + 0x5ddc
13 libmozjs.dylib 0x2302ff4c js_Invoke + 0x768
14 libmozjs.dylib 0x23030158 js_InternalInvoke + 0xb8
15 libmozjs.dylib 0x230084d8 JS_CallFunctionValue + 0x2c
16 org.mozilla.sunbird 0x004e6018 nsJSContext::CallEventHandler(nsISupports*, void*, void*, nsIArray*, nsIVariant**) + 0x334
17 org.mozilla.sunbird 0x004e2acc nsJSEventListener::HandleEvent(nsIDOMEvent*) + 0x5f0
18 org.mozilla.sunbird 0x001fbe84 nsEventListenerManager::HandleEventSubType(nsListenerStruct*, nsIDOMEventListener*, nsIDOMEvent*, nsISupports*, unsigned int, unsigned int) + 0x1a8
19 org.mozilla.sunbird 0x001fc18c nsEventListenerManager::HandleEvent(nsPresContext*, nsEvent*, nsIDOMEvent**, nsISupports*, unsigned int, nsEventStatus*) + 0x2e4
20 org.mozilla.sunbird 0x00424624 nsEventTargetChainItem::HandleEvent(nsEventChainPostVisitor&, unsigned int) + 0x84
21 org.mozilla.sunbird 0x00424874 nsEventTargetChainItem::HandleEventTargetChain(nsEventChainPostVisitor&, unsigned int, nsDispatchingCallback*) + 0x160
22 org.mozilla.sunbird 0x00424da4 nsEventDispatcher::Dispatch(nsISupports*, nsPresContext*, nsEvent*, nsIDOMEvent*, nsEventStatus*, nsDispatchingCallback*, int) + 0x3c4
23 org.mozilla.sunbird 0x001bbc28 DocumentViewerImpl::LoadComplete(unsigned int) + 0x15c
24 org.mozilla.sunbird 0x00554a00 nsDocShell::EndPageLoad(nsIWebProgress*, nsIChannel*, unsigned int) + 0x70
25 org.mozilla.sunbird 0x002860b8 nsWebShell::EndPageLoad(nsIWebProgress*, nsIChannel*, unsigned int) + 0xd4
26 org.mozilla.sunbird 0x0055482c nsDocShell::OnStateChange(nsIWebProgress*, nsIRequest*, unsigned int, unsigned int) + 0x2e8
27 org.mozilla.sunbird 0x0028919c nsDocLoader::FireOnStateChange(nsIWebProgress*, nsIRequest*, int, unsigned int) + 0x14c
28 org.mozilla.sunbird 0x002885dc nsDocLoader::doStopDocumentLoad(nsIRequest*, unsigned int) + 0x38
29 org.mozilla.sunbird 0x002884f8 nsDocLoader::DocLoaderIsEmpty() + 0x124
30 org.mozilla.sunbird 0x00288274 nsDocLoader::OnStopRequest(nsIRequest*, nsISupports*, unsigned int) + 0x240
31 org.mozilla.sunbird 0x00098114 nsLoadGroup::RemoveRequest(nsIRequest*, nsISupports*, unsigned int) + 0x140
32 org.mozilla.sunbird 0x001e911c nsDocument::DoUnblockOnload() + 0x8c
33 org.mozilla.sunbird 0x008c887c 0x1000 + 0x8c787c
34 libxpcom_core.dylib 0x2c048f8c nsThread::ProcessNextEvent(int, int*) + 0x118
35 libxpcom_core.dylib 0x2c00a374 NS_ProcessNextEvent_P(nsIThread*, int) + 0x4c
36 org.mozilla.sunbird 0x0056bbb0 nsBaseAppShell::Run() + 0x50
37 org.mozilla.sunbird 0x00317e00 nsAppStartup::Run() + 0x58
38 org.mozilla.sunbird 0x00012d8c XRE_main + 0x128c
39 org.mozilla.sunbird 0x0000dac0 start + 0x1c8
40 dyld 0x8fe1a31c _dyld_start + 0x64
Thread 1:
0 libSystem.B.dylib 0x9000b46c select + 0xc
1 libnspr4.dylib 0x2001f3a0 poll + 0x188
2 libnspr4.dylib 0x2001baf0 PR_OpenDir + 0x3c0
3 org.mozilla.sunbird 0x000c3144 nsSocketTransportService::Poll(int, unsigned int*) + 0xb4
4 org.mozilla.sunbird 0x000c3b44 nsSocketTransportService::DoPollIteration(int) + 0x198
5 org.mozilla.sunbird 0x000c3774 nsSocketTransportService::OnProcessNextEvent(nsIThreadInternal*, int, unsigned int) + 0x44
6 libxpcom_core.dylib 0x2c048f10 nsThread::ProcessNextEvent(int, int*) + 0x9c
7 libxpcom_core.dylib 0x2c00a374 NS_ProcessNextEvent_P(nsIThread*, int) + 0x4c
8 org.mozilla.sunbird 0x000c38d4 nsSocketTransportService::Run() + 0xf8
9 libxpcom_core.dylib 0x2c048f8c nsThread::ProcessNextEvent(int, int*) + 0x118
10 libxpcom_core.dylib 0x2c00a374 NS_ProcessNextEvent_P(nsIThread*, int) + 0x4c
11 libxpcom_core.dylib 0x2c0485d4 nsThread::ThreadFunc(void*) + 0x9c
12 libnspr4.dylib 0x2001cf7c PR_Select + 0x354
13 libSystem.B.dylib 0x90024990 _pthread_body + 0x28
Thread 2:
0 libSystem.B.dylib 0x90018e78 semaphore_timedwait_signal_trap + 0x8
1 libSystem.B.dylib 0x9000ea14 _pthread_cond_wait + 0x268
2 libnspr4.dylib 0x20017e54 PR_Unlock + 0x12c
3 libnspr4.dylib 0x200180b8 PR_WaitCondVar + 0x88
4 libxpcom_core.dylib 0x2c04c5b4 TimerThread::Run() + 0x1a8
5 libxpcom_core.dylib 0x2c048f8c nsThread::ProcessNextEvent(int, int*) + 0x118
6 libxpcom_core.dylib 0x2c00a374 NS_ProcessNextEvent_P(nsIThread*, int) + 0x4c
7 libxpcom_core.dylib 0x2c0485d4 nsThread::ThreadFunc(void*) + 0x9c
8 libnspr4.dylib 0x2001cf7c PR_Select + 0x354
9 libSystem.B.dylib 0x90024990 _pthread_body + 0x28
Thread 3:
0 libSystem.B.dylib 0x90018e78 semaphore_timedwait_signal_trap + 0x8
1 libSystem.B.dylib 0x9000ea14 _pthread_cond_wait + 0x268
2 libnspr4.dylib 0x20017e54 PR_Unlock + 0x12c
3 libnspr4.dylib 0x200180b8 PR_WaitCondVar + 0x88
4 libnspr4.dylib 0x20018420 PR_Wait + 0x30
5 libxpcom_core.dylib 0x2c04a618 nsThreadPool::Run() + 0x164
6 libxpcom_core.dylib 0x2c048f8c nsThread::ProcessNextEvent(int, int*) + 0x118
7 libxpcom_core.dylib 0x2c00a374 NS_ProcessNextEvent_P(nsIThread*, int) + 0x4c
8 libxpcom_core.dylib 0x2c0485d4 nsThread::ThreadFunc(void*) + 0x9c
9 libnspr4.dylib 0x2001cf7c PR_Select + 0x354
10 libSystem.B.dylib 0x90024990 _pthread_body + 0x28
PPC Thread State:
srr0: 0x2c06c6a4 srr1: 0x0200f030 vrsave: 0x00000000
cr: 0x28042448 xer: 0x00000004 lr: 0x2c06c668 ctr: 0x2c06b7a4
r0: 0x2c0907e8 r1: 0xbfffda60 r2: 0x00000000 r3: 0x0097c5c0
r4: 0xbfffdb00 r5: 0x00000000 r6: 0x00000018 r7: 0x00000061
r8: 0x00000061 r9: 0x2c0907e8 r10: 0x2c06b770 r11: 0x0090c460
r12: 0x2c06b7a4 r13: 0x00910000 r14: 0x00000000 r15: 0x0192aa70
r16: 0xbfffdff0 r17: 0x00000000 r18: 0xbfffdf40 r19: 0x023784e8
r20: 0x00000000 r21: 0x00000001 r22: 0x2c08b9c4 r23: 0x2c091784
r24: 0x00000017 r25: 0xbfffdd10 r26: 0x047a7f90 r27: 0xbfffdbc0
r28: 0x00000018 r29: 0xbfffdb60 r30: 0xbfffdb00 r31: 0x2c06c668
Binary Images Description:
0x1000 - 0x8f6fff org.mozilla.sunbird 0.3.1 /Users/celtx/Desktop/Sunbird-0.3.1.app/Contents/MacOS/sunbird-bin
0xe53000 - 0xe66fff libjsd.dylib /Users/celtx/Desktop/Sunbird-0.3.1.app/Contents/MacOS/components/libjsd.dylib
0xeed000 - 0xf26fff libxpinstall.dylib /Users/celtx/Desktop/Sunbird-0.3.1.app/Contents/MacOS/components/libxpinstall.dylib
0x18d4000 - 0x18d6fff com.apple.textencoding.unicode 1.6.4 /System/Library/TextEncodings/Unicode Encodings.bundle/Contents/MacOS/Unicode Encodings
0x20000000 - 0x20032fff libnspr4.dylib /Users/celtx/Desktop/Sunbird-0.3.1.app/Contents/MacOS/libnspr4.dylib
0x21000000 - 0x2100dfff libplds4.dylib /Users/celtx/Desktop/Sunbird-0.3.1.app/Contents/MacOS/libplds4.dylib
0x22000000 - 0x2200efff libplc4.dylib /Users/celtx/Desktop/Sunbird-0.3.1.app/Contents/MacOS/libplc4.dylib
0x23000000 - 0x23094fff libmozjs.dylib /Users/celtx/Desktop/Sunbird-0.3.1.app/Contents/MacOS/libmozjs.dylib
0x24000000 - 0x24000fff libxpcom.dylib /Users/celtx/Desktop/Sunbird-0.3.1.app/Contents/MacOS/libxpcom.dylib
0x25000000 - 0x25023fff libssl3.dylib /Users/celtx/Desktop/Sunbird-0.3.1.app/Contents/MacOS/libssl3.dylib
0x26000000 - 0x26061fff libnss3.dylib /Users/celtx/Desktop/Sunbird-0.3.1.app/Contents/MacOS/libnss3.dylib
0x27000000 - 0x2701dfff libsmime3.dylib /Users/celtx/Desktop/Sunbird-0.3.1.app/Contents/MacOS/libsmime3.dylib
0x28000000 - 0x2804bfff libsoftokn3.dylib /Users/celtx/Desktop/Sunbird-0.3.1.app/Contents/MacOS/libsoftokn3.dylib
0x2c000000 - 0x2c08afff libxpcom_core.dylib /Users/celtx/Desktop/Sunbird-0.3.1.app/Contents/MacOS/libxpcom_core.dylib
0x73230000 - 0x73233fff libmx.A.dylib /usr/lib/libmx.A.dylib
0x76c02000 - 0x76c12fff com.apple.Accelerate.vecLib 3.0.3 (vecLib 3.0.3) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/vecLib
0x80830000 - 0x8090efff libxml2.2.dylib /usr/lib/libxml2.2.dylib
0x80a50000 - 0x80ad4fff libstdc++.6.dylib /usr/lib/libstdc++.6.dylib
0x80c80000 - 0x80c88fff libgcc_s.1.dylib /usr/lib/libgcc_s.1.dylib
0x88080000 - 0x881b6fff com.apple.vImage 1.0.0 (1.2.0) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.framework/Versions/A/vImage
0x8fc90000 - 0x8fc90fff com.apple.Accelerate 1.0.3 (Accelerate 1.0.3) /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate
0x8fe00000 - 0x8fe4ffff dyld /usr/lib/dyld
0x90000000 - 0x9014ffff libSystem.B.dylib /usr/lib/libSystem.B.dylib
0x901c0000 - 0x9026efff com.apple.CoreFoundation 6.3.9 (299.37) /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x902b0000 - 0x90529fff com.apple.CoreServices.CarbonCore 10.3.7 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore
0x90584000 - 0x905f3fff com.apple.framework.IOKit 1.3.6 (???) /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
0x90610000 - 0x9069afff com.apple.CoreServices.OSServices 3.0.1 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices
0x90700000 - 0x90700fff com.apple.CoreServices 10.3 (???) /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
0x907f0000 - 0x907f9fff com.apple.DiskArbitration 2.0.5 /System/Library/PrivateFrameworks/DiskArbitration.framework/Versions/A/DiskArbitration
0x90810000 - 0x90810fff com.apple.ApplicationServices 1.0 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices
0x90830000 - 0x9089ffff libobjc.A.dylib /usr/lib/libobjc.A.dylib
0x908c5000 - 0x90915fff com.apple.HIServices 1.4.1 (0.0.1d1) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HIServices.framework/Versions/A/HIServices
0x90940000 - 0x909b3fff com.apple.DesktopServices 1.2.6 /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv
0x909f0000 - 0x90a04fff libCGATS.A.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libCGATS.A.dylib
0x90a20000 - 0x90b7bfff com.apple.Foundation 6.3.8 (500.61) /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
0x90d00000 - 0x90d1bfff com.apple.SystemConfiguration 1.7.1 (???) /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration
0x90d40000 - 0x90d40fff com.apple.Carbon 10.3 (???) /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
0x90ec0000 - 0x90ec0fff com.apple.Cocoa 6.3 (???) /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
0x91093000 - 0x910b0fff com.apple.audio.SoundManager 3.9 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CarbonSound.framework/Versions/A/CarbonSound
0x91206000 - 0x91216fff com.apple.speech.recognition.framework 3.3 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecognition.framework/Versions/A/SpeechRecognition
0x913a0000 - 0x9145ffff ColorSync /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ColorSync.framework/Versions/A/ColorSync
0x914ad000 - 0x91516fff com.apple.htmlrendering 1.1.2 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HTMLRendering.framework/Versions/A/HTMLRendering
0x91801000 - 0x91815fff libcups.2.dylib /usr/lib/libcups.2.dylib
0x9196c000 - 0x91974fff libbsm.dylib /usr/lib/libbsm.dylib
0x91990000 - 0x9199bfff com.apple.securityhi 1.2 (90) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SecurityHI.framework/Versions/A/SecurityHI
0x919a3000 - 0x91a5cfff com.apple.QD 3.4.72 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/QD.framework/Versions/A/QD
0x91b10000 - 0x91b2afff libPDFRIP.A.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libPDFRIP.A.dylib
0x91b50000 - 0x91b5ffff libPSRIP.A.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libPSRIP.A.dylib
0x91b80000 - 0x91b93fff libRIP.A.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libRIP.A.dylib
0x92070000 - 0x92096fff com.apple.FindByContent 1.4 (1.2) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/FindByContent.framework/Versions/A/FindByContent
0x920a9000 - 0x920e1fff com.apple.AE 1.4 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE
0x920fc000 - 0x92150fff com.apple.bom 1.2.8 (64.2) /System/Library/PrivateFrameworks/Bom.framework/Versions/A/Bom
0x92170000 - 0x92358fff com.apple.security 2.5 (29780) /System/Library/Frameworks/Security.framework/Versions/A/Security
0x92727000 - 0x9275ffff com.apple.LaunchServices 10.3.5 (98.4) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices
0x927f0000 - 0x92827fff com.apple.CFNetwork 1.2.5 (71.12) /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwork.framework/Versions/A/CFNetwork
0x9283f000 - 0x92906fff libcrypto.0.9.7.dylib /usr/lib/libcrypto.0.9.7.dylib
0x93533000 - 0x935ebfff com.apple.audio.toolbox.AudioToolbox 1.3.4 /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox
0x93812000 - 0x938a5fff com.apple.print.framework.PrintCore 3.3 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/PrintCore.framework/Versions/A/PrintCore
0x939d0000 - 0x939d4fff libmathCommon.A.dylib /usr/lib/system/libmathCommon.A.dylib
0x93b3c000 - 0x93ba3fff com.apple.audio.CoreAudio 2.1.3 /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
0x945b0000 - 0x945b9fff libz.1.dylib /usr/lib/libz.1.dylib
0x94610000 - 0x9462afff libresolv.9.dylib /usr/lib/libresolv.9.dylib
0x94650000 - 0x946affff com.apple.SearchKit 1.0.2 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchKit.framework/Versions/A/SearchKit
0x946ed000 - 0x94700fff com.apple.speech.synthesis.framework 3.2 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/SpeechSynthesis.framework/Versions/A/SpeechSynthesis
0x94723000 - 0x949f2fff com.apple.QuickTime 7.1.3 /System/Library/Frameworks/QuickTime.framework/Versions/A/QuickTime
0x94e65000 - 0x94e7cfff com.apple.LangAnalysis 1.5.4 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LangAnalysis.framework/Versions/A/LangAnalysis
0x952b1000 - 0x952bdfff com.apple.help 1.0.1 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Help.framework/Versions/A/Help
0x952c7000 - 0x952d4fff com.apple.CommonPanels 1.2.1 (1.0) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CommonPanels.framework/Versions/A/CommonPanels
0x952ed000 - 0x95360fff com.apple.NavigationServices 3.3.3 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/NavigationServices.framework/Versions/A/NavigationServices
0x953b8000 - 0x953c3fff libCSync.A.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libCSync.A.dylib
0x954c0000 - 0x95ac6fff libBLAS.dylib /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
0x95b20000 - 0x95df0fff libLAPACK.dylib /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib
0x95e0a000 - 0x95e22fff com.apple.WebServices 1.1.1 (1.1.0) /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/WebServicesCore.framework/Versions/A/WebServicesCore
0x95e40000 - 0x95eadfff libvDSP.dylib /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvDSP.dylib
0x95ec2000 - 0x95edcfff com.apple.openscripting 1.2.1 (???) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/OpenScripting.framework/Versions/A/OpenScripting
0x95f00000 - 0x95f20fff libvMisc.dylib /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvMisc.dylib
0x9618e000 - 0x9618efff com.apple.audio.units.AudioUnit 1.3.3 /System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit
0x968d0000 - 0x969b2fff libicucore.A.dylib /usr/lib/libicucore.A.dylib
0x96a04000 - 0x96a52fff com.apple.print.framework.Print 3.3 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Print.framework/Versions/A/Print
0x96aa0000 - 0x96acefff libssl.0.9.7.dylib /usr/lib/libssl.0.9.7.dylib
0x96ade000 - 0x96aeefff com.apple.ImageCapture 2.1.5 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ImageCapture.framework/Versions/A/ImageCapture
0x96b50000 - 0x96bdffff ATS /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/ATS
0x96c00000 - 0x96c8cfff com.apple.ink.framework 101.1.4 (55.12) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Ink.framework/Versions/A/Ink
0x96cb0000 - 0x96d9efff libiconv.2.dylib /usr/lib/libiconv.2.dylib
0x96e80000 - 0x96e90fff com.apple.vecLib 3.0.3 (vecLib 3.0.3) /System/Library/Frameworks/vecLib.framework/Versions/A/vecLib
0x97319000 - 0x975f1fff com.apple.CoreGraphics 1.203.30 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics
0x97be8000 - 0x97f6dfff com.apple.HIToolbox 1.3.7 (???) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
0x980e4000 - 0x985e3fff com.apple.AppKit 6.3.11 (743.43) /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
| Reporter | ||
Updated•18 years ago
|
Version: unspecified → Sunbird 0.3.1
Comment 1•18 years ago
|
||
Is that the issue seen in Talkback Incident ID 29762643 ?
| Reporter | ||
Comment 2•18 years ago
|
||
(In reply to comment #1)
> Is that the issue seen in Talkback Incident ID 29762643 ?
>
It looks like the same stack trace, and it's the same description of crashing after launch, so I'd say it's the same issue.
Comment 3•18 years ago
|
||
Tony, does it also happens with the most recent Sunbird 0.5pre nightly builds from [http://ftp.mozilla.org/pub/mozilla.org/calendar/sunbird/nightly/latest-mozilla1.8/]?
Comment 4•18 years ago
|
||
Marking confirmed based on bug report and talkback crash report. The forum post at [http://forums.mozillazine.org/viewtopic.php?t=529006] might report the same issue.
This probably should block 0.5 release if the crash also happens with current 0.5pre nightly builds.
| Assignee | ||
Comment 5•18 years ago
|
||
Blocking 0.5 for now.
Flags: blocking-calendar0.5? → blocking-calendar0.5+
| Assignee | ||
Comment 6•18 years ago
|
||
Tony,
Could you try to replicate this using a currently nightly build (available at http://ftp.mozilla.org/pub/mozilla.org/calendar/sunbird/nightly/latest-mozilla1.8/ )? I think this may be a tinderbox config/Mac OS SDK issue.
If possible, please also try to replicate using a currently trunk nightly (available at http://ftp.mozilla.org/pub/mozilla.org/calendar/sunbird/nightly/latest-trunk/ )
| Reporter | ||
Comment 7•18 years ago
|
||
I've replicated it with the 1.8 and trunk nightlies. Same stack trace in each.
| Assignee | ||
Comment 8•18 years ago
|
||
Thanks Tony.
I should have access to a 10.3 box tonight, so I'll see if I can figure out what's going on.
| Assignee | ||
Comment 9•18 years ago
|
||
I'm seeing it on 10.3.9 as well.
Unfortunately my 10.3.9 box is a 233MHz G3 iMac, which I connect to remotely, with a speed not unlike a glacier, so there's no dev environment on it.
I'm looking at the code, and asked dmose and ctalbert to look it over for glaring obvious mistakes, but we're not seeing one.
| Reporter | ||
Comment 10•18 years ago
|
||
(In reply to comment #9)
> I'm looking at the code, and asked dmose and ctalbert to look it over for
> glaring obvious mistakes, but we're not seeing one.
I couldn't see one either, but I've noticed it doesn't occur on 10.3 if you build as shared instead of static. Some sort of linking voodoo?
Comment 11•18 years ago
|
||
There is quite a bunch of weird string stuff going on if you ask me.
1427 if (!StringBeginsWith(
1428 tzid, nsDependentCString(STRLEN_ARGS("/mozilla.org/")))) {
Why not NS_LITERAL_CSTRING("/mozilla.org/")?
1441 nsCAutoString continent(Substring(tzid, prefixEnd + 1,
1442 continentEnd - (prefixEnd + 1)));
Why is that a nsCAutoString and not an nsDependentCSubstring?
(but those likely don't have anything to do with the crash)
What worries me much more is the use of nsACString_internal. That name alone screams that it is not to be used by external code. And yet, we do it. Why?
Looking at the place of the crash, it might have something to do with creating a substring inside the equals call. What you you take the substring creation out of the equals call, and make it a variable of it's own?
(I'm just shouting ideas here, I have no way to test any of this, due to the lack of 10.3.9. Can anybody that does have access to that, and has can compile sunbird on it, experiment with those ideas?)
| Assignee | ||
Updated•18 years ago
|
Whiteboard: [needs patch] [no l10n impact]
Comment 12•18 years ago
|
||
how about writing a testcase? i have 10.3.9 (and nothing newer) PPC, so I'll gladly build things on those rare nights I'm awake at home for the 5mins it takes....
I don't have space to build sunbird, my mac keeps telling me that my startup disk is running out of space (and I don't have a non startup disk...).
Updated•18 years ago
|
Assignee: nobody → lilmatt
Comment 13•18 years ago
|
||
Matt,
now that you have a working 10.3 box, do you have any news on this?
Comment 14•18 years ago
|
||
The stack indicates a crash when evaluating the right side of line 1476's != (Equals) expression. I suspect that the compiler has problems with temporary objects in this context (resulting out of the SubString() function).
As a first shot to try, I would like to avoid temporaries, i.e. spend explicit variables and see if this solves the problem.
Attachment #263588 -
Flags: review?(lilmatt)
Comment 15•18 years ago
|
||
Tony (or anyone else), could you try to build lightning using Daniels patch?
| Reporter | ||
Comment 16•18 years ago
|
||
Sure thing. I'll do a Sunbird and a Lightning, and let you know how it works on a 10.3 box.
Comment 17•18 years ago
|
||
(In reply to comment #16)
> Sure thing. I'll do a Sunbird and a Lightning, and let you know how it works on
> a 10.3 box.
>
Hi Tony, hate to pressure you, but I am contemplating checking this fix in later today (May 9). Do you have an update?
Thanks, Clint
| Reporter | ||
Comment 18•18 years ago
|
||
Lightning works, but Sunbird still crashes with the same error. I'm trying a clean rebuild of Sunbird to confirm.
| Reporter | ||
Comment 19•18 years ago
|
||
Still crashing using that patch, but I found something that works: I replaced gTzIdPrefix with a local constant and it no longer crashes.
| Reporter | ||
Comment 20•18 years ago
|
||
This replaces gTzIdPrefix with a const char[] and creates an nsCAutoString at run-time for calICSService::LatestTzId(). I've confirmed that this runs on 10.3 and 10.4.
Attachment #264373 -
Flags: review?(lilmatt)
Comment 21•18 years ago
|
||
Comment on attachment 264373 [details] [diff] [review]
Patch to maketzdata.pl, tzdata.c, and calICSService.cpp
taking over review since AFAIK lilmatt is travelling
>+static const char kTzIdPrefix[] = "${TZ_PREFIX}/";
make it non-static
r=dbo
Attachment #264373 -
Flags: review?(lilmatt) → review+
Updated•18 years ago
|
Summary: Sunbird crashes on open in Mac OS 10.3, works in Mac OS 10.4 → Sunbird crashes on open in Mac OS 10.3, works in Mac OS 10.4 [@ nsACString_internal::GetReadableBuffer()]
Comment 22•18 years ago
|
||
Just for the notes: After knowing the fix this seems to be the same issue Firefox had some years ago: Bug 234916.
Updated•18 years ago
|
Comment 23•18 years ago
|
||
checked in on trunk and branch
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Updated•18 years ago
|
Attachment #263588 -
Flags: review?(lilmatt)
Comment 24•18 years ago
|
||
Marking VERIFIED because the reporter himself provided the patch for the bug. :)
Status: RESOLVED → VERIFIED
Updated•17 years ago
|
Flags: blocking-calendar0.5+
Updated•17 years ago
|
Whiteboard: [no l10n impact]
Updated•14 years ago
|
Crash Signature: [@ nsACString_internal::GetReadableBuffer()]
You need to log in
before you can comment on or make changes to this bug.
Description
•