I've been using MongoHub to view collections in Master nodes. Now, as an added precaution, I'd like to connect to a secondary node instead. It has no problem connecting to the node and showing the server stats but as soon as I click on the DB to see collections it crashes.
Is this because in order to list collections in a secondary you first need to issue "rs.slaveOk()" commend to the secondary instance?
Date/Time: 2012-12-18 17:18:45.665 -0800
OS Version: Mac OS X 10.6.8 (10K549)
Report Version: 6
Interval Since Last Report: 4352200 sec
Crashes Since Last Report: 41
Per-App Interval Since Last Report: 2286075 sec
Per-App Crashes Since Last Report: 12
Anonymous UUID: 72817E26-F3A5-4FCC-BED2-EF30AB81E9AB
I've been using MongoHub to view collections in Master nodes. Now, as an added precaution, I'd like to connect to a secondary node instead. It has no problem connecting to the node and showing the server stats but as soon as I click on the DB to see collections it crashes.
Is this because in order to list collections in a secondary you first need to issue "rs.slaveOk()" commend to the secondary instance?
I am using MongoHub version 2.3.2[73]
Thanks.
P.S. The crash report is here:
Process: MongoHub [31401] Path: /Applications/MongoHub.app/Contents/MacOS/MongoHub Identifier: com.thepeppersstudio.MongoHub Version: 2.3.2 (73) Code Type: X86-64 (Native) Parent Process: launchd [170]
Date/Time: 2012-12-18 17:18:45.665 -0800 OS Version: Mac OS X 10.6.8 (10K549) Report Version: 6
Interval Since Last Report: 4352200 sec Crashes Since Last Report: 41 Per-App Interval Since Last Report: 2286075 sec Per-App Crashes Since Last Report: 12 Anonymous UUID: 72817E26-F3A5-4FCC-BED2-EF30AB81E9AB
Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Crashed Thread: 5
Application Specific Information: abort() called * Terminating app due to uncaught exception 'NSRangeException', reason: '* -[NSCFString substringWithRange:]: Range or index out of bounds' * Call stack at first throw: ( 0 CoreFoundation 0x00007fff8543f784 exceptionPreprocess + 180 1 libobjc.A.dylib 0x00007fff86508f03 objc_exception_throw + 45 2 CoreFoundation 0x00007fff8543f5a7 +[NSException raise:format:arguments:] + 103 3 CoreFoundation 0x00007fff8543f534 +[NSException raise:format:] + 148 4 Foundation 0x00007fff82e361b8 -[NSCFString substringWithRange:] + 231 5 MongoHub 0x00000001000281b7 -[MongoDB listCollections:user:password:] + 705 6 MongoHub 0x00000001000208ba -[ConnectionWindowController useDB:] + 495 7 Foundation 0x00007fff82e35114 NSThreadmain** + 1429 8 libSystem.B.dylib 0x00007fff81ae3fd6 _pthread_start + 331 9 libSystem.B.dylib 0x00007fff81ae3e89 thread_start + 13 )
Thread 0: Dispatch queue: com.apple.main-thread 0 libSystem.B.dylib 0x00007fff81aaad7a mach_msg_trap + 10 1 libSystem.B.dylib 0x00007fff81aab3ed mach_msg + 59 2 com.apple.CoreFoundation 0x00007fff853da902 __CFRunLoopRun + 1698 3 com.apple.CoreFoundation 0x00007fff853d9d8f CFRunLoopRunSpecific + 575 4 com.apple.HIToolbox 0x00007fff85ec77ee RunCurrentEventLoopInMode + 333 5 com.apple.HIToolbox 0x00007fff85ec75f3 ReceiveNextEventCommon + 310 6 com.apple.HIToolbox 0x00007fff85ec74ac BlockUntilNextEventMatchingListInMode + 59 7 com.apple.AppKit 0x00007fff89527eb2 _DPSNextEvent + 708 8 com.apple.AppKit 0x00007fff89527801 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 155 9 com.apple.AppKit 0x00007fff894ed68f -[NSApplication run] + 395 10 com.apple.AppKit 0x00007fff894e63b0 NSApplicationMain + 364 11 com.thepeppersstudio.MongoHub 0x000000010001a0d8 start + 52
Thread 1: Dispatch queue: com.apple.libdispatch-manager 0 libSystem.B.dylib 0x00007fff81ac3c0a kevent + 10 1 libSystem.B.dylib 0x00007fff81ac5add _dispatch_mgr_invoke + 154 2 libSystem.B.dylib 0x00007fff81ac57b4 _dispatch_queue_invoke + 185 3 libSystem.B.dylib 0x00007fff81ac52de _dispatch_worker_thread2 + 252 4 libSystem.B.dylib 0x00007fff81ac4c08 _pthread_wqthread + 353 5 libSystem.B.dylib 0x00007fff81ac4aa5 start_wqthread + 13
Thread 2: 0 libSystem.B.dylib 0x00007fff81ac4a2a __workq_kernreturn + 10 1 libSystem.B.dylib 0x00007fff81ac4e3c _pthread_wqthread + 917 2 libSystem.B.dylib 0x00007fff81ac4aa5 start_wqthread + 13
Thread 3: 0 libSystem.B.dylib 0x00007fff81ac4a2a __workq_kernreturn + 10 1 libSystem.B.dylib 0x00007fff81ac4e3c _pthread_wqthread + 917 2 libSystem.B.dylib 0x00007fff81ac4aa5 start_wqthread + 13
Thread 4: 0 libSystem.B.dylib 0x00007fff81ac4a2a __workq_kernreturn + 10 1 libSystem.B.dylib 0x00007fff81ac4e3c _pthread_wqthread + 917 2 libSystem.B.dylib 0x00007fff81ac4aa5 start_wqthread + 13
Thread 5 Crashed: 0 libSystem.B.dylib 0x00007fff81b1d9ce *semwait_signal_nocancel + 10 1 libSystem.B.dylib 0x00007fff81b1d8d0 nanosleep$NOCANCEL + 129 2 libSystem.B.dylib 0x00007fff81b7a3ce usleep$NOCANCEL + 57 3 libSystem.B.dylib 0x00007fff81b99a00 abort + 93 4 libstdc++.6.dylib 0x00007fff859655d2 tcf_0 + 0 5 libobjc.A.dylib 0x00007fff8650cb39 _objcterminate + 100 6 libstdc++.6.dylib 0x00007fff85963ae1 cxxabiv1::terminate(void ()()) + 11 7 libstdc++.6.dylib 0x00007fff85963b16 cxxabiv1::_unexpected(void ()()) + 0 8 libstdc++.6.dylib 0x00007fff85963bfc __gxx_exception_cleanup(_Unwind_Reason_Code, _Unwind_Exception) + 0 9 libobjc.A.dylib 0x00007fff86508fa2 object_getIvar + 0 10 com.apple.CoreFoundation 0x00007fff8543f5a7 +[NSException raise:format:arguments:] + 103 11 com.apple.CoreFoundation 0x00007fff8543f534 +[NSException raise:format:] + 148 12 com.apple.Foundation 0x00007fff82e361b8 -[NSCFString substringWithRange:] + 231 13 com.thepeppersstudio.MongoHub 0x00000001000281b7 -[MongoDB listCollections:user:password:] + 705 14 com.thepeppersstudio.MongoHub 0x00000001000208ba -[ConnectionWindowController useDB:] + 495 15 com.apple.Foundation 0x00007fff82e35114 NSThreadmain** + 1429 16 libSystem.B.dylib 0x00007fff81ae3fd6 _pthread_start + 331 17 libSystem.B.dylib 0x00007fff81ae3e89 thread_start + 13
Thread 5 crashed with X86 Thread State (64-bit): rax: 0x000000000000003c rbx: 0x0000000116a03810 rcx: 0x0000000116a037c8 rdx: 0x0000000000000001 rdi: 0x0000000000000107 rsi: 0x0000000000000000 rbp: 0x0000000116a03800 rsp: 0x0000000116a037c8 r8: 0x0000000000000000 r9: 0x0000000000989680 r10: 0x0000000000000001 r11: 0x0000000000000246 r12: 0x0000000000000000 r13: 0x0000000000000000 r14: 0x0000000000000006 r15: 0x00007fff707f4490 rip: 0x00007fff81b1d9ce rfl: 0x0000000000000247 cr2: 0x000000010002803a