Bug #35310 Cancel image insert causes crash
Submitted: 15 Mar 2008 14:37 Modified: 18 Mar 2008 9:18
Reporter: Daniel S Email Updates:
Status: Can't repeat Impact on me:
None 
Category:MySQL Workbench Severity:S2 (Serious)
Version:5.0.15-rc OS:Windows (XP Pro Service Pack 2)
Assigned to: CPU Architecture:Any
Tags: crash image EER Diagram

[15 Mar 2008 14:37] Daniel S
Description:
Canceling after choosing the insert image option on diagram view causes crash.

How to repeat:
1. Open or create a new diagram (EER Diagrams)

2. Click the 'insert image' tool (icon with tree in a box, 6th icon down from top)

3. Click any blank area in the diagram

4. On the "Place Image" dialog that appears, navigate to a folder with images.
   Select an image to insert (I insert a .png image)

5. Right-click the image that has just been placed on the diagram, and delete it.

6. Repeat step 2 and 3

7. On the "Place Image" dialog that appears, click the cancel button.

At this point, MySQL Workbench locks up & eventually crashes (possible overflow)

Suggested fix:
Suggested fixes: Unknown at this point.
[15 Mar 2008 14:43] Daniel S
If the how-to-repeat instructions do not work for you, repeat steps 6 and 7 multiple times. This sometimes does not happen on the first attempt, but chances of this crash occurring increases the longer the application has been running.
[17 Mar 2008 15:52] Valeriy Kravchuk
Thank you for a problem report. Please, try to repeat with a newer version, 5.0.15-rc, and inform about the results.
[18 Mar 2008 4:59] Daniel S
Seems to be fixed in updated version 5.0.15-rc
[18 Mar 2008 5:00] Daniel S
(Fixed in 5.0.15-rc)
[18 Mar 2008 9:18] Valeriy Kravchuk
Not repeatable with 5.0.15-rc, it seems.