-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
jewelrybox crashes upon launch #193
Comments
Would you try my suggestions from #192 and let me know if the issue persists. |
Not sure should I post it or not, it seems like I have the same issue. Process: JewelryBox [11995] Date/Time: 2013-07-27 22:41:58.262 +0800 Interval Since Last Report: 160553 sec Crashed Thread: 3 Dispatch queue: com.apple.root.default-priority Exception Type: EXC_CRASH (SIGABRT) Application Specific Information: Application Specific Backtrace 1: Thread 0:: Dispatch queue: com.apple.main-thread Thread 1: Thread 2:: Dispatch queue: com.apple.libdispatch-manager Thread 3 Crashed:: Dispatch queue: com.apple.root.default-priority Thread 4: Thread 5:: Dispatch queue: com.apple.root.high-priority Thread 6: Thread 7: Thread 8: Thread 3 crashed with X86 Thread State (64-bit): Binary Images: External Modification Summary: VM Region Summary: REGION TYPE VIRTUAL Model: MacBookPro8,1, BootROM MBP81.0047.B27, 2 processors, Intel Core i7, 2.7 GHz, 8 GB, SMC 1.68f98 zsh~ ⮀ cat ~/.rvm/user/disk_usage.txt Warning! PATH is not properly set up, '/Users/jason/.rvm/gems/ruby-2.0.0-p247/bin' is not at first place, And my .zshrc PATH setting is Thanks, Jason |
Here is another information: zsh> rvm reset At this time, I install ruby-2.0.0-p247 in jewelrybox. |
The issue here is that RVM says your path isn't suitable and that warning is getting written to the disk usage cache file JewelryBox creates and reads in. The parser isn't written to handle output that strays from the normal disk usage report format. I'm not sure what can be done in JewelryBox to prevent this in the future. Current policy is JewelryBox itself does not touch your profile files or change your PATH. You can open a terminal and try |
Looks like my issue is fixed after a combination of things. First, I updated my ~.zshrc to with 'export PATH=$PATH:/path/to/something' which was 'export PATH=/path/to/something' before. I then removed diskusage.txt file. I was still getting the same crash at this point. I then ran 'rvm get stable --auto-dotfile', which appended "PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting" to the end of my .zshrc. JewelryBox started working after that. Interestingly, '$HOME/.rvm/bin' was already part of "something" in the 'export PATH=$PATH:/path/to/something'...Looks like it is sensitive to the placement of it in the PATH variable? |
Oh, and thanks very much for the tips and quick response. Feel free to close my issue. I love JewelryBox btw, thanks! |
its strange!!! Process: JewelryBox [9818] Date/Time: 2013-08-05 16:22:46.792 +0530 Interval Since Last Report: 18070 sec Crashed Thread: 1 Dispatch queue: com.apple.root.default-priority Exception Type: EXC_CRASH (SIGABRT) Application Specific Information: Application Specific Backtrace 1: Thread 0:: Dispatch queue: com.apple.main-thread Thread 1 Crashed:: Dispatch queue: com.apple.root.default-priority Thread 2:: Dispatch queue: com.apple.libdispatch-manager Thread 3: Thread 4:: Dispatch queue: com.apple.root.high-priority Thread 5: Thread 6: Thread 7: Thread 8: Thread 9: Thread 10: Thread 11: Thread 12: Thread 1 crashed with X86 Thread State (64-bit): Binary Images: External Modification Summary: VM Region Summary: REGION TYPE VIRTUAL Model: MacBookPro8,2, BootROM MBP81.0047.B27, 4 processors, Intel Core i7, 2.4 GHz, 8 GB, SMC 1.69f4 |
@OscarBarrett Thanks, that worked for me. |
Looks like it is crashing while calculating the disk usage. Here is an excerpt from the crash report:
Process: JewelryBox [66063]
Path: /Applications/JewelryBox.app/Contents/MacOS/JewelryBox
Identifier: com.unfiniti.JewelryBox
Version: 1.5 (1.5)
Code Type: X86-64 (Native)
Parent Process: launchd [166]
User ID: 501
Date/Time: 2013-07-27 01:51:03.715 -0400
OS Version: Mac OS X 10.8.4 (12E55)
Report Version: 10
Interval Since Last Report: 1272 sec
Crashes Since Last Report: 5
Per-App Interval Since Last Report: 93 sec
Per-App Crashes Since Last Report: 5
Anonymous UUID: 9321A25A-D708-A064-C0D8-E922AB5B80A3
Crashed Thread: 2 Dispatch queue: com.apple.root.default-priority
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Application Specific Information:
* Terminating app due to uncaught exception 'NSRangeException', reason: '* -[__NSCFString substringFromIndex:]: Range or index out of bounds'
abort() called
terminate called throwing an exception
Application Specific Backtrace 1:
0 CoreFoundation 0x00007fff848e1b06 __exceptionPreprocess + 198
1 libobjc.A.dylib 0x00007fff8d3ff3f0 objc_exception_throw + 43
2 CoreFoundation 0x00007fff848e18dc +[NSException raise:format:] + 204
3 Foundation 0x00007fff8553b9a1 -[NSString substringFromIndex:] + 103
4 JewelryBox 0x000000010f6724ab __39-[Overview calculateAndDisplayRVMUsage]_block_invoke + 2519
5 libdispatch.dylib 0x00007fff8a60cf01 _dispatch_call_block_and_release + 15
6 libdispatch.dylib 0x00007fff8a6090b6 _dispatch_client_callout + 8
7 libdispatch.dylib 0x00007fff8a60a1fa _dispatch_worker_thread2 + 304
8 libsystem_c.dylib 0x00007fff8ab40d0b _pthread_wqthread + 404
9 libsystem_c.dylib 0x00007fff8ab2b1d1 start_wqthread + 13
Thread 0:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff8726c686 mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff8726bc42 mach_msg + 70
2 com.apple.CoreFoundation 0x00007fff8487e233 __CFRunLoopServiceMachPort + 195
3 com.apple.CoreFoundation 0x00007fff84883916 __CFRunLoopRun + 1078
4 com.apple.CoreFoundation 0x00007fff848830e2 CFRunLoopRunSpecific + 290
5 com.apple.HIToolbox 0x00007fff8f9e0eb4 RunCurrentEventLoopInMode + 209
6 com.apple.HIToolbox 0x00007fff8f9e0c52 ReceiveNextEventCommon + 356
7 com.apple.HIToolbox 0x00007fff8f9e0ae3 BlockUntilNextEventMatchingListInMode + 62
8 com.apple.AppKit 0x00007fff8872b533 _DPSNextEvent + 685
9 com.apple.AppKit 0x00007fff8872adf2 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 128
10 com.apple.AppKit 0x00007fff887221a3 -[NSApplication run] + 517
11 com.apple.AppKit 0x00007fff886c6bd6 NSApplicationMain + 869
12 com.unfiniti.JewelryBox 0x000000010f63a064 start + 52
Thread 1:: Dispatch queue: com.apple.libdispatch-manager
0 libsystem_kernel.dylib 0x00007fff8726ed16 kevent + 10
1 libdispatch.dylib 0x00007fff8a60bdea _dispatch_mgr_invoke + 883
2 libdispatch.dylib 0x00007fff8a60b9ee _dispatch_mgr_thread + 54
Thread 2 Crashed:: Dispatch queue: com.apple.root.default-priority
0 libsystem_kernel.dylib 0x00007fff8726e212 __pthread_kill + 10
1 libsystem_c.dylib 0x00007fff8ab3fb54 pthread_kill + 90
2 libsystem_c.dylib 0x00007fff8ab83dce abort + 143
3 libc++abi.dylib 0x00007fff83afe9eb abort_message + 257
4 libc++abi.dylib 0x00007fff83afc39a default_terminate() + 28
5 libobjc.A.dylib 0x00007fff8d3ff873 _objc_terminate() + 91
6 libc++.1.dylib 0x00007fff908638fe std::terminate() + 20
7 libobjc.A.dylib 0x00007fff8d3ff5de objc_terminate + 9
8 libdispatch.dylib 0x00007fff8a6090ca _dispatch_client_callout + 28
9 libdispatch.dylib 0x00007fff8a60a1fa _dispatch_worker_thread2 + 304
10 libsystem_c.dylib 0x00007fff8ab40d0b _pthread_wqthread + 404
11 libsystem_c.dylib 0x00007fff8ab2b1d1 start_wqthread + 13
Thread 3:
0 libsystem_kernel.dylib 0x00007fff8726e6d6 __workq_kernreturn + 10
1 libsystem_c.dylib 0x00007fff8ab40f4c _pthread_workq_return + 25
2 libsystem_c.dylib 0x00007fff8ab40d13 _pthread_wqthread + 412
3 libsystem_c.dylib 0x00007fff8ab2b1d1 start_wqthread + 13
Thread 2 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000000 rbx: 0x0000000000000006 rcx: 0x000000010f9a0cd8 rdx: 0x0000000000000000
rdi: 0x0000000000001c07 rsi: 0x0000000000000006 rbp: 0x000000010f9a0d00 rsp: 0x000000010f9a0cd8
r8: 0x00007fff74914278 r9: 0x000000000000000c r10: 0x0000000030000000 r11: 0x0000000000000206
r12: 0x000000010f9a0e60 r13: 0x00007fff748bfd48 r14: 0x000000010f9a1000 r15: 0x000000010f9a0d40
rip: 0x00007fff8726e212 rfl: 0x0000000000000206 cr2: 0x00007fff7490dff0
Logical CPU: 0
thanks.
Murat
The text was updated successfully, but these errors were encountered: