Bug #67182 Application crashed
Submitted: 10 Oct 2012 20:52 Modified: 1 Nov 2012 10:12
Reporter: Yaniv Rabl Email Updates:
Status: Can't repeat Impact on me:
None 
Category:MySQL Workbench Severity:S1 (Critical)
Version:5.2.44 OS:Microsoft Windows (Microsoft Windows 7 Home Premium Edition Service Pack 1 (build 7601), 64-bit)
Assigned to: CPU Architecture:Any
Tags: WBBugReporter

[10 Oct 2012 20:52] Yaniv Rabl
Description:
Application: MySQLWorkbench.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.AccessViolationException
Stack:
   at <Module>.boost.detail.function.function_invoker0<int (__cdecl*)(void),int>.invoke(__cdecl*)(void),int>.invoke(boost.detail.function.function_buffer*)
   at <Module>.boost.function0<int>.()()(boost.function0<int>*)
   at <Module>.boost.detail.function.void_function_obj_invoker0<boost::function<int __cdecl(void)>,void>.invoke(void)>,void>.invoke(boost.detail.function.function_buffer*)
   at MySQL.Grt.ListModel.refresh()
   at MySQL.GUI.Workbench.Plugins.DbMysqlTableEditor.insertsTabPage_Enter(System.Object, System.EventArgs)
   at System.Windows.Forms.Control.OnEnter(System.EventArgs)
   at System.Windows.Forms.TabPage.OnEnter(System.EventArgs)
   at System.Windows.Forms.TabPage.FireEnter(System.EventArgs)
   at System.Windows.Forms.TabControl.OnSelected(System.Windows.Forms.TabControlEventArgs)
   at System.Windows.Forms.TabControl.WmSelChange()
   at System.Windows.Forms.TabControl.set_SelectedIndex(Int32)
   at MySQL.Controls.FlatTabControl.OnMouseDown(System.Windows.Forms.MouseEventArgs)
   at MySQL.Controls.FlatTabControl.WndProc(System.Windows.Forms.Message ByRef)
   at System.Windows.Forms.Control+ControlNativeWindow.OnMessage(System.Windows.Forms.Message ByRef)
   at System.Windows.Forms.Control+ControlNativeWindow.WndProc(System.Windows.Forms.Message ByRef)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr, Int32, IntPtr, IntPtr)
   at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG ByRef)
   at System.Windows.Forms.Application+ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr, Int32, Int32)
   at System.Windows.Forms.Application+ThreadContext.RunMessageLoopInner(Int32, System.Windows.Forms.ApplicationContext)
   at System.Windows.Forms.Application+ThreadContext.RunMessageLoop(Int32, System.Windows.Forms.ApplicationContext)
   at System.Windows.Forms.Application.Run(System.Windows.Forms.ApplicationContext)
   at MySQL.GUI.Workbench.Program.Main(System.String[])

----- Developer Notes -----

MySQL Workbench CE for Windows version 5.2.44  revision 9933
Configuration Directory: C:\Users\YRabl\AppData\Roaming\MySQL\Workbench
Data Directory: C:\Program Files (x86)\MySQL\MySQL Workbench 5.2 CE
Cairo Version: 1.8.8
OS: Microsoft Windows 7 Home Premium Edition Service Pack 1 (build 7601), 64-bit
CPU: 8x Intel(R) Core(TM) i7-3610QM CPU @ 2.30GHz, 7.9 GiB RAM
Active video adapter (1): NVIDIA GeForce GT 650M
Installed video RAM: -2048 MB
Current video mode: 1920 x 1080 x 4294967296 colors
Used bit depth: 32
Driver version: 8.17.12.9616
Installed display drivers: nvd3dumx.dll,nvwgf2umx.dll,nvwgf2umx.dll,nvd3dum,nvwgf2um,nvwgf2um
Current user language: Hebrew (Israel)

How to repeat:
I'm not sure how to reproduce has it happened several times in different scenarios.
[11 Oct 2012 2:18] Miguel Solorzano
What was you doing when the application crashed?. Thanks.
[11 Oct 2012 2:33] Yaniv Rabl
I was in the process of designing a new DB. Finished entering 3 columns in a new table:
id integer pk 
code varchar(4) uq nn
country varchar(50) uq nn

I've remembered I've forgot the AI for "id" so I added it and moved to insert tab and the window froze.
[11 Oct 2012 2:38] Yaniv Rabl
All the log files I've got.

Attachment: log.zip (application/octet-stream, text), 14.08 KiB.

[25 Oct 2012 15:52] Ruben Dario Morquecho Valdez
Windows 7 64 bits
Workbench 5.2.44 R9933

Test done :
Create new DB.
Create new table and entering 3 columns :
id integer pk 
code varchar(4) uq nn
country varchar(50) uq nn

close table design
alter table for AI in "id" 
after added AI on id ,  move to insert tab 

Not succeed reproducing bug.

Could you please try again? ,and if reproduceable, could you provide steps details you did?

If you can provide more information, feel free to add it to this bug and change the status back to 'Open'.

Thank you for your interest in MySQL.
[1 Nov 2012 10:10] Yaniv Rabl
Same crash.

Attachment: wb.1.log (application/octet-stream, text), 11.37 KiB.

[1 Nov 2012 10:12] Yaniv Rabl
Crashed again while performing the same flow.
If needed I'm willing to share my screen and present the flow to confirm that it is reproducible.