Bug #43331 | attempted to read or write protected memory / Unknown Exception caught | ||
---|---|---|---|
Submitted: | 3 Mar 2009 14:18 | Modified: | 5 Jun 2009 9:13 |
Reporter: | Bas Scheutjens | Email Updates: | |
Status: | Duplicate | Impact on me: | |
Category: | MySQL Workbench | Severity: | S1 (Critical) |
Version: | 5.0.30 | OS: | Windows (XP Pro) |
Assigned to: | Mike Lischke | CPU Architecture: | Any |
Tags: | CHECKED, workbench |
[3 Mar 2009 14:18]
Bas Scheutjens
[3 Mar 2009 16:11]
MySQL Verification Team
I couldn't repeat on Vista and XP with SE version.
[3 Mar 2009 16:17]
Bas Scheutjens
Not? Too bad, because in my case it now crashes with each design I try to change, so Workbench isn't useable at all at the moment. Could this be hardware related?
[3 Mar 2009 17:41]
MySQL Verification Team
Have you edited some Tools->Options before began the crash?. I used the install default ones.
[4 Mar 2009 7:15]
Bas Scheutjens
I haven't changed the options either. Btw, thanks for your quick replies.
[4 Mar 2009 11:32]
Rodrigo Olivares
Check this bug report (http://bugs.mysql.com/bug.php?id=41930) The option "Automatically reopen last opened model when started" is checked by default maybe. Bye
[4 Mar 2009 14:10]
Bas Scheutjens
It has always been unchecked, but thanks for the suggestion.
[10 Mar 2009 11:35]
Susanne Ebrecht
I can't repeat this behaviour too. Please check your disk. Click on my computer, right click on your hard disk, properties, clean up (general), error check (extras), defragmentation (extra)
[11 Mar 2009 13:26]
Bas Scheutjens
I've checked the c drive, completely cleaned it up and defragged it, but it didn't help. I also checked and cleaned up my d drive, but I haven’t defragged it. This is for the following reasons: 1. Defrag said it wasn’t necessary 2. Workbench is installed on the c drive and all of the test files I use are located on the c drive, so the d drive isn’t used by Workbench when I try to reproduce the problem 3. I didn’t have time yet to run defrag because it takes too long to run it during the day (all my working files are on the d drive, so I can’t work during defrag) As a last resort I’ve asked our system administrator to reinstall my computer and he will do this tomorrow. Hopefully it will be solved.
[11 Mar 2009 14:10]
Bas Scheutjens
I have a small update. I used to get only error message when I was doing something (selecting tables, etc), but I just started to also get error messages when I was just looking at a design (we had to discuss something). It started 5 minutes ago and it happened already three times. I got the following error: ************** Exception Text ************** System.Runtime.InteropServices.SEHException: External component has thrown an exception. at bec.GRTManager.flush_timers(GRTManager* ) at MySQL.Workbench.WbContext.flush_timers() at MySQL.GUI.Workbench.MainForm.timer_Tick(Object sender, EventArgs e) at System.Windows.Forms.Timer.OnTick(EventArgs e) at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
[13 Mar 2009 7:41]
Bas Scheutjens
Another update. My computer is reinstalled and on the second file I opened Workbench started to crash again. Besides that, at my office we use Workbench with the four of us. I used to be the only one with problems, but one collogue is starting to get occasional problems and another one experiences the same as I do: Workbench is constantly crashing. The weird thing is that Workbench used to work correctly for all of us and after a while there are occasional problems and in the end Workbench is constantly crashing. At this point we are considering to switch to another application because at the moment two of us aren't able to do our jobs.
[16 Mar 2009 13:50]
Susanne Ebrecht
Unfortunately we are not able to reproduce it. We need your mwb file because we think it is related to your mwb file. Please upload your mwb file.
[17 Mar 2009 7:31]
Bas Scheutjens
I already uploaded one of the problem files, which was marked as private. But I’ll upload it again as public.
[17 Mar 2009 7:32]
Bas Scheutjens
One of the files which generates the error
Attachment: DB Design.mwb (application/x-zip-compressed, text), 10.23 KiB.
[18 Mar 2009 11:13]
Susanne Ebrecht
The problem seems to be related to installed visual studio. Bug #43679 is a duplicate of this bug here. Please also read comments there. I will set it to verified so that development will be able to look deeper into it.
[18 Mar 2009 11:25]
Bas Scheutjens
Great to see you have been able to find a possible cause. Is there any known workaround (except uninstalling Visual Studio when I need to use Workbench? ;) ). Just for the record, I use Visual Studio 2008 Pro.
[18 Mar 2009 11:37]
Cahya Subiyakto
I just posted a work around. It work fine for my PC. Check bugs #43679.
[20 Mar 2009 9:03]
Bas Scheutjens
Unfortunately the mentioned workaround (starting Workbench and open a file from there instead of opening it from explorer) doesn't work for me, but thanks anyway for the suggestion.
[31 Mar 2009 9:20]
Simon Martin
I had the same symptoms on XP Pro with Workbench 5.0.3 and Visual Studio Express, the suggested workarounds did not work for me either. Given I was only playing with Visual Studio but I really value Workbench I un-installed Visual Studio and ran a repair install on workbench, all errors appear to have stopped.
[28 May 2009 15:37]
Jouno Aymeric
hi, i've exactly the same error message on win xp home fr But, i'didn't got visual studio install... i just repair install and it seems to fixed this bug. to be continue...
[5 Jun 2009 9:13]
Mike Lischke
Duplicate of Bug #43155