Skip to content
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

V1.1 crashes at end of download (sometimes) #2256

Closed
Pixelsynch opened this issue Oct 1, 2015 · 23 comments
Closed

V1.1 crashes at end of download (sometimes) #2256

Pixelsynch opened this issue Oct 1, 2015 · 23 comments

Comments

@Pixelsynch
Copy link

Just installed v1.1 tonight.

Just tried some single window downloads (one download at a time) and SP is sometimes crashing as the download completes.

So, SP doesn't always crash when a download completes, but it does sometimes.

Downloads seem complete though - the last table in the database being downloaded is present in the SQL file.

Good point: It's so much faster than the previous version, thanks! :-)

@dmoagx
Copy link
Member

dmoagx commented Oct 2, 2015

Do you mean "SQL export" by download?

There is currently an issue where Sequel Pro crashes when cleaning up the memory from the export.
Sadly I have not seen it myself and have no idea how to reproduce it, nor how to fix it.

  • Can you post a screenshot of your export settings? (censor the table names)
  • How large is the export?
  • Is the data changing on the server while you are exporting?

@Pixelsynch
Copy link
Author

Sorry, should have been more clear.

These are 'downloads' (not local exports) - ie. downloading a database backup from a remote (live) server down to my local Mac. I have been doing this every evening with SP for several years for several remote databases.

The last version (pre-v1.1) was rock solid, it never crashed unless you were trying to open (in my case) more than 4 new SP windows and doing more than 4 simultaneous downloads (remote server to local Mac). So I always kept to a max of 4 download windows at a time.

But this crash happens with a single download (remote server to local Mac) - not every time, but it does crash. I did two (separate, not simultaneous) downloads tonight and it crashed on the second one.

And the crash seems to be at the end of the download - the downloaded SQL file seems to be complete.

Is that clearer?

Hopefully so :-)

(SP v1.1 is a lot faster now :-)

Try a few downloads (remote to local) and see what you get?

@dmoagx
Copy link
Member

dmoagx commented Oct 2, 2015

Is that clearer?

Nope, explain in detail your steps to "download" a database.

@Pixelsynch
Copy link
Author

Now I'm wondering if I should have bothered reporting this... someone else (probably quite a few people) will be reporting this in the next few days / week / weeks.

If you want to be pedantic (?) then yes, the menu selection is 'Export' when you download a copy of the database from a remote server. But (and if you have a Mac yourself you will be familiar with this) 'Exporting' from most Mac apps is saving a copy of what you're working on to your Desktop in a different format.

As I said ... this is a downlaod of a database copy from a remote server ... so ...

  1. Connect to remote server.
  2. File -> 'Export'

Select all default options on next window, and also tick 'Auto increment value'.

  1. Click the 'Export' button.

Rinse and repeat, you'll see SP crash on one of the 'repeats'.

Clearer now?

Really! :-)

@dmoagx
Copy link
Member

dmoagx commented Oct 2, 2015

So, you are talking about an SQL Export.
This is named Export for a reason, and your confusion about downloads makes it even more obvious that "Export" is the correct wording.

A download is essentially a copy operation. Downloading a file means that now the sender AND the receiver will have an exact copy of that file. In essence a download never changes the format of a file.

An export however is a conversion of the representation of data (ie. a format) into another format. Export also implies that a loss of information might occur from the conversion. For example: You can export a Photoshop file as a JPG image. This is an export because you lose all information of layers as well as image quality. Or you can export a Pages document as PDF – which will lose the possibility to edit.

This is exactly what happens with Sequel Pro! It takes the data that is delivered by mysql in a binary format and converts it into SQL commands. SQL has nothing to do with how the data is actually stored on the server, it is merely an input/output interface.
This also means that an SQL export created by Sequel Pro can be incomplete or invalid, because it is missing some conversion logic.
That is not something that can normally happen with a download – therefore calling an SQL export a "download of the database" gives a totally wrong impression of what that file actually contains and how it could be used for disaster recovery.

@Pixelsynch
Copy link
Author

"There is currently an issue where Sequel Pro crashes when cleaning up the memory from the export.
Sadly I have not seen it myself and have no idea how to reproduce it, nor how to fix it.

Can you post a screenshot of your export settings? (censor the table names)
How large is the export?
Is the data changing on the server while you are exporting?"

The 'export' settings are the default ones, with the addition od 'Auto increment' - screen shot attached.
The biggest 'export' is 6.5MB (compressed).

The data could be changing due to customers browsing the website(s) (the sites are all online shops) but the previous version has never crashed in this way over the last several years using previous versions of SP (same backups).

Some more info:

Local Mac: Mac Pro 2010, Mavericks, 33GB (c. 6GB used, typically)
Remote connection: cPanel server (Centos), MySQL v 5.5.42cli, connection via (cPanel) SSH.
(But again, same Mac, connection type, databases, backing up every day for last several years with previous versions of SP = no crashes)

SP seems to be crashing at the same point: (AutoReleasePool) so you may be right about the memory.

For example:

Thread 19 Crashed:: Dispatch queue: NSOperationQueue 0x648001437a60
0 libobjc.A.dylib 0x00007fff86e750e6 objc_release + 22
1 libobjc.A.dylib 0x00007fff86e7465a (anonymous namespace)::AutoreleasePoolPage::pop(void*) + 502
2 com.apple.CoreFoundation 0x00007fff8c3ee932 _CFAutoreleasePoolPop + 50
3 com.apple.Foundation 0x00007fff904734dc -[NSAutoreleasePool release] + 140
4 com.sequelpro.SequelPro 0x00000001000cb981 -[SPSQLExporter main] + 12256
5 com.apple.Foundation 0x00007fff9045bec1 -[__NSOperationInternal _start:] + 631
6 com.apple.Foundation 0x00007fff9045bb6b __NSOQSchedule_f + 64
7 libdispatch.dylib 0x00007fff8e47e28d _dispatch_client_callout + 8
8 libdispatch.dylib 0x00007fff8e4827e3 _dispatch_async_redirect_invoke + 154
9 libdispatch.dylib 0x00007fff8e47e28d _dispatch_client_callout + 8
10 libdispatch.dylib 0x00007fff8e480082 _dispatch_root_queue_drain + 326
11 libdispatch.dylib 0x00007fff8e481177 _dispatch_worker_thread2 + 40
12 libsystem_pthread.dylib 0x00007fff926e9ef8 _pthread_wqthread + 314
13 libsystem_pthread.dylib 0x00007fff926ecfb9 start_wqthread + 13

I can't seem to attach the 3 crash reports with this message - either by drag-dropping, or 'Selecting' them - I get the error 'Something went really wrong and we can't process that file. Try again.' So I'll email them to you instead.

This is the 'export' settings screenshot:
sequel-pro-v1 1- export -settings

@Pixelsynch
Copy link
Author

I can’t attach the crash report logs with my last reply (just now) on Github, so here they are:

Process:         Sequel Pro [1476]
Path:            /Applications/Sequel Pro.app/Contents/MacOS/Sequel Pro
Identifier:      com.sequelpro.SequelPro
Version:         1.1 (4499)
Code Type:       X86-64 (Native)
Parent Process:  launchd [215]
Responsible:     Sequel Pro [1476]
User ID:         501

Date/Time:       2015-10-02 00:16:02.675 +0100
OS Version:      Mac OS X 10.9.5 (13F1112)
Report Version:  11
Anonymous UUID:  

Sleep/Wake UUID: 

Crashed Thread:  19  Dispatch queue: NSOperationQueue 0x648001437a60

Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: EXC_I386_GPFLT

Thread 0:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib          0x00007fff8e464a1a mach_msg_trap + 10
1   libsystem_kernel.dylib          0x00007fff8e463d18 mach_msg + 64
2   com.apple.CoreGraphics          0x00007fff85b51d68 _CGSReenableUpdateForConnection + 91
3   com.apple.CoreGraphics          0x00007fff85b51a5f CGSUpdateManager::enable_update(unsigned long long) + 267
4   com.apple.AppKit                0x00007fff87fc01f3 NSPerformWithScreenUpdatesDisabled + 76
5   com.apple.AppKit                0x00007fff881ed9fa __28-[NSMoveHelper _doAnimation]_block_invoke + 526
6   com.apple.CoreFoundation        0x00007fff8c46b3e4 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 20
7   com.apple.CoreFoundation        0x00007fff8c46af1f __CFRunLoopDoTimer + 1151
8   com.apple.CoreFoundation        0x00007fff8c4dc5aa __CFRunLoopDoTimers + 298
9   com.apple.CoreFoundation        0x00007fff8c4266a5 __CFRunLoopRun + 1525
10  com.apple.CoreFoundation        0x00007fff8c425e75 CFRunLoopRunSpecific + 309
11  com.apple.AppKit                0x00007fff881ecf3b -[NSMoveHelper _doAnimation] + 1521
12  com.apple.AppKit                0x00007fff881f0437 -[NSMoveHelper(NSSheets) _closeSheet:andMoveParent:] + 521
13  com.apple.AppKit                0x00007fff881f01cc -[NSWindow(NSSheets) _orderOutRelativeToWindow:] + 105
14  com.apple.AppKit                0x00007fff87fe723f -[NSWindow _reallyDoOrderWindow:relativeTo:findKey:forCounter:force:isModal:] + 2877
15  com.apple.AppKit                0x00007fff87fe6460 -[NSWindow _doOrderWindow:relativeTo:findKey:forCounter:force:isModal:] + 786
16  com.apple.AppKit                0x00007fff87fe60e0 -[NSWindow orderWindow:relativeTo:] + 162
17  com.sequelpro.SequelPro         0x00000001000f6ce1 -[SPExportController(SPSQLExporterDelegate) sqlExportProcessComplete:] + 104
18  com.apple.Foundation            0x00007fff904b775e __NSThreadPerformPerform + 229
19  com.apple.CoreFoundation        0x00007fff8c4355b1 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
20  com.apple.CoreFoundation        0x00007fff8c426c62 __CFRunLoopDoSources0 + 242
21  com.apple.CoreFoundation        0x00007fff8c4263ef __CFRunLoopRun + 831
22  com.apple.CoreFoundation        0x00007fff8c425e75 CFRunLoopRunSpecific + 309
23  com.apple.HIToolbox             0x00007fff8c054a0d RunCurrentEventLoopInMode + 226
24  com.apple.HIToolbox             0x00007fff8c0547b7 ReceiveNextEventCommon + 479
25  com.apple.HIToolbox             0x00007fff8c0545bc _BlockUntilNextEventMatchingListInModeWithFilter + 65
26  com.apple.AppKit                0x00007fff87e9624e _DPSNextEvent + 1434
27  com.apple.AppKit                0x00007fff87e9589b -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 122
28  com.apple.AppKit                0x00007fff87e8999c -[NSApplication run] + 553
29  com.apple.AppKit                0x00007fff87e74783 NSApplicationMain + 940
30  com.sequelpro.SequelPro         0x0000000100001994 start + 52

Thread 1:: Dispatch queue: com.apple.libdispatch-manager
0   libsystem_kernel.dylib          0x00007fff8e469662 kevent64 + 10
1   libdispatch.dylib               0x00007fff8e480421 _dispatch_mgr_invoke + 239
2   libdispatch.dylib               0x00007fff8e480136 _dispatch_mgr_thread + 52

Thread 2:
0   libsystem_kernel.dylib          0x00007fff8e464a1a mach_msg_trap + 10
1   libsystem_kernel.dylib          0x00007fff8e463d18 mach_msg + 64
2   com.apple.CoreFoundation        0x00007fff8c426f15 __CFRunLoopServiceMachPort + 181
3   com.apple.CoreFoundation        0x00007fff8c426539 __CFRunLoopRun + 1161
4   com.apple.CoreFoundation        0x00007fff8c425e75 CFRunLoopRunSpecific + 309
5   com.apple.AppKit                0x00007fff8803605e _NSEventThread + 144
6   libsystem_pthread.dylib         0x00007fff926e8899 _pthread_body + 138
7   libsystem_pthread.dylib         0x00007fff926e872a _pthread_start + 137
8   libsystem_pthread.dylib         0x00007fff926ecfc9 thread_start + 13

Thread 3:
0   libsystem_kernel.dylib          0x00007fff8e464a1a mach_msg_trap + 10
1   libsystem_kernel.dylib          0x00007fff8e463d18 mach_msg + 64
2   com.apple.CoreFoundation        0x00007fff8c426f15 __CFRunLoopServiceMachPort + 181
3   com.apple.CoreFoundation        0x00007fff8c426539 __CFRunLoopRun + 1161
4   com.apple.CoreFoundation        0x00007fff8c425e75 CFRunLoopRunSpecific + 309
5   com.apple.Foundation            0x00007fff90533f89 -[NSConnection run] + 127
6   com.apple.Foundation            0x00007fff904bad8b __NSThread__main__ + 1318
7   libsystem_pthread.dylib         0x00007fff926e8899 _pthread_body + 138
8   libsystem_pthread.dylib         0x00007fff926e872a _pthread_start + 137
9   libsystem_pthread.dylib         0x00007fff926ecfc9 thread_start + 13

Thread 4:
0   libsystem_kernel.dylib          0x00007fff8e468e6a __workq_kernreturn + 10
1   libsystem_pthread.dylib         0x00007fff926e9f08 _pthread_wqthread + 330
2   libsystem_pthread.dylib         0x00007fff926ecfb9 start_wqthread + 13

Thread 5:
0   libsystem_kernel.dylib          0x00007fff8e468e6a __workq_kernreturn + 10
1   libsystem_pthread.dylib         0x00007fff926e9f08 _pthread_wqthread + 330
2   libsystem_pthread.dylib         0x00007fff926ecfb9 start_wqthread + 13

Thread 6:
0   libsystem_kernel.dylib          0x00007fff8e468e6a __workq_kernreturn + 10
1   libsystem_pthread.dylib         0x00007fff926e9f08 _pthread_wqthread + 330
2   libsystem_pthread.dylib         0x00007fff926ecfb9 start_wqthread + 13

Thread 7:: JavaScriptCore::BlockFree
0   libsystem_kernel.dylib          0x00007fff8e468716 __psynch_cvwait + 10
1   libsystem_pthread.dylib         0x00007fff926eac3b _pthread_cond_wait + 727
2   com.apple.JavaScriptCore        0x00007fff895a7cb5 JSC::BlockAllocator::blockFreeingThreadMain() + 261
3   com.apple.JavaScriptCore        0x00007fff8959cf4f WTF::wtfThreadEntryPoint(void*) + 15
4   libsystem_pthread.dylib         0x00007fff926e8899 _pthread_body + 138
5   libsystem_pthread.dylib         0x00007fff926e872a _pthread_start + 137
6   libsystem_pthread.dylib         0x00007fff926ecfc9 thread_start + 13

Thread 8:: JavaScriptCore::Marking
0   libsystem_kernel.dylib          0x00007fff8e468716 __psynch_cvwait + 10
1   libsystem_pthread.dylib         0x00007fff926eac3b _pthread_cond_wait + 727
2   com.apple.JavaScriptCore        0x00007fff895a8727 JSC::GCThread::waitForNextPhase() + 119
3   com.apple.JavaScriptCore        0x00007fff895a85b8 JSC::GCThread::gcThreadMain() + 88
4   com.apple.JavaScriptCore        0x00007fff8959cf4f WTF::wtfThreadEntryPoint(void*) + 15
5   libsystem_pthread.dylib         0x00007fff926e8899 _pthread_body + 138
6   libsystem_pthread.dylib         0x00007fff926e872a _pthread_start + 137
7   libsystem_pthread.dylib         0x00007fff926ecfc9 thread_start + 13

Thread 9:: JavaScriptCore::Marking
0   libsystem_kernel.dylib          0x00007fff8e468716 __psynch_cvwait + 10
1   libsystem_pthread.dylib         0x00007fff926eac3b _pthread_cond_wait + 727
2   com.apple.JavaScriptCore        0x00007fff895a8727 JSC::GCThread::waitForNextPhase() + 119
3   com.apple.JavaScriptCore        0x00007fff895a85b8 JSC::GCThread::gcThreadMain() + 88
4   com.apple.JavaScriptCore        0x00007fff8959cf4f WTF::wtfThreadEntryPoint(void*) + 15
5   libsystem_pthread.dylib         0x00007fff926e8899 _pthread_body + 138
6   libsystem_pthread.dylib         0x00007fff926e872a _pthread_start + 137
7   libsystem_pthread.dylib         0x00007fff926ecfc9 thread_start + 13

Thread 10:: JavaScriptCore::Marking
0   libsystem_kernel.dylib          0x00007fff8e468716 __psynch_cvwait + 10
1   libsystem_pthread.dylib         0x00007fff926eac3b _pthread_cond_wait + 727
2   com.apple.JavaScriptCore        0x00007fff895a8727 JSC::GCThread::waitForNextPhase() + 119
3   com.apple.JavaScriptCore        0x00007fff895a85b8 JSC::GCThread::gcThreadMain() + 88
4   com.apple.JavaScriptCore        0x00007fff8959cf4f WTF::wtfThreadEntryPoint(void*) + 15
5   libsystem_pthread.dylib         0x00007fff926e8899 _pthread_body + 138
6   libsystem_pthread.dylib         0x00007fff926e872a _pthread_start + 137
7   libsystem_pthread.dylib         0x00007fff926ecfc9 thread_start + 13

Thread 11:: JavaScriptCore::Marking
0   libsystem_kernel.dylib          0x00007fff8e468716 __psynch_cvwait + 10
1   libsystem_pthread.dylib         0x00007fff926eac3b _pthread_cond_wait + 727
2   com.apple.JavaScriptCore        0x00007fff895a8727 JSC::GCThread::waitForNextPhase() + 119
3   com.apple.JavaScriptCore        0x00007fff895a85b8 JSC::GCThread::gcThreadMain() + 88
4   com.apple.JavaScriptCore        0x00007fff8959cf4f WTF::wtfThreadEntryPoint(void*) + 15
5   libsystem_pthread.dylib         0x00007fff926e8899 _pthread_body + 138
6   libsystem_pthread.dylib         0x00007fff926e872a _pthread_start + 137
7   libsystem_pthread.dylib         0x00007fff926ecfc9 thread_start + 13

Thread 12:: JavaScriptCore::Marking
0   libsystem_kernel.dylib          0x00007fff8e468716 __psynch_cvwait + 10
1   libsystem_pthread.dylib         0x00007fff926eac3b _pthread_cond_wait + 727
2   com.apple.JavaScriptCore        0x00007fff895a8727 JSC::GCThread::waitForNextPhase() + 119
3   com.apple.JavaScriptCore        0x00007fff895a85b8 JSC::GCThread::gcThreadMain() + 88
4   com.apple.JavaScriptCore        0x00007fff8959cf4f WTF::wtfThreadEntryPoint(void*) + 15
5   libsystem_pthread.dylib         0x00007fff926e8899 _pthread_body + 138
6   libsystem_pthread.dylib         0x00007fff926e872a _pthread_start + 137
7   libsystem_pthread.dylib         0x00007fff926ecfc9 thread_start + 13

Thread 13:: JavaScriptCore::Marking
0   libsystem_kernel.dylib          0x00007fff8e468716 __psynch_cvwait + 10
1   libsystem_pthread.dylib         0x00007fff926eac3b _pthread_cond_wait + 727
2   com.apple.JavaScriptCore        0x00007fff895a8727 JSC::GCThread::waitForNextPhase() + 119
3   com.apple.JavaScriptCore        0x00007fff895a85b8 JSC::GCThread::gcThreadMain() + 88
4   com.apple.JavaScriptCore        0x00007fff8959cf4f WTF::wtfThreadEntryPoint(void*) + 15
5   libsystem_pthread.dylib         0x00007fff926e8899 _pthread_body + 138
6   libsystem_pthread.dylib         0x00007fff926e872a _pthread_start + 137
7   libsystem_pthread.dylib         0x00007fff926ecfc9 thread_start + 13

Thread 14:
0   libsystem_kernel.dylib          0x00007fff8e464a1a mach_msg_trap + 10
1   libsystem_kernel.dylib          0x00007fff8e463d18 mach_msg + 64
2   com.apple.CoreFoundation        0x00007fff8c426f15 __CFRunLoopServiceMachPort + 181
3   com.apple.CoreFoundation        0x00007fff8c426539 __CFRunLoopRun + 1161
4   com.apple.CoreFoundation        0x00007fff8c425e75 CFRunLoopRunSpecific + 309
5   com.apple.Foundation            0x00007fff90533f89 -[NSConnection run] + 127
6   com.apple.Foundation            0x00007fff904bad8b __NSThread__main__ + 1318
7   libsystem_pthread.dylib         0x00007fff926e8899 _pthread_body + 138
8   libsystem_pthread.dylib         0x00007fff926e872a _pthread_start + 137
9   libsystem_pthread.dylib         0x00007fff926ecfc9 thread_start + 13

Thread 15:: SPSSHTunnel SSH binary communication task
0   libsystem_kernel.dylib          0x00007fff8e464a1a mach_msg_trap + 10
1   libsystem_kernel.dylib          0x00007fff8e463d18 mach_msg + 64
2   com.apple.CoreFoundation        0x00007fff8c426f15 __CFRunLoopServiceMachPort + 181
3   com.apple.CoreFoundation        0x00007fff8c426539 __CFRunLoopRun + 1161
4   com.apple.CoreFoundation        0x00007fff8c425e75 CFRunLoopRunSpecific + 309
5   com.apple.Foundation            0x00007fff905e4e18 -[NSConcreteTask waitUntilExit] + 205
6   com.sequelpro.SequelPro         0x00000001000a594c -[SPSSHTunnel launchTask:] + 3102
7   com.apple.Foundation            0x00007fff904bad8b __NSThread__main__ + 1318
8   libsystem_pthread.dylib         0x00007fff926e8899 _pthread_body + 138
9   libsystem_pthread.dylib         0x00007fff926e872a _pthread_start + 137
10  libsystem_pthread.dylib         0x00007fff926ecfc9 thread_start + 13

Thread 16:: CVDisplayLink
0   libsystem_kernel.dylib          0x00007fff8e468716 __psynch_cvwait + 10
1   libsystem_pthread.dylib         0x00007fff926eac3b _pthread_cond_wait + 727
2   com.apple.CoreVideo             0x00007fff90053a38 CVDisplayLink::runIOThread() + 656
3   com.apple.CoreVideo             0x00007fff9005378f startIOThread(void*) + 147
4   libsystem_pthread.dylib         0x00007fff926e8899 _pthread_body + 138
5   libsystem_pthread.dylib         0x00007fff926e872a _pthread_start + 137
6   libsystem_pthread.dylib         0x00007fff926ecfc9 thread_start + 13

Thread 17:
0   libsystem_kernel.dylib          0x00007fff8e468e6a __workq_kernreturn + 10
1   libsystem_pthread.dylib         0x00007fff926e9f08 _pthread_wqthread + 330
2   libsystem_pthread.dylib         0x00007fff926ecfb9 start_wqthread + 13

Thread 18:
0   libsystem_kernel.dylib          0x00007fff8e468e6a __workq_kernreturn + 10
1   libsystem_pthread.dylib         0x00007fff926e9f08 _pthread_wqthread + 330
2   libsystem_pthread.dylib         0x00007fff926ecfb9 start_wqthread + 13

Thread 19 Crashed:: Dispatch queue: NSOperationQueue 0x648001437a60
0   libobjc.A.dylib                 0x00007fff86e750e6 objc_release + 22
1   libobjc.A.dylib                 0x00007fff86e7465a (anonymous namespace)::AutoreleasePoolPage::pop(void*) + 502
2   com.apple.CoreFoundation        0x00007fff8c3ee932 _CFAutoreleasePoolPop + 50
3   com.apple.Foundation            0x00007fff904734dc -[NSAutoreleasePool release] + 140
4   com.sequelpro.SequelPro         0x00000001000cb981 -[SPSQLExporter main] + 12256
5   com.apple.Foundation            0x00007fff9045bec1 -[__NSOperationInternal _start:] + 631
6   com.apple.Foundation            0x00007fff9045bb6b __NSOQSchedule_f + 64
7   libdispatch.dylib               0x00007fff8e47e28d _dispatch_client_callout + 8
8   libdispatch.dylib               0x00007fff8e4827e3 _dispatch_async_redirect_invoke + 154
9   libdispatch.dylib               0x00007fff8e47e28d _dispatch_client_callout + 8
10  libdispatch.dylib               0x00007fff8e480082 _dispatch_root_queue_drain + 326
11  libdispatch.dylib               0x00007fff8e481177 _dispatch_worker_thread2 + 40
12  libsystem_pthread.dylib         0x00007fff926e9ef8 _pthread_wqthread + 314
13  libsystem_pthread.dylib         0x00007fff926ecfb9 start_wqthread + 13

Thread 20:
0   libsystem_kernel.dylib          0x00007fff8e464a1a mach_msg_trap + 10
1   libsystem_kernel.dylib          0x00007fff8e463d18 mach_msg + 64
2   com.apple.CoreFoundation        0x00007fff8c426f15 __CFRunLoopServiceMachPort + 181
3   com.apple.CoreFoundation        0x00007fff8c426539 __CFRunLoopRun + 1161
4   com.apple.CoreFoundation        0x00007fff8c425e75 CFRunLoopRunSpecific + 309
5   com.apple.Foundation            0x00007fff90533f89 -[NSConnection run] + 127
6   com.apple.Foundation            0x00007fff904bad8b __NSThread__main__ + 1318
7   libsystem_pthread.dylib         0x00007fff926e8899 _pthread_body + 138
8   libsystem_pthread.dylib         0x00007fff926e872a _pthread_start + 137
9   libsystem_pthread.dylib         0x00007fff926ecfc9 thread_start + 13

Thread 21:: SPSSHTunnel SSH binary communication task
0   libsystem_kernel.dylib          0x00007fff8e464a1a mach_msg_trap + 10
1   libsystem_kernel.dylib          0x00007fff8e463d18 mach_msg + 64
2   com.apple.CoreFoundation        0x00007fff8c426f15 __CFRunLoopServiceMachPort + 181
3   com.apple.CoreFoundation        0x00007fff8c426539 __CFRunLoopRun + 1161
4   com.apple.CoreFoundation        0x00007fff8c425e75 CFRunLoopRunSpecific + 309
5   com.apple.Foundation            0x00007fff905e4e18 -[NSConcreteTask waitUntilExit] + 205
6   com.sequelpro.SequelPro         0x00000001000a594c -[SPSSHTunnel launchTask:] + 3102
7   com.apple.Foundation            0x00007fff904bad8b __NSThread__main__ + 1318
8   libsystem_pthread.dylib         0x00007fff926e8899 _pthread_body + 138
9   libsystem_pthread.dylib         0x00007fff926e872a _pthread_start + 137
10  libsystem_pthread.dylib         0x00007fff926ecfc9 thread_start + 13

Thread 22:
0   libsystem_kernel.dylib          0x00007fff8e464a1a mach_msg_trap + 10
1   libsystem_kernel.dylib          0x00007fff8e463d18 mach_msg + 64
2   com.apple.CoreFoundation        0x00007fff8c426f15 __CFRunLoopServiceMachPort + 181
3   com.apple.CoreFoundation        0x00007fff8c426539 __CFRunLoopRun + 1161
4   com.apple.CoreFoundation        0x00007fff8c425e75 CFRunLoopRunSpecific + 309
5   com.apple.Foundation            0x00007fff90533f89 -[NSConnection run] + 127
6   com.apple.Foundation            0x00007fff904bad8b __NSThread__main__ + 1318
7   libsystem_pthread.dylib         0x00007fff926e8899 _pthread_body + 138
8   libsystem_pthread.dylib         0x00007fff926e872a _pthread_start + 137
9   libsystem_pthread.dylib         0x00007fff926ecfc9 thread_start + 13

Thread 23:: SPSSHTunnel SSH binary communication task
0   libsystem_kernel.dylib          0x00007fff8e464a1a mach_msg_trap + 10
1   libsystem_kernel.dylib          0x00007fff8e463d18 mach_msg + 64
2   com.apple.CoreFoundation        0x00007fff8c426f15 __CFRunLoopServiceMachPort + 181
3   com.apple.CoreFoundation        0x00007fff8c426539 __CFRunLoopRun + 1161
4   com.apple.CoreFoundation        0x00007fff8c425e75 CFRunLoopRunSpecific + 309
5   com.apple.Foundation            0x00007fff905e4e18 -[NSConcreteTask waitUntilExit] + 205
6   com.sequelpro.SequelPro         0x00000001000a594c -[SPSSHTunnel launchTask:] + 3102
7   com.apple.Foundation            0x00007fff904bad8b __NSThread__main__ + 1318
8   libsystem_pthread.dylib         0x00007fff926e8899 _pthread_body + 138
9   libsystem_pthread.dylib         0x00007fff926e872a _pthread_start + 137
10  libsystem_pthread.dylib         0x00007fff926ecfc9 thread_start + 13

Thread 24:
0   libsystem_kernel.dylib          0x00007fff8e468e6a __workq_kernreturn + 10
1   libsystem_pthread.dylib         0x00007fff926e9f08 _pthread_wqthread + 330
2   libsystem_pthread.dylib         0x00007fff926ecfb9 start_wqthread + 13

Thread 25:
0   libsystem_kernel.dylib          0x00007fff8e464a1a mach_msg_trap + 10
1   libsystem_kernel.dylib          0x00007fff8e463d18 mach_msg + 64
2   com.apple.CoreFoundation        0x00007fff8c426f15 __CFRunLoopServiceMachPort + 181
3   com.apple.CoreFoundation        0x00007fff8c426539 __CFRunLoopRun + 1161
4   com.apple.CoreFoundation        0x00007fff8c425e75 CFRunLoopRunSpecific + 309
5   com.apple.Foundation            0x00007fff90533f89 -[NSConnection run] + 127
6   com.apple.Foundation            0x00007fff904bad8b __NSThread__main__ + 1318
7   libsystem_pthread.dylib         0x00007fff926e8899 _pthread_body + 138
8   libsystem_pthread.dylib         0x00007fff926e872a _pthread_start + 137
9   libsystem_pthread.dylib         0x00007fff926ecfc9 thread_start + 13

Thread 26:: SPSSHTunnel SSH binary communication task
0   libsystem_kernel.dylib          0x00007fff8e464a1a mach_msg_trap + 10
1   libsystem_kernel.dylib          0x00007fff8e463d18 mach_msg + 64
2   com.apple.CoreFoundation        0x00007fff8c426f15 __CFRunLoopServiceMachPort + 181
3   com.apple.CoreFoundation        0x00007fff8c426539 __CFRunLoopRun + 1161
4   com.apple.CoreFoundation        0x00007fff8c425e75 CFRunLoopRunSpecific + 309
5   com.apple.Foundation            0x00007fff905e4e18 -[NSConcreteTask waitUntilExit] + 205
6   com.sequelpro.SequelPro         0x00000001000a594c -[SPSSHTunnel launchTask:] + 3102
7   com.apple.Foundation            0x00007fff904bad8b __NSThread__main__ + 1318
8   libsystem_pthread.dylib         0x00007fff926e8899 _pthread_body + 138
9   libsystem_pthread.dylib         0x00007fff926e872a _pthread_start + 137
10  libsystem_pthread.dylib         0x00007fff926ecfc9 thread_start + 13

Thread 27:
0   libsystem_kernel.dylib          0x00007fff8e464a1a mach_msg_trap + 10
1   libsystem_kernel.dylib          0x00007fff8e463d18 mach_msg + 64
2   com.apple.CoreFoundation        0x00007fff8c426f15 __CFRunLoopServiceMachPort + 181
3   com.apple.CoreFoundation        0x00007fff8c426539 __CFRunLoopRun + 1161
4   com.apple.CoreFoundation        0x00007fff8c425e75 CFRunLoopRunSpecific + 309
5   com.apple.Foundation            0x00007fff90533f89 -[NSConnection run] + 127
6   com.apple.Foundation            0x00007fff904bad8b __NSThread__main__ + 1318
7   libsystem_pthread.dylib         0x00007fff926e8899 _pthread_body + 138
8   libsystem_pthread.dylib         0x00007fff926e872a _pthread_start + 137
9   libsystem_pthread.dylib         0x00007fff926ecfc9 thread_start + 13

Thread 28:: SPSSHTunnel SSH binary communication task
0   libsystem_kernel.dylib          0x00007fff8e464a1a mach_msg_trap + 10
1   libsystem_kernel.dylib          0x00007fff8e463d18 mach_msg + 64
2   com.apple.CoreFoundation        0x00007fff8c426f15 __CFRunLoopServiceMachPort + 181
3   com.apple.CoreFoundation        0x00007fff8c426539 __CFRunLoopRun + 1161
4   com.apple.CoreFoundation        0x00007fff8c425e75 CFRunLoopRunSpecific + 309
5   com.apple.Foundation            0x00007fff905e4e18 -[NSConcreteTask waitUntilExit] + 205
6   com.sequelpro.SequelPro         0x00000001000a594c -[SPSSHTunnel launchTask:] + 3102
7   com.apple.Foundation            0x00007fff904bad8b __NSThread__main__ + 1318
8   libsystem_pthread.dylib         0x00007fff926e8899 _pthread_body + 138
9   libsystem_pthread.dylib         0x00007fff926e872a _pthread_start + 137
10  libsystem_pthread.dylib         0x00007fff926ecfc9 thread_start + 13

Thread 19 crashed with X86 Thread State (64-bit):
  rax: 0xbadd71da8fd0bead  rbx: 0x0000658000a212c0  rcx: 0x00000001011792a0  rdx: 0x00000000a1a1a1a1
  rdi: 0x0000658000a212c0  rsi: 0x0000000101179010  rbp: 0x000000011750b2d0  rsp: 0x000000011750b2c0
   r8: 0x0000000000000fff   r9: 0xffff9a7fffb7177f  r10: 0x00000001019befc0  r11: 0x00007fff751b8810
  r12: 0x0000600000e72d80  r13: 0x0000628000345d80  r14: 0x0000000103097048  r15: 0x0000000103097000
  rip: 0x00007fff86e750e6  rfl: 0x0000000000010246  cr2: 0x0000000100987000

Logical CPU:     10
Error Code:      0x00000000
Trap Number:     13


Binary Images:
       ... snip @dmoagx ...

@dmoagx
Copy link
Member

dmoagx commented Oct 2, 2015

Yeah, that is: http://log.sequelpro.com/view/4528 (and others).
According to the logs that crash exists even in 1.0.2, it might just have occurred less often.
Also all reports are from 10.9 and 10.10.

Do you have Xcode installed or know how to use Terminal?

@Pixelsynch
Copy link
Author

I don't have Xcode installed.

I can copy and paste into Terminal.

@dmoagx
Copy link
Member

dmoagx commented Oct 2, 2015

OK, then in Terminal run

NSZombieEnabled=YES /Applications/Sequel\ Pro.app/Contents/MacOS/Sequel\ Pro

Once Sequel Pro crashes again, there should be some output in Terminal that I need.
(Note: you can't connect via SSH with password auth in that mode, SSH with public key still works)

@Pixelsynch
Copy link
Author

I use password auth, so I couldn't run that - otherwise I wouldn't be able to 'export'.

This is a cPanel server account (not 'root') so I don't know if I could use a public key - no idea.

@dmoagx
Copy link
Member

dmoagx commented Oct 3, 2015

You can use the workaround of manually opening the SSH tunnel then.
Open a second Terminal window and type (replace the names with your settings from Sequel Pro).

ssh -L12984:mysql-host:mysql-port ssh-username@ssh-host -p ssh-port

SSH will then ask for your password, which you have to enter manually and press return.

Then in Sequel Pro select the favorite, switch its type to "Standard" and Set Host = 127.0.0.1, Port = 12984 and connect (don't save the changes).

@Pixelsynch
Copy link
Author

Another crash - same place, doesn't crash every time though - last time was last Thursday, today is Wednesday, about 10 databases 'exported' each day.

I havn't been able to implement your suggested Terminal code - I would need to do it 10 times each day, maybe when I have more time.

Process:         Sequel Pro [822]
Path:            /Applications/Sequel Pro.app/Contents/MacOS/Sequel Pro
Identifier:      com.sequelpro.SequelPro
Version:         1.1 (4499)
Code Type:       X86-64 (Native)
Parent Process:  launchd [207]
Responsible:     Sequel Pro [822]
User ID:         501

Date/Time:       2015-10-07 23:44:35.092 +0100
OS Version:      Mac OS X 10.9.5 (13F1112)
Report Version:  11
Anonymous UUID:  

Sleep/Wake UUID: 

Crashed Thread:  16  Dispatch queue: NSOperationQueue 0x6200002351e0

Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: EXC_I386_GPFLT

Thread 0:: Dispatch queue: com.apple.main-thread
0   libobjc.A.dylib                 0x00007fff8dd9387b bool objc::DenseMapBase<objc::DenseMap<objc_object*, unsigned long, true, objc::DenseMapInfo<objc_object*> >, objc_object*, unsigned long, objc::DenseMapInfo<objc_object*>, true>::LookupBucketFor<objc_object*>(objc_object* const&, std::__1::pair<objc_object*, unsigned long> const*&) const + 183
1   libobjc.A.dylib                 0x00007fff8dd939ea objc::DenseMapBase<objc::DenseMap<objc_object*, unsigned long, true, objc::DenseMapInfo<objc_object*> >, objc_object*, unsigned long, objc::DenseMapInfo<objc_object*>, true>::FindAndConstruct(objc_object* const&) + 26
2   libobjc.A.dylib                 0x00007fff8dd93354 -[NSObject retain] + 100
3   com.apple.Foundation            0x00007fff973b3675 -[NSConcreteAttributedString initWithAttributedString:] + 154
4   com.apple.Foundation            0x00007fff9739a82a -[NSConcreteAttributedString copyWithZone:] + 83
5   com.apple.AppKit                0x00007fff8ee401e5 -[_NSCachedAttributedString initWithAttributedString:] + 66
6   com.apple.AppKit                0x00007fff8ee3fee8 __NSCreateRenderingContextForAttributedString + 84
7   com.apple.AppKit                0x00007fff8ede7e74 -[NSAttributedString(NSExtendedStringDrawing) boundingRectWithSize:options:context:] + 803
8   com.apple.AppKit                0x00007fff8ede7b26 -[NSAttributedString(NSExtendedStringDrawing) boundingRectWithSize:options:] + 32
9   com.apple.AppKit                0x00007fff8ee6088d -[NSAttributedString(NSStringDrawing) size] + 56
10  com.sequelpro.SequelPro         0x00000001000d4f8d -[SPTableTextFieldCell drawInteriorWithFrame:inView:] + 70
11  com.sequelpro.SequelPro         0x00000001000627a8 -[ImageAndTextCell drawWithFrame:inView:] + 557
12  com.apple.AppKit                0x00007fff8f05c793 -[NSTableView drawRow:clipRect:] + 1629
13  com.apple.AppKit                0x00007fff8f05bfed -[NSTableView drawRowIndexes:clipRect:] + 776
14  com.apple.AppKit                0x00007fff8ef25331 -[NSTableView drawRect:] + 1484
15  com.apple.AppKit                0x00007fff8eefe04f -[NSView _drawRect:clip:] + 3748
16  com.apple.AppKit                0x00007fff8eefc8c4 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 1799
17  com.apple.AppKit                0x00007fff8eefcca0 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2787
18  com.apple.AppKit                0x00007fff8eefa706 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 841
19  com.apple.AppKit                0x00007fff8eefbbc4 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 6151
20  com.apple.AppKit                0x00007fff8eefbbc4 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 6151
21  com.apple.AppKit                0x00007fff8eefbbc4 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 6151
22  com.apple.AppKit                0x00007fff8eefbbc4 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 6151
23  com.apple.AppKit                0x00007fff8eefbbc4 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 6151
24  com.apple.AppKit                0x00007fff8eefbbc4 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 6151
25  com.apple.AppKit                0x00007fff8eefbbc4 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 6151
26  com.apple.AppKit                0x00007fff8eefbbc4 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 6151
27  com.apple.AppKit                0x00007fff8eefbbc4 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 6151
28  com.apple.AppKit                0x00007fff8eefbbc4 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 6151
29  com.apple.AppKit                0x00007fff8eefbbc4 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 6151
30  com.apple.AppKit                0x00007fff8eef9eb1 -[NSThemeFrame _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 314
31  com.apple.AppKit                0x00007fff8eef6e9f -[NSView _displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:] + 2828
32  com.apple.AppKit                0x00007fff8eed62da -[NSView displayIfNeeded] + 1680
33  com.apple.AppKit                0x00007fff8ef3b74e _handleWindowNeedsDisplayOrLayoutOrUpdateConstraints + 884
34  com.apple.AppKit                0x00007fff8f511061 __83-[NSWindow _postWindowNeedsDisplayOrLayoutOrUpdateConstraintsUnlessPostingDisabled]_block_invoke1331 + 46
35  com.apple.CoreFoundation        0x00007fff9333dd67 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23
36  com.apple.CoreFoundation        0x00007fff9333dcd7 __CFRunLoopDoObservers + 391
37  com.apple.CoreFoundation        0x00007fff9332f3b8 __CFRunLoopRun + 776
38  com.apple.CoreFoundation        0x00007fff9332ee75 CFRunLoopRunSpecific + 309
39  com.apple.HIToolbox             0x00007fff92f5da0d RunCurrentEventLoopInMode + 226
40  com.apple.HIToolbox             0x00007fff92f5d685 ReceiveNextEventCommon + 173
41  com.apple.HIToolbox             0x00007fff92f5d5bc _BlockUntilNextEventMatchingListInModeWithFilter + 65
42  com.apple.AppKit                0x00007fff8ed9f24e _DPSNextEvent + 1434
43  com.apple.AppKit                0x00007fff8ed9e89b -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 122
44  com.apple.AppKit                0x00007fff8ed9299c -[NSApplication run] + 553
45  com.apple.AppKit                0x00007fff8ed7d783 NSApplicationMain + 940
46  com.sequelpro.SequelPro         0x0000000100001994 start + 52

Thread 1:: Dispatch queue: com.apple.libdispatch-manager
0   libsystem_kernel.dylib          0x00007fff95372662 kevent64 + 10
1   libdispatch.dylib               0x00007fff95389421 _dispatch_mgr_invoke + 239
2   libdispatch.dylib               0x00007fff95389136 _dispatch_mgr_thread + 52

Thread 2:
0   libsystem_kernel.dylib          0x00007fff9536da1a mach_msg_trap + 10
1   libsystem_kernel.dylib          0x00007fff9536cd18 mach_msg + 64
2   com.apple.CoreFoundation        0x00007fff9332ff15 __CFRunLoopServiceMachPort + 181
3   com.apple.CoreFoundation        0x00007fff9332f539 __CFRunLoopRun + 1161
4   com.apple.CoreFoundation        0x00007fff9332ee75 CFRunLoopRunSpecific + 309
5   com.apple.AppKit                0x00007fff8ef3f05e _NSEventThread + 144
6   libsystem_pthread.dylib         0x00007fff995f1899 _pthread_body + 138
7   libsystem_pthread.dylib         0x00007fff995f172a _pthread_start + 137
8   libsystem_pthread.dylib         0x00007fff995f5fc9 thread_start + 13

Thread 3:: com.apple.NSURLConnectionLoader
0   libsystem_kernel.dylib          0x00007fff9536da1a mach_msg_trap + 10
1   libsystem_kernel.dylib          0x00007fff9536cd18 mach_msg + 64
2   com.apple.CoreFoundation        0x00007fff9332ff15 __CFRunLoopServiceMachPort + 181
3   com.apple.CoreFoundation        0x00007fff9332f539 __CFRunLoopRun + 1161
4   com.apple.CoreFoundation        0x00007fff9332ee75 CFRunLoopRunSpecific + 309
5   com.apple.Foundation            0x00007fff973c3f87 +[NSURLConnection(Loader) _resourceLoadLoop:] + 348
6   com.apple.Foundation            0x00007fff973c3d8b __NSThread__main__ + 1318
7   libsystem_pthread.dylib         0x00007fff995f1899 _pthread_body + 138
8   libsystem_pthread.dylib         0x00007fff995f172a _pthread_start + 137
9   libsystem_pthread.dylib         0x00007fff995f5fc9 thread_start + 13

Thread 4:: com.apple.CFSocket.private
0   libsystem_kernel.dylib          0x00007fff953719aa __select + 10
1   com.apple.CoreFoundation        0x00007fff9337ba03 __CFSocketManager + 867
2   libsystem_pthread.dylib         0x00007fff995f1899 _pthread_body + 138
3   libsystem_pthread.dylib         0x00007fff995f172a _pthread_start + 137
4   libsystem_pthread.dylib         0x00007fff995f5fc9 thread_start + 13

Thread 5:
0   libsystem_kernel.dylib          0x00007fff9536da1a mach_msg_trap + 10
1   libsystem_kernel.dylib          0x00007fff9536cd18 mach_msg + 64
2   com.apple.CoreFoundation        0x00007fff9332ff15 __CFRunLoopServiceMachPort + 181
3   com.apple.CoreFoundation        0x00007fff9332f539 __CFRunLoopRun + 1161
4   com.apple.CoreFoundation        0x00007fff9332ee75 CFRunLoopRunSpecific + 309
5   com.apple.Foundation            0x00007fff9743cf89 -[NSConnection run] + 127
6   com.apple.Foundation            0x00007fff973c3d8b __NSThread__main__ + 1318
7   libsystem_pthread.dylib         0x00007fff995f1899 _pthread_body + 138
8   libsystem_pthread.dylib         0x00007fff995f172a _pthread_start + 137
9   libsystem_pthread.dylib         0x00007fff995f5fc9 thread_start + 13

Thread 6:
0   libsystem_kernel.dylib          0x00007fff95371e6a __workq_kernreturn + 10
1   libsystem_pthread.dylib         0x00007fff995f2f08 _pthread_wqthread + 330
2   libsystem_pthread.dylib         0x00007fff995f5fb9 start_wqthread + 13

Thread 7:
0   libsystem_kernel.dylib          0x00007fff95371e6a __workq_kernreturn + 10
1   libsystem_pthread.dylib         0x00007fff995f2f08 _pthread_wqthread + 330
2   libsystem_pthread.dylib         0x00007fff995f5fb9 start_wqthread + 13

Thread 8:
0   libsystem_kernel.dylib          0x00007fff95371e6a __workq_kernreturn + 10
1   libsystem_pthread.dylib         0x00007fff995f2f08 _pthread_wqthread + 330
2   libsystem_pthread.dylib         0x00007fff995f5fb9 start_wqthread + 13

Thread 9:: JavaScriptCore::BlockFree
0   libsystem_kernel.dylib          0x00007fff95371716 __psynch_cvwait + 10
1   libsystem_pthread.dylib         0x00007fff995f3c3b _pthread_cond_wait + 727
2   com.apple.JavaScriptCore        0x00007fff904b0cb5 JSC::BlockAllocator::blockFreeingThreadMain() + 261
3   com.apple.JavaScriptCore        0x00007fff904a5f4f WTF::wtfThreadEntryPoint(void*) + 15
4   libsystem_pthread.dylib         0x00007fff995f1899 _pthread_body + 138
5   libsystem_pthread.dylib         0x00007fff995f172a _pthread_start + 137
6   libsystem_pthread.dylib         0x00007fff995f5fc9 thread_start + 13

Thread 10:: JavaScriptCore::Marking
0   libsystem_kernel.dylib          0x00007fff95371716 __psynch_cvwait + 10
1   libsystem_pthread.dylib         0x00007fff995f3c3b _pthread_cond_wait + 727
2   com.apple.JavaScriptCore        0x00007fff904b1727 JSC::GCThread::waitForNextPhase() + 119
3   com.apple.JavaScriptCore        0x00007fff904b15b8 JSC::GCThread::gcThreadMain() + 88
4   com.apple.JavaScriptCore        0x00007fff904a5f4f WTF::wtfThreadEntryPoint(void*) + 15
5   libsystem_pthread.dylib         0x00007fff995f1899 _pthread_body + 138
6   libsystem_pthread.dylib         0x00007fff995f172a _pthread_start + 137
7   libsystem_pthread.dylib         0x00007fff995f5fc9 thread_start + 13

Thread 11:: JavaScriptCore::Marking
0   libsystem_kernel.dylib          0x00007fff95371716 __psynch_cvwait + 10
1   libsystem_pthread.dylib         0x00007fff995f3c3b _pthread_cond_wait + 727
2   com.apple.JavaScriptCore        0x00007fff904b1727 JSC::GCThread::waitForNextPhase() + 119
3   com.apple.JavaScriptCore        0x00007fff904b15b8 JSC::GCThread::gcThreadMain() + 88
4   com.apple.JavaScriptCore        0x00007fff904a5f4f WTF::wtfThreadEntryPoint(void*) + 15
5   libsystem_pthread.dylib         0x00007fff995f1899 _pthread_body + 138
6   libsystem_pthread.dylib         0x00007fff995f172a _pthread_start + 137
7   libsystem_pthread.dylib         0x00007fff995f5fc9 thread_start + 13

Thread 12:: JavaScriptCore::Marking
0   libsystem_kernel.dylib          0x00007fff95371716 __psynch_cvwait + 10
1   libsystem_pthread.dylib         0x00007fff995f3c3b _pthread_cond_wait + 727
2   com.apple.JavaScriptCore        0x00007fff904b1727 JSC::GCThread::waitForNextPhase() + 119
3   com.apple.JavaScriptCore        0x00007fff904b15b8 JSC::GCThread::gcThreadMain() + 88
4   com.apple.JavaScriptCore        0x00007fff904a5f4f WTF::wtfThreadEntryPoint(void*) + 15
5   libsystem_pthread.dylib         0x00007fff995f1899 _pthread_body + 138
6   libsystem_pthread.dylib         0x00007fff995f172a _pthread_start + 137
7   libsystem_pthread.dylib         0x00007fff995f5fc9 thread_start + 13

Thread 13:: JavaScriptCore::Marking
0   libsystem_kernel.dylib          0x00007fff95371716 __psynch_cvwait + 10
1   libsystem_pthread.dylib         0x00007fff995f3c3b _pthread_cond_wait + 727
2   com.apple.JavaScriptCore        0x00007fff904b1727 JSC::GCThread::waitForNextPhase() + 119
3   com.apple.JavaScriptCore        0x00007fff904b15b8 JSC::GCThread::gcThreadMain() + 88
4   com.apple.JavaScriptCore        0x00007fff904a5f4f WTF::wtfThreadEntryPoint(void*) + 15
5   libsystem_pthread.dylib         0x00007fff995f1899 _pthread_body + 138
6   libsystem_pthread.dylib         0x00007fff995f172a _pthread_start + 137
7   libsystem_pthread.dylib         0x00007fff995f5fc9 thread_start + 13

Thread 14:: JavaScriptCore::Marking
0   libsystem_kernel.dylib          0x00007fff95371716 __psynch_cvwait + 10
1   libsystem_pthread.dylib         0x00007fff995f3c3b _pthread_cond_wait + 727
2   com.apple.JavaScriptCore        0x00007fff904b1727 JSC::GCThread::waitForNextPhase() + 119
3   com.apple.JavaScriptCore        0x00007fff904b15b8 JSC::GCThread::gcThreadMain() + 88
4   com.apple.JavaScriptCore        0x00007fff904a5f4f WTF::wtfThreadEntryPoint(void*) + 15
5   libsystem_pthread.dylib         0x00007fff995f1899 _pthread_body + 138
6   libsystem_pthread.dylib         0x00007fff995f172a _pthread_start + 137
7   libsystem_pthread.dylib         0x00007fff995f5fc9 thread_start + 13

Thread 15:: JavaScriptCore::Marking
0   libsystem_kernel.dylib          0x00007fff95371716 __psynch_cvwait + 10
1   libsystem_pthread.dylib         0x00007fff995f3c3b _pthread_cond_wait + 727
2   com.apple.JavaScriptCore        0x00007fff904b1727 JSC::GCThread::waitForNextPhase() + 119
3   com.apple.JavaScriptCore        0x00007fff904b15b8 JSC::GCThread::gcThreadMain() + 88
4   com.apple.JavaScriptCore        0x00007fff904a5f4f WTF::wtfThreadEntryPoint(void*) + 15
5   libsystem_pthread.dylib         0x00007fff995f1899 _pthread_body + 138
6   libsystem_pthread.dylib         0x00007fff995f172a _pthread_start + 137
7   libsystem_pthread.dylib         0x00007fff995f5fc9 thread_start + 13

Thread 16 Crashed:: Dispatch queue: NSOperationQueue 0x6200002351e0
0   libobjc.A.dylib                 0x00007fff8dd7e0e6 objc_release + 22
1   libobjc.A.dylib                 0x00007fff8dd7d65a (anonymous namespace)::AutoreleasePoolPage::pop(void*) + 502
2   com.apple.CoreFoundation        0x00007fff932f7932 _CFAutoreleasePoolPop + 50
3   com.apple.Foundation            0x00007fff9737c4dc -[NSAutoreleasePool release] + 140
4   com.sequelpro.SequelPro         0x00000001000cb981 -[SPSQLExporter main] + 12256
5   com.apple.Foundation            0x00007fff97364ec1 -[__NSOperationInternal _start:] + 631
6   com.apple.Foundation            0x00007fff97364b6b __NSOQSchedule_f + 64
7   libdispatch.dylib               0x00007fff9538728d _dispatch_client_callout + 8
8   libdispatch.dylib               0x00007fff9538b7e3 _dispatch_async_redirect_invoke + 154
9   libdispatch.dylib               0x00007fff9538728d _dispatch_client_callout + 8
10  libdispatch.dylib               0x00007fff95389082 _dispatch_root_queue_drain + 326
11  libdispatch.dylib               0x00007fff9538a177 _dispatch_worker_thread2 + 40
12  libsystem_pthread.dylib         0x00007fff995f2ef8 _pthread_wqthread + 314
13  libsystem_pthread.dylib         0x00007fff995f5fb9 start_wqthread + 13

Thread 17:
0   libsystem_kernel.dylib          0x00007fff9536da1a mach_msg_trap + 10
1   libsystem_kernel.dylib          0x00007fff9536cd18 mach_msg + 64
2   com.apple.CoreFoundation        0x00007fff9332ff15 __CFRunLoopServiceMachPort + 181
3   com.apple.CoreFoundation        0x00007fff9332f539 __CFRunLoopRun + 1161
4   com.apple.CoreFoundation        0x00007fff9332ee75 CFRunLoopRunSpecific + 309
5   com.apple.Foundation            0x00007fff9743cf89 -[NSConnection run] + 127
6   com.apple.Foundation            0x00007fff973c3d8b __NSThread__main__ + 1318
7   libsystem_pthread.dylib         0x00007fff995f1899 _pthread_body + 138
8   libsystem_pthread.dylib         0x00007fff995f172a _pthread_start + 137
9   libsystem_pthread.dylib         0x00007fff995f5fc9 thread_start + 13

Thread 18:: SPSSHTunnel SSH binary communication task
0   libsystem_kernel.dylib          0x00007fff9536da1a mach_msg_trap + 10
1   libsystem_kernel.dylib          0x00007fff9536cd18 mach_msg + 64
2   com.apple.CoreFoundation        0x00007fff9332ff15 __CFRunLoopServiceMachPort + 181
3   com.apple.CoreFoundation        0x00007fff9332f539 __CFRunLoopRun + 1161
4   com.apple.CoreFoundation        0x00007fff9332ee75 CFRunLoopRunSpecific + 309
5   com.apple.Foundation            0x00007fff974ede18 -[NSConcreteTask waitUntilExit] + 205
6   com.sequelpro.SequelPro         0x00000001000a594c -[SPSSHTunnel launchTask:] + 3102
7   com.apple.Foundation            0x00007fff973c3d8b __NSThread__main__ + 1318
8   libsystem_pthread.dylib         0x00007fff995f1899 _pthread_body + 138
9   libsystem_pthread.dylib         0x00007fff995f172a _pthread_start + 137
10  libsystem_pthread.dylib         0x00007fff995f5fc9 thread_start + 13

Thread 19:: CVDisplayLink
0   libsystem_kernel.dylib          0x00007fff95371716 __psynch_cvwait + 10
1   libsystem_pthread.dylib         0x00007fff995f3c77 _pthread_cond_wait + 787
2   com.apple.CoreVideo             0x00007fff96f5d464 CVDisplayLink::waitUntil(unsigned long long) + 244
3   com.apple.CoreVideo             0x00007fff96f5c998 CVDisplayLink::runIOThread() + 496
4   com.apple.CoreVideo             0x00007fff96f5c78f startIOThread(void*) + 147
5   libsystem_pthread.dylib         0x00007fff995f1899 _pthread_body + 138
6   libsystem_pthread.dylib         0x00007fff995f172a _pthread_start + 137
7   libsystem_pthread.dylib         0x00007fff995f5fc9 thread_start + 13

Thread 20:
0   libsystem_kernel.dylib          0x00007fff95371e6a __workq_kernreturn + 10
1   libsystem_pthread.dylib         0x00007fff995f2f08 _pthread_wqthread + 330
2   libsystem_pthread.dylib         0x00007fff995f5fb9 start_wqthread + 13

Thread 21:
0   libsystem_kernel.dylib          0x00007fff9536da1a mach_msg_trap + 10
1   libsystem_kernel.dylib          0x00007fff9536cd18 mach_msg + 64
2   com.apple.CoreFoundation        0x00007fff9332ff15 __CFRunLoopServiceMachPort + 181
3   com.apple.CoreFoundation        0x00007fff9332f539 __CFRunLoopRun + 1161
4   com.apple.CoreFoundation        0x00007fff9332ee75 CFRunLoopRunSpecific + 309
5   com.apple.Foundation            0x00007fff9743cf89 -[NSConnection run] + 127
6   com.apple.Foundation            0x00007fff973c3d8b __NSThread__main__ + 1318
7   libsystem_pthread.dylib         0x00007fff995f1899 _pthread_body + 138
8   libsystem_pthread.dylib         0x00007fff995f172a _pthread_start + 137
9   libsystem_pthread.dylib         0x00007fff995f5fc9 thread_start + 13

Thread 22:: SPSSHTunnel SSH binary communication task
0   libsystem_kernel.dylib          0x00007fff9536da1a mach_msg_trap + 10
1   libsystem_kernel.dylib          0x00007fff9536cd18 mach_msg + 64
2   com.apple.CoreFoundation        0x00007fff9332ff15 __CFRunLoopServiceMachPort + 181
3   com.apple.CoreFoundation        0x00007fff9332f539 __CFRunLoopRun + 1161
4   com.apple.CoreFoundation        0x00007fff9332ee75 CFRunLoopRunSpecific + 309
5   com.apple.Foundation            0x00007fff974ede18 -[NSConcreteTask waitUntilExit] + 205
6   com.sequelpro.SequelPro         0x00000001000a594c -[SPSSHTunnel launchTask:] + 3102
7   com.apple.Foundation            0x00007fff973c3d8b __NSThread__main__ + 1318
8   libsystem_pthread.dylib         0x00007fff995f1899 _pthread_body + 138
9   libsystem_pthread.dylib         0x00007fff995f172a _pthread_start + 137
10  libsystem_pthread.dylib         0x00007fff995f5fc9 thread_start + 13

Thread 23:
0   libsystem_kernel.dylib          0x00007fff9536da1a mach_msg_trap + 10
1   libsystem_kernel.dylib          0x00007fff9536cd18 mach_msg + 64
2   com.apple.CoreFoundation        0x00007fff9332ff15 __CFRunLoopServiceMachPort + 181
3   com.apple.CoreFoundation        0x00007fff9332f539 __CFRunLoopRun + 1161
4   com.apple.CoreFoundation        0x00007fff9332ee75 CFRunLoopRunSpecific + 309
5   com.apple.Foundation            0x00007fff9743cf89 -[NSConnection run] + 127
6   com.apple.Foundation            0x00007fff973c3d8b __NSThread__main__ + 1318
7   libsystem_pthread.dylib         0x00007fff995f1899 _pthread_body + 138
8   libsystem_pthread.dylib         0x00007fff995f172a _pthread_start + 137
9   libsystem_pthread.dylib         0x00007fff995f5fc9 thread_start + 13

Thread 24:
0   libsystem_kernel.dylib          0x00007fff9536da1a mach_msg_trap + 10
1   libsystem_kernel.dylib          0x00007fff9536cd18 mach_msg + 64
2   com.apple.CoreFoundation        0x00007fff9332ff15 __CFRunLoopServiceMachPort + 181
3   com.apple.CoreFoundation        0x00007fff9332f539 __CFRunLoopRun + 1161
4   com.apple.CoreFoundation        0x00007fff9332ee75 CFRunLoopRunSpecific + 309
5   com.apple.Foundation            0x00007fff9743cf89 -[NSConnection run] + 127
6   com.apple.Foundation            0x00007fff973c3d8b __NSThread__main__ + 1318
7   libsystem_pthread.dylib         0x00007fff995f1899 _pthread_body + 138
8   libsystem_pthread.dylib         0x00007fff995f172a _pthread_start + 137
9   libsystem_pthread.dylib         0x00007fff995f5fc9 thread_start + 13

Thread 25:: SPSSHTunnel SSH binary communication task
0   libsystem_kernel.dylib          0x00007fff9536da1a mach_msg_trap + 10
1   libsystem_kernel.dylib          0x00007fff9536cd18 mach_msg + 64
2   com.apple.CoreFoundation        0x00007fff9332ff15 __CFRunLoopServiceMachPort + 181
3   com.apple.CoreFoundation        0x00007fff9332f539 __CFRunLoopRun + 1161
4   com.apple.CoreFoundation        0x00007fff9332ee75 CFRunLoopRunSpecific + 309
5   com.apple.Foundation            0x00007fff974ede18 -[NSConcreteTask waitUntilExit] + 205
6   com.sequelpro.SequelPro         0x00000001000a594c -[SPSSHTunnel launchTask:] + 3102
7   com.apple.Foundation            0x00007fff973c3d8b __NSThread__main__ + 1318
8   libsystem_pthread.dylib         0x00007fff995f1899 _pthread_body + 138
9   libsystem_pthread.dylib         0x00007fff995f172a _pthread_start + 137
10  libsystem_pthread.dylib         0x00007fff995f5fc9 thread_start + 13

Thread 26:
0   libsystem_kernel.dylib          0x00007fff95371e6a __workq_kernreturn + 10
1   libsystem_pthread.dylib         0x00007fff995f2f08 _pthread_wqthread + 330
2   libsystem_pthread.dylib         0x00007fff995f5fb9 start_wqthread + 13

Thread 27:
0   libsystem_kernel.dylib          0x00007fff95371e6a __workq_kernreturn + 10
1   libsystem_pthread.dylib         0x00007fff995f2f08 _pthread_wqthread + 330
2   libsystem_pthread.dylib         0x00007fff995f5fb9 start_wqthread + 13

Thread 28:
0   libsystem_kernel.dylib          0x00007fff95371e6a __workq_kernreturn + 10
1   libsystem_pthread.dylib         0x00007fff995f2f08 _pthread_wqthread + 330
2   libsystem_pthread.dylib         0x00007fff995f5fb9 start_wqthread + 13

Thread 29:
0   libsystem_kernel.dylib          0x00007fff95371e6a __workq_kernreturn + 10
1   libsystem_pthread.dylib         0x00007fff995f2f08 _pthread_wqthread + 330
2   libsystem_pthread.dylib         0x00007fff995f5fb9 start_wqthread + 13

Thread 30:
0   libsystem_kernel.dylib          0x00007fff95371e6a __workq_kernreturn + 10
1   libsystem_pthread.dylib         0x00007fff995f2f08 _pthread_wqthread + 330
2   libsystem_pthread.dylib         0x00007fff995f5fb9 start_wqthread + 13

Thread 31:
0   libsystem_kernel.dylib          0x00007fff9536da1a mach_msg_trap + 10
1   libsystem_kernel.dylib          0x00007fff9536cd18 mach_msg + 64
2   com.apple.CoreFoundation        0x00007fff9332ff15 __CFRunLoopServiceMachPort + 181
3   com.apple.CoreFoundation        0x00007fff9332f539 __CFRunLoopRun + 1161
4   com.apple.CoreFoundation        0x00007fff9332ee75 CFRunLoopRunSpecific + 309
5   com.apple.Foundation            0x00007fff9743cf89 -[NSConnection run] + 127
6   com.apple.Foundation            0x00007fff973c3d8b __NSThread__main__ + 1318
7   libsystem_pthread.dylib         0x00007fff995f1899 _pthread_body + 138
8   libsystem_pthread.dylib         0x00007fff995f172a _pthread_start + 137
9   libsystem_pthread.dylib         0x00007fff995f5fc9 thread_start + 13

Thread 32:: SPSSHTunnel SSH binary communication task
0   libsystem_kernel.dylib          0x00007fff9536da1a mach_msg_trap + 10
1   libsystem_kernel.dylib          0x00007fff9536cd18 mach_msg + 64
2   com.apple.CoreFoundation        0x00007fff9332ff15 __CFRunLoopServiceMachPort + 181
3   com.apple.CoreFoundation        0x00007fff9332f539 __CFRunLoopRun + 1161
4   com.apple.CoreFoundation        0x00007fff9332ee75 CFRunLoopRunSpecific + 309
5   com.apple.Foundation            0x00007fff974ede18 -[NSConcreteTask waitUntilExit] + 205
6   com.sequelpro.SequelPro         0x00000001000a594c -[SPSSHTunnel launchTask:] + 3102
7   com.apple.Foundation            0x00007fff973c3d8b __NSThread__main__ + 1318
8   libsystem_pthread.dylib         0x00007fff995f1899 _pthread_body + 138
9   libsystem_pthread.dylib         0x00007fff995f172a _pthread_start + 137
10  libsystem_pthread.dylib         0x00007fff995f5fc9 thread_start + 13

Thread 33:
0   libsystem_kernel.dylib          0x00007fff95371e6a __workq_kernreturn + 10
1   libsystem_pthread.dylib         0x00007fff995f2f08 _pthread_wqthread + 330
2   libsystem_pthread.dylib         0x00007fff995f5fb9 start_wqthread + 13

Thread 34:
0   libsystem_kernel.dylib          0x00007fff95371e6a __workq_kernreturn + 10
1   libsystem_pthread.dylib         0x00007fff995f2f08 _pthread_wqthread + 330
2   libsystem_pthread.dylib         0x00007fff995f5fb9 start_wqthread + 13

Thread 35:
0   libsystem_kernel.dylib          0x00007fff95371e6a __workq_kernreturn + 10
1   libsystem_pthread.dylib         0x00007fff995f2f08 _pthread_wqthread + 330
2   libsystem_pthread.dylib         0x00007fff995f5fb9 start_wqthread + 13

Thread 36:
0   libsystem_kernel.dylib          0x00007fff95371e6a __workq_kernreturn + 10
1   libsystem_pthread.dylib         0x00007fff995f2f08 _pthread_wqthread + 330
2   libsystem_pthread.dylib         0x00007fff995f5fb9 start_wqthread + 13

Thread 37:
0   libsystem_kernel.dylib          0x00007fff95371e6a __workq_kernreturn + 10
1   libsystem_pthread.dylib         0x00007fff995f2f08 _pthread_wqthread + 330
2   libsystem_pthread.dylib         0x00007fff995f5fb9 start_wqthread + 13

Thread 38:
0   libsystem_kernel.dylib          0x00007fff95371e6a __workq_kernreturn + 10
1   libsystem_pthread.dylib         0x00007fff995f2f08 _pthread_wqthread + 330
2   libsystem_pthread.dylib         0x00007fff995f5fb9 start_wqthread + 13

Thread 39:: Dispatch queue: NSOperationQueue 0x630001a20360
0   libsystem_kernel.dylib          0x00007fff953729f2 read + 10
1   com.sequelpro.spmysql           0x000000010039f888 vio_read_buff + 120
2   com.sequelpro.spmysql           0x0000000100383300 my_real_read(st_net*, unsigned long*) + 192
3   com.sequelpro.spmysql           0x0000000100383118 my_net_read + 456
4   com.sequelpro.spmysql           0x000000010037a7bf cli_safe_read + 31
5   com.sequelpro.spmysql           0x000000010037f3b6 cli_read_query_result + 22
6   com.sequelpro.spmysql           0x000000010037e1b0 mysql_real_query + 80
7   com.sequelpro.spmysql           0x000000010036b6da -[SPMySQLConnection(Querying_and_Preparation) queryString:usingEncoding:withResultType:] + 622
8   com.sequelpro.SequelPro         0x00000001000c9c41 -[SPSQLExporter main] + 4768
9   com.apple.Foundation            0x00007fff97364ec1 -[__NSOperationInternal _start:] + 631
10  com.apple.Foundation            0x00007fff97364b6b __NSOQSchedule_f + 64
11  libdispatch.dylib               0x00007fff9538728d _dispatch_client_callout + 8
12  libdispatch.dylib               0x00007fff9538b7e3 _dispatch_async_redirect_invoke + 154
13  libdispatch.dylib               0x00007fff9538728d _dispatch_client_callout + 8
14  libdispatch.dylib               0x00007fff95389082 _dispatch_root_queue_drain + 326
15  libdispatch.dylib               0x00007fff9538a177 _dispatch_worker_thread2 + 40
16  libsystem_pthread.dylib         0x00007fff995f2ef8 _pthread_wqthread + 314
17  libsystem_pthread.dylib         0x00007fff995f5fb9 start_wqthread + 13

Thread 40:: SPNavigatorController database structure querier
0   libsystem_kernel.dylib          0x00007fff95371a3a __semwait_signal + 10
1   libsystem_c.dylib               0x00007fff92b20dc0 nanosleep + 200
2   libsystem_c.dylib               0x00007fff92b20cb2 usleep + 54
3   com.sequelpro.spmysql           0x0000000100369c14 -[SPMySQLConnection(Ping_and_KeepAlive) _pingConnectionUsingLoopDelay:] + 393
4   com.sequelpro.spmysql           0x0000000100367b7f -[SPMySQLConnection checkConnection] + 115
5   com.sequelpro.SequelPro         0x000000010013196e -[SPDatabaseStructure(Private_API) _ensureConnection] + 89
6   com.sequelpro.SequelPro         0x00000001001307ab -[SPDatabaseStructure queryDbStructureWithUserInfo:] + 3932
7   com.apple.Foundation            0x00007fff973c3d8b __NSThread__main__ + 1318
8   libsystem_pthread.dylib         0x00007fff995f1899 _pthread_body + 138
9   libsystem_pthread.dylib         0x00007fff995f172a _pthread_start + 137
10  libsystem_pthread.dylib         0x00007fff995f5fc9 thread_start + 13

Thread 41:
0   libsystem_kernel.dylib          0x00007fff95371a3a __semwait_signal + 10
1   libsystem_c.dylib               0x00007fff92b20dc0 nanosleep + 200
2   libsystem_c.dylib               0x00007fff92b20cb2 usleep + 54
3   com.sequelpro.SequelPro         0x00000001000f0106 -[SPFileHandle _writeBufferToData] + 337
4   com.apple.Foundation            0x00007fff973c3d8b __NSThread__main__ + 1318
5   libsystem_pthread.dylib         0x00007fff995f1899 _pthread_body + 138
6   libsystem_pthread.dylib         0x00007fff995f172a _pthread_start + 137
7   libsystem_pthread.dylib         0x00007fff995f5fc9 thread_start + 13

Thread 42:
0   libsystem_kernel.dylib          0x00007fff95371e6a __workq_kernreturn + 10
1   libsystem_pthread.dylib         0x00007fff995f2f08 _pthread_wqthread + 330
2   libsystem_pthread.dylib         0x00007fff995f5fb9 start_wqthread + 13

Thread 43:
0   libsystem_kernel.dylib          0x00007fff953729f2 read + 10
1   com.sequelpro.spmysql           0x000000010039f888 vio_read_buff + 120
2   com.sequelpro.spmysql           0x0000000100383300 my_real_read(st_net*, unsigned long*) + 192
3   com.sequelpro.spmysql           0x0000000100383118 my_net_read + 456
4   com.sequelpro.spmysql           0x000000010037a7bf cli_safe_read + 31
5   com.sequelpro.spmysql           0x000000010037ad0d cli_advanced_command + 573
6   com.sequelpro.spmysql           0x00000001003757e1 mysql_ping + 49
7   com.sequelpro.spmysql           0x0000000100369d8f _backgroundPingTask + 83
8   libsystem_pthread.dylib         0x00007fff995f1899 _pthread_body + 138
9   libsystem_pthread.dylib         0x00007fff995f172a _pthread_start + 137
10  libsystem_pthread.dylib         0x00007fff995f5fc9 thread_start + 13

Thread 16 crashed with X86 Thread State (64-bit):
  rax: 0xbadd703d28dcbead  rbx: 0x0000640001a20560  rcx: 0x00000001071758e8  rdx: 0x00000000a1a1a1a1
  rdi: 0x0000640001a20560  rsi: 0x0000000107175010  rbp: 0x000000010b00f2d0  rsp: 0x000000010b00f2c0
   r8: 0x0000000000000fff   r9: 0xffff9bffffb737ff  r10: 0x0000000103da4e40  r11: 0x00007fff7c0c1810
  r12: 0x0000630000a78d40  r13: 0x0000608000342890  r14: 0x0000000104809048  r15: 0x0000000104809000
  rip: 0x00007fff8dd7e0e6  rfl: 0x0000000000010246  cr2: 0x000000011cc39ffe

Logical CPU:     12
Error Code:      0x00000000
Trap Number:     13


Binary Images:
... snip ...

External Modification Summary:
  Calls made by other processes targeting this process:
    task_for_pid: 23
    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: 6983
    thread_create: 0
    thread_set_state: 0

VM Region Summary:
ReadOnly portion of Libraries: Total=229.3M resident=167.1M(73%) swapped_out_or_unallocated=62.2M(27%)
Writable regions: Total=2.0G written=188.1M(9%) resident=288.6M(14%) swapped_out=0K(0%) unallocated=1.7G(86%)

REGION TYPE                        VIRTUAL
===========                        =======
CG backing stores                    41.5M
CG image                             1644K
CG raster data                        140K
CG shared images                      204K
CoreAnimation                        41.3M
CoreAnimation (reserved)               32K        reserved VM address space (unallocated)
CoreGraphics                           20K
CoreImage                              92K
Foundation                              4K
IOKit                                5076K
IOKit (reserved)                      256K        reserved VM address space (unallocated)
Image IO                              128K
JS JIT generated code                   8K
JS JIT generated code (reserved)      1.0G        reserved VM address space (unallocated)
JS VM register file (reserved)       4096K        reserved VM address space (unallocated)
JS garbage collector                  256K
Kernel Alloc Once                       8K
MALLOC                              862.8M
MALLOC (admin)                         48K
Memory Tag 242                         12K
Memory Tag 251                          8K
OpenCL                                100K
OpenGL GLSL                          1664K
SQLite page cache                     256K
STACK GUARD                          56.2M
Stack                                29.0M
VM_ALLOCATE                          17.4M
WebKit Malloc                        1232K
__DATA                               29.3M
__IMAGE                               528K
__LINKEDIT                           68.1M
__TEXT                              161.2M
__UNICODE                             544K
mapped file                          83.5M
shared memory                          68K
===========                        =======
TOTAL                                 2.4G
TOTAL, minus reserved VM space        1.4G

@Pixelsynch
Copy link
Author

Ooops! - spoke too soon, another crash immediately after the last one - same place again, but this time SP crashed before it had finished 'exporting' the database and the .gz file it created locally couldn't be expanded ('Could not extract file xxxx.sql.gz - the archiive is incomplete'):

Thread 5 Crashed:: Dispatch queue: NSOperationQueue 0x608000222f60
0   libobjc.A.dylib                 0x00007fff8dd7e0e6 objc_release + 22
1   libobjc.A.dylib                 0x00007fff8dd7d65a (anonymous namespace)::AutoreleasePoolPage::pop(void*) + 502
2   com.apple.CoreFoundation        0x00007fff932f7932 _CFAutoreleasePoolPop + 50
3   com.apple.Foundation            0x00007fff9737c4dc -[NSAutoreleasePool release] + 140
4   com.sequelpro.SequelPro         0x00000001000cb981 -[SPSQLExporter main] + 12256
5   com.apple.Foundation            0x00007fff97364ec1 -[__NSOperationInternal _start:] + 631
6   com.apple.Foundation            0x00007fff97364b6b __NSOQSchedule_f + 64
7   libdispatch.dylib               0x00007fff9538728d _dispatch_client_callout + 8
8   libdispatch.dylib               0x00007fff9538b7e3 _dispatch_async_redirect_invoke + 154
9   libdispatch.dylib               0x00007fff9538728d _dispatch_client_callout + 8
10  libdispatch.dylib               0x00007fff95389082 _dispatch_root_queue_drain + 326
11  libdispatch.dylib               0x00007fff9538a177 _dispatch_worker_thread2 + 40
12  libsystem_pthread.dylib         0x00007fff995f2ef8 _pthread_wqthread + 314
13  libsystem_pthread.dylib         0x00007fff995f5fb9 start_wqthread + 13

@dmoagx
Copy link
Member

dmoagx commented Oct 7, 2015

Well, the thing is, the crash report is not helpful at all with this bug.
The thing responsible for the crash is already gone by the time SP actually crashes.
That's why we need at least the zombie info to investigate.

@Pixelsynch
Copy link
Author

Well, I seem to be able to crash SP pretty reliably 'exporting' with one particular database, at least tonight - 6 crashes in straight succession, but none with other databases - at least, not tonight.

On the other hand, your SSH manual login code (above) does not work on a cPanel server where you don't have root - you get a message that SSH 'shell access is not enabled on this account, contact support for assistance'. Then it disconnects you. Port 3784 is used specifically for SSH/SFTP on cPanel servers.

So how SP manages to connect with the same criteria via SSH (and it does ... I have screen grabs! :-) and I can't connect via Terminal, I don't know. Perhaps because SP is opening a database connection, not a pure SSH connection? I can also connect via SSH to this server using FTP clients.

Any ideas?

And with NSZombie running, I can't connect (it seems) at all via password and SP, even using straight (non-secure) connections??

@dmoagx
Copy link
Member

dmoagx commented Oct 11, 2015

you get a message that SSH 'shell access is not enabled on this account, contact support for assistance'. Then it disconnects you.

In that case add -N to the ssh command line. This does not open a shell and should work.

And with NSZombie running, I can't connect (it seems) at all via password and SP

This should work. I've used this in the past myself.

@Pixelsynch
Copy link
Author

Ok, it worked this time.

Here's the output from the zombie:

macprolocal:~ admin$ NSZombieEnabled=YES /Applications/Sequel\ Pro.app/Contents/MacOS/Sequel\ Pro
2015-10-11 18:17:41.467 Sequel Pro[961:507] Invalid color System, labelColor (warning given only once)
2015-10-11 18:23:54.521 Sequel Pro[961:be07] *** -[CFString release]: message sent to deallocated instance 0x123e4ce00
Trace/BPT trap: 5

And the crashed thread (in case you need it to compare) is:

Thread 5 Crashed:: Dispatch queue: NSOperationQueue 0x100b21b10
0   com.apple.CoreFoundation        0x00007fff922e1185 ___forwarding___ + 773
1   com.apple.CoreFoundation        0x00007fff922e0df8 _CF_forwarding_prep_0 + 120
2   libobjc.A.dylib                 0x00007fff8ccf365a (anonymous namespace)::AutoreleasePoolPage::pop(void*) + 502
3   com.apple.CoreFoundation        0x00007fff9226d932 _CFAutoreleasePoolPop + 50
4   com.apple.Foundation            0x00007fff962f24dc -[NSAutoreleasePool release] + 140
5   com.sequelpro.SequelPro         0x00000001000cb981 -[SPSQLExporter main] + 12256
6   com.apple.Foundation            0x00007fff962daec1 -[__NSOperationInternal _start:] + 631
7   com.apple.Foundation            0x00007fff962dab6b __NSOQSchedule_f + 64
8   libdispatch.dylib               0x00007fff942fd28d _dispatch_client_callout + 8
9   libdispatch.dylib               0x00007fff943017e3 _dispatch_async_redirect_invoke + 154
10  libdispatch.dylib               0x00007fff942fd28d _dispatch_client_callout + 8
11  libdispatch.dylib               0x00007fff942ff082 _dispatch_root_queue_drain + 326
12  libdispatch.dylib               0x00007fff94300177 _dispatch_worker_thread2 + 40
13  libsystem_pthread.dylib         0x00007fff98568ef8 _pthread_wqthread + 314
14  libsystem_pthread.dylib         0x00007fff9856bfb9 start_wqthread + 13

And another crash:

macprolocal:~ admin$ NSZombieEnabled=YES /Applications/Sequel\ Pro.app/Contents/MacOS/Sequel\ Pro
2015-10-11 18:29:05.241 Sequel Pro[1027:507] Invalid color System, labelColor (warning given only once)
2015-10-11 18:29:52.655 Sequel Pro[1027:8b03] *** -[CFString release]: message sent to deallocated instance 0x11fd8cc40
Trace/BPT trap: 5

The thread that crashed:

Thread 2 Crashed:: Dispatch queue: NSOperationQueue 0x106dbc830
0   com.apple.CoreFoundation        0x00007fff922e1185 ___forwarding___ + 773
1   com.apple.CoreFoundation        0x00007fff922e0df8 _CF_forwarding_prep_0 + 120
2   libobjc.A.dylib                 0x00007fff8ccf365a (anonymous namespace)::AutoreleasePoolPage::pop(void*) + 502
3   com.apple.CoreFoundation        0x00007fff9226d932 _CFAutoreleasePoolPop + 50
4   com.apple.Foundation            0x00007fff962f24dc -[NSAutoreleasePool release] + 140
5   com.sequelpro.SequelPro         0x00000001000cb981 -[SPSQLExporter main] + 12256
6   com.apple.Foundation            0x00007fff962daec1 -[__NSOperationInternal _start:] + 631
7   com.apple.Foundation            0x00007fff962dab6b __NSOQSchedule_f + 64
8   libdispatch.dylib               0x00007fff942fd28d _dispatch_client_callout + 8
9   libdispatch.dylib               0x00007fff943017e3 _dispatch_async_redirect_invoke + 154
10  libdispatch.dylib               0x00007fff942fd28d _dispatch_client_callout + 8
11  libdispatch.dylib               0x00007fff942ff082 _dispatch_root_queue_drain + 326
12  libdispatch.dylib               0x00007fff94300177 _dispatch_worker_thread2 + 40
13  libsystem_pthread.dylib         0x00007fff98568ef8 _pthread_wqthread + 314
14  libsystem_pthread.dylib         0x00007fff9856bfb9 start_wqthread + 13

And another one:

macprolocal:~ admin$ NSZombieEnabled=YES /Applications/Sequel\ Pro.app/Contents/MacOS/Sequel\ Pro
2015-10-11 18:37:26.312 Sequel Pro[1084:507] Invalid color System, labelColor (warning given only once)

2015-10-11 18:38:13.265 Sequel Pro[1084:8603] *** -[CFString release]: message sent to deallocated instance 0x126a31a40
Trace/BPT trap: 5
Thread 3 Crashed:: Dispatch queue: NSOperationQueue 0x100f1bdd0
0   com.apple.CoreFoundation        0x00007fff922e1185 ___forwarding___ + 773
1   com.apple.CoreFoundation        0x00007fff922e0df8 _CF_forwarding_prep_0 + 120
2   libobjc.A.dylib                 0x00007fff8ccf365a (anonymous namespace)::AutoreleasePoolPage::pop(void*) + 502
3   com.apple.CoreFoundation        0x00007fff9226d932 _CFAutoreleasePoolPop + 50
4   com.apple.Foundation            0x00007fff962f24dc -[NSAutoreleasePool release] + 140
5   com.sequelpro.SequelPro         0x00000001000cb981 -[SPSQLExporter main] + 12256
6   com.apple.Foundation            0x00007fff962daec1 -[__NSOperationInternal _start:] + 631
7   com.apple.Foundation            0x00007fff962dab6b __NSOQSchedule_f + 64
8   libdispatch.dylib               0x00007fff942fd28d _dispatch_client_callout + 8
9   libdispatch.dylib               0x00007fff943017e3 _dispatch_async_redirect_invoke + 154
10  libdispatch.dylib               0x00007fff942fd28d _dispatch_client_callout + 8
11  libdispatch.dylib               0x00007fff942ff082 _dispatch_root_queue_drain + 326
12  libdispatch.dylib               0x00007fff94300177 _dispatch_worker_thread2 + 40
13  libsystem_pthread.dylib         0x00007fff98568ef8 _pthread_wqthread + 314
14  libsystem_pthread.dylib         0x00007fff9856bfb9 start_wqthread + 13

And another one:

macprolocal:~ admin$ NSZombieEnabled=YES /Applications/Sequel\ Pro.app/Contents/MacOS/Sequel\ Pro
2015-10-11 18:41:26.418 Sequel Pro[1115:507] Invalid color System, labelColor (warning given only once)
2015-10-11 18:42:15.105 Sequel Pro[1115:3507] *** -[CFString release]: message sent to deallocated instance 0x114eb5d10
Trace/BPT trap: 5

And the crashed thread:

Thread 2 Crashed:: Dispatch queue: NSOperationQueue 0x100d11910
0   com.apple.CoreFoundation        0x00007fff922e1185 ___forwarding___ + 773
1   com.apple.CoreFoundation        0x00007fff922e0df8 _CF_forwarding_prep_0 + 120
2   libobjc.A.dylib                 0x00007fff8ccf365a (anonymous namespace)::AutoreleasePoolPage::pop(void*) + 502
3   com.apple.CoreFoundation        0x00007fff9226d932 _CFAutoreleasePoolPop + 50
4   com.apple.Foundation            0x00007fff962f24dc -[NSAutoreleasePool release] + 140
5   com.sequelpro.SequelPro         0x00000001000cb981 -[SPSQLExporter main] + 12256
6   com.apple.Foundation            0x00007fff962daec1 -[__NSOperationInternal _start:] + 631
7   com.apple.Foundation            0x00007fff962dab6b __NSOQSchedule_f + 64
8   libdispatch.dylib               0x00007fff942fd28d _dispatch_client_callout + 8
9   libdispatch.dylib               0x00007fff943017e3 _dispatch_async_redirect_invoke + 154
10  libdispatch.dylib               0x00007fff942fd28d _dispatch_client_callout + 8
11  libdispatch.dylib               0x00007fff942ff082 _dispatch_root_queue_drain + 326

SP is not crashing every time today - I've 'exported' this same database about 9 times to get these 4 crashes. This database is 3.5MB compressed, 194 tables.

I'm wondering if it's this particular database (?)

Anything else you need?

@dmoagx
Copy link
Member

dmoagx commented Oct 12, 2015

2015-10-11 18:42:15.105 Sequel Pro[1115:3507] *** -[CFString release]: message sent to deallocated instance 0x114eb5d10

Oh well, I already feared it would be something generic as that.
Guess we are out of simple debug options then.
Maybe I can create a custom build for you with additional debugging output.

@Pixelsynch
Copy link
Author

Yep, no problem - you have my email address to send it (or post a download link).

It's not the database - I've just done 6 'exports' in succession (from the same remote server to my local Mac) and SP crashed on #1 and #5.
The database I used to test yesterday (my last post above) was #6, which didn't crash (this time).

@Pixelsynch
Copy link
Author

Any progress on this bug?

Do you want me to test a special bug-finder build?

I'm still using 1.02 because that's the last version that doesn't crash on me. Not sure how more people are not seeing regular crashes.

I'm on the latest Yosemite now.

@stale
Copy link

stale bot commented Jun 22, 2020

This issue has been marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@stale stale bot added the stale label Jun 22, 2020
@stale
Copy link

stale bot commented Jun 30, 2020

This issue has been auto-closed because there hasn't been any activity for at least 21 days. However, we really appreciate your contribution, so thank you for that! 🙏 Also, feel free to open a new issue if you still experience this problem 👍.

@stale stale bot closed this as completed Jun 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants