Bug #69919 Surface Pro - Modeling diagrams crash system on open
Submitted: 3 Aug 2013 17:03 Modified: 2 Sep 2013 4:47
Reporter: Sal Magnone Email Updates:
Status: Closed Impact on me:
Category:MySQL Workbench: Modeling Severity:S2 (Serious)
Version:5.2.47 OS:Windows (8)
Assigned to: CPU Architecture:Any
Tags: modelling, Surface Pro, windows 8

[3 Aug 2013 17:03] Sal Magnone
When opening a model on the Surface Pro, Windows 8, the workbench crashes. This does not occur if the same Surface is connected to typical 1080p monitor as sole source output. I suspect that the form factor (reported details) is out-of-range for what the workbench display code can deal with.

How to repeat:
Open any existing model with artifacts on it on a Surface Pro with no monitor attached.
[5 Aug 2013 20:23] Alfredo Kojima
Can you send the log file located in the Users\you\AppData\Roaming\MySQL\Workbench\log\wb.log when you get it to crash?
[5 Aug 2013 20:24] Alfredo Kojima
Also, can you try 6.0.5?
[8 Aug 2013 16:12] Sal Magnone
Log file after crash

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

[8 Aug 2013 16:12] Sal Magnone
Log file attached.
[8 Aug 2013 16:15] Sal Magnone
Same effect with version 6.
[15 Aug 2013 4:48] Zhu WenQi
I have met the same bug too.  
I am using Surface Pro, with Windows 8 Pro. i have tried 5.2.47 and 6.0.6, but both are no lucky.  I also have 5.2.47 installed on my laptop with Windows 8 Pro, it works.
It seems a particular function on the Surface causes the problem.
Microsoft enables 150% DPI scaling by default on Surface, i have tried to disabled the function but it still crached.
when it crashes, the windows log will have 2 error message

first one is .Net runtime error with the details:
System.AccessViolationException at MySQL.GUI.Mdc.BaseWindowsCanvasView.initialize()

the second one is Application error with the details:
   C:\Program Files (x86)\MySQL\MySQL Workbench 6.0 CE\MySQLWorkbench.exe 
[2 Sep 2013 4:47] Sal Magnone
Upgraded to Windows 8.1 Preview - no longer crashes.