TablePlus / DBngin

DB Engine
https://dbngin.com
1.06k stars 19 forks source link

App keeps on crashing #51

Closed VictorAlagwu closed 4 years ago

VictorAlagwu commented 4 years ago

Please fill out the detail below, it helps me investigate the bug:

  1. Driver (Ex: PostgreSQL 10.0): PostgreSQL 12.4

  2. DBngin build number: Build 32

  3. macOS version: Mojave 10.14.6 (18G103)

  4. The steps to reproduce this issue: Start the app, but it shows the splash screen for like 10 seconds, and then crash

Apple Log

Process:               DBngin [2510]
Path:                  /Applications/DBngin.app/Contents/MacOS/DBngin
Identifier:            DBngin
Version:               3.1 (32)
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           DBngin [2510]
User ID:               502

Date/Time:             2020-09-09 21:09:55.871 +0100
OS Version:            Mac OS X 10.14.6 (18G103)
Report Version:        12
Anonymous UUID:        BF4793C4-EBB7-C30B-2FA2-8841373BA74B

Sleep/Wake UUID:       ECCF8CB2-AB05-405E-BE07-146476A839EB

Time Awake Since Boot: 3500 seconds
Time Since Wake:       3600 seconds

System Integrity Protection: enabled

Crashed Thread:        42  Dispatch queue: com.apple.root.background-qos

Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Application Specific Information:
abort() called

Thread 0:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib          0x00007fff766d627e semaphore_timedwait_trap + 10
1   libdispatch.dylib               0x00007fff76554c99 _dispatch_sema4_timedwait + 76
2   libdispatch.dylib               0x00007fff76555377 _dispatch_semaphore_wait_slow + 58
3   com.apple.AppKit                0x00007fff484adfdc getServiceEntries.llvm.16338828159147225987 + 646
4   com.apple.AppKit                0x00007fff47ee4cfc -[_NSServicesMenuUpdater insertServicesIntoMenu:withKeyEvent:isForDisplay:] + 103
5   com.apple.AppKit                0x00007fff47ee4c56 -[_NSServicesMenuUpdater updateMenu:withEvent:withFlags:] + 85
6   com.apple.AppKit                0x00007fff47eb8bac -[_NSServicesPrincipalMenuUpdater updateMenu:withEvent:withFlags:] + 113
7   com.apple.AppKit                0x00007fff47d9d4a5 -[NSMenu _populateWithEventRef:] + 81
8   com.apple.AppKit                0x00007fff47eb716e -[NSCarbonMenuImpl _carbonPopulateEvent:handlerCallRef:] + 466
9   com.apple.AppKit                0x00007fff47eb6ee2 NSSLMMenuEventHandler + 1193
10  com.apple.HIToolbox             0x00007fff4980022e DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) + 1422
11  com.apple.HIToolbox             0x00007fff497ff5df SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, HandlerCallRec*) + 371
12  com.apple.HIToolbox             0x00007fff497ff465 SendEventToEventTargetWithOptions + 45
13  com.apple.HIToolbox             0x00007fff49858fef SendMenuPopulate(MenuData*, OpaqueEventTargetRef*, unsigned int, double, unsigned int, OpaqueEventRef*, unsigned char, unsigned char*) + 318
14  com.apple.HIToolbox             0x00007fff49858d89 PopulateMenu(MenuData*, OpaqueEventTargetRef*, CheckMenuData*, unsigned int, double) + 100
15  com.apple.HIToolbox             0x00007fff49858529 Check1MenuForKeyEvent(MenuData*, CheckMenuData*) + 245
16  com.apple.HIToolbox             0x00007fff49858c61 Check1MenuForKeyEvent(MenuData*, CheckMenuData*) + 2093
17  com.apple.HIToolbox             0x00007fff49857a3f CheckMenusForKeyEvent(MenuData*, CheckMenuData*) + 705
18  com.apple.HIToolbox             0x00007fff4985770d _IsMenuKeyEvent(MenuData*, OpaqueEventRef*, unsigned int, MenuData**, unsigned short*) + 455
19  com.apple.HIToolbox             0x00007fff498574ff IsMenuKeyEvent + 111
20  com.apple.AppKit                0x00007fff480c4c45 +[NSCarbonMenuImpl _menuItemWithKeyEquivalentMatchingEventRef:inMenu:includingDisabledItems:] + 213
21  com.apple.AppKit                0x00007fff484b7194 _NSHasMatchingMenuItem + 104
22  com.apple.AppKit                0x00007fff48043dd4 _NSShowAllTabsShortcut + 269
23  com.apple.AppKit                0x00007fff48040d2f __60+[NSWindow(NSWindowTabbing) _addWindowTabsMenuItemsIfNeeded]_block_invoke + 289
24  com.apple.AppKit                0x00007fff47d9d5f4 -[NSMenu _populateFromSidebandUpdatersOfSign:withEventRef:] + 124
25  com.apple.AppKit                0x00007fff47d9d481 -[NSMenu _populateWithEventRef:] + 45
26  com.apple.AppKit                0x00007fff47eb716e -[NSCarbonMenuImpl _carbonPopulateEvent:handlerCallRef:] + 466
27  com.apple.AppKit                0x00007fff47eb6ee2 NSSLMMenuEventHandler + 1193
28  com.apple.HIToolbox             0x00007fff4980022e DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) + 1422
29  com.apple.HIToolbox             0x00007fff497ff5df SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, HandlerCallRec*) + 371
30  com.apple.HIToolbox             0x00007fff497ff465 SendEventToEventTargetWithOptions + 45
31  com.apple.HIToolbox             0x00007fff49858fef SendMenuPopulate(MenuData*, OpaqueEventTargetRef*, unsigned int, double, unsigned int, OpaqueEventRef*, unsigned char, unsigned char*) + 318
32  com.apple.HIToolbox             0x00007fff4987e91f SendMenuOpening(MenuSelectData*, MenuData*, double, unsigned int, unsigned int, __CFDictionary*, unsigned char, unsigned char*) + 291
33  com.apple.HIToolbox             0x00007fff499a4ef0 _SimulateMenuOpening + 110
34  com.apple.HIToolbox             0x00007fff4999ab55 OpenMenuForInspection(MenuData*) + 94
35  com.apple.HIToolbox             0x00007fff4999b95f MenuData::HandleGetNamedAccessibleAttribute(unsigned long long, __CFString const*, unsigned int, OpaqueEventRef*) + 157
36  com.apple.HIToolbox             0x00007fff4999b8ac MenuData::GetNamedAccessibleAttributeSelf(unsigned long long, __CFString const*, unsigned int, OpaqueEventRef*) + 180
37  com.apple.HIToolbox             0x00007fff499b4cab HIObject::DispatchAccessibilityEvent(OpaqueEventRef*, unsigned long long, AccessibilityHandlers const*, void*) + 489
38  com.apple.HIToolbox             0x00007fff499b4982 HIObject::HandleClassAccessibilityEvent(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*) + 106
39  com.apple.HIToolbox             0x00007fff49800819 HIObject::EventHook(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*) + 135
40  com.apple.HIToolbox             0x00007fff4980022e DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) + 1422
41  com.apple.HIToolbox             0x00007fff497ff5df SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, HandlerCallRec*) + 371
42  com.apple.HIToolbox             0x00007fff498955fc CallNextEventHandler + 105
43  com.apple.AppKit                0x00007fff480c1b4f -[NSCarbonMenuImpl _carbonGetAccessibleAttributeEvent:handlerCallRef:axElement:] + 37
44  com.apple.AppKit                0x00007fff47eb6e53 NSSLMMenuEventHandler + 1050
45  com.apple.HIToolbox             0x00007fff4980022e DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) + 1422
46  com.apple.HIToolbox             0x00007fff497ff5df SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, HandlerCallRec*) + 371
47  com.apple.HIToolbox             0x00007fff497ff465 SendEventToEventTargetWithOptions + 45
48  com.apple.HIToolbox             0x00007fff498ac6cc Accessible::SendEvent(OpaqueEventRef*, bool) const + 88
49  com.apple.HIToolbox             0x00007fff498abc1f Accessible::GetNamedAttributeData(__CFString const*, void const*, void const**, unsigned char*) + 151
50  com.apple.HIToolbox             0x00007fff498ab9c4 HLTBCopyUIElementAttributeValue + 57
51  com.apple.HIToolbox             0x00007fff498adfbc CarbonCopyAttributeValueCallback(__CFData const*, unsigned int, __CFString const*, void const**, void*) + 84
52  com.apple.AppKit                0x00007fff4803d575 CopyCarbonUIElementAttributeValue + 62
53  com.apple.AppKit                0x00007fff4803a7d2 CopyAttributeValue + 126
54  com.apple.HIServices            0x00007fff48d9b35d _AXXMIGCopyAttributeValue + 269
55  com.apple.HIServices            0x00007fff48da4890 _XCopyAttributeValue + 424
56  com.apple.HIServices            0x00007fff48d7bc9d mshMIGPerform + 203
57  com.apple.CoreFoundation        0x00007fff4a5ca432 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 41
58  com.apple.CoreFoundation        0x00007fff4a5ca390 __CFRunLoopDoSource1 + 527
59  com.apple.CoreFoundation        0x00007fff4a5b248e __CFRunLoopRun + 2535
60  com.apple.CoreFoundation        0x00007fff4a5b1855 CFRunLoopRunSpecific + 459
61  com.apple.HIToolbox             0x00007fff498021ab RunCurrentEventLoopInMode + 292
62  com.apple.HIToolbox             0x00007fff49801ee5 ReceiveNextEventCommon + 603
63  com.apple.HIToolbox             0x00007fff49801c76 _BlockUntilNextEventMatchingListInModeWithFilter + 64
64  com.apple.AppKit                0x00007fff47b9a77d _DPSNextEvent + 1135
65  com.apple.AppKit                0x00007fff47b9946b -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1361
66  com.apple.AppKit                0x00007fff47b93588 -[NSApplication run] + 699
67  com.apple.AppKit                0x00007fff47b82ac8 NSApplicationMain + 777
68  com.tinyapp.DBngin              0x0000000105d69299 0x105d64000 + 21145
69  libdyld.dylib                   0x00007fff765a13d5 start + 1

Thread 1:
0   libsystem_pthread.dylib         0x00007fff767943f0 start_wqthread + 0

Thread 2:
0   libsystem_pthread.dylib         0x00007fff767943f0 start_wqthread + 0

Thread 3:
0   libsystem_pthread.dylib         0x00007fff767943f0 start_wqthread + 0

Thread 4:
0   libsystem_pthread.dylib         0x00007fff767943f0 start_wqthread + 0

Thread 5:
0   libsystem_pthread.dylib         0x00007fff767943f0 start_wqthread + 0

Thread 6:
0   libsystem_pthread.dylib         0x00007fff767943f0 start_wqthread + 0

Thread 7:
0   libsystem_pthread.dylib         0x00007fff767943f0 start_wqthread + 0

Thread 8:
0   libsystem_pthread.dylib         0x00007fff767943f0 start_wqthread + 0

Thread 9:
0   libsystem_pthread.dylib         0x00007fff767943f0 start_wqthread + 0

Thread 10:
0   libsystem_pthread.dylib         0x00007fff767943f0 start_wqthread + 0

Thread 11:
0   libsystem_pthread.dylib         0x00007fff767943f0 start_wqthread + 0

Thread 12:
0   libsystem_pthread.dylib         0x00007fff767943f0 start_wqthread + 0

Thread 13:
0   libsystem_pthread.dylib         0x00007fff767943f0 start_wqthread + 0

Thread 14:
0   libsystem_pthread.dylib         0x00007fff767943f0 start_wqthread + 0

Thread 15:
0   libsystem_pthread.dylib         0x00007fff767943f0 start_wqthread + 0

Thread 16:
0   libsystem_pthread.dylib         0x00007fff767943f0 start_wqthread + 0

Thread 17:
0   libsystem_pthread.dylib         0x00007fff767943f0 start_wqthread + 0

Thread 18:
0   libsystem_pthread.dylib         0x00007fff767943f0 start_wqthread + 0

Thread 19:
0   libsystem_pthread.dylib         0x00007fff767943f0 start_wqthread + 0

Thread 20:
0   libsystem_pthread.dylib         0x00007fff767943f0 start_wqthread + 0

Thread 21:
0   libsystem_pthread.dylib         0x00007fff767943f0 start_wqthread + 0

Thread 22:
0   libsystem_pthread.dylib         0x00007fff767943f0 start_wqthread + 0

Thread 23:
0   libsystem_pthread.dylib         0x00007fff767943f0 start_wqthread + 0

Thread 24:
0   libsystem_pthread.dylib         0x00007fff767943f0 start_wqthread + 0

Thread 25:
0   libsystem_pthread.dylib         0x00007fff767943f0 start_wqthread + 0

Thread 26:
0   libsystem_pthread.dylib         0x00007fff767943f0 start_wqthread + 0

Thread 27:
0   libsystem_pthread.dylib         0x00007fff767943f0 start_wqthread + 0

Thread 28:
0   libsystem_pthread.dylib         0x00007fff767943f0 start_wqthread + 0

Thread 29:
0   libsystem_pthread.dylib         0x00007fff767943f0 start_wqthread + 0

Thread 30:
0   libsystem_pthread.dylib         0x00007fff767943f0 start_wqthread + 0

Thread 31:
0   libsystem_pthread.dylib         0x00007fff767943f0 start_wqthread + 0

Thread 32:
0   libsystem_pthread.dylib         0x00007fff767943f0 start_wqthread + 0

Thread 33:
0   libsystem_pthread.dylib         0x00007fff767943f0 start_wqthread + 0

Thread 34:
0   libsystem_pthread.dylib         0x00007fff767943f0 start_wqthread + 0

Thread 35:
0   libsystem_pthread.dylib         0x00007fff767943f0 start_wqthread + 0

Thread 36:
0   libsystem_pthread.dylib         0x00007fff767943f0 start_wqthread + 0

Thread 37:
0   libsystem_pthread.dylib         0x00007fff767943f0 start_wqthread + 0

Thread 38:
0   libsystem_pthread.dylib         0x00007fff767943f0 start_wqthread + 0

Thread 39:
0   libsystem_pthread.dylib         0x00007fff767943f0 start_wqthread + 0

Thread 40:
0   libsystem_pthread.dylib         0x00007fff767943f0 start_wqthread + 0

Thread 41:
0   libsystem_pthread.dylib         0x00007fff767943f0 start_wqthread + 0

Thread 42 Crashed:: Dispatch queue: com.apple.root.background-qos
0   libsystem_kernel.dylib          0x00007fff766dc2c6 __pthread_kill + 10
1   libsystem_pthread.dylib         0x00007fff76797bf1 pthread_kill + 284
2   libsystem_c.dylib               0x00007fff766466a6 abort + 127
3   com.tinyapp.DBngin              0x0000000105e24e0f 0x105d64000 + 790031
4   com.apple.CoreFoundation        0x00007fff4a6dd45d __handleUncaughtException + 775
5   libobjc.A.dylib                 0x00007fff74dde775 _objc_terminate() + 91
6   com.tinyapp.DBngin              0x0000000105e16d81 0x105d64000 + 732545
7   libc++abi.dylib                 0x00007fff7383719e std::__terminate(void (*)()) + 8
8   libc++abi.dylib                 0x00007fff73837213 std::terminate() + 51
9   libdispatch.dylib               0x00007fff76554651 _dispatch_client_callout + 28
10  libdispatch.dylib               0x00007fff76562509 _dispatch_root_queue_drain + 657
11  libdispatch.dylib               0x00007fff76562b46 _dispatch_worker_thread2 + 90
12  libsystem_pthread.dylib         0x00007fff767946b3 _pthread_wqthread + 583
13  libsystem_pthread.dylib         0x00007fff767943fd start_wqthread + 13

Thread 43:
0   libsystem_pthread.dylib         0x00007fff767943f0 start_wqthread + 0

Thread 44:
0   libsystem_pthread.dylib         0x00007fff767943f0 start_wqthread + 0

Thread 45:
0   libsystem_pthread.dylib         0x00007fff767943f0 start_wqthread + 0

Thread 46:
0   libsystem_pthread.dylib         0x00007fff767943f0 start_wqthread + 0

Thread 47:
0   libsystem_pthread.dylib         0x00007fff767943f0 start_wqthread + 0

Thread 48:
0   libsystem_pthread.dylib         0x00007fff767943f0 start_wqthread + 0

Thread 49:
0   libsystem_pthread.dylib         0x00007fff767943f0 start_wqthread + 0

Thread 50:
0   libsystem_pthread.dylib         0x00007fff767943f0 start_wqthread + 0

Thread 51:
0   libsystem_pthread.dylib         0x00007fff767943f0 start_wqthread + 0

Thread 52:
0   libsystem_pthread.dylib         0x00007fff767943f0 start_wqthread + 0

Thread 53:
0   libsystem_pthread.dylib         0x00007fff767943f0 start_wqthread + 0

Thread 54:
0   libsystem_pthread.dylib         0x00007fff767943f0 start_wqthread + 0

Thread 55:
0   libsystem_pthread.dylib         0x00007fff767943f0 start_wqthread + 0

Thread 56:
0   libsystem_kernel.dylib          0x00007fff766d622a mach_msg_trap + 10
1   libsystem_kernel.dylib          0x00007fff766d676c mach_msg + 60
2   com.tinyapp.DBngin              0x0000000105e37952 0x105d64000 + 866642
3   libsystem_pthread.dylib         0x00007fff767952eb _pthread_body + 126
4   libsystem_pthread.dylib         0x00007fff76798249 _pthread_start + 66
5   libsystem_pthread.dylib         0x00007fff7679440d thread_start + 13

Thread 57:: com.apple.NSEventThread
0   libsystem_kernel.dylib          0x00007fff766d622a mach_msg_trap + 10
1   libsystem_kernel.dylib          0x00007fff766d676c mach_msg + 60
2   com.apple.CoreFoundation        0x00007fff4a5b2b8d __CFRunLoopServiceMachPort + 327
3   com.apple.CoreFoundation        0x00007fff4a5b20fa __CFRunLoopRun + 1619
4   com.apple.CoreFoundation        0x00007fff4a5b1855 CFRunLoopRunSpecific + 459
5   com.apple.AppKit                0x00007fff47ba24a2 _NSEventThread + 175
6   libsystem_pthread.dylib         0x00007fff767952eb _pthread_body + 126
7   libsystem_pthread.dylib         0x00007fff76798249 _pthread_start + 66
8   libsystem_pthread.dylib         0x00007fff7679440d thread_start + 13

Thread 42 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000000  rbx: 0x0000700004441000  rcx: 0x00007000044408d8  rdx: 0x0000000000000000
  rdi: 0x0000000000013b03  rsi: 0x0000000000000006  rbp: 0x0000700004440910  rsp: 0x00007000044408d8
   r8: 0x0000000000000010   r9: 0x0000700004440700  r10: 0x0000000000000000  r11: 0x0000000000000206
  r12: 0x0000000000013b03  r13: 0x00007fffa5675ff8  r14: 0x0000000000000006  r15: 0x000000000000002d
  rip: 0x00007fff766dc2c6  rfl: 0x0000000000000206  cr2: 0x00007fffa56a2870

Logical CPU:     0
Error Code:      0x020000b8
Trap Number:     133
huyphams commented 4 years ago

Could you please update the app to the build 32 and see how it goes? The build 30 isn't the latest release.

VictorAlagwu commented 4 years ago

My current version is build 32 (On the log), I have edited my previous comment

huyphams commented 4 years ago

Do you have homebrew and homebrew casks?

VictorAlagwu commented 4 years ago

Yes, I have homebrew

VictorAlagwu commented 4 years ago

It's now working, had to reinstall homebrew cask, then installed the app using cask

Thanks for your help