Here's a crash report, from vice-macosx-cocoa-i386+x86_64-10.6-clang-2.2.1-r22310_20100221_trunk.dmg
Happens everytime, immediately after starting up x64 in 32-bit mode. Deleting org.viceteam.x64* prefs makes no difference.
Runs fine in 64-bit mode. GCC 4.2 build does not have this problem.
Process: x64 [20399]
Path: /Users/sid/Desktop/x64.app/Contents/MacOS/x64
Identifier: org.viceteam.x64
Version: ??? (2.2.1-r22310_20100221_trunk)
Code Type: X86 (Native)
Parent Process: launchd [177]
Date/Time: 2010-03-04 20:59:11.810 +0100
OS Version: Mac OS X 10.6.2 (10C540)
Report Version: 6
Interval Since Last Report: 227587 sec
Crashes Since Last Report: 7
Per-App Interval Since Last Report: 4 sec
Per-App Crashes Since Last Report: 2
Anonymous UUID: 01394610-8F45-459B-9C29-22778B7FA11D
Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000000
Crashed Thread: 3
Thread 0: Dispatch queue: com.apple.main-thread
0 libSystem.B.dylib 0x984808da mach_msg_trap + 10
1 libSystem.B.dylib 0x98481047 mach_msg + 68
2 com.apple.CoreFoundation 0x916a277f __CFRunLoopRun + 2079
3 com.apple.CoreFoundation 0x916a1864 CFRunLoopRunSpecific + 452
4 com.apple.CoreFoundation 0x916a1691 CFRunLoopRunInMode + 97
5 com.apple.Foundation 0x9356d84a -[NSConnection sendInvocation:internal:] + 2587
6 com.apple.Foundation 0x9356cca9 -[NSDistantObject forwardInvocation:] + 411
7 com.apple.CoreFoundation 0x916dfe54 ___forwarding___ + 1108
8 com.apple.CoreFoundation 0x916df982 _CF_forwarding_prep_0 + 50
9 org.viceteam.x64 0x000dee24 0x1000 + 908836
10 org.viceteam.x64 0x000dee64 0x1000 + 908900
11 org.viceteam.x64 0x000cf525 0x1000 + 845093
12 org.viceteam.x64 0x000cc02d 0x1000 + 831533
13 org.viceteam.x64 0x000cec33 0x1000 + 842803
14 com.apple.Foundation 0x935141c7 _nsnote_callback + 176
15 com.apple.CoreFoundation 0x916c09a9 __CFXNotificationPost + 905
16 com.apple.CoreFoundation 0x916c03da _CFXNotificationPostNotification + 186
17 com.apple.Foundation 0x93509094 -[NSNotificationCenter postNotificationName:object:userInfo:] + 128
18 org.viceteam.x64 0x000dfaa3 0x1000 + 912035
19 com.apple.Foundation 0x9352ade1 __NSThreadPerformPerform + 506
20 com.apple.CoreFoundation 0x916a4761 __CFRunLoopDoSources0 + 1201
21 com.apple.CoreFoundation 0x916a238f __CFRunLoopRun + 1071
22 com.apple.CoreFoundation 0x916a1864 CFRunLoopRunSpecific + 452
23 com.apple.CoreFoundation 0x916a1691 CFRunLoopRunInMode + 97
24 com.apple.HIToolbox 0x90239f0c RunCurrentEventLoopInMode + 392
25 com.apple.HIToolbox 0x90239cc3 ReceiveNextEventCommon + 354
26 com.apple.HIToolbox 0x90239b48 BlockUntilNextEventMatchingListInMode + 81
27 com.apple.AppKit 0x9787cac5 _DPSNextEvent + 847
28 com.apple.AppKit 0x9787c306 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 156
29 com.apple.AppKit 0x9783e49f -[NSApplication run] + 821
30 org.viceteam.x64 0x000de7fd 0x1000 + 907261
31 org.viceteam.x64 0x000dd67b 0x1000 + 902779
32 org.viceteam.x64 0x00002e95 0x1000 + 7829
Thread 1: Dispatch queue: com.apple.libdispatch-manager
0 libSystem.B.dylib 0x984a70ea kevent + 10
1 libSystem.B.dylib 0x984a7804 _dispatch_mgr_invoke + 215
2 libSystem.B.dylib 0x984a6cc3 _dispatch_queue_invoke + 163
3 libSystem.B.dylib 0x984a6a68 _dispatch_worker_thread2 + 234
4 libSystem.B.dylib 0x984a64f1 _pthread_wqthread + 390
5 libSystem.B.dylib 0x984a6336 start_wqthread + 30
Thread 2:
0 libSystem.B.dylib 0x984a6182 __workq_kernreturn + 10
1 libSystem.B.dylib 0x984a6718 _pthread_wqthread + 941
2 libSystem.B.dylib 0x984a6336 start_wqthread + 30
Thread 3 Crashed:
0 org.viceteam.x64 0x000fded9 SIDFP::clock_resample_interpolate(int&, short*, int, int) + 1145
1 org.viceteam.x64 0x000fd1a9 void interpolate<int (*) [2], PointPlotter<int> >(int (*) [2], int (*) [2], PointPlotter<int>, double) + 5721
2 org.viceteam.x64 0x0007b652 0x1000 + 501330
3 org.viceteam.x64 0x0007a756 0x1000 + 497494
4 org.viceteam.x64 0x00038592 0x1000 + 226706
5 org.viceteam.x64 0x0001becd 0x1000 + 110285
6 org.viceteam.x64 0x0001bb54 0x1000 + 109396
7 org.viceteam.x64 0x0001c9ad 0x1000 + 113069
8 org.viceteam.x64 0x0001c3cc 0x1000 + 111564
9 org.viceteam.x64 0x0001f2df 0x1000 + 123615
10 org.viceteam.x64 0x000bc0c4 0x1000 + 766148
11 org.viceteam.x64 0x0002afa1 0x1000 + 171937
12 org.viceteam.x64 0x00013d3e 0x1000 + 77118
13 org.viceteam.x64 0x000e04d8 0x1000 + 914648
14 org.viceteam.x64 0x000e0311 0x1000 + 914193
15 com.apple.Foundation 0x935148d8 -[NSThread main] + 45
16 com.apple.Foundation 0x93514888 __NSThread__main__ + 1499
17 libSystem.B.dylib 0x984adfbd _pthread_start + 345
18 libSystem.B.dylib 0x984ade42 thread_start + 34
Thread 4:
0 libSystem.B.dylib 0x984808da mach_msg_trap + 10
1 libSystem.B.dylib 0x98481047 mach_msg + 68
2 com.apple.opengl 0x95b2cedb glcDebugListener + 426
3 libSystem.B.dylib 0x984adfbd _pthread_start + 345
4 libSystem.B.dylib 0x984ade42 thread_start + 34
Thread 5:
0 libSystem.B.dylib 0x9848093a semaphore_timedwait_signal_trap + 10
1 libSystem.B.dylib 0x984ae445 _pthread_cond_wait + 1066
2 libSystem.B.dylib 0x984dd028 pthread_cond_timedwait_relative_np + 47
3 com.apple.CoreVideo 0x98dc115e CVDisplayLink::waitUntil(unsigned long long) + 386
4 com.apple.CoreVideo 0x98dbffd7 CVDisplayLink::runIOThread() + 747
5 com.apple.CoreVideo 0x98dbfcd0 startIOThread(void*) + 156
6 libSystem.B.dylib 0x984adfbd _pthread_start + 345
7 libSystem.B.dylib 0x984ade42 thread_start + 34
Thread 6:
0 libSystem.B.dylib 0x984a6182 __workq_kernreturn + 10
1 libSystem.B.dylib 0x984a6718 _pthread_wqthread + 941
2 libSystem.B.dylib 0x984a6336 start_wqthread + 30
Thread 7:
0 libSystem.B.dylib 0x9848093a semaphore_timedwait_signal_trap + 10
1 libSystem.B.dylib 0x984ae445 _pthread_cond_wait + 1066
2 libSystem.B.dylib 0x984dd028 pthread_cond_timedwait_relative_np + 47
3 com.apple.audio.CoreAudio 0x9189c965 CAGuard::WaitFor(unsigned long long) + 219
4 com.apple.audio.CoreAudio 0x9189f997 CAGuard::WaitUntil(unsigned long long) + 289
5 com.apple.audio.CoreAudio 0x9189d294 HP_IOThread::WorkLoop() + 1892
6 com.apple.audio.CoreAudio 0x9189cb2b HP_IOThread::ThreadEntry(HP_IOThread*) + 17
7 com.apple.audio.CoreAudio 0x9189ca42 CAPThread::Entry(CAPThread*) + 140
8 libSystem.B.dylib 0x984adfbd _pthread_start + 345
9 libSystem.B.dylib 0x984ade42 thread_start + 34
Thread 3 crashed with X86 Thread State (32-bit):
eax: 0x00000001 ebx: 0x00791fd0 ecx: 0x007748c8 edx: 0xa0b488c0
edi: 0x00774830 esi: 0x00000001 ebp: 0xb018d948 esp: 0xb018d8f0
ss: 0x0000001f efl: 0x00210286 eip: 0x000fded9 cs: 0x00000017
ds: 0x0000001f es: 0x0000001f fs: 0x0000001f gs: 0x00000037
cr2: 0x00000000