Bug #55761 EER table editor partitioning tab crashes WB when switching between tables
Submitted: 5 Aug 2010 6:43 Modified: 1 Sep 2010 16:49
Reporter: Jonathon Coombes Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench: Modeling Severity:S2 (Serious)
Version:5.2.25,5.2.26 OS:MacOS (10.5.8)
Assigned to: Alfredo Kojima CPU Architecture:Any
Tags: EER, GUI, modeling, wb, workbench

[5 Aug 2010 6:43] Jonathon Coombes
Description:
....
2010-08-05 16:31:00.001 MySQLWorkbench[13719:10b] opening plugin bundle /Applications/MySQLWorkbench.app/Contents/PlugIns/db.mysql.editors.mwbplugin ([DbMysqlTableEditor initWithModule:GRTManager:arguments:...])
2010-08-05 16:31:03.693 MySQLWorkbench[13719:10b] opening plugin bundle /Applications/MySQLWorkbench.app/Contents/PlugIns/db.mysql.editors.mwbplugin ([DbMysqlTableEditor initWithModule:GRTManager:arguments:...])
2010-08-05 16:31:04.377 MySQLWorkbench[13719:3903] *** _NSAutoreleaseNoPool(): Object 0x1c2846e0 of class NSCFString autoreleased with no pool in place - just leaking
Stack: (0x95617f4f 0x95524432 0xf4134f 0xf416f8 0xf4121e 0x90dcc2bb 0xffffffff 0x31b5a3 0xa58d86 0x9a9b6a 0x9abdda 0x5b5616 0x5b0c2d 0x15e65d16 0x15e1f2c3 0x15e1fb2d 0x56f833 0x57f2b9 0x57f331 0x55dc2d 0x55dc71 0x5ae98c 0x5ac9cd 0x5ad341 0x5ae736 0x243d42 0x90d91155 0x90d91012)
2010-08-05 16:31:04.377 MySQLWorkbench[13719:b63b] *** _NSAutoreleaseNoPool(): Object 0x1bca4b80 of class NSCFString autoreleased with no pool in place - just leaking
Stack: (0x95617f4f 0x95524432 0xf4134f 0xf416f8 0xf4121e 0x90dcc2bb 0xffffffff 0x31b5a3 0xa58d86 0x9a9b6a 0x9abdda 0x5b5616 0x5b0c2d 0x15e65d16 0x15e6cdc5 0x15e6d654 0x5a34f6 0x5a3e73 0x5a3ef3 0x68457a 0x685032 0x5ae98c 0x5ac9cd 0x5ad341 0x5ae736 0x243d42 0x90d91155 0x90d91012)
2010-08-05 16:31:04.379 MySQLWorkbench[13719:b63b] *** _NSAutoreleaseNoPool(): Object 0x1bc92410 of class NSCFDictionary autoreleased with no pool in place - just leaking
Stack: (0x95617f4f 0x95524432 0x93664bfc 0xf41718 0xf4121e 0x90dcc2bb 0xffffffff 0x31b5a3 0xa58d86 0x9a9b6a 0x9abdda 0x5b5616 0x5b0c2d 0x15e65d16 0x15e6cdc5 0x15e6d654 0x5a34f6 0x5a3e73 0x5a3ef3 0x68457a 0x685032 0x5ae98c 0x5ac9cd 0x5ad341 0x5ae736 0x243d42 0x90d91155 0x90d91012)
2010-08-05 16:31:04.378 MySQLWorkbench[13719:3903] *** _NSAutoreleaseNoPool(): Object 0x1c348370 of class NSCFDictionary autoreleased with no pool in place - just leaking
Stack: (0x95617f4f 0x95524432 0x93664bfc 0xf41718 0xf4121e 0x90dcc2bb 0xffffffff 0x31b5a3 0xa58d86 0x9a9b6a 0x9abdda 0x5b5616 0x5b0c2d 0x15e65d16 0x15e1f2c3 0x15e1fb2d 0x56f833 0x57f2b9 0x57f331 0x55dc2d 0x55dc71 0x5ae98c 0x5ac9cd 0x5ad341 0x5ae736 0x243d42 0x90d91155 0x90d91012)
2010-08-05 16:31:04.380 MySQLWorkbench[13719:b63b] *** _NSAutoreleaseNoPool(): Object 0x1b209b30 of class NSCFString autoreleased with no pool in place - just leaking
Stack: (0x95617f4f 0x95524432 0x9552f89a 0xf41743 0xf4121e 0x90dcc2bb 0xffffffff 0x31b5a3 0xa58d86 0x9a9b6a 0x9abdda 0x5b5616 0x5b0c2d 0x15e65d16 0x15e6cdc5 0x15e6d654 0x5a34f6 0x5a3e73 0x5a3ef3 0x68457a 0x685032 0x5ae98c 0x5ac9cd 0x5ad341 0x5ae736 0x243d42 0x90d91155 0x90d91012)
2010-08-05 16:31:04.380 MySQLWorkbench[13719:3903] *** _NSAutoreleaseNoPool(): Object 0x1c436660 of class NSCFString autoreleased with no pool in place - just leaking
Stack: (0x95617f4f 0x95524432 0x9552f89a 0xf41743 0xf4121e 0x90dcc2bb 0xffffffff 0x31b5a3 0xa58d86 0x9a9b6a 0x9abdda 0x5b5616 0x5b0c2d 0x15e65d16 0x15e1f2c3 0x15e1fb2d 0x56f833 0x57f2b9 0x57f331 0x55dc2d 0x55dc71 0x5ae98c 0x5ac9cd 0x5ad341 0x5ae736 0x243d42 0x90d91155 0x90d91012)
2010-08-05 16:31:04.381 MySQLWorkbench[13719:b63b] *** _NSAutoreleaseNoPool(): Object 0x1bc6c390 of class NSException autoreleased with no pool in place - just leaking
Stack: (0x95617f4f 0x95524432 0xf4176a 0xf4121e 0x90dcc2bb 0xffffffff 0x31b5a3 0xa58d86 0x9a9b6a 0x9abdda 0x5b5616 0x5b0c2d 0x15e65d16 0x15e6cdc5 0x15e6d654 0x5a34f6 0x5a3e73 0x5a3ef3 0x68457a 0x685032 0x5ae98c 0x5ac9cd 0x5ad341 0x5ae736 0x243d42 0x90d91155 0x90d91012)
2010-08-05 16:31:04.381 MySQLWorkbench[13719:3903] *** _NSAutoreleaseNoPool(): Object 0x1b282d00 of class NSException autoreleased with no pool in place - just leaking
Stack: (0x95617f4f 0x95524432 0xf4176a 0xf4121e 0x90dcc2bb 0xffffffff 0x31b5a3 0xa58d86 0x9a9b6a 0x9abdda 0x5b5616 0x5b0c2d 0x15e65d16 0x15e1f2c3 0x15e1fb2d 0x56f833 0x57f2b9 0x57f331 0x55dc2d 0x55dc71 0x5ae98c 0x5ac9cd 0x5ad341 0x5ae736 0x243d42 0x90d91155 0x90d91012)
2010-08-05 16:31:04.382 MySQLWorkbench[13719:b63b] NSExceptionHandler has recorded the following exception:
NSUncaughtSystemExceptionException -- Uncaught system exception: signal 11
Stack trace:  0xf4121e  0x90dcc2bb  0xffffffff  0x31b5a3  0xa58d86  0x9a9b6a  0x9abdda  0x5b5616  0x5b0c2d  0x15e65d16  0x15e6cdc5  0x15e6d654  0x5a34f6  0x5a3e73  0x5a3ef3  0x68457a  0x685032  0x5ae98c  0x5ac9cd  0x5ad341  0x5ae736  0x243d42  0x90d91155  0x90d91012
Segmentation fault

Have gotten SIGBUS errors as well

How to repeat:
In the EER interface, open two or more tables and select the Partitioning tab in the table editor. 

Double click to switch between tables and load them into the table editor and after a varying amount of time (10-60s) Workbench crashes.

Not sure if it happens for other tabs in the table editor, but I can cause it to crash consistently in the Partitioning tab, but it did not appear to crash with other tabs.
[5 Aug 2010 6:51] Roel Van de Paar
Jonathon, please upload your EER diagram for me
[5 Aug 2010 6:58] Roel Van de Paar
Tried with 3 complex EER's. Tried various options (tick partitioning, untick, add columns, etc ...) - not able to reproduce on Win7 HP x64 so likely platform specific to Mac. From IRC w/ Jonathon should be reproducible like this: have 2 tables in EER, double click a table, select partitioning tab, now double click on the other table and do that back and forth until crash happens (quite quickly).
[5 Aug 2010 23:36] MySQL Verification Team
Simplest test EER that still crashes Workbench on Mac

Attachment: crash_test_two_tables.mwb (application/octet-stream, text), 4.90 KiB.

[5 Aug 2010 23:45] Roel Van de Paar
Confirmed not-reproducible on Windows (tested with 5.2.25 and 5.2.26.6429)
[11 Aug 2010 10:59] Johannes Taxacher
can't repeat on 10.6.4
[13 Aug 2010 21:37] Alfredo Kojima
I was able to repeat this with 5.2.25, but not with 5.2.26 or current dev version. Can you try repeating with 5.2.26 and confirm whether it still crashes for you?
[16 Aug 2010 0:34] MySQL Verification Team
I upgraded to the 5.2.26 version of Workbench and downloaded the above EER diagram and was able to reproduce the crash within a minute.

Let me know if you want another stack trace, but it appears to be the same crash.
[18 Aug 2010 16:09] Alfredo Kojima
fixed
[25 Aug 2010 19:09] Johannes Taxacher
patch confirmed in repository
[1 Sep 2010 16:49] Tony Bedford
An entry has been added to the 5.2.27 changelog:

MySQL Workbench crashed when using the Partitioning tab of the Table Editor.