Product, version and build: PowerShell Studio 2018 v5.5.153
32 or 64 bit version of product: 64 bit
Operating system: Win7 64 bit
Hello,
when I start a pester Test in Debug Mode i get an UAE:
PowerShell Cache Builder
PowerShell Cache Builder funktioniert nicht mehr
See
This only happens when i start pester Tests.
Any Idea?
Cache Builder Crash when debugging Pester Test
Forum rules
DO NOT POST LICENSE NUMBERS, ACTIVATION KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
DO NOT POST LICENSE NUMBERS, ACTIVATION KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
- VereinigungHH
- Posts: 6
- Last visit: Wed Feb 07, 2024 9:10 am
Re: Cache Builder Crash when debugging Pester Test
CacheBuilder creates a cache of PowerShell module, which is used for syntax coloring and PrimalSense.
1. Are you testing a module project? Because when you build a module project, PowerShell Studio kicks off the caching process.
2. Can you copy the complete contents of the error message / event log?
3. And if the crash happens again, please zip and upload the contents of the following folder:
C:\Users\(username)\AppData\Roaming\SAPIEN\CachedData 2018\Local Machine
Hopefully it will give us a hint as to what is happening.
1. Are you testing a module project? Because when you build a module project, PowerShell Studio kicks off the caching process.
2. Can you copy the complete contents of the error message / event log?
3. And if the crash happens again, please zip and upload the contents of the following folder:
C:\Users\(username)\AppData\Roaming\SAPIEN\CachedData 2018\Local Machine
Hopefully it will give us a hint as to what is happening.
David
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.
- VereinigungHH
- Posts: 6
- Last visit: Wed Feb 07, 2024 9:10 am
Re: Cache Builder Crash when debugging Pester Test
Yes, I`m testing a Powershell Module. The Windows EventLog contains:
I added the foldercontent in the attached file. Thx for your effortName der fehlerhaften Anwendung: CacheBuilder64.exe, Version: 2.4.33.0, Zeitstempel: 0x5acab27c
Name des fehlerhaften Moduls: CacheBuilder64.exe, Version: 2.4.33.0, Zeitstempel: 0x5acab27c
Ausnahmecode: 0xc0000005
Fehleroffset: 0x0000000000002890
ID des fehlerhaften Prozesses: 0x1454
Startzeit der fehlerhaften Anwendung: 0x01d42fc0a1740b83
Pfad der fehlerhaften Anwendung: C:\Program Files\SAPIEN Technologies, Inc\PowerShell Studio 2018\CacheBuilder64\CacheBuilder64.exe
Pfad des fehlerhaften Moduls: C:\Program Files\SAPIEN Technologies, Inc\PowerShell Studio 2018\CacheBuilder64\CacheBuilder64.exe
Berichtskennung: dfeb3943-9bb3-11e8-be24-8851fb5f6ac8
- Attachments
-
- CacheBuilderError.zip
- (22.56 KiB) Downloaded 84 times
Re: Cache Builder Crash when debugging Pester Test
All the logs end with the SQLPS module, so I suspect that particular module is causing the issue. Can you temporarily remove the module and see if the cache completes?
David
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.
- VereinigungHH
- Posts: 6
- Last visit: Wed Feb 07, 2024 9:10 am
Re: Cache Builder Crash when debugging Pester Test
Hello David,
I deactivated SQLPS in the Cache: Then i run the Pester Test in my psm1 project (1). The error appears again (2). When clicking Edit Cache the Window is empty (3):
I deactivated SQLPS in the Cache: Then i run the Pester Test in my psm1 project (1). The error appears again (2). When clicking Edit Cache the Window is empty (3):
Re: Cache Builder Crash when debugging Pester Test
You will need to disable the module by moving it so that is not discoverable (in a PSModulePath). CacheEdit only works off of preset cache, it doesn't actually disable the module on your system.
David
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.
Re: Cache Builder Crash when debugging Pester Test
Also can you expand the error details and post the contents?
Thank you
Thank you
David
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.
- VereinigungHH
- Posts: 6
- Last visit: Wed Feb 07, 2024 9:10 am
Re: Cache Builder Crash when debugging Pester Test
Ok, so this is the expanded Errortext
Later i removed the SQLPS Folder from "C:\Program Files (x86)\Microsoft SQL Server\110\Tools\PowerShell\Modules" but the error is still thrown.Problemsignatur:
Problemereignisname: APPCRASH
Anwendungsname: CacheBuilder64.exe
Anwendungsversion: 2.4.33.0
Anwendungszeitstempel: 5acab27c
Fehlermodulname: CacheBuilder64.exe
Fehlermodulversion: 2.4.33.0
Fehlermodulzeitstempel: 5acab27c
Ausnahmecode: c0000005
Ausnahmeoffset: 0000000000002890
Betriebsystemversion: 6.1.7601.2.1.0.256.48
Gebietsschema-ID: 1031
Zusatzinformation 1: d41c
Zusatzinformation 2: d41c71eea2ea4ea38fd2580539ce3dcc
Zusatzinformation 3: 0c92
Zusatzinformation 4: 0c92f73f84b0d6f3530e4907913efd76
Lesen Sie unsere Datenschutzbestimmungen online:
http://go.microsoft.com/fwlink/?linkid= ... cid=0x0407
Wenn die Onlinedatenschutzbestimmungen nicht verfügbar sind, lesen Sie unsere Datenschutzbestimmungen offline:
C:\Windows\system32\de-DE\erofflps.txt
Re: Cache Builder Crash when debugging Pester Test
After removing the SQLPS module, can you post the ModuleV*_**bit.log files?
C:\Users\(username)\AppData\Roaming\SAPIEN\CachedData 2018\Local Machine
We will also try testing the SQL Server modules on our end.
C:\Users\(username)\AppData\Roaming\SAPIEN\CachedData 2018\Local Machine
We will also try testing the SQL Server modules on our end.
David
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.
Re: Cache Builder Crash when debugging Pester Test
Please try the latest build of PowerShell Studio (v5.5.154) and let us know if the issue persists.
David
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.