Bug #45075 Segmentation fault when creating second table and editing columns
Submitted: 25 May 2009 18:03 Modified: 16 Sep 2009 10:45
Reporter: Steven Bakhtiari Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench Severity:S1 (Critical)
Version:5.2.1 alpha OS:Linux (Gentoo - Vanilla kernel 2.6.29.3)
Assigned to: CPU Architecture:Any
Tags: checkbox, CHECKED, column, crash, fault, seg, segmentation

[25 May 2009 18:03] Steven Bakhtiari
Description:
When creating a second table in ERD view and editing the columns of that table, WB crashes and throws a segmentation fault. This happens when attempting to click on the NN or AI checkboxes. The steps to reproduce are very simple. One "work around" is to make sure you select the "unsigned" checkbox before selecting the AI checkbox. Also this doesn't affect the first table that's created, only subsequent tables.

I will attach a text file with the segfault to this report.

How to repeat:
1. Open MySQL Workbench. 
2. Jump to ERD view. 
3. Select the new table icon from the toolbar and create the table.
4. Double click on the new table and select the column tab. Click anywhere in that pane to create the id column.
5. Repeat steps 3 & 4 with a new table
6. Attempt to click on the AI or NN checkbox for the new id column.
7. Segfault.
[25 May 2009 18:03] Steven Bakhtiari
Segfault dump

Attachment: segfault (application/octet-stream, text), 33.49 KiB.

[25 May 2009 18:40] MySQL Verification Team
Thank you for the bug report.
[16 Jul 2009 11:02] Maksym Yehorov
Can't repeat. It could get fixed. Please repeat with next 5.2 alpha.
[16 Jul 2009 11:13] Maksym Yehorov
These bugs marked as duplicate of this one
http://bugs.mysql.com/bug.php?id=45439
http://bugs.mysql.com/bug.php?id=45325
[11 Sep 2009 20:27] Johannes Taxacher
this is fixed. fix confirmed for 5.2.3
[16 Sep 2009 10:45] Tony Bedford
An entry was added to the 5.2.3 changelog:

MySQL Workbench generated a segmentation fault when clicking on either the NN or AI checkboxes on the Columns tab of the Table Editor.