Bug #77688 MySQL Workbench crashes on DBDesigner4 import
Submitted: 11 Jul 2015 8:39 Modified: 17 Sep 2015 1:09
Reporter: Egor Egorov Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench: Migration Severity:S1 (Critical)
Version:6.3.4 OS:Any
Assigned to: CPU Architecture:Any
Tags: workbench dbdesigner4 dbdesigner

[11 Jul 2015 8:39] Egor Egorov
Description:
MySQL Workbench crashes on DBDesigner4 schema import. Verified on Win32 and OS X. Verified versions 5.2 and 6.3. 

How to repeat:
1. Start application
2. Create new schema
3. File -> import -> dbd4 schema
4. Select the supplied file 
5. Crashes
[12 Jul 2015 1:14] MySQL Verification Team
Thank you fro the bug report.

Path:                  /Applications/MySQLWorkbench.app/Contents/MacOS/MySQLWorkbench
Identifier:            com.oracle.mysql.workbench
Version:               6.3.4 (1)
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           MySQLWorkbench [710]
User ID:               501

Date/Time:             2015-07-11 22:15:07.861 -0300
OS Version:            Mac OS X 10.10.4 (14E46)
Report Version:        11
Anonymous UUID:        2A5B59E8-F98A-1451-49F8-DEC433009E11

Time Awake Since Boot: 360 seconds

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

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000000018

VM Regions Near 0x18:
--> 
    __TEXT                 000000010f32a000-000000010f3ae000 [  528K] r-x/rwx SM=COW  /Applications/MySQLWorkbench.app/Contents/MacOS/MySQLWorkbench

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   wb.mysql.import.grt.dylib     	0x000000011a7fcd50 parse_table_options(grt::Ref<db_mysql_Table>&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) + 210
1   wb.mysql.import.grt.dylib     	0x000000011a7ff2b5 Wb_mysql_import_DBD4::import_DBD4(grt::Ref<workbench_physical_Model>, char const*, grt::DictRef) + 6377
2   wb.mysql.import.grt.dylib     	0x000000011a7f511f WbMysqlImportImpl::importDBD4(grt::Ref<workbench_physical_Model>, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >) + 115
3   wb.mysql.import.grt.dylib     	0x000000011a7fba7f grt::ModuleFunctor2<int, WbMysqlImportImpl, grt::Ref<workbench_physical_Model>, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >::perform_call(grt::BaseListRef const&) + 177
4   libgrt.dylib                  	0x000000010f74a221 boost::detail::function::function_obj_invoker1<boost::_bi::bind_t<grt::ValueRef, boost::_mfi::mf1<grt::ValueRef, grt::ModuleFunctorBase, grt::BaseListRef const&>, boost::_bi::list2<boost::_bi::value<grt::ModuleFunctorBase*>, boost::arg<1> > >, grt::ValueRef, grt::BaseListRef const&>::invoke(boost::detail::function::function_buffer&, grt::BaseListRef const&) + 41
5   libgrt.dylib                  	0x000000010f736f36 boost::function1<grt::ValueRef, grt::BaseListRef const&>::operator()(grt::BaseListRef const&) const + 34
6   libgrt.dylib                  	0x000000010f734711 grt::Module::call_function(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, grt::BaseListRef const&) + 63
7   libwbpublic.be.dylib          	0x000000010fadc063 bec::PluginManagerImpl::open_standalone_plugin_main(grt::Ref<app_Plugin> const&, grt::BaseListRef const&) + 213
8   libwbpublic.be.dylib          	0x000000010fadb114 bec::PluginManagerImpl::open_gui_plugin(grt::Ref<app_Plugin> const&, grt::BaseListRef const&, bec::GUIPluginFlags) + 836
9   libwbpublic.be.dylib          	0x000000010fadc6fd bec::PluginManagerImpl::open_plugin(grt::Ref<app_Plugin> const&, grt::BaseListRef const&) + 17
10  libwbprivate.be.dylib         	0x0000000110842450 wb::WBContext::execute_plugin_grt(grt::GRT*, grt::Ref<app_Plugin> const&, grt::BaseListRef const&) + 374
11  libwbprivate.be.dylib         	0x0000000110841eb5 wb::WBContext::execute_plugin(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bec::ArgumentPool const&) + 1283
12  libwbprivate.be.dylib         	0x00000001108b0a19 wb::CommandUI::activate_command(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) + 691
13  libwbprivate.be.dylib         	0x000000011094984d boost::function1<void, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >::operator()(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >) const + 57
14  libwbprivate.be.dylib         	0x00000001108bb0dc void boost::_bi::list1<boost::_bi::value<grt::Ref<grt::internal::String> > >::operator()<boost::function<void (std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >)>, boost::_bi::list0>(boost::_bi::type<void>, boost::function<void (std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >)>&, boost::_bi::list0&, int) + 44
15  libwbprivate.be.dylib         	0x00000001108bae6c boost::detail::function::void_function_obj_invoker0<boost::_bi::bind_t<boost::_bi::unspecified, boost::function<void (std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >)>, boost::_bi::list1<boost::_bi::value<grt::Ref<grt::internal::String> > > >, void>::invoke(boost::detail::function::function_buffer&) + 26
16  libmforms.dylib               	0x000000011157419c boost::function0<void>::operator()() const + 28
17  libmforms.dylib               	0x000000011157ed54 boost::signals2::detail::slot_call_iterator_t<boost::signals2::detail::variadic_slot_invoker<boost::signals2::detail::void_type>, 

<CUT>
[17 Sep 2015 1:09] Philip Olson
Posted by developer:
 
Fixed as of the upcoming MySQL Workbench 6.3.5 release, and here's the changelog entry:

Importing a DBDesigner4 schema would sometimes fail, and cause a crash.

Thank you for the bug report.