Bug #66436 Segmentation fault on synchronizing model
Submitted: 17 Aug 2012 14:55 Modified: 6 Sep 2012 21:13
Reporter: Axe Ilshat Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench: Modeling Severity:S1 (Critical)
Version:5.2.41 revision 9727 OS:Any (Linux, Windows)
Assigned to: CPU Architecture:Any
Tags: synchronize model

[17 Aug 2012 14:55] Axe Ilshat
Description:
MySQL Workbench CE for Linux/Unix version 5.2.41  revision 9727
Cairo Version: 1.8.10

Backtrace:
/usr/lib/libstdc++.so.6(_ZNSsC1ERKSs+0x8)[0x7f9c74febff8]
/usr/lib/mysql-workbench/plugins/db.mysql.wbp.so(_ZNSt8_Rb_treeISsSsSt9_IdentityISsESt4lessISsESaISsEE10_M_insert_EPKSt18_Rb_tree_node_baseS8_RKSs+0x4f)[0x7f9c67307caf]
/usr/lib/mysql-workbench/plugins/db.mysql.wbp.so(_Z14iterate_objectIN5boost3_bi6bind_tIvPFvRKN3grt3RefI9GrtObjectEERSt3setISsSt4lessISsESaISsEEENS1_5list2INS0_3argILi1EEENS0_17reference_wrapperISD_EEEEEEEvRS6_T_+0x31)[0x7f9c6730bb21]
/usr/lib/mysql-workbench/plugins/db.mysql.wbp.so(_ZN14ChangesApplier21apply_change_to_modelEN5boost10shared_ptrIN3grt10DiffChangeEEENS2_3RefI14GrtNamedObjectEE+0x37e)[0x7f9c673106ce]
/usr/lib/mysql-workbench/plugins/db.mysql.wbp.so(_ZSt8for_eachIN9__gnu_cxx17__normal_iteratorIPKN5boost10shared_ptrIN3grt10DiffChangeEEESt6vectorIS6_SaIS6_EEEENS2_3_bi6bind_tIvNS2_4_mfi3mf2Iv14ChangesApplierS6_NS4_3RefI14GrtNamedObjectEEEENSD_5list3INSD_5valueIPSH_EENS2_

How to repeat:
1. Download and restore database dump
2. download and open EER model
3. Do model synchronization. Choose "update model only" option for all tables on "Model and Database Differences" page. 
4. Execute synchronization.
[17 Aug 2012 15:49] Axe Ilshat
Ubuntu 10.04.4 LTS 2.6.32-42-generic
Windows XP
[17 Aug 2012 23:11] Alfredo Kojima
Repeatable in any OS
[6 Sep 2012 21:13] Philip Olson
Fixed as of the upcoming Workbench 5.2.43, and here's the changelog entry:

 Synchronizing a restored EER model with the "Model and
 Database Differences", "Update Model Only" configuration 
 option enabled for all tables would cause MySQL Workbench 
 to crash. 

Thank you for the report.