Bug #70284 Workbench 6.0.7.1 Crashes after --> New Model --> Add New Diagram
Submitted: 10 Sep 2013 11:24 Modified: 5 Nov 2013 19:12
Reporter: Karl Tuhkanen Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench Severity:S2 (Serious)
Version:6.0.7.1 OS:MacOS (10.8.4)
Assigned to: CPU Architecture:Any

[10 Sep 2013 11:24] Karl Tuhkanen
Description:
Workbench 6.0.7.1 crashes in repeatable pattern. Immediately after starting the program I selected (1) New Model from the File menu and after that (2) pressed Create New Diagram -button. I'm using Macbook pro os x 10.8.4.

<-- Shortened Crash Report -->

Process:         MySQLWorkbench [17395]
Path:            /Applications/MySQLWorkbench.app/Contents/MacOS/MySQLWorkbench
Identifier:      com.oracle.mysql.workbench
Version:         6.0.7 (1)
Code Type:       X86 (Native)
Parent Process:  launchd [306]
User ID:         503

Date/Time:       2013-09-10 14:05:32.185 +0300
OS Version:      Mac OS X 10.8.4 (12E55)
Report Version:  10

Interval Since Last Report:          17150 sec
Crashes Since Last Report:           1
Per-App Interval Since Last Report:  8259 sec
Per-App Crashes Since Last Report:   1
Anonymous UUID:                      844A6EB6-4A12-1D5D-3826-5194F1431B10

Crashed Thread:  0  Dispatch queue: com.apple.main-thread

Exception Type:  EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000000

VM Regions Near 0:
--> __PAGEZERO             0000000000000000-0000000000001000 [    4K] ---/--- SM=NUL  /Applications/MySQLWorkbench.app/Contents/MacOS/MySQLWorkbench
    __TEXT                 0000000000001000-0000000000077000 [  472K] r-x/rwx SM=COW  /Applications/MySQLWorkbench.app/Contents/MacOS/MySQLWorkbench

Application Specific Information:
Performing @selector(perform:) from sender MFToolBarActionItemImpl 0x14191b20

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libwbprivate.be.dylib         	0x0113f29d wb::WBContextModel::add_new_diagram(grt::Ref<model_Model> const&) + 93
1   libwbprivate.be.dylib         	0x01139d5b wb::WBContextModel::add_model_diagram() + 49
2   libwbprivate.be.dylib         	0x0114f402 boost::_bi::bind_t<void, boost::_mfi::mf0<void, wb::WBContextModel>, boost::_bi::list1<boost::_bi::value<wb::WBContextModel*> > >::operator()() + 32
3   libwbprivate.be.dylib         	0x00f9041d boost::function0<void>::operator()() const + 29
4   libwbprivate.be.dylib         	0x01003c6f wb::CommandUI::execute_builtin_command(std::string const&) + 57
5   libwbprivate.be.dylib         	0x00ffae7a wb::CommandUI::activate_command(std::string const&) + 550
6   libwbprivate.be.dylib         	0x0100a55c void boost::_bi::bind_t<void, boost::_mfi::mf1<void, wb::CommandUI, std::string const&>, boost::_bi::list2<boost::_bi::value<wb::CommandUI*>, boost::arg<1> > >::operator()<std::string>(std::string&) + 40
7   libwbprivate.be.dylib         	0x00f7a3df boost::function1<void, std::string>::operator()(std::string) const + 63
8   libwbprivate.be.dylib         	0x01006e68 void boost::_bi::list1<boost::_bi::value<grt::Ref<grt::internal::String> > >::operator()<boost::function<void (std::string)>, boost::_bi::list1<mforms::ToolBarItem*&> >(boost::_bi::type<void>, boost::function<void (std::string)>&, boost::_bi::list1<mforms::ToolBarItem*&>&, int) + 52
9   libwbprivate.be.dylib         	0x01006c67 boost::detail::function::void_function_obj_invoker1<boost::_bi::bind_t<boost::_bi::unspecified, boost::function<void (std::string)>, boost::_bi::list1<boost::_bi::value<grt::Ref<grt::internal::String> > > >, void, mforms::ToolBarItem*>::invoke(boost::detail::function::function_buffer&, mforms::ToolBarItem*) + 45
10  libmforms.dylib               	0x01b88cbc boost::function1<void, mforms::ToolBarItem*>::operator()(mforms::ToolBarItem*) const + 36

<-- The crash report has been shortened at this point due to 8k limit of the text field --> 

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

VM Region Summary:
ReadOnly portion of Libraries: Total=290.4M resident=133.1M(46%) swapped_out_or_unallocated=157.3M(54%)
Writable regions: Total=200.0M written=19.1M(10%) resident=77.0M(39%) swapped_out=0K(0%) unallocated=122.9M(61%)
 
REGION TYPE                      VIRTUAL
===========                      =======
CG backing stores                  28.0M
CG image                            288K
CG raster data                      836K
CG shared images                   1216K
CoreAnimation                        92K
CoreImage                            12K
CoreServices                       2416K
IOKit                              20.7M
IOKit (reserved)                      4K        reserved VM address space (unallocated)
MALLOC                            135.1M
MALLOC guard page                    48K
Memory tag=240                        4K
Memory tag=242                       12K
Memory tag=243                        4K
Memory tag=35                      3924K
OpenCL                               84K
OpenGL GLSL                        1424K
OpenGL GLSL (reserved)              128K        reserved VM address space (unallocated)
Stack                              68.1M
Stack (reserved)                    516K        reserved VM address space (unallocated)
VM_ALLOCATE                        16.2M
__DATA                             23.0M
__DATA/__OBJC                       140K
__IMAGE                             528K
__IMPORT                              8K
__LINKEDIT                         64.8M
__OBJC                             2788K
__OBJC/__DATA                       428K
__PAGEZERO                            4K
__TEXT                            225.7M
__UNICODE                           544K
mapped file                        99.7M
shared memory                       372K
===========                      =======
TOTAL                             696.7M
TOTAL, minus reserved VM space    696.0M

Model: MacBookPro10,1, BootROM MBP101.00EE.B03, 4 processors, Intel Core i7, 2.7 GHz, 16 GB, SMC 2.3f35
Graphics: Intel HD Graphics 4000, Intel HD Graphics 4000, Built-In, 512 MB
Graphics: NVIDIA GeForce GT 650M, NVIDIA GeForce GT 650M, PCIe, 1024 MB
Memory Module: BANK 0/DIMM0, 8 GB, DDR3, 1600 MHz, 0x80AD, 0x484D5434314753364D465238432D50422020
Memory Module: BANK 1/DIMM0, 8 GB, DDR3, 1600 MHz, 0x80AD, 0x484D5434314753364D465238432D50422020
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0xEF), Broadcom BCM43xx 1.0 (5.106.98.100.17)
Bluetooth: Version 4.1.4f2 12041, 2 service, 18 devices, 1 incoming serial ports
Network Service: Wi-Fi, AirPort, en0
Serial ATA Device: APPLE SSD SD512E, 500,28 GB
USB Device: hub_device, 0x8087  (Intel Corporation), 0x0024, 0x1a100000 / 2
USB Device: FaceTime HD Camera (Built-in), apple_vendor_id, 0x8510, 0x1a110000 / 3
USB Device: hub_device, 0x8087  (Intel Corporation), 0x0024, 0x1d100000 / 2
USB Device: hub_device, 0x0424  (SMSC), 0x2512, 0x1d180000 / 3
USB Device: BRCM20702 Hub, 0x0a5c  (Broadcom Corp.), 0x4500, 0x1d181000 / 5
USB Device: Bluetooth USB Host Controller, apple_vendor_id, 0x8286, 0x1d181300 / 6
USB Device: Apple Internal Keyboard / Trackpad, apple_vendor_id, 0x0263, 0x1d182000 / 4

How to repeat:
1. Start Workbench
2. Select New Model from File menu
3. Press Add New Diagram -button
[10 Sep 2013 11:26] Karl Tuhkanen
This is the full crash report

Attachment: full_crash_report.txt (text/plain), 66.62 KiB.

[10 Sep 2013 11:48] MySQL Verification Team
I couldn't repeat on below system:

Already connected to MySQL server
MySQL Workbench Community (GPL) for Mac OS X version 6.0.7  revision 11216
Configuration Directory: /Users/miguel/Library/Application Support/MySQL/Workbench
Data Directory: /Applications/MySQLWorkbench.app/Contents/Resources
Cairo Version: 1.9.1
OS: OS X 10.8.x Mountain Lion
CPU: 4x Intel(R) Core(TM) i5-3210M CPU @ 2.50GHz, 16.0 GB RAM
[10 Sep 2013 11:48] Karl Tuhkanen
Picture of the button that causes the error to occur

Attachment: Add_New_Diagram_button.png (image/png, text), 240.82 KiB.

[10 Sep 2013 11:51] Karl Tuhkanen
The error only occurs if pressing Add New Diagram -button on the toolbar. See the file Add_New_Diagram_button.png
[10 Sep 2013 13:19] MySQL Verification Team
Thank you for the feedback. I was able to repeat under 2 conditions: New Model using File menu and Add ERR Diagram with the button for you pointed.

Process:         MySQLWorkbench [1301]
Path:            /Applications/MySQLWorkbench.app/Contents/MacOS/MySQLWorkbench
Identifier:      com.oracle.mysql.workbench
Version:         6.0.7 (1)
Code Type:       X86 (Native)
Parent Process:  launchd [720]
User ID:         501

Date/Time:       2013-09-10 10:15:21.438 -0300
OS Version:      Mac OS X 10.8.4 (12E55)
Report Version:  10

Interval Since Last Report:          3662068 sec
Crashes Since Last Report:           23
Per-App Interval Since Last Report:  27983 sec
Per-App Crashes Since Last Report:   3
Anonymous UUID:                      2A5B59E8-F98A-1451-49F8-DEC433009E11

Crashed Thread:  0  Dispatch queue: com.apple.main-thread

Exception Type:  EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000000

VM Regions Near 0:
--> __PAGEZERO             0000000000000000-0000000000001000 [    4K] ---/--- SM=NUL  /Applications/MySQLWorkbench.app/Contents/MacOS/MySQLWorkbench
    __TEXT                 0000000000001000-0000000000077000 [  472K] r-x/rwx SM=COW  /Applications/MySQLWorkbench.app/Contents/MacOS/MySQLWorkbench
[30 Oct 2013 14:47] Armando Lopez Valencia
Posted by developer:
 
Verified in:
OSX 10.8.4
MySQL Server 5.6
WB 6.0.8.11345
No reproducible.
[5 Nov 2013 19:12] Philip Olson
Fixed as of MySQL Workbench 6.0.8, and here's the changelog entry:

On Mac OS X, opening a new model and pressing the "Add EER Diagram"
button from the toolbar would crash MySQL Workbench. 

A workaround was to click "Add EER Diagram" from the navigation or 
context menus. 

Thank you for the bug report.
[22 Sep 2014 7:49] goluguri reddy
I am facing the same problem. When i open the DB Connection and execute any query it crashes. Any solution?