Bug #60109 MySQL Workbench Read/Write Memory - Server Administration (New Server Instance)
Submitted: 11 Feb 2011 5:54 Modified: 16 Mar 2011 16:45
Reporter: Nick Duran Email Updates:
Status: No Feedback Impact on me:
Category:MySQL Workbench: Administration Severity:S2 (Serious)
Version:5.2.31 CE OS:Windows (7 Ultimate: Version 6.1 (Build 7600))
Assigned to: CPU Architecture:Any

[11 Feb 2011 5:54] Nick Duran
Exception = System.AccessViolationException
Message = Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
FullText = System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
   at std.basic_string<char,std::char_traits<char>,std::allocator<char> >.c_str(basic_string<char\,std::char_traits<char>\,std::allocator<char> >* )
   at MySQL.?A0x4861a96a.CppStringToNative(basic_string<char\,std::char_traits<char>\,std::allocator<char> >* str)
   at MySQL.Forms.TextEntryImpl.set_text(TextEntry* self, basic_string<char\,std::char_traits<char>\,std::allocator<char> >* text)
   at MySQL.MCallback2<void\,mforms::TextEntry \*\,std::basic_string<char\,std::char_traits<char>\,std::allocator<char> > const \&>.cpp_callback(TextEntry* a1, basic_string<char\,std::char_traits<char>\,std::allocator<char> >* a2)
   at sigc.internal.signal_emit0<void,sigc::nil>.emit(signal_impl* impl)
   at sigc.signal0<void,sigc::nil>.emit(signal0<void\,sigc::nil>* )
   at mforms.Wizard.next_clicked(Wizard* )
   at MySQL.Forms.WizardImpl.nextClick(Object sender, EventArgs arguments)
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

How to repeat:
1. New install
2. New Server instance
3. localhost
4. Testing Connection

Connecting to MySQL server localhost...
MySQL server version is 5.1.41-3ubuntu12.9
MySQL server architecture is i486
MySQL server OS is debian-linux-gnu

5. Memory error pops up on Set windows configuration parameters
[11 Feb 2011 7:08] Valeriy Kravchuk
As you connect to loclhost (Windows):

Connecting to MySQL server localhost...

and MySQL server is on Ubuntu, do you use ssh port forwarding or something similar?
[13 Feb 2011 0:02] Nick Duran
Yes, I used to putty to set up an SSH tunnel.
[13 Feb 2011 15:04] Valeriy Kravchuk
my.ini file is needed for Administrator in this case, as it assumes you work with local server on Windows. Can you try to modify settings to put some valid my.ini there?
[13 Feb 2011 18:00] Nick Duran
I got it working using the built in SSH tunneling. I guess the real problem is the error message is completely unhelpful.
[16 Feb 2011 16:45] Valeriy Kravchuk
I think this is actually a duplicate of Bug #58922 then.
[17 Mar 2011 0:00] Bugs System
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".