I don't know if it makes any sense to you...StarTools: Attempt to call locked method (reentrant code?)
OS X 64bit crash
OS X 64bit crash
StarTools 1.4 alpha suddenly crashed while I was moving the radius slider in the Deconv window. I did not get the usual "app has terminated" OS X dialogue, just this entry in the Console:
Re: OS X 64bit crash
Hmmm... Yes it does. That's an error message from the 'guts' of StarTools in the multi-platform framework. I haven't seen that one in many, many years!ecuador wrote:StarTools 1.4 alpha suddenly crashed while I was moving the radius slider in the Deconv window. I did not get the usual "app has terminated" OS X dialogue, just this entry in the Console:
I don't know if it makes any sense to you...StarTools: Attempt to call locked method (reentrant code?)

Ivo Jager
StarTools creator and astronomy enthusiast
StarTools creator and astronomy enthusiast
Re: OS X 64bit crash
Ehh... congrats to me then?admin wrote: Hmmm... Yes it does. That's an error message from the 'guts' of StarTools in the multi-platform framework. I haven't seen that one in many, many years!

Not sure why there is no crash log/stack trace though...
Re: OS X 64bit crash
ecuador wrote:Ehh... congrats to me then?admin wrote: Hmmm... Yes it does. That's an error message from the 'guts' of StarTools in the multi-platform framework. I haven't seen that one in many, many years!![]()
Not sure why there is no crash log/stack trace though...

It's better than a log/stack trace - it's the framework telling me exactly what the problem is in this instance (reentrant code). A semaphore is not working properly...
Ivo Jager
StarTools creator and astronomy enthusiast
StarTools creator and astronomy enthusiast
Re: OS X 64bit crash
Do you want one more "Open File" crash? I don't think I have sent you one from beta 1.4.302
I have to delete the trk files, otherwise I always get this on hitting "Open". This is on Yosemite (yes, it is a horrible OS X version, but the only way to run the latest Xcode).

Code: Select all
Process: StarTools [1187]
Path: /Users/USER/Downloads/*/StarTools.app/Contents/MacOS/StarTools
Identifier: com.SiliconFields.StarTools
Version: 1.3
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: StarTools [1187]
User ID: 501
Date/Time: 2015-07-10 22:04:41.144 +0300
OS Version: Mac OS X 10.10.3 (14D136)
Report Version: 11
Time Awake Since Boot: 41000 seconds
Crashed Thread: 5
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000600000400000
VM Regions Near 0x600000400000:
MALLOC_NANO 0000600000200000-0000600000400000 [ 2048K] rw-/rwx SM=PRV
-->
MALLOC_NANO 0000608000000000-0000608000400000 [ 4096K] rw-/rwx SM=COW
Thread 0:: Dispatch queue: com.apple.main-thread
0 libsystem_platform.dylib 0x00007fff85433fd3 OSSpinLockLock + 11
1 com.apple.Foundation 0x00007fff8f57121f +[NSNotificationCenter defaultCenter] + 100
2 com.apple.AppKit 0x00007fff8d15bc8b -[NSTextFieldCell dealloc] + 86
3 com.apple.AppKit 0x00007fff8d2fc876 -[NSImageTextFieldCell dealloc] + 67
4 com.apple.FinderKit 0x00007fff86f6359b -[FI_TSidebarItemCell dealloc] + 67
5 libobjc.A.dylib 0x00007fff8525789c objc_object::sidetable_release(bool) + 236
6 com.apple.CoreFoundation 0x00007fff81f79db0 CFRelease + 304
7 com.apple.CoreFoundation 0x00007fff81fd2642 -[__NSArrayM removeObjectAtIndex:] + 290
8 com.apple.FinderKit 0x00007fff86f5e045 -[FI_TSidebarViewController(Model) reloadOneZone:zoneKind:] + 146
9 com.apple.FinderKit 0x00007fff86f5e250 -[FI_TSidebarViewController(Model) reloadZone:] + 149
10 com.apple.FinderKit 0x00007fff86f5ea32 -[FI_TSidebarViewController(Model) loadContentsReadZoneOrderFromPrefs:] + 1334
11 com.apple.FinderKit 0x00007fff86f5ec90 -[FI_TSidebarViewController(Model) repopulateReadZoneOrderFromPrefs:] + 142
12 com.apple.FinderKit 0x00007fff86f626d3 -[FI_TSidebarViewController(Notifications) handleItemsAddedRemovedReordered:] + 118
13 com.apple.CoreFoundation 0x00007fff8208145c __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 12
14 com.apple.CoreFoundation 0x00007fff81f71634 _CFXNotificationPost + 3140
15 com.apple.Foundation 0x00007fff8f5719d1 -[NSNotificationCenter postNotificationName:object:userInfo:] + 66
16 com.apple.FinderKit 0x00007fff86f66ccf TSidebarController::UpdateSidebarLists(bool) + 885
17 com.apple.FinderKit 0x00007fff86f67349 TSidebarController::RefreshTagsIfNeeded(TFENode const&, TSidebarController::TUpdateCloud) + 207
18 com.apple.FinderKit 0x00007fff86f6b755 TSidebarController::NodeOpenSyncCompleted(TFENode const&) + 119
19 com.apple.FinderKit 0x00007fff86e1ba27 TNodeObserver::DispatchSingleNodeEventDetails(TNodeEvent const&) + 353
20 com.apple.FinderKit 0x00007fff86e1a655 TNodeEventHandler::HandleNodeEvents(OpaqueEventQueue*, bool) + 155
21 com.apple.FinderKit 0x00007fff86e1b0a0 TMainEventHandler::NodeTickleProc(OpaqueEventQueue*) + 110
22 com.apple.desktopservices 0x00007fff8c4edefd ___ZN21TClientChangeNotifier6WakeUpEv_block_invoke + 49
23 com.apple.CoreFoundation 0x00007fff81fe18ec __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 12
24 com.apple.CoreFoundation 0x00007fff81fd39f5 __CFRunLoopDoBlocks + 341
25 com.apple.CoreFoundation 0x00007fff81fd31d4 __CFRunLoopRun + 948
26 com.apple.CoreFoundation 0x00007fff81fd2bd8 CFRunLoopRunSpecific + 296
27 com.apple.HIToolbox 0x00007fff83a1c56f RunCurrentEventLoopInMode + 235
28 com.apple.HIToolbox 0x00007fff83a1c2ea ReceiveNextEventCommon + 431
29 com.apple.HIToolbox 0x00007fff83a1c12b _BlockUntilNextEventMatchingListInModeWithFilter + 71
30 com.apple.AppKit 0x00007fff8cfd99bb _DPSNextEvent + 978
31 com.apple.AppKit 0x00007fff8cfd8f68 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 346
32 com.apple.AppKit 0x00007fff8cfcebf3 -[NSApplication run] + 594
33 com.apple.AppKit 0x00007fff8cf4b354 NSApplicationMain + 1832
34 com.SiliconFields.StarTools 0x00000001000f99c2 main + 212
35 com.SiliconFields.StarTools 0x0000000100001534 start + 52
Thread 1:: Dispatch queue: com.apple.libdispatch-manager
0 libsystem_kernel.dylib 0x00007fff839c4232 kevent64 + 10
1 libdispatch.dylib 0x00007fff81e5fa6a _dispatch_mgr_thread + 52
Thread 2:
0 libsystem_kernel.dylib 0x00007fff839c394a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff8fd6540d start_wqthread + 13
Thread 3:
0 libsystem_kernel.dylib 0x00007fff839c394a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff8fd6540d start_wqthread + 13
Thread 4:
0 libsystem_kernel.dylib 0x00007fff839c394a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff8fd6540d start_wqthread + 13
Thread 5 Crashed:
0 com.apple.FinderKit 0x00007fff86f5ea24 -[FI_TSidebarViewController(Model) loadContentsReadZoneOrderFromPrefs:] + 1320
1 com.apple.FinderKit 0x00007fff86f5ec90 -[FI_TSidebarViewController(Model) repopulateReadZoneOrderFromPrefs:] + 142
2 com.apple.FinderKit 0x00007fff86f5a94a -[FI_TSidebarViewController init:frame:] + 1528
3 com.apple.FinderKit 0x00007fff86f59335 -[FI_TSidebarSplitterController addSidebarIfNecessary] + 178
4 com.apple.FinderKit 0x00007fff86f58bd3 -[FI_TSidebarSplitterController configureSidebar:setSplitterPosition:] + 79
5 com.apple.FinderKit 0x00007fff86fcbaa3 -[FI_TBrowserContainerController configurePersistentViewsWithState:] + 338
6 com.apple.FinderKit 0x00007fff86fc6b75 -[FI_TBrowserContainerController configureContainerWithState:] + 41
7 com.apple.FinderKit 0x00007fff86fc623b -[FI_TBrowserContainerController initWithWindowState:targetPath:containerDelegate:] + 459
8 com.apple.FinderKit 0x00007fff86f50ef0 -[FIFinderViewGutsController _internalSetTargetPath:withViewStyle:] + 912
9 com.apple.FinderKit 0x00007fff86f4cc4b -[FIFinderViewGutsController forceContainerToExist] + 146
10 com.apple.FinderKit 0x00007fff86f4d6b1 -[FIFinderViewGutsController prepareToShow] + 146
11 com.apple.FinderKit 0x00007fff86f5662e -[FIFinderView viewWillMoveToWindow:] + 320
12 com.apple.AppKit 0x00007fff8cf7b0de -[NSView _setWindow:] + 257
13 com.apple.CoreFoundation 0x00007fff81fe4705 __53-[__NSArrayM enumerateObjectsWithOptions:usingBlock:]_block_invoke + 133
14 com.apple.CoreFoundation 0x00007fff81fe3e09 -[__NSArrayM enumerateObjectsWithOptions:usingBlock:] + 313
15 com.apple.AppKit 0x00007fff8d6ff474 __21-[NSView _setWindow:]_block_invoke735 + 169
16 com.apple.AppKit 0x00007fff8cf7bc54 -[NSView _setWindow:] + 3191
17 com.apple.AppKit 0x00007fff8cf86e93 -[NSView addSubview:] + 463
18 com.apple.AppKit 0x00007fff8d31dc4a -[NSBox setContentView:] + 81
19 com.apple.AppKit 0x00007fff8d5f1bdb -[NSSavePanel(NSSavePanelLayout) _layoutViewsVerticallyAndResizeWindowToLastExpandedSize:accessoryViewHeight:parentWindow:] + 5292
20 com.apple.AppKit 0x00007fff8d5e7479 -[NSSavePanel beginWithCompletionHandler:] + 293
21 com.SiliconFields.StarTools 0x00000001000f8191 -[ApplicationView fileOpen] + 181
22 com.SiliconFields.StarTools 0x00000001000f7717 HOST_Driver_Implementation_FileDialog_FileOpen_Platform + 67
23 com.SiliconFields.StarTools 0x00000001000f77c7 HOST_Driver_Implementation_FileDialog_FileOpen + 29
24 com.SiliconFields.StarTools 0x00000001000f6001 HOST_Driver_Method_Invoke + 100
25 com.SiliconFields.StarTools 0x00000001000f61cd HOST_Driver_Do + 431
26 com.SiliconFields.StarTools 0x00000001000853e5 Application_StarTools_FileDialogAction_DoNativeFileOpenDialog + 36
27 com.SiliconFields.StarTools 0x00000001000855b1 Application_StarTools_FileDialogAction_DoState + 391
28 com.SiliconFields.StarTools 0x00000001000861e7 Application_StarTools_ImageOpenMainForm + 133
29 com.SiliconFields.StarTools 0x00000001000801e4 Application_StarTools_ButtonHandler + 84
30 com.SiliconFields.StarTools 0x000000010005d959 SQUID_Button_HandleEvent + 2025
31 com.SiliconFields.StarTools 0x000000010004dabb SQUID_Event_Handle + 154
32 com.SiliconFields.StarTools 0x000000010004dea1 SQUID_Event_HandleQueue + 152
33 com.SiliconFields.StarTools 0x0000000100044380 Application_EventHandler + 894
34 com.SiliconFields.StarTools 0x00000001000f7fb5 HOST_Kernel_EventLoop + 332
35 libsystem_pthread.dylib 0x00007fff8fd67268 _pthread_body + 131
36 libsystem_pthread.dylib 0x00007fff8fd671e5 _pthread_start + 176
37 libsystem_pthread.dylib 0x00007fff8fd6541d thread_start + 13
Thread 6:
0 libsystem_kernel.dylib 0x00007fff839c394a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff8fd6540d start_wqthread + 13
Thread 7:
0 libsystem_kernel.dylib 0x00007fff839c394a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff8fd6540d start_wqthread + 13
Thread 8:
0 libsystem_kernel.dylib 0x00007fff839be4de mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff839bd64f mach_msg + 55
2 com.apple.CoreFoundation 0x00007fff81fd3eb4 __CFRunLoopServiceMachPort + 212
3 com.apple.CoreFoundation 0x00007fff81fd337b __CFRunLoopRun + 1371
4 com.apple.CoreFoundation 0x00007fff81fd2bd8 CFRunLoopRunSpecific + 296
5 com.apple.AppKit 0x00007fff8d0a166b _NSEventThread + 137
6 libsystem_pthread.dylib 0x00007fff8fd67268 _pthread_body + 131
7 libsystem_pthread.dylib 0x00007fff8fd671e5 _pthread_start + 176
8 libsystem_pthread.dylib 0x00007fff8fd6541d thread_start + 13
Thread 9:: Dispatch queue: TNodeEngine 0x100315e90
0 libsystem_kernel.dylib 0x00007fff839c3136 __psynch_cvwait + 10
1 com.apple.FinderKit 0x00007fff86e7cba3 TConditionVariable::WaitWithTimeout(TMutex&, unsigned long long, bool&) + 69
2 com.apple.FinderKit 0x00007fff86dfe6a5 TOpenSyncCompletedObserver::WaitForOpenSyncCompleted(bool volatile&) + 85
3 com.apple.FinderKit 0x00007fff86dfdaf2 TFENodeIterator::Init(TFENode const&, TNodeObserver const*, IterateOver, bool volatile*) + 472
4 com.apple.FinderKit 0x00007fff86fc0348 TNodeInsertionHandler::FirstStep() + 182
5 com.apple.FinderKit 0x00007fff86fbc35a TNodeEngineNotificationHandler::FirstStepOnSecondaryThread() + 24
6 com.apple.FinderKit 0x00007fff86e6397c ___ZN22IAsynchronousOperation19PerformAsyncOnQueueEP16dispatch_queue_sy_block_invoke + 31
7 libdispatch.dylib 0x00007fff81e61323 _dispatch_call_block_and_release + 12
8 libdispatch.dylib 0x00007fff81e5cc13 _dispatch_client_callout + 8
9 libdispatch.dylib 0x00007fff81e60365 _dispatch_queue_drain + 1100
10 libdispatch.dylib 0x00007fff81e61ecc _dispatch_queue_invoke + 202
11 libdispatch.dylib 0x00007fff81e5f6b7 _dispatch_root_queue_drain + 463
12 libdispatch.dylib 0x00007fff81e6dfe4 _dispatch_worker_thread3 + 91
13 libsystem_pthread.dylib 0x00007fff8fd67637 _pthread_wqthread + 729
14 libsystem_pthread.dylib 0x00007fff8fd6540d start_wqthread + 13
Thread 10:
0 libsystem_kernel.dylib 0x00007fff839c394a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff8fd6540d start_wqthread + 13
Thread 5 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000000 rbx: 0x0000600000400000 rcx: 0x0000000000000000 rdx: 0x00000000ffffffff
rdi: 0x00000001003156a0 rsi: 0x00007fff8707de81 rbp: 0x000000010ad0b9d0 rsp: 0x000000010ad0b850
r8: 0x000000000000007f r9: 0x0000610000115690 r10: 0x000000010083ec10 r11: 0x00007fff710e7158
r12: 0x00000001003156a0 r13: 0x00007fff716f3070 r14: 0x00007fff8707de81 r15: 0x0000600000001a84
rip: 0x00007fff86f5ea24 rfl: 0x0000000000010287 cr2: 0x0000600000400000
Logical CPU: 4
Error Code: 0x00000004
Trap Number: 14
External Modification Summary:
Calls made by other processes targeting this process:
task_for_pid: 2
thread_create: 0
thread_set_state: 0
Calls made by this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by all processes on this machine:
task_for_pid: 1720609
thread_create: 0
thread_set_state: 0
VM Region Summary:
ReadOnly portion of Libraries: Total=230.1M resident=163.4M(71%) swapped_out_or_unallocated=66.7M(29%)
Writable regions: Total=160.1M written=25.8M(16%) resident=46.5M(29%) swapped_out=0K(0%) unallocated=113.6M(71%)
REGION TYPE VIRTUAL
=========== =======
Activity Tracing 2048K
CG backing stores 4684K
CG image 12K
CG shared images 240K
CoreImage 8K
CoreUI image data 32K
Kernel Alloc Once 8K
MALLOC 122.7M
MALLOC (admin) 32K
Memory Tag 242 12K
Memory Tag 251 28K
OpenCL 16K
STACK GUARD 56.0M
Stack 12.6M
VM_ALLOCATE 17.2M
__DATA 23.2M
__IMAGE 528K
__LINKEDIT 71.4M
__TEXT 158.7M
__UNICODE 552K
mapped file 64.0M
shared memory 4K
=========== =======
TOTAL 533.9M
Model: Macmini6,2, BootROM MM61.0106.B03, 4 processors, Intel Core i7, 2.3 GHz, 8 GB, SMC 2.8f1
Graphics: Intel HD Graphics 4000, Intel HD Graphics 4000, Built-In
Memory Module: BANK 0/DIMM0, 4 GB, DDR3, 1600 MHz, 0x02FE, 0x45424A3431554638424455302D474E2D4620
Memory Module: BANK 1/DIMM0, 4 GB, DDR3, 1600 MHz, 0x02FE, 0x45424A3431554638424455302D474E2D4620
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x10E), Broadcom BCM43xx 1.0 (7.15.166.24.3)
Bluetooth: Version 4.3.4f4 15601, 3 services, 27 devices, 1 incoming serial ports
Network Service: Wi-Fi, AirPort, en1
Serial ATA Device: APPLE SSD SM256E, 251 GB
USB Device: Hub
USB Device: Hub
USB Device: Hub
USB Device: BRCM20702 Hub
USB Device: Bluetooth USB Host Controller
USB Device: IR Receiver
USB Device: Hub
USB Device: Microsoft 3-Button Mouse with IntelliEye(TM)
USB Device: Generic USB K/B
Thunderbolt Bus: Mac mini, Apple Inc., 23.4
Re: OS X 64bit crash
Also, this is very common in Yosemite, at least for me:
- Attachments
-
- Screen Shot 2015-07-10 at 10.12.23 PM.png (279.25 KiB) Viewed 10190 times
Re: OS X 64bit crash
Could you give the latest alpha version (1.4.303 alpha) a try and see if there are any improvements? (there should be!
)
Thanks!

Thanks!
Ivo Jager
StarTools creator and astronomy enthusiast
StarTools creator and astronomy enthusiast