[Bug 26373] New: Solidworks 2010 crash ( regression )
http://bugs.winehq.org/show_bug.cgi?id=26373 Summary: Solidworks 2010 crash ( regression ) Product: Wine Version: 1.3.15 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs(a)winehq.org ReportedBy: denis.bonnenfant(a)diderot.org Solidworks is crashing just before opening its main window. A window pops-up to send a crash report to solidworks. Regression test identifies this commit : c65bcce5899ba81226295303ed3df73a7be86c09 is the first bad commit commit c65bcce5899ba81226295303ed3df73a7be86c09 Author: Hans Leidekker <hans(a)codeweavers.com> Date: Wed Mar 2 10:46:12 2011 +0100 server: Map the Unix user id to a local user SID instead of the interactive SID. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=26373 denis bonnenfant <denis.bonnenfant(a)diderot.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=26373 Hans Leidekker <hans(a)meelstraat.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hans(a)meelstraat.net --- Comment #1 from Hans Leidekker <hans(a)meelstraat.net> 2011-03-10 14:00:26 CST --- Please attach terminal output. Did you try starting from a clean prefix? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=26373 --- Comment #2 from denis bonnenfant <denis.bonnenfant(a)diderot.org> 2011-03-10 15:44:18 CST --- (In reply to comment #1)
Please attach terminal output.
There was nothing related. Don't know which channel to enable. Server ? The problem is caught by SW itself, so from wine's side the program exits cleanly.
Did you try starting from a clean prefix?
No, as SW installation is a really long process on my computer. But I reproduced it on three different installs. But if you think that it is worth to try, I can do it tomorrow. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=26373 --- Comment #3 from Hans Leidekker <hans(a)meelstraat.net> 2011-03-11 01:55:38 CST --- (In reply to comment #2)
Did you try starting from a clean prefix?
No, as SW installation is a really long process on my computer. But I reproduced it on three different installs. But if you think that it is worth to try, I can do it tomorrow.
It's likely that your app breaks because the user SID is changed by this patch, which won't match the one stored in the prefix anymore. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=26373 Dmitry Timoshkov <dmitry(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Solidworks 2010 crash ( |Solidworks 2010 crashes |regression ) | -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=26373 GyB <gyebro69(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |gyebro69(a)gmail.com --- Comment #4 from GyB <gyebro69(a)gmail.com> 2011-03-11 09:38:17 CST --- The same commit caused me problems in certain games which contain Securom activation: after the commit Securom no longer accepted the existing registration info (stored in the registry and on the disk, under /users/your_username/Application Data/Securom directory) and it required a new activation. It is quite an annoying problem if the game/app has activation limit (Securom usually allows 3-5 activations with the same serial). -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=26373 --- Comment #5 from Hans Leidekker <hans(a)meelstraat.net> 2011-03-11 09:56:36 CST --- (In reply to comment #4)
The same commit caused me problems in certain games which contain Securom activation: after the commit Securom no longer accepted the existing registration info (stored in the registry and on the disk, under /users/your_username/Application Data/Securom directory) and it required a new activation. It is quite an annoying problem if the game/app has activation limit (Securom usually allows 3-5 activations with the same serial).
Well, the SID is stable now, it won't change again when you create a new prefix, which should make such registration data portable across prefixes. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=26373 --- Comment #6 from GyB <gyebro69(a)gmail.com> 2011-03-11 10:06:12 CST --- (In reply to comment #5)
Well, the SID is stable now, it won't change again when you create a new prefix, which should make such registration data portable across prefixes.
You answered my untold question: will that part of Wine change frequently in the future? Thanks for your reply, that's quite reassuring. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=26373 --- Comment #7 from Dmitry Timoshkov <dmitry(a)codeweavers.com> 2011-03-12 00:06:03 CST --- Is this basically a WONTFIX then? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=26373 --- Comment #8 from Hans Leidekker <hans(a)meelstraat.net> 2011-03-12 02:14:44 CST --- (In reply to comment #7)
Is this basically a WONTFIX then?
I'd say INVALID, if the reporter can confirm that starting from a fresh prefix makes the crash go away. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=26373 --- Comment #9 from Dmitry Timoshkov <dmitry(a)codeweavers.com> 2011-03-12 02:49:24 CST --- (In reply to comment #8)
I'd say INVALID, if the reporter can confirm that starting from a fresh prefix makes the crash go away.
Is there a way to detect such configurations, so that bug reports with old configs could be easily identified? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=26373 --- Comment #10 from Hans Leidekker <hans(a)meelstraat.net> 2011-03-12 04:50:16 CST --- (In reply to comment #9)
Is there a way to detect such configurations, so that bug reports with old configs could be easily identified?
Look at user.reg. If the first two lines do not read like this it's an old prefix: WINE REGISTRY Version 2 ;; All keys relative to \\User\\S-1-5-21-0-0-0-1000 -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=26373 --- Comment #11 from Dmitry Timoshkov <dmitry(a)codeweavers.com> 2011-03-14 00:37:45 CDT --- (In reply to comment #10)
Is there a way to detect such configurations, so that bug reports with old configs could be easily identified?
Look at user.reg. If the first two lines do not read like this it's an old prefix:
WINE REGISTRY Version 2 ;; All keys relative to \\User\\S-1-5-21-0-0-0-1000
I mean at run-time, since obviously there are users with existing installs and it's going to be a support headache. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=26373 --- Comment #12 from Hans Leidekker <hans(a)meelstraat.net> 2011-03-14 03:07:18 CDT --- (In reply to comment #11)
I mean at run-time, since obviously there are users with existing installs and it's going to be a support headache.
Yeah, a crash might be the only user-visible indicator. A +reg trace should reveal the user SID, and if +advapi shows calls to GetTokenInformation(TokenUser) and LookupAccountSid it's likely that the app depends on the SID <-> username mapping. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=26373 --- Comment #13 from denis bonnenfant <denis.bonnenfant(a)diderot.org> 2011-03-15 11:39:04 CDT --- (In reply to comment #12)
(In reply to comment #11)
I mean at run-time, since obviously there are users with existing installs and it's going to be a support headache.
Yeah, a crash might be the only user-visible indicator. A +reg trace should reveal the user SID, and if +advapi shows calls to GetTokenInformation(TokenUser) and LookupAccountSid it's likely that the app depends on the SID <-> username mapping.
OK, now I understand. There are some informations related to the old interactive SID stored in HKLM. They need to be renamed to local user SID. For Solidworks, it was in HKLM\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Installer\\UserData With this hack SolidWorks works perfectly without reinstalling, and I guess that it would be the same for other apps. So, basically sed -i "s/S-1-5-4/S-1-5-21-0-0-0-1000/g" $WINEPREFIX/system.reg will do the trick. Adding it to a winetricks verb, or, better, as a test launched at first 1.3.16 start (when WINEPREFIX is updated) may be a good thing. I tested it on a few prefixes and it doesn't break anything. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=26373 Hans Leidekker <hans(a)meelstraat.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID --- Comment #14 from Hans Leidekker <hans(a)meelstraat.net> 2011-03-19 06:03:54 CDT --- Thanks for the confirmation. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=26373 Hans Leidekker <hans(a)meelstraat.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #15 from Hans Leidekker <hans(a)meelstraat.net> 2011-03-19 06:04:15 CDT --- Closing. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=26373 --- Comment #16 from denis bonnenfant <denis.bonnenfant(a)diderot.org> 2011-03-19 06:48:48 CDT --- (In reply to comment #15)
Closing.
Adding a warning on SolidWork's Appdb page. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
participants (1)
-
wine-bugs@winehq.org