Bug #58735 unexpected exception in diagram with Intel chipset
Submitted: 5 Dec 2010 0:44 Modified: 29 Dec 2012 1:08
Reporter: Harry Moore Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench: Modeling Severity:S3 (Non-critical)
Version:5.2.30 CE rev 6790 OS:Windows (W7)
Assigned to: CPU Architecture:Any

[5 Dec 2010 0:44] Harry Moore
Description:
I loaded existing table defs.  I then tried to re-position an entity in diagram.

How to repeat:
I can move entities around and it happens fairly often.
[5 Dec 2010 8:33] Valeriy Kravchuk
Thank you for the problem report. 

When this exception happens again, please, right click somewhere with no text in the dialog box and then select the Copy stack trace to Clipboard option. Attach what you get to this bug.
[5 Dec 2010 16:10] Harry Moore
Thanks, it was the 1st time I used mysql.  I was wondering how you could do anything without more info.
So here it is:
Exception = System.Reflection.TargetInvocationException
Message = Exception has been thrown by the target of an invocation.
FullText = System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Runtime.InteropServices.SEHException: External component has thrown an exception.
   at RelationshipEditorBE.get_right_table_info(RelationshipEditorBE* , basic_string<char\,std::char_traits<char>\,std::allocator<char> >* )
   at MySQL.Grt.Db.MySQLRelationshipEditorBE.get_right_table_info()
   at MySQL.GUI.Workbench.Plugins.DbMysqlRelationshipEditor.RefreshFormData()
   at MySQL.GUI.Workbench.Plugins.DbMysqlRelationshipEditor..ctor(GrtManager GrtManager, GrtValue GrtObject)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle._InvokeConstructor(Object[] args, SignatureStruct& signature, IntPtr declaringType)
   at System.RuntimeMethodHandle.InvokeConstructor(Object[] args, SignatureStruct signature, RuntimeTypeHandle declaringType)
   at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
   at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
   at System.Activator.CreateInstance(Type type, Object[] args)
   at MySQL.GUI.Workbench.MainForm.OpenPlugin(GrtManager GrtManager, GrtModule GrtModule, String AssemblyName, String ClassName, GrtValue GrtList, GUIPluginFlags flags)
[5 Dec 2010 16:12] Harry Moore
The stack trace

Attachment: stack trace.txt (text/plain), 1.67 KiB.

[6 Dec 2010 10:03] MySQL Verification Team
Could you please provide the output of Help->System Info. Thanks in advance.
[7 Dec 2010 1:04] Harry Moore
System Info

Attachment: system info.txt (text/plain), 645 bytes.

[7 Dec 2010 18:00] Alfredo Kojima
Hi, it seems there's something wrong in your model, could you attach it to this bug report?
[7 Dec 2010 22:55] Harry Moore
The model

Attachment: bkDB.mwb (application/x-zip-compressed, text), 16.82 KiB.

[7 Dec 2010 23:17] Alfredo Kojima
How was the model created? Reverse engineering/import or manually? In what version of Workbench?
[8 Dec 2010 0:34] Harry Moore
I used "Create EER Model From SQL Script".  I would send you the script but I have modified it since i imported.  The version is 5.2.30 CE Rev 6790.
[8 Dec 2010 1:36] Alfredo Kojima
My initial guess was wrong, I couldn't see anything wrong in the model neither could get a crash from the tests I did. 

Can you try starting WB with the -swrendering option and check if you still get crashes?
[8 Dec 2010 14:08] Harry Moore
I started WB with -swrendering.
I banged away, moving entities, right clicking, editing, trying to make it fail.
It worked perfectly.  No more problems.  Thanks.
[8 Dec 2010 15:02] Alfredo Kojima
Marking as verified to use as hub for similar bugs. Changing Synopsis to make this easier to identify.
[29 Dec 2012 1:08] Alfredo Kojima
Closing as confirmed by reporter.