bububa / MongoHub-Mac

MongoHub mac native version.
http://mongohub.todayclose.com
1.18k stars 315 forks source link

Crash upon attempt to connect #109

Closed theJC closed 1 year ago

theJC commented 10 years ago

I've tried the release version and beta versions and both are crashing when attempting to connect to our replica set.

This is from the latest beta 2.7b17:

2014-10-09 16:15:36.405 MongoHub[52263:1007] An uncaught exception was raised
2014-10-09 16:15:36.405 MongoHub[52263:1007] *** -[__NSArrayM insertObject:atIndex:]: object cannot be nil
2014-10-09 16:15:36.406 MongoHub[52263:1007] (
    0   CoreFoundation                      0x00007fff8c19725c __exceptionPreprocess + 172
    1   libobjc.A.dylib                     0x00007fff9546ae75 objc_exception_throw + 43
    2   CoreFoundation                      0x00007fff8c058487 -[__NSArrayM insertObject:atIndex:] + 951
    3   MongoObjCDriver                     0x00000001077205e8 -[MODSortedMutableDictionary setObject:forKey:] + 104
    4   MongoObjCDriver                     0x000000010770d9a2 +[MODClient(utils_internal) objectFromBsonIterator:] + 978
    5   MongoObjCDriver                     0x000000010770e66e +[MODClient(utils_internal) objectFromBson:] + 270
    6   MongoObjCDriver                     0x00000001076df1f3 __54-[MODClient serverStatusWithReadPreferences:callback:]_block_invoke + 499
    7   MongoObjCDriver                     0x00000001076de977 __51-[MODClient addQueryInQueue:owner:name:parameters:]_block_invoke + 71
    8   Foundation                          0x00007fff88da9745 -[NSBlockOperation main] + 75
    9   Foundation                          0x00007fff88d88f31 -[__NSOperationInternal _start:] + 631
    10  Foundation                          0x00007fff88d88bdb __NSOQSchedule_f + 64
    11  libdispatch.dylib                   0x00007fff8b77e28d _dispatch_client_callout + 8
    12  libdispatch.dylib                   0x00007fff8b780673 _dispatch_queue_drain + 451
    13  libdispatch.dylib                   0x00007fff8b7819c1 _dispatch_queue_invoke + 110
    14  libdispatch.dylib                   0x00007fff8b77ff87 _dispatch_root_queue_drain + 75
    15  libdispatch.dylib                   0x00007fff8b781177 _dispatch_worker_thread2 + 40
    16  libsystem_pthread.dylib             0x00007fff92970ef8 _pthread_wqthread + 314
    17  libsystem_pthread.dylib             0x00007fff92973fb9 start_wqthread + 13
)
2014-10-09 16:15:36.406 MongoHub[52263:1007] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[__NSArrayM insertObject:atIndex:]: object cannot be nil'
*** First throw call stack:
(
    0   CoreFoundation                      0x00007fff8c19725c __exceptionPreprocess + 172
    1   libobjc.A.dylib                     0x00007fff9546ae75 objc_exception_throw + 43
    2   CoreFoundation                      0x00007fff8c058487 -[__NSArrayM insertObject:atIndex:] + 951
    3   MongoObjCDriver                     0x00000001077205e8 -[MODSortedMutableDictionary setObject:forKey:] + 104
    4   MongoObjCDriver                     0x000000010770d9a2 +[MODClient(utils_internal) objectFromBsonIterator:] + 978
    5   MongoObjCDriver                     0x000000010770e66e +[MODClient(utils_internal) objectFromBson:] + 270
    6   MongoObjCDriver                     0x00000001076df1f3 __54-[MODClient serverStatusWithReadPreferences:callback:]_block_invoke + 499
    7   MongoObjCDriver                     0x00000001076de977 __51-[MODClient addQueryInQueue:owner:name:parameters:]_block_invoke + 71
    8   Foundation                          0x00007fff88da9745 -[NSBlockOperation main] + 75
    9   Foundation                          0x00007fff88d88f31 -[__NSOperationInternal _start:] + 631
    10  Foundation                          0x00007fff88d88bdb __NSOQSchedule_f + 64
    11  libdispatch.dylib                   0x00007fff8b77e28d _dispatch_client_callout + 8
    12  libdispatch.dylib                   0x00007fff8b780673 _dispatch_queue_drain + 451
    13  libdispatch.dylib                   0x00007fff8b7819c1 _dispatch_queue_invoke + 110
    14  libdispatch.dylib                   0x00007fff8b77ff87 _dispatch_root_queue_drain + 75
    15  libdispatch.dylib                   0x00007fff8b781177 _dispatch_worker_thread2 + 40
    16  libsystem_pthread.dylib             0x00007fff92970ef8 _pthread_wqthread + 314
    17  libsystem_pthread.dylib             0x00007fff92973fb9 start_wqthread + 13
)
libc++abi.dylib: terminating with uncaught exception of type NSException
Abort trap: 6
theJC commented 10 years ago

Yes and Yes.

On Thu, Oct 9, 2014 at 4:20 PM, Jérôme Lebel notifications@github.com wrote:

Can you reproduce all the time? Can I send you a specific build to try?

— Reply to this email directly or view it on GitHub https://github.com/bububa/MongoHub-Mac/issues/109#issuecomment-58579681.