SOLIDWORKS SP4 EV - Closing Drawings

O Dear....We are testing SW2017-SP4 EV for stability / PDM Add-in improvements.

BEWARE ! We have come across a new issue where closing drawings causes SW to hang until the '...encounters an error and has to close' message.

and iti s happening 25-30% of the time. Pretty disastrous.

This is on Windows 7.

PDM Add-in does seem to be more stable but it's har to tell wiht this new problem causing crashes so often.

Really a poor show.

Also tried SW2017 SP3 on Win 10 LTBS......Again, beware.

The O.S. install itself is wickedly quick, with no bloatware, but I have always read that the GDI count was set to the max on Windows 10.

On the LTBS build, it is back to the Win 7 count of 10k.....I found after scratching my head a bit on what was causing graphical failures.

Am checking what an actual full Win 10 install is set to.

SolidworksAdministration
Answers 27
VM
VM 2017-08-07 Best Answer

​ did you get more involved with this issue?

I hanged SW2017 SP4  (NON EV) with PDM Pro around 10 times today at work when closing drawings. Me and my co-admin have the SP4 installed only on our computers to test for stability and deal-breaker bugs before deploying to 30+ computers. He has also noticed more hangs with this new SP4. Not looking great when this kind of issues arise at this stage of service pack schedule.

Was looking forward to this SP4 since allegedly at least some of the GDI object problems were fixed, and also very nasty bugs with assembly features. SPR # (1029142)  (1006373).

Will need to try to reproduce the issue in more detail when I get the chance. I once tried to check what was going on with Process monitor, but solidworks was not doing anything that would leave entries to Process monitor log, just hanged with 1 cpu core maxed. We are using Win7, certified gpu drivers...

KM
KM 2017-08-07

I have SP4 installed just on my machine testing before I deploy.   I had this happen today and thought it was just a fluke.   I am really disappointed that this is an issue.   Windows 10 with everything up to date.   Ugh.

SH
SH 2017-08-08

We have a couple of machines (mine and one other) running 2017 SP4 and we are having trouble closing assemblies. Both running Windows 10 and PDM Pro.

Not just drawings and it seems to be happening pretty regularly

VM
VM 2017-08-08

Hey all,

Good news & bad news.

Good news is that I have located the issues that are causing SW to hang when using PDM addin with Solidworks SP4. Bad news is that the issues are very easy to trigger in everyday working with SW.

Here are the steps to hang Drawings & Assemblies with SW2017 SP4.

Case 1

1.Open SW with PDM addin enabled

2. Open a drawing or assembly

3. Select any face of assembly part or in a drawing (hangs with part drawings aswell)

4. Keeping face selection close the drawing or assembly

5. Solidworks hangs and does not recover

Case 2

1.Open SW with PDM addin enabled

2. Open a drawing or assembly

3. Check opened file out

4. Rebuild or change something that the assy / DRW gets "changed"

5. Close assy or drawing, select "Save all"

6. Solidworks hangs and does not recover

Notes:

  • Without PDM-addin the SW does not hang

I am working with our VAR to get these issues reported and I'll share the SPR numbers if these get one. If possible try to reproduce these issues to verify the problem.

KM
KM 2017-08-08

Please do send the SPR numbers.   I can definitely reproduce Case 2.   

VM
VM 2017-08-08

I don't have the SPR numbers yet, I'll post them as soon as I I have them. Only around 2 months till SP5, hoping they can fix it till then, otherwise we are stuck with unstable software for more than a year, since I don't think we dare to upgrade to SW2018 earlier than SP5.

Good to hear that you can reproduce the issue, then it's not vault / network specific.

The key to trigger Case 1, is that the assy or drawing is unchanged when you have face selected and close it. If SolidWorks pops the dialog asking "do you want to save changed part", it seems that protects SW from the hang.

Easiest way is to open a simple drawing with a single part and check that the asterix symbol is not present next to file name at the top, ie. meaning that the file is unchanged. Both drawing & part need to be rebuild before last save, so they won't start rebuilding when you open the files.

JS
JS 2017-08-08

Just to add to this, We DO NOT have PDM and I have not seen this situation. It would appear that the PDM addin is related to the issue.

SH
SH 2017-08-09

It seems we are also getting this issue when switching between open assemblies. This is a problem. Is it possible to install SP3 over SP4?

[edit] Looks like a no on that one

JS
JS 2017-08-09

The SP4 seems to have been removed from the download. May be under repair?

AH
AH 2017-08-09

Hi

This is SPR 1039919 and is the reason Sp4 is no longer on the download site. It is very high priority with the developers. It has been observed the instability is only with SP4 of SolidWorks, i.e. you can have SP4 PDM Client, but must have SolidWorks on SP3 to prevent this issue. To revert a service pack of SolidWorks to a prior version, it will be an uninstall/reinstall needed.

AH
AH 2017-08-09

It is yes.

SC
SC 2017-08-10

There will be a hotfix SP4.1.

JS
JS 2017-08-11

Hi Everyone,
It is not acceptable that this issue made it into the SP4.0 release. My apologies to anyone who lost time or work with this issue. We have identified the series of events that introduced the problem and it not being found before the release. We are taking corrective actions to prevent this from happening again. 

A hotfix that resolves the issue in SP4.0 is available here as part of Knowledge Base solution S-073387.

We have removed SP4.0 from the downloads page and we will deliver a new service pack 4.1 once testing is complete, the week of Aug 14th at the earliest. Customers who already have SP4.0 need only install the hotfix, and do not need to upgrade to SP4.1.

Best Regards,
John

BD
BD 2017-08-11

What's disappointing is how much time my customers and I had to waste with support from our VAR on this issue and just getting told it was our graphics card.  It was clear it was a bug in SP4 but there seemed to be no acceptance of that fact.  SW2016 works without issue with the same graphics card.  It would be nice if the VARs and SW were in communication with the user forums and realize it might actually be a software bug instead of kicking the can down the road.

Hopefully 4.1 will resolve the issue.

JS
JS 2017-08-12

Hi Bill,

Can you describe the problem you are seeing?  Is it a hang when closing documents with the PDM addin loaded?

Thanks,

John

BD
BD 2017-08-14

Hi John, I don't have PDM so it's "unrelated" at the surface. It appears to be whenever the sldShellExtension.exe runs.  There seems to be a conflict with Windows Explorer (7).  By disabling sldShellExtension crashing has stopped.  However this process auto-restarts.  I had to remove it by deleting all references to it in the registry and reboot my machine.  I have not seen any negative effect of this removal.

I only saw the constant crashing after I installed 2017 SP4 but even after ripping out 2017 and reinstalling, it crashes *every* time that the above mentioned shell extension starts.  I did also install 2018 Beta1,2 -- not sure if those were contributors.

My clients don't run PDM either and are experiencing similar pain.  Not sure if they reported the trouble up here to the forum tho.

Bill

JS
JS 2017-08-14

Hi Bill,

I want to be sure you're not seeing something that could also be affecting other customers. Since you are using SW2018 Beta, we are going to have a SolidWorks Tech Support person reach out to you and try to narrow down the problem you're seeing.

Thanks,

John

BD
BD 2017-08-15

Hi John

Yes, a member of the SW team spent hours with me today trying to resolve this issue.  There appears to be a similar SPR open on this specific issue which is apparently related to sldShellExtension.  I think we exchanged enough technical info and were able to recreate the problem sufficiently such that I feel you guys are going to solve this and present a solution.  Thank you for contacting me.

Bill

AH
AH 2017-08-15

​ & ​ I appreciate this thread has branched off to a new issue, but 3 of my colleagues have this issue. Simply put since 2017 Sp4 has been installed, when they hover over a SolidWorks file in either Windows Explorer, or through the SolidWorks file open menu, a hang is seen and i believe this is the shellextension issue. They also have (or had) 2018 BETA installs present too. If either of you have existing SR/SPR numbers you can provide (I work for a reseller) that would be great. I did get this from the European Tech Support Director but no specific SPRs as yet (and thishasn't helped either). I am wondering if it relates to having multiple installed versions as we tend to to support the customers:

Windows Explorer crashing

W  We have received reports of a Windows Explorer crash when browsing files containing SOLIDWORKS files in both Windows Explorer and SOLIDWORKS file open or save.  The issue is not seen on all computers and is frequently associated with installing a new version of SOLIDWORKS 2017 (Such as an upgrade to SOLIDWORKS 2017 SP4) after installing SOLIDWORKS 2018 beta release on a computer.  The issue is being investigated through SPR 1032207.  SOLIDWORKS recommends not installing Beta versions of the program on  production computers.  The following process has been shown to correct the issue

La  Launch elevated (administrator) command prompt and run the command

C:\Program Files\SOLIDWORKS Corp\SOLIDWORKS\sldShellExtServer.exe /regserver

Any updates on this would be very appreciated. It doesn't seem to have extended to our customer base yet, but as said 3 colleagues are really struggling with this.

Adam

JS
JS 2017-08-15

Hi Adam/Bill,

We were able to reproduce this problem in R&D which is caused by installing an older version (ie: SW2017) on top of SW2018 Beta.  To resolve your current crashing, please try these steps:

1. Find the location of SW2018 version of sldShellExtServer.exe.  Assuming your machine has only SW2018 and SW2017 versions installed (in that order) the location of the file would be C:\Program Files\SOLIDWORKS Corp\SOLIDWORKS\sldShellExtServer.exe.  The  version number of this file, using RMB-Properties-Details, should be 26.*.*.**** which indicates that it is a SW2018 file.

2. Launch administrator command prompt and run the following command using the location of sldShellExtServer.exe that you found from step #1 above.

              C:\Program Files\SOLIDWORKS Corp\SOLIDWORKS\sldShellExtServer.exe /regserver

3. You should now be able to restart Windows Explorer and work without crashes.

Please let me know if you have any question or this doesn't work.

Best Regards,

John

BD
BD 2017-08-15

John

This does not work on my machine.  In fact sldShellExtServer.exe is version 25..

I have fully ripped out 2018 & 2017 and reinstalled w/2017 SP2.  The problem started immediately.  The fix that I gave SW support seems to be the only method that works.

So back to ripping up the registry then?


Bill

comment imagecomment image
EP
EP 2017-08-15

Great, I have PDM Standard running on win7, 2015SP5, I'm not upgrading anything until this gets ironed out.

BD
BD 2017-08-15

John

Just made a discovery based on some notes during the debug session with SW support yesterday.  The reinstall of 2017 is *not* reinstalling the files located in "\Program Files\Common Files\SOLIDWORKS Shared"  where the dll for the sldwinshellextu lives -- this and others remain to be version 26 instead of 25.  However, the sldShellExtServer.exe over in the main SW directory *is* version 25.  I think this needs to be addressed.  As I said above, the fix you gave did not solve the problem.

Is there a clean way to rip out all the mismatched files in "...Common Files.." to get back to the base 2017 install?


Thanks

Bill

comment imagecomment image
BD
BD 2017-08-15

Solved!

Ok, the problem is with the wrong version DLL (assuming you no longer have 2018 on your machine, as was my case).

It is necessary to rename sldwinshellextu.dll to something else.  Then when SW2017 starts windows attempts to repair and puts back the *correct* version dll which no longer causes the crash.


Bill

JS
JS 2017-08-15

HI Bill,

OK, that's good to hear.  I'll add this extra info to the SPR details.  So, in summary, you found that SW2017 did not work if the sldWinShellExtu.dll was from SW2018?

Thanks,

John

JS
JS 2017-08-15

We are expecting 2017 sp4.1 to be ready early next week... the week of Aug 21st.  As posted earlier, if you already have 2017 sp4.0 then you can download the hotfix, which is available now, and there is not any need to upgrade to SP4.1.

-John

BD
BD 2017-08-15

Correct.  dll was 2018, exe was 2017.  Did not work.  I also went ahead and pruned the other dll's in the "common" directory that had ver 26 properties just in case.  They all got auto-reinstalled back to v25.  So far so good.