Bug #59913 Workbench crashes on startup when running on another profile
Submitted: 3 Feb 2011 5:43 Modified: 4 Mar 2011 16:10
Reporter: Chris Bednarski Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench Severity:S2 (Serious)
Version:5.2.31 SE OS:Windows (Windows 7 Pro x64)
Assigned to: CPU Architecture:Any

[3 Feb 2011 5:43] Chris Bednarski
Description:
When running Workbench on multiple user profiles on Windows 7, only the first profile that launches Workbench will be able to load the application.  For other users, the application crashes immediately.

In order to launch Workbench, the second user will have to terminate the first user's instance of Workbench.

Depending on permissions available, the second user may not be able to terminate the current instance of Workbench, resulting in S1 (Critical) loss of functionality.  Since I suspect this particular scenario is rare, I have classified this as S2.

How to repeat:
1. Launch workbench in the current profile.
2. Create a second user profile in Windows 7.
3. Switch to the new profile.
4. Attempt to launch Workbench.
5. Workbench crashes on startup.

Suggested fix:
The program should not crash when two users try to run it simultaneously.

Temporary workaround: If you are able, switch to the other user profile and terminate their instance of Workbench.
[8 Feb 2011 13:59] Johannes Taxacher
Bug #59949 was marked as duplicate
[10 Feb 2011 14:31] Mike Lischke
Fixed in repository.
[3 Mar 2011 13:44] Johannes Taxacher
fix confirmed in repository
[4 Mar 2011 16:10] Tony Bedford
An entry has been added to the 5.2.32 changelog: 

        If a user profile launched &workbench; then it crashed if 
        additional user profiles attempted to launch it. The first 
        instance needed to be closed before another user profile was 
        able to run &workbench;. This happened on Microsoft Windows 7.
[4 Mar 2011 21:25] Emil Steen
Also occurs in Windows 2003 R2.