Bug #86842 Workbench crashes on launch with Exception Type EXC_BAD_ACCESS (libmforms.dylib)
Submitted: 28 Jun 2017 2:05 Modified: 28 Jun 2017 15:48
Reporter: Pardha U Email Updates:
Status: Can't repeat Impact on me:
None 
Category:MySQL Workbench Severity:S1 (Critical)
Version:6.3.9 OS:Mac OS X (Mac OS Sierra 10.12.5)
Assigned to: CPU Architecture:Any
Tags: crash, EXC_BAD_ACCESS, KERN_INVALID_ADDRESS, libmforms.dylib, Namespace SIGNAL, PasswordCache

[28 Jun 2017 2:05] Pardha U
Description:
Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000000031
Exception Note:        EXC_CORPSE_NOTIFY

Termination Signal:    Segmentation fault: 11
Termination Reason:    Namespace SIGNAL, Code 0xb
Terminating Process:   exc handler [0]

/Applications/MySQLWorkbench.app/Contents/MacOS/../Frameworks/libmforms.dylib

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libwbbase.dylib               	0x000000010bfcb502 base::Logger::log(base::Logger::LogLevel, char const*, char const*, ...) + 102
1   libmforms.dylib               	0x000000010d28a211 mforms::PasswordCache::PasswordCache() + 97
2   libmforms.dylib               	0x000000010d28a939 _GLOBAL__sub_I_password_cache.cpp + 187
3   dyld                          	0x0000000110f99a1b ImageLoaderMachO::doModInitFunctions(ImageLoader::LinkContext const&) + 385
4   dyld                          	0x0000000110f99c1e ImageLoaderMachO::doInitialization(ImageLoader::LinkContext const&) + 40
5   dyld                          	0x0000000110f954aa ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, char const*, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) + 338
6   dyld                          	0x0000000110f95441 ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, char const*, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) + 233
7   dyld                          	0x0000000110f95441 ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, char const*, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) + 233
8   dyld                          	0x0000000110f94524 ImageLoader::processInitializers(ImageLoader::LinkContext const&, unsigned int, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) + 138
9   dyld                          	0x0000000110f945b9 ImageLoader::runInitializers(ImageLoader::LinkContext const&, ImageLoader::InitializerTimingList&) + 75
10  dyld                          	0x0000000110f8647a dyld::initializeMainExecutable() + 195
11  dyld                          	0x0000000110f8a8c6 dyld::_main(macho_header const*, unsigned long, int, char const**, char const**, char const**, unsigned long*) + 3966
12  dyld                          	0x0000000110f85249 dyldbootstrap::start(macho_header const*, int, char const**, long, macho_header const*, unsigned long*) + 470
13  dyld                          	0x0000000110f85036 _dyld_start + 54

Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000000  rbx: 0x882687b7699a00bf  rcx: 0x0000000000000001  rdx: 0x000000010d2f7358
  rdi: 0x0000000000000001  rsi: 0x000000010d2f740f  rbp: 0x00007fff53f45200  rsp: 0x00007fff53f45120
   r8: 0x0000000000001000   r9: 0x00007f7f8d807a00  r10: 0x0000000110fc3110  r11: 0x000000010bfcb49c
  r12: 0x000000010d28a87e  r13: 0x00007fffb8649308  r14: 0x000000010d1e7000  r15: 0x00007fffae2df98c
  rip: 0x000000010bfcb502  rfl: 0x0000000000010246  cr2: 0x0000000000000031
  
Logical CPU:     2
Error Code:      0x00000004
Trap Number:     14

How to repeat:
1. Log into Mac
2. Launch mySQL Workbench, connect to a DB and open SQL Editor
3. Force shutdown Mac (or Force Quit mySQL Workbench? - Don't remember this)
4. Restart Mac
5. Open mySQL Workbench
 
MySQLWorkbench quits unexpectedly.

Un-installed, restarted Mac and Re-installed Workbench (the latest version - mysql-workbench-community-6.3.9-osx-x86_64.dmg). Same issue occurs again.
[28 Jun 2017 15:48] Miguel Solorzano
Thank you for the bug report. I couldn't repeat on below environment:

MySQL Workbench Community (GPL) for Mac OS X version 6.3.9 CE build 10690321 (64 bit)
Configuration Directory: /Users/miguel/Library/Application Support/MySQL/Workbench
Data Directory: /Applications/MySQLWorkbench.app/Contents/Resources
Cairo Version: 1.10.2
OS: macOS 10.12.x Sierra x86_64
CPU: 4x Intel(R) Core(TM) i5-3210M CPU @ 2.50GHz - 16.00GiB RAM
No video adapter info available
[23 Sep 2017 10:43] Anthony Scilingo
I'm seeing this error as well macOS 10.12.6
[23 Sep 2017 11:12] Anthony Scilingo
Stack Trace

Attachment: stack trace.txt (text/plain), 49.19 KiB.