SharpCap crashes

A place to report problems and bugs in SharpCap
Forum rules


If you have a problem or question, please check the FAQ to see if it already has an answer : https://www.sharpcap.co.uk/sharpcap-faqs

Please also read about Troubleshooting USB Issues before posting.

*** Please do not post license keys - please report any problems with licensing to 'admin' by private message ***

Please include the following details in any bug report:

* Version of SharpCap
* Camera and other hardware being user
* Operating system version
* Contents of the SharpCap log after the problem has occurred.
[If SharpCap crashes, please send the bug report when prompted instead of including the log]
Post Reply
cardanoc
Posts: 10
Joined: Sat Aug 04, 2018 2:33 pm

SharpCap crashes

#1

Post by cardanoc »

Hi,

Operating System: Windows 7
Camera: ZWO 174mm
Sharpcap version: 3.1

Here is the error message:

Problem Event Name: APPCRASH
Application Name: SharpCap.exe
Application Version: 3.1.5219.0
Application Timestamp: 5b465dfd
Fault Module Name: KERNELBASE.dll
Fault Module Version: 6.1.7601.18015
Fault Module Timestamp: 50b83c8a
Exception Code: c06d007e
Exception Offset: 0000c41f
OS Version: 6.1.7601.2.1.0.768.3
Locale ID: 1033
Additional Information 1: 0a9e
Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
Additional Information 3: 0a9e
Additional Information 4: 0a9e372d3b4ad19135b953a78882e789
User avatar
admin
Site Admin
Posts: 13177
Joined: Sat Feb 11, 2017 3:52 pm
Location: Vale of the White Horse, UK
Contact:

Re: SharpCap crashes

#2

Post by admin »

Hi,

what stage are you at when the program crashes? Starting the application? Opening the camera?

cheers,

Robin
cardanoc
Posts: 10
Joined: Sat Aug 04, 2018 2:33 pm

Re: SharpCap crashes

#3

Post by cardanoc »

Hi

Oder of occurrence:

1 - the colorful small window with Jupiter, a cmos chip, and the word "Sharpcap" appears
2 - then the main window appears with the top menu bar and white screen
3 - finally, a smaller window with the message "SharpCap has stopped working" appears
User avatar
admin
Site Admin
Posts: 13177
Joined: Sat Feb 11, 2017 3:52 pm
Location: Vale of the White Horse, UK
Contact:

Re: SharpCap crashes

#4

Post by admin »

Ok, thanks.

The error code in the initial log and your description both point at a DLL file being missing on your system. The interesting bit is working out which one and why :) It doesn't show a name for the missing DLL in the error message or the system event log does it?

cheers,

Robin
cardanoc
Posts: 10
Joined: Sat Aug 04, 2018 2:33 pm

Re: SharpCap crashes

#5

Post by cardanoc »

Hi,

there are two messages in the event log:

first:

Log Name: Application
Source: .NET Runtime
Date: 8/7/2018 7:53:30 PM
Event ID: 1026
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: MININT-0971DCL
Description:
Application: SharpCap.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: exception code c06d007e, exception address 7525C41F

followed by:

Log Name: Application
Source: Application Error
Date: 8/7/2018 7:53:31 PM
Event ID: 1000
Task Category: (100)
Level: Error
Keywords: Classic
User: N/A
Computer: MININT-0971DCL
Description:
Faulting application name: SharpCap.exe, version: 3.1.5219.0, time stamp: 0x5b465dfd
Faulting module name: KERNELBASE.dll, version: 6.1.7601.18015, time stamp: 0x50b83c8a
Exception code: 0xc06d007e
Fault offset: 0x0000c41f
Faulting process id: 0xaa0
Faulting application start time: 0x01d42ea9c6d9efce
Faulting application path: C:\Program Files (x86)\SharpCap 3.1\SharpCap.exe
Faulting module path: C:\Windows\syswow64\KERNELBASE.dll
Report Id: 16354be4-9a9d-11e8-9cea-e318919528bd
User avatar
admin
Site Admin
Posts: 13177
Joined: Sat Feb 11, 2017 3:52 pm
Location: Vale of the White Horse, UK
Contact:

Re: SharpCap crashes

#6

Post by admin »

Thanks for checking - unfortunatly neither of these tell me what the missing DLL is - I think the only way to track this down is to use ProcMon (https://docs.microsoft.com/en-us/sysint ... ds/procmon) to track all the file access that SharpCap is attempting - near the end of the procmon log we will see lots of attempts to find [something].dll in various different folders, all of which fail - then we know that [something] is the missing dll.

What you need to do is...

1) Download Procmon from the link above
2) Unpack and run it
3) In the filter window that pops up select 'Process Name', 'Contains', 'SharpCap' and then press the 'Add' button, then 'OK' (see image below)
4) Leaving procmon running, run SharpCap and let it crash
5) You should see lots of lines of text appear in the procmon window
6) Press the save button in procmon - choose options as shown in second image below and press OK
7) send me the PML file created (attach it to a reply here of PM me for an email address).

cheers,

Robin
Capture0.JPG
Capture0.JPG (41.95 KiB) Viewed 3388 times
Capture.JPG
Capture.JPG (30.07 KiB) Viewed 3388 times
User avatar
admin
Site Admin
Posts: 13177
Joined: Sat Feb 11, 2017 3:52 pm
Location: Vale of the White Horse, UK
Contact:

Re: SharpCap crashes

#7

Post by admin »

Ah, one more thing...

close down Procmon when you are done. If you leave it running it will gradually use up all your memory until everything else slows to a crawl. Been caught like that myself a few times.

cheers,

Robin
cardanoc
Posts: 10
Joined: Sat Aug 04, 2018 2:33 pm

Re: SharpCap crashes

#8

Post by cardanoc »

Thanks Robin.

when I attempted to attach the "pml" file, I received a message "invalid file extension.

When I tried to attach it as a comma-separated file, the message said "too large"

any suggestions?

Cheers

Conrad
User avatar
admin
Site Admin
Posts: 13177
Joined: Sat Feb 11, 2017 3:52 pm
Location: Vale of the White Horse, UK
Contact:

Re: SharpCap crashes

#9

Post by admin »

Just to let you know I sent you a PM with an email address to send the pml file to.

cheers,

Robin
User avatar
turfpit
Posts: 1779
Joined: Mon Feb 13, 2017 8:13 pm
Location: UK
Contact:

Re: SharpCap crashes

#10

Post by turfpit »

A way round the 'invalid file extension' for the .pml is to zip the file and then try attaching. Many systems are picky about attachments - this technique is usually used with .exe files.

Zipping would also help with the .csv 'file too large' problem. A .csv (or any text file such as a log file) would shrink significantly when zipped.

Dave
Post Reply