Test commit
GitIgnore
GitIgnore
gitignore
MD-139
SVN Revision script removed
MD-140
QueryController: showGUI == NO if mainThread == NO
GitIgnore
New try to solve this recurring bug

Process:         OsiriX [93131]
Path:            /Users/USER/*/OsiriX.app/Contents/MacOS/OsiriX
Identifier:      com.rossetantoine.osirix
Version:         5.6fc1 (10765M)
Code Type:       X86-64 (Native)
Parent Process:  launchd [203]
User ID:         501

Date/Time:       2013-02-19 10:54:29.968 +0100
OS Version:      Mac OS X 10.8.2 (12C60)
Report Version:  10

Crashed Thread:  0  Dispatch queue: com.apple.main-thread

Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: EXC_I386_GPFLT

Application Specific Information:
objc_msgSend() selector name: autorelease

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libobjc.A.dylib               	0x00007fff881ba790
objc_msgSend_vtable15 + 16
1   OsiriX                        	0x000000010436f5f2 -[ThreadCell
setThread:] + 210 (ThreadCell.mm:95)
2   OsiriX                        	0x000000010436f4be -[ThreadCell
dealloc] + 46 (ThreadCell.mm:74)
3   libobjc.A.dylib               	0x00007fff881bd230 (anonymous
namespace)::AutoreleasePoolPage::pop(void*) + 464
4   com.apple.CoreFoundation      	0x00007fff8b297342
_CFAutoreleasePoolPop + 34
5   com.apple.Foundation          	0x00007fff8cf5975f
__NSThreadPerformPerform + 457
6   com.apple.CoreFoundation      	0x00007fff8b279101
__CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
7   com.apple.CoreFoundation      	0x00007fff8b278a25
__CFRunLoopDoSources0 + 245
8   com.apple.CoreFoundation      	0x00007fff8b29bdc5 __CFRunLoopRun +
789
9   com.apple.CoreFoundation      	0x00007fff8b29b6b2
CFRunLoopRunSpecific + 290
10  com.apple.HIToolbox           	0x00007fff8a0aa0a4
RunCurrentEventLoopInMode + 209
11  com.apple.HIToolbox           	0x00007fff8a0a9e42
ReceiveNextEventCommon + 356
12  com.apple.HIToolbox           	0x00007fff8a0a9cd3
BlockUntilNextEventMatchingListInMode + 62
13  com.apple.AppKit              	0x00007fff8730f613 _DPSNextEvent +
685
14  com.apple.AppKit              	0x00007fff8730eed2 -[NSApplication
nextEventMatchingMask:untilDate:inMode:dequeue:] + 128
15  com.apple.AppKit              	0x00007fff87306283 -[NSApplication
run] + 517
16  com.apple.AppKit              	0x00007fff872aacb6 NSApplicationMain
+ 869
17  OsiriX                        	0x000000010400c7a4 start + 52

Thread 1:: Dispatch queue: com.apple.libdispatch-manager
0   libsystem_kernel.dylib        	0x00007fff86c7fd16 kevent + 10
1   libdispatch.dylib             	0x00007fff8f8ecdea
_dispatch_mgr_invoke + 883
2   libdispatch.dylib             	0x00007fff8f8ec9ee
_dispatch_mgr_thread + 54

Thread 2:: com.apple.NSURLConnectionLoader
0   libsystem_kernel.dylib        	0x00007fff86c7d686 mach_msg_trap + 10
1   libsystem_kernel.dylib        	0x00007fff86c7cc42 mach_msg + 70
2   com.apple.CoreFoundation      	0x00007fff8b296803
__CFRunLoopServiceMachPort + 195
3   com.apple.CoreFoundation      	0x00007fff8b29bee6 __CFRunLoopRun +
1078
4   com.apple.CoreFoundation      	0x00007fff8b29b6b2
CFRunLoopRunSpecific + 290
5   com.apple.Foundation          	0x00007fff8cefe586
+[NSURLConnection(Loader) _resourceLoadLoop:] + 356
6   com.apple.Foundation          	0x00007fff8cf5c612
__NSThread__main__ + 1345
7   libsystem_c.dylib             	0x00007fff9072e742 _pthread_start +
327
8   libsystem_c.dylib             	0x00007fff9071b181 thread_start + 13

Thread 3:: com.apple.CFSocket.private
0   libsystem_kernel.dylib        	0x00007fff86c7f322 __select + 10
1   com.apple.CoreFoundation      	0x00007fff8b2db4e6 __CFSocketManager
+ 1302
2   libsystem_c.dylib             	0x00007fff9072e742 _pthread_start +
327
3   libsystem_c.dylib             	0x00007fff9071b181 thread_start + 13

Thread 4:: DCMTK Network release variables
0   libsystem_kernel.dylib        	0x00007fff86c7f386 __semwait_signal
+ 10
1   libsystem_c.dylib             	0x00007fff907b8800 nanosleep + 163
2   com.apple.Foundation          	0x00007fff8cf5da94 +[NSThread
sleepForTimeInterval:] + 156
3   OsiriX                        	0x0000000104253dac +[DCMTKQueryNode
releaseNetworkVariables] + 156 (DCMTKQueryNode.mm:1735)
4   com.apple.Foundation          	0x00007fff8cf5c612
__NSThread__main__ + 1345
5   libsystem_c.dylib             	0x00007fff9072e742 _pthread_start +
327
6   libsystem_c.dylib             	0x00007fff9071b181 thread_start + 13

Thread 5:: DICOM Store-SCP
0   libsystem_kernel.dylib        	0x00007fff86c7f322 __select + 10
1   OsiriX                        	0x000000010453a4dc
ASC_associationWaiting(T_ASC_Network*, int) + 140 (assoc.cc:1522)
2   OsiriX                        	0x0000000104266df2
DcmQueryRetrieveSCP::waitForAssociation(T_ASC_Network*) + 98
(dcmqrsrv.mm:1476)
3   OsiriX                        	0x000000010424da66
-[DCMTKQueryRetrieveSCP run] + 4470 (ofcond.h:361)
4   OsiriX                        	0x000000010401d4f0 -[AppController
startSTORESCP:] + 544 (AppController.m:2027)
5   com.apple.Foundation          	0x00007fff8cf5c612
__NSThread__main__ + 1345
6   libsystem_c.dylib             	0x00007fff9072e742 _pthread_start +
327
7   libsystem_c.dylib             	0x00007fff9071b181 thread_start + 13

Thread 6:: WebPortal server thread
0   libsystem_kernel.dylib        	0x00007fff86c7d686 mach_msg_trap + 10
1   libsystem_kernel.dylib        	0x00007fff86c7cc42 mach_msg + 70
2   com.apple.CoreFoundation      	0x00007fff8b296803
__CFRunLoopServiceMachPort + 195
3   com.apple.CoreFoundation      	0x00007fff8b29bee6 __CFRunLoopRun +
1078
4   com.apple.CoreFoundation      	0x00007fff8b29b6b2
CFRunLoopRunSpecific + 290
5   com.apple.Foundation          	0x00007fff8cf6189e
-[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 268
6   OsiriX                        	0x000000010438d912 -[WebPortal
startServerThread] + 514 (WebPortal.mm:390)
7   com.apple.Foundation          	0x00007fff8cf5c612
__NSThread__main__ + 1345
8   libsystem_c.dylib             	0x00007fff9072e742 _pthread_start +
327
9   libsystem_c.dylib             	0x00007fff9071b181 thread_start + 13

Thread 7:: WebPortal connection thread
0   libsystem_kernel.dylib        	0x00007fff86c7d686 mach_msg_trap + 10
1   libsystem_kernel.dylib        	0x00007fff86c7cc42 mach_msg + 70
2   com.apple.CoreFoundation      	0x00007fff8b296803
__CFRunLoopServiceMachPort + 195
3   com.apple.CoreFoundation      	0x00007fff8b29bee6 __CFRunLoopRun +
1078
4   com.apple.CoreFoundation      	0x00007fff8b29b6b2
CFRunLoopRunSpecific + 290
5   com.apple.Foundation          	0x00007fff8cf6189e
-[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 268
6   OsiriX                        	0x000000010438df3b -[WebPortal
connectionsThread:] + 539 (WebPortal.mm:466)
7   com.apple.Foundation          	0x00007fff8cf5c612
__NSThread__main__ + 1345
8   libsystem_c.dylib             	0x00007fff9072e742 _pthread_start +
327
9   libsystem_c.dylib             	0x00007fff9071b181 thread_start + 13

Thread 8:: WebPortal connection thread
0   libsystem_kernel.dylib        	0x00007fff86c7d686 mach_msg_trap + 10
1   libsystem_kernel.dylib        	0x00007fff86c7cc42 mach_msg + 70
2   com.apple.CoreFoundation      	0x00007fff8b296803
__CFRunLoopServiceMachPort + 195
3   com.apple.CoreFoundation      	0x00007fff8b29bee6 __CFRunLoopRun +
1078
4   com.apple.CoreFoundation      	0x00007fff8b29b6b2
CFRunLoopRunSpecific + 290
5   com.apple.Foundation          	0x00007fff8cf6189e
-[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 268
6   OsiriX                        	0x000000010438df3b -[WebPortal
connectionsThread:] + 539 (WebPortal.mm:466)
7   com.apple.Foundation          	0x00007fff8cf5c612
__NSThread__main__ + 1345
8   libsystem_c.dylib             	0x00007fff9072e742 _pthread_start +
327
9   libsystem_c.dylib             	0x00007fff9071b181 thread_start + 13

Thread 9:: WebPortal connection thread
0   libsystem_kernel.dylib        	0x00007fff86c7d686 mach_msg_trap + 10
1   libsystem_kernel.dylib        	0x00007fff86c7cc42 mach_msg + 70
2   com.apple.CoreFoundation      	0x00007fff8b296803
__CFRunLoopServiceMachPort + 195
3   com.apple.CoreFoundation      	0x00007fff8b29bee6 __CFRunLoopRun +
1078
4   com.apple.CoreFoundation      	0x00007fff8b29b6b2
CFRunLoopRunSpecific + 290
5   com.apple.Foundation          	0x00007fff8cf6189e
-[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 268
6   OsiriX                        	0x000000010438df3b -[WebPortal
connectionsThread:] + 539 (WebPortal.mm:466)
7   com.apple.Foundation          	0x00007fff8cf5c612
__NSThread__main__ + 1345
8   libsystem_c.dylib             	0x00007fff9072e742 _pthread_start +
327
9   libsystem_c.dylib             	0x00007fff9071b181 thread_start + 13

Thread 10:: WebPortal connection thread
0   libsystem_kernel.dylib        	0x00007fff86c7d686 mach_msg_trap + 10
1   libsystem_kernel.dylib        	0x00007fff86c7cc42 mach_msg + 70
2   com.apple.CoreFoundation      	0x00007fff8b296803
__CFRunLoopServiceMachPort + 195
3   com.apple.CoreFoundation      	0x00007fff8b29bee6 __CFRunLoopRun +
1078
4   com.apple.CoreFoundation      	0x00007fff8b29b6b2
CFRunLoopRunSpecific + 290
5   com.apple.Foundation          	0x00007fff8cf6189e
-[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 268
6   OsiriX                        	0x000000010438df3b -[WebPortal
connectionsThread:] + 539 (WebPortal.mm:466)
7   com.apple.Foundation          	0x00007fff8cf5c612
__NSThread__main__ + 1345
8   libsystem_c.dylib             	0x00007fff9072e742 _pthread_start +
327
9   libsystem_c.dylib             	0x00007fff9071b181 thread_start + 13

Thread 11:: JavaScriptCore::BlockFree
0   libsystem_kernel.dylib        	0x00007fff86c7f0fa __psynch_cvwait +
10
1   libsystem_c.dylib             	0x00007fff90732f89
_pthread_cond_wait + 869
2   com.apple.JavaScriptCore      	0x00007fff8992cd96
WTF::ThreadCondition::timedWait(WTF::Mutex&, double) + 118
3   com.apple.JavaScriptCore      	0x00007fff89b4ed0a
JSC::BlockAllocator::blockFreeingThreadMain() + 90
4   com.apple.JavaScriptCore      	0x00007fff89b6436f
WTF::wtfThreadEntryPoint(void*) + 15
5   libsystem_c.dylib             	0x00007fff9072e742 _pthread_start +
327
6   libsystem_c.dylib             	0x00007fff9071b181 thread_start + 13

Thread 12:: JavaScriptCore::Marking
0   libsystem_kernel.dylib        	0x00007fff86c7f0fa __psynch_cvwait +
10
1   libsystem_c.dylib             	0x00007fff90732f89
_pthread_cond_wait + 869
2   com.apple.JavaScriptCore      	0x00007fff89ab1724
JSC::SlotVisitor::drainFromShared(JSC::SlotVisitor::SharedDrainMode) +
212
3   com.apple.JavaScriptCore      	0x00007fff89ab1606
JSC::MarkStackThreadSharedData::markingThreadMain() + 214
4   com.apple.JavaScriptCore      	0x00007fff89b6436f
WTF::wtfThreadEntryPoint(void*) + 15
5   libsystem_c.dylib             	0x00007fff9072e742 _pthread_start +
327
6   libsystem_c.dylib             	0x00007fff9071b181 thread_start + 13

Thread 13:: JavaScriptCore::Marking
0   libsystem_kernel.dylib        	0x00007fff86c7f0fa __psynch_cvwait +
10
1   libsystem_c.dylib             	0x00007fff90732f89
_pthread_cond_wait + 869
2   com.apple.JavaScriptCore      	0x00007fff89ab1724
JSC::SlotVisitor::drainFromShared(JSC::SlotVisitor::SharedDrainMode) +
212
3   com.apple.JavaScriptCore      	0x00007fff89ab1606
JSC::MarkStackThreadSharedData::markingThreadMain() + 214
4   com.apple.JavaScriptCore      	0x00007fff89b6436f
WTF::wtfThreadEntryPoint(void*) + 15
5   libsystem_c.dylib             	0x00007fff9072e742 _pthread_start +
327
6   libsystem_c.dylib             	0x00007fff9071b181 thread_start + 13

Thread 14:: JavaScriptCore::Marking
0   libsystem_kernel.dylib        	0x00007fff86c7f0fa __psynch_cvwait +
10
1   libsystem_c.dylib             	0x00007fff90732f89
_pthread_cond_wait + 869
2   com.apple.JavaScriptCore      	0x00007fff89ab1724
JSC::SlotVisitor::drainFromShared(JSC::SlotVisitor::SharedDrainMode) +
212
3   com.apple.JavaScriptCore      	0x00007fff89ab1606
JSC::MarkStackThreadSharedData::markingThreadMain() + 214
4   com.apple.JavaScriptCore      	0x00007fff89b6436f
WTF::wtfThreadEntryPoint(void*) + 15
5   libsystem_c.dylib             	0x00007fff9072e742 _pthread_start +
327
6   libsystem_c.dylib             	0x00007fff9071b181 thread_start + 13

Thread 15:: Compute Pixels thread
0   libsystem_kernel.dylib        	0x00007fff86c7f0fa __psynch_cvwait +
10
1   libsystem_c.dylib             	0x00007fff90732fc3
_pthread_cond_wait + 927
2   com.apple.Foundation          	0x00007fff8cf87933 -[NSCondition
waitUntilDate:] + 357
3   com.apple.Foundation          	0x00007fff8cf87789 -[NSConditionLock
lockWhenCondition:beforeDate:] + 235
4   OsiriX                        	0x00000001041a9e01 -[PixThread
computeMaxThread:] + 289 (DCMPix.m:1133)
5   com.apple.Foundation          	0x00007fff8cf5c612
__NSThread__main__ + 1345
6   libsystem_c.dylib             	0x00007fff9072e742 _pthread_start +
327
7   libsystem_c.dylib             	0x00007fff9071b181 thread_start + 13

Thread 16:: Compute Pixels thread
0   libsystem_kernel.dylib        	0x00007fff86c7f0fa __psynch_cvwait +
10
1   libsystem_c.dylib             	0x00007fff90732fc3
_pthread_cond_wait + 927
2   com.apple.Foundation          	0x00007fff8cf87933 -[NSCondition
waitUntilDate:] + 357
3   com.apple.Foundation          	0x00007fff8cf87789 -[NSConditionLock
lockWhenCondition:beforeDate:] + 235
4   OsiriX                        	0x00000001041a9e01 -[PixThread
computeMaxThread:] + 289 (DCMPix.m:1133)
5   com.apple.Foundation          	0x00007fff8cf5c612
__NSThread__main__ + 1345
6   libsystem_c.dylib             	0x00007fff9072e742 _pthread_start +
327
7   libsystem_c.dylib             	0x00007fff9071b181 thread_start + 13

Thread 17:: Compute Pixels thread
0   libsystem_kernel.dylib        	0x00007fff86c7f0fa __psynch_cvwait +
10
1   libsystem_c.dylib             	0x00007fff90732fc3
_pthread_cond_wait + 927
2   com.apple.Foundation          	0x00007fff8cf87933 -[NSCondition
waitUntilDate:] + 357
3   com.apple.Foundation          	0x00007fff8cf87789 -[NSConditionLock
lockWhenCondition:beforeDate:] + 235
4   OsiriX                        	0x00000001041a9e01 -[PixThread
computeMaxThread:] + 289 (DCMPix.m:1133)
5   com.apple.Foundation          	0x00007fff8cf5c612
__NSThread__main__ + 1345
6   libsystem_c.dylib             	0x00007fff9072e742 _pthread_start +
327
7   libsystem_c.dylib             	0x00007fff9071b181 thread_start + 13

Thread 18:: Compute Pixels thread
0   libsystem_kernel.dylib        	0x00007fff86c7f0fa __psynch_cvwait +
10
1   libsystem_c.dylib             	0x00007fff90732fc3
_pthread_cond_wait + 927
2   com.apple.Foundation          	0x00007fff8cf87933 -[NSCondition
waitUntilDate:] + 357
3   com.apple.Foundation          	0x00007fff8cf87789 -[NSConditionLock
lockWhenCondition:beforeDate:] + 235
4   OsiriX                        	0x00000001041a9e01 -[PixThread
computeMaxThread:] + 289 (DCMPix.m:1133)
5   com.apple.Foundation          	0x00007fff8cf5c612
__NSThread__main__ + 1345
6   libsystem_c.dylib             	0x00007fff9072e742 _pthread_start +
327
7   libsystem_c.dylib             	0x00007fff9071b181 thread_start + 13

Thread 19:: Compute Pixels thread
0   libsystem_kernel.dylib        	0x00007fff86c7f0fa __psynch_cvwait +
10
1   libsystem_c.dylib             	0x00007fff90732fc3
_pthread_cond_wait + 927
2   com.apple.Foundation          	0x00007fff8cf87933 -[NSCondition
waitUntilDate:] + 357
3   com.apple.Foundation          	0x00007fff8cf87789 -[NSConditionLock
lockWhenCondition:beforeDate:] + 235
4   OsiriX                        	0x00000001041a9e01 -[PixThread
computeMaxThread:] + 289 (DCMPix.m:1133)
5   com.apple.Foundation          	0x00007fff8cf5c612
__NSThread__main__ + 1345
6   libsystem_c.dylib             	0x00007fff9072e742 _pthread_start +
327
7   libsystem_c.dylib             	0x00007fff9071b181 thread_start + 13

Thread 20:: Compute Pixels thread
0   libsystem_kernel.dylib        	0x00007fff86c7f0fa __psynch_cvwait +
10
1   libsystem_c.dylib             	0x00007fff90732fc3
_pthread_cond_wait + 927
2   com.apple.Foundation          	0x00007fff8cf87933 -[NSCondition
waitUntilDate:] + 357
3   com.apple.Foundation          	0x00007fff8cf87789 -[NSConditionLock
lockWhenCondition:beforeDate:] + 235
4   OsiriX                        	0x00000001041a9e01 -[PixThread
computeMaxThread:] + 289 (DCMPix.m:1133)
5   com.apple.Foundation          	0x00007fff8cf5c612
__NSThread__main__ + 1345
6   libsystem_c.dylib             	0x00007fff9072e742 _pthread_start +
327
7   libsystem_c.dylib             	0x00007fff9071b181 thread_start + 13

Thread 21:: Compute Pixels thread
0   libsystem_kernel.dylib        	0x00007fff86c7f0fa __psynch_cvwait +
10
1   libsystem_c.dylib             	0x00007fff90732fc3
_pthread_cond_wait + 927
2   com.apple.Foundation          	0x00007fff8cf87933 -[NSCondition
waitUntilDate:] + 357
3   com.apple.Foundation          	0x00007fff8cf87789 -[NSConditionLock
lockWhenCondition:beforeDate:] + 235
4   OsiriX                        	0x00000001041a9e01 -[PixThread
computeMaxThread:] + 289 (DCMPix.m:1133)
5   com.apple.Foundation          	0x00007fff8cf5c612
__NSThread__main__ + 1345
6   libsystem_c.dylib             	0x00007fff9072e742 _pthread_start +
327
7   libsystem_c.dylib             	0x00007fff9071b181 thread_start + 13

Thread 22:: Compute Pixels thread
0   libsystem_kernel.dylib        	0x00007fff86c7f0fa __psynch_cvwait +
10
1   libsystem_c.dylib             	0x00007fff90732fc3
_pthread_cond_wait + 927
2   com.apple.Foundation          	0x00007fff8cf87933 -[NSCondition
waitUntilDate:] + 357
3   com.apple.Foundation          	0x00007fff8cf87789 -[NSConditionLock
lockWhenCondition:beforeDate:] + 235
4   OsiriX                        	0x00000001041a9e01 -[PixThread
computeMaxThread:] + 289 (DCMPix.m:1133)
5   com.apple.Foundation          	0x00007fff8cf5c612
__NSThread__main__ + 1345
6   libsystem_c.dylib             	0x00007fff9072e742 _pthread_start +
327
7   libsystem_c.dylib             	0x00007fff9071b181 thread_start + 13

Thread 23:
0   libsystem_kernel.dylib        	0x00007fff86c7f6d6
__workq_kernreturn + 10
1   libsystem_c.dylib             	0x00007fff90730eec
_pthread_workq_return + 25
2   libsystem_c.dylib             	0x00007fff90730cb3 _pthread_wqthread
+ 412
3   libsystem_c.dylib             	0x00007fff9071b171 start_wqthread +
13

Thread 24:
0   libsystem_kernel.dylib        	0x00007fff86c7f6d6
__workq_kernreturn + 10
1   libsystem_c.dylib             	0x00007fff90730eec
_pthread_workq_return + 25
2   libsystem_c.dylib             	0x00007fff90730cb3 _pthread_wqthread
+ 412
3   libsystem_c.dylib             	0x00007fff9071b171 start_wqthread +
13

Thread 25:: com.apple.appkit-heartbeat
0   libsystem_kernel.dylib        	0x00007fff86c7f386 __semwait_signal
+ 10
1   libsystem_c.dylib             	0x00007fff907b8800 nanosleep + 163
2   libsystem_c.dylib             	0x00007fff907b8717 usleep + 54
3   com.apple.AppKit              	0x00007fff874f4958 -[NSUIHeartBeat
_heartBeatThread:] + 543
4   com.apple.Foundation          	0x00007fff8cf5c612
__NSThread__main__ + 1345
5   libsystem_c.dylib             	0x00007fff9072e742 _pthread_start +
327
6   libsystem_c.dylib             	0x00007fff9071b181 thread_start + 13

Thread 26:
0   libsystem_kernel.dylib        	0x00007fff86c7f6d6
__workq_kernreturn + 10
1   libsystem_c.dylib             	0x00007fff90730eec
_pthread_workq_return + 25
2   libsystem_c.dylib             	0x00007fff90730cb3 _pthread_wqthread
+ 412
3   libsystem_c.dylib             	0x00007fff9071b171 start_wqthread +
13

Thread 27:
0   libsystem_kernel.dylib        	0x00007fff86c7f6d6
__workq_kernreturn + 10
1   libsystem_c.dylib             	0x00007fff90730eec
_pthread_workq_return + 25
2   libsystem_c.dylib             	0x00007fff90730cb3 _pthread_wqthread
+ 412
3   libsystem_c.dylib             	0x00007fff9071b171 start_wqthread +
13

Thread 28:
0   libsystem_kernel.dylib        	0x00007fff86c7f322 __select + 10
1   OsiriX                        	0x0000000104545715
DcmTransportConnection::fastSelectReadableAssociation(DcmTransportConnec
tion**, int, int) + 165 (dcmtrans.cc:151)
2   OsiriX                        	0x00000001045457d4
DcmTransportConnection::selectReadableAssociation(DcmTransportConnection
**, int, int) + 100 (dcmtrans.cc:174)
3   OsiriX                        	0x000000010453a3e6
ASC_selectReadableAssociation(T_ASC_Association**, int, int) + 166
(assoc.cc:1478)
4   OsiriX                        	0x000000010455dfe0
DIMSE_moveUser(T_ASC_Association*, unsigned char, T_DIMSE_C_MoveRQ*,
DcmDataset*, void (*)(void*, T_DIMSE_C_MoveRQ*, int,
T_DIMSE_C_MoveRSP*), void*, T_DIMSE_BlockingMode, int, T_ASC_Network*,
void (*)(void*, T_ASC_Network*, T_ASC_Association**), void*,
T_DIMSE_C_MoveRSP*, DcmDataset**, DcmDataset**, bool) + 944
(dimmove.mm:117)
5   OsiriX                        	0x0000000104259d8a -[DCMTKQueryNode
moveSCU:network:dataset:destination:] + 698 (ofcond.h:361)
6   OsiriX                        	0x0000000104259787 -[DCMTKQueryNode
cmove:network:dataset:destination:] + 279 (ofcond.h:361)
7   OsiriX                        	0x0000000104259655 -[DCMTKQueryNode
cmove:network:dataset:] + 37 (DCMTKQueryNode.mm:2516)
8   OsiriX                        	0x00000001042573a1 -[DCMTKQueryNode
setupNetworkWithSyntax:dataset:destination:] + 12369
(DCMTKQueryNode.mm:2166)
9   OsiriX                        	0x0000000104252804 -[DCMTKQueryNode
move:retrieveMode:] + 5796 (DCMTKQueryNode.mm:1239)
10  OsiriX                        	0x000000010403ca4a -[QueryController
performRetrieve:] + 4218 (QueryController.mm:3744)
11  com.apple.Foundation          	0x00007fff8cf5c612
__NSThread__main__ + 1345
12  libsystem_c.dylib             	0x00007fff9072e742 _pthread_start +
327
13  libsystem_c.dylib             	0x00007fff9071b181 thread_start + 13

Thread 29:
0   libsystem_kernel.dylib        	0x00007fff86c7f6d6
__workq_kernreturn + 10
1   libsystem_c.dylib             	0x00007fff90730eec
_pthread_workq_return + 25
2   libsystem_c.dylib             	0x00007fff90730cb3 _pthread_wqthread
+ 412
3   libsystem_c.dylib             	0x00007fff9071b171 start_wqthread +
13

Thread 30:
0   libsystem_kernel.dylib        	0x00007fff86c7f322 __select + 10
1   OsiriX                        	0x0000000104545715
DcmTransportConnection::fastSelectReadableAssociation(DcmTransportConnec
tion**, int, int) + 165 (dcmtrans.cc:151)
2   OsiriX                        	0x00000001045457d4
DcmTransportConnection::selectReadableAssociation(DcmTransportConnection
**, int, int) + 100 (dcmtrans.cc:174)
3   OsiriX                        	0x000000010453a3e6
ASC_selectReadableAssociation(T_ASC_Association**, int, int) + 166
(assoc.cc:1478)
4   OsiriX                        	0x000000010455dfe0
DIMSE_moveUser(T_ASC_Association*, unsigned char, T_DIMSE_C_MoveRQ*,
DcmDataset*, void (*)(void*, T_DIMSE_C_MoveRQ*, int,
T_DIMSE_C_MoveRSP*), void*, T_DIMSE_BlockingMode, int, T_ASC_Network*,
void (*)(void*, T_ASC_Network*, T_ASC_Association**), void*,
T_DIMSE_C_MoveRSP*, DcmDataset**, DcmDataset**, bool) + 944
(dimmove.mm:117)
5   OsiriX                        	0x0000000104259d8a -[DCMTKQueryNode
moveSCU:network:dataset:destination:] + 698 (ofcond.h:361)
6   OsiriX                        	0x0000000104259787 -[DCMTKQueryNode
cmove:network:dataset:destination:] + 279 (ofcond.h:361)
7   OsiriX                        	0x0000000104259655 -[DCMTKQueryNode
cmove:network:dataset:] + 37 (DCMTKQueryNode.mm:2516)
8   OsiriX                        	0x00000001042573a1 -[DCMTKQueryNode
setupNetworkWithSyntax:dataset:destination:] + 12369
(DCMTKQueryNode.mm:2166)
9   OsiriX                        	0x0000000104252804 -[DCMTKQueryNode
move:retrieveMode:] + 5796 (DCMTKQueryNode.mm:1239)
10  OsiriX                        	0x000000010403ca4a -[QueryController
performRetrieve:] + 4218 (QueryController.mm:3744)
11  com.apple.Foundation          	0x00007fff8cf5c612
__NSThread__main__ + 1345
12  libsystem_c.dylib             	0x00007fff9072e742 _pthread_start +
327
13  libsystem_c.dylib             	0x00007fff9071b181 thread_start + 13

Thread 31:
0   libsystem_kernel.dylib        	0x00007fff86c7f6d6
__workq_kernreturn + 10
1   libsystem_c.dylib             	0x00007fff90730eec
_pthread_workq_return + 25
2   libsystem_c.dylib             	0x00007fff90730cb3 _pthread_wqthread
+ 412
3   libsystem_c.dylib             	0x00007fff9071b171 start_wqthread +
13

Thread 32:: Dispatch queue: com.apple.root.default-priority
0   libsystem_kernel.dylib        	0x00007fff86c7f386 __semwait_signal
+ 10
1   libsystem_c.dylib             	0x00007fff907b8800 nanosleep + 163
2   com.apple.Foundation          	0x00007fff8cf5da94 +[NSThread
sleepForTimeInterval:] + 156
3   OsiriX                        	0x000000010472ea20
+[DicomDatabase(DCMTK) compressDicomFilesAtPaths:intoDirAtPath:] + 544
(DicomDatabase+DCMTK.mm:147)
4   OsiriX                        	0x0000000104399883 -[DicomDatabase
_processFilesAtPaths_processChunk:] + 163 (DicomDatabase.mm:1309)
5   com.apple.CoreFoundation      	0x00007fff8b2ed63c __invoking___ +
140
6   com.apple.CoreFoundation      	0x00007fff8b2ed4d7 -[NSInvocation
invoke] + 263
7   com.apple.Foundation          	0x00007fff8cf5dae0
-[NSInvocationOperation main] + 34
8   com.apple.Foundation          	0x00007fff8cf55986
-[__NSOperationInternal start] + 684
9   com.apple.Foundation          	0x00007fff8cf5d1a1 __block_global_6
+ 129
10  libdispatch.dylib             	0x00007fff8f8edf01
_dispatch_call_block_and_release + 15
11  libdispatch.dylib             	0x00007fff8f8ea0b6
_dispatch_client_callout + 8
12  libdispatch.dylib             	0x00007fff8f8eb1fa
_dispatch_worker_thread2 + 304
13  libsystem_c.dylib             	0x00007fff90730cab _pthread_wqthread
+ 404
14  libsystem_c.dylib             	0x00007fff9071b171 start_wqthread +
13

Thread 33:
0   libsystem_kernel.dylib        	0x00007fff86c7f6d6
__workq_kernreturn + 10
1   libsystem_c.dylib             	0x00007fff90730eec
_pthread_workq_return + 25
2   libsystem_c.dylib             	0x00007fff90730cb3 _pthread_wqthread
+ 412
3   libsystem_c.dylib             	0x00007fff9071b171 start_wqthread +
13

Thread 34:
0   libsystem_kernel.dylib        	0x00007fff86c7f6fe __write_nocancel
+ 10
1   libsystem_c.dylib             	0x00007fff9079b857 _swrite + 87
2   libsystem_c.dylib             	0x00007fff90799435 __sfvwrite + 541
3   libsystem_c.dylib             	0x00007fff90799861 fwrite + 114
4   OsiriX                        	0x00000001044fb158
DcmFileConsumer::write(void const*, unsigned int) + 72 (dcostrmf.cc:97)
5   OsiriX                        	0x00000001044fa7c3
DcmOutputStream::write(void const*, unsigned int) + 19 (dcostrma.cc:103)
6   OsiriX                        	0x00000001044e329e
DcmElement::write(DcmOutputStream&, E_TransferSyntax, E_EncodingType) +
606 (dcelem.cc:987)
7   OsiriX                        	0x0000000104517069
DcmOtherByteOtherWord::write(DcmOutputStream&, E_TransferSyntax,
E_EncodingType) + 297 (ofcond.h:361)
8   OsiriX                        	0x00000001045195a4
DcmPolymorphOBOW::write(DcmOutputStream&, E_TransferSyntax,
E_EncodingType) + 180 (ofcond.h:361)
9   OsiriX                        	0x0000000104500c7e
DcmPixelData::write(DcmOutputStream&, E_TransferSyntax, E_EncodingType)
+ 494 (dcpixel.cc:959)
10  OsiriX                        	0x00000001044b2845
DcmDataset::write(DcmOutputStream&, E_TransferSyntax, E_EncodingType,
E_GrpLenEncoding, E_PaddingEncoding, unsigned int, unsigned int,
unsigned int) + 725 (ofcond.h:361)
11  OsiriX                        	0x00000001044e6bd3
DcmFileFormat::write(DcmOutputStream&, E_TransferSyntax,
E_EncodingType, E_GrpLenEncoding, E_PaddingEncoding, unsigned int,
unsigned int, unsigned int) + 691 (ofcond.h:361)
12  OsiriX                        	0x00000001044e7293
DcmFileFormat::saveFile(char const*, E_TransferSyntax, E_EncodingType,
E_GrpLenEncoding, E_PaddingEncoding, unsigned int, unsigned int, bool)
+ 387 (ofcond.h:361)
13  OsiriX                        	0x000000010438bc62
DcmQueryRetrieveStoreContext::writeToFile(DcmFileFormat*, char const*,
T_DIMSE_C_StoreRSP*) + 114 (ofcond.h:405)
14  OsiriX                        	0x000000010438c069
DcmQueryRetrieveStoreContext::callbackHandler(T_DIMSE_StoreProgress*,
T_DIMSE_C_StoreRQ*, char*, char*, char*, DcmDataset**,
T_DIMSE_C_StoreRSP*, DcmDataset**) + 425 (dcmqrcbs.cc:276)
15  OsiriX                        	0x0000000104566e41
DIMSE_storeProvider(T_ASC_Association*, unsigned char,
T_DIMSE_C_StoreRQ*, char const*, int, DcmDataset**, void (*)(void*,
T_DIMSE_StoreProgress*, T_DIMSE_C_StoreRQ*, char*, char*, char*,
DcmDataset**, T_DIMSE_C_StoreRSP*, DcmDataset**), void*,
T_DIMSE_BlockingMode, int) + 2145 (dimstore.cc:522)
16  OsiriX                        	0x000000010426492f
DcmQueryRetrieveSCP::storeSCP(T_ASC_Association*, T_DIMSE_C_StoreRQ*,
unsigned char, DcmQueryRetrieveDatabaseHandle&, bool) + 1135
(ofcond.h:361)
17  OsiriX                        	0x0000000104263a6c
DcmQueryRetrieveSCP::dispatch(T_ASC_Association*, bool) + 1532
(ofcond.h:361)
18  OsiriX                        	0x0000000104262a04
DcmQueryRetrieveSCP::handleAssociation(T_ASC_Association*, bool) + 260
(ofcond.h:361)
19  OsiriX                        	0x00000001042625cc +[ContextCleaner
handleAssociation:] + 156 (dcmqrsrv.mm:243)
20  com.apple.Foundation          	0x00007fff8cf5c612
__NSThread__main__ + 1345
21  libsystem_c.dylib             	0x00007fff9072e742 _pthread_start +
327
22  libsystem_c.dylib             	0x00007fff9071b181 thread_start + 13

Thread 35:: Compressing 1 files...
0   libsystem_kernel.dylib        	0x00007fff86c7f386 __semwait_signal
+ 10
1   libsystem_c.dylib             	0x00007fff907b8800 nanosleep + 163
2   com.apple.Foundation          	0x00007fff8cf5da94 +[NSThread
sleepForTimeInterval:] + 156
3   OsiriX                        	0x0000000104399d0d -[DicomDatabase
processFilesAtPaths:intoDirAtPath:mode:] + 1149 (DicomDatabase.mm:1341)
4   OsiriX                        	0x0000000104399fb0 -[DicomDatabase
threadBridgeForProcessFilesAtPaths:] + 432 (DicomDatabase.mm:1381)
5   com.apple.Foundation          	0x00007fff8cf5c612
__NSThread__main__ + 1345
6   libsystem_c.dylib             	0x00007fff9072e742 _pthread_start +
327
7   libsystem_c.dylib             	0x00007fff9071b181 thread_start + 13

Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0xe00007ff81a4b882  rbx: 0x00007ff807655870  rcx:
0x00007ff80a575480  rdx: 0x00000000a1a1a1a1
  rdi: 0x00007ff81a4e9ce0  rsi: 0x00000001057593d0  rbp:
0x00007fff5bbf4150  rsp: 0x00007fff5bbf4118
   r8: 0x0000000000012068   r9: 0x00007fff5bbf4070  r10:
0x00007ff8134a31a0  r11: 0x00007fff758d2a48
  r12: 0x0000000000000000  r13: 0x0000000000000070  r14:
0x00007ff81d3e5590  r15: 0x0000000000000078
  rip: 0x00007fff881ba790  rfl: 0x0000000000010246  cr2:
0x00007ff81a622c08
WebPortal: when starting TLS : don't schedule, but immediately read/write
Avoid isEqualToHost
Avoid isEqualToHost
TryIMAGELevelDICOMRetrieveIfLocalImages
QueryRetrieve: smart retrieve
Dont display patient MD-98
IM-2; log to track bug
Misc
DB Sources: don't search for duplicate
A solution to the ThreadCell crash? I hope... No zombies anymore