Bug #59144 Crash after Test DB Server when adding server
Submitted: 24 Dec 2010 1:07 Modified: 29 Jan 2011 18:56
Reporter: James Hayes Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Workbench: Administration Severity:S2 (Serious)
Version:5.2.31 OS:Windows (Win7 x64)
Assigned to: CPU Architecture:Any
Tags: crash

[24 Dec 2010 1:07] James Hayes
Description:
When attempting to add a localhost server to administer using the wizard, the application will crash immediately after the test db screen.

How to repeat:
1. open application
2. click new server instance
3. select localhost
4. use default settings
5. click next
6. test database connection completes successfully, click next
7. MySQL workbench crashes "MySQL Workbench has encountered a problem"

Suggested fix:
??
[24 Dec 2010 4:12] Valeriy Kravchuk
Please, right click somewhere without text at the error dialog box and use Copy stack trace to clipboard context menu item. Send stack trace to this report.
[2 Jan 2011 23:09] James Hayes
Stack Trace:

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)
[26 Jan 2011 10:33] Valeriy Kravchuk
What exact version of MySQL server, x.y.z, are you creating instance for? Do you have Windows service created for it?
[29 Jan 2011 1:06] James Hayes
Server version: 5.1.41
It is not running as a Windows Service.  MySQL is running as part of a XAMPP 1.7.3 install.
[29 Jan 2011 18:56] Valeriy Kravchuk
Then this is probably a duplicate of Bug #59578. Please, create Windows service for your server as a workaround.