Bug #19678 Crash when deleting a foreign key relation
Submitted: 10 May 2006 13:09 Modified: 25 May 2006 16:06
Reporter: Sebastien MALTRET - UzData Email Updates:
Status: Won't fix Impact on me:
None 
Category:MySQL Workbench Preview Severity:S2 (Serious)
Version:1.6beta OS:Linux (Fedora Core 4 64bits)
Assigned to: Alfredo Kojima CPU Architecture:Any

[10 May 2006 13:09] Sebastien MALTRET - UzData
Description:
General Crash of the application
-----------------------------------------------------------
My station
[seb@localhost db]$ uname -rop
2.6.16-1.2108_FC4 x86_64 GNU/Linux
-----------------------------------------------------------
I get the following output:

[seb@localhost db]$ mysql-workbench test.mwb &
[2] 5529
[seb@localhost db]$
glibmm-ERROR **:
unhandled exception (type std::exception) in signal handler:
what: basic_string::_S_construct NULL not valid

aborting...
/usr/bin/mysql-workbench: line 18:  5532 Aborted                 $PRG-bin $*

[2]+  Exit 134                mysql-workbench test.mwb
[seb@localhost db]$

How to repeat:
1. Create a relation between 2 tables (or to the same table)
2. Edit the table containing the foreign key
=> I get the popup window for "table edit"
3. Delete the relation pressing the keyboard delete key "DEL"
=> the relation disappeat
4. Click on any tab of the "table edition" window
=> CRASH
[25 May 2006 16:05] Jorge del Conde
Thanks for your bug report.  I was able to reporduce this bug using the supplied how-to under FC5/ 1.0.6

How-to-repeat:

1. Create a relation between 2 tables (or to the same table)
2. Edit the table containing the foreign key
3. Delete the relation pressing the keyboard delete key "DEL"
4. Click on any tab of the "table edition" window