4.2-b crash

Discussions, Bug Reports and Issues related to Beta versions of SharpCap
Post Reply
celkins
Posts: 171
Joined: Fri Apr 20, 2018 10:58 pm

4.2-b crash

#1

Post by celkins »

Robin,
just started a live stack on M63: first sub had just come in, clicked on the new <Colour Cal> button, which froze this instance (the other kept going), but then PHD froze up, too. The other SC 4.2 has now stacked 29 frames, whilst this one & PND remain frozen. (oh, and I hate Windoze now "offering" to use Adobe Photoshop express just to take a screen shot :evil: :evil: )
(Please ignore the guff around "recording" - so much for simple screen shotting tool!)

Log & screenshot attached.

Thanks,
Carl.
Attachments
Log_2026-05-11T22_44_53-17368.log
(373.07 KiB) Downloaded 5 times
SC4.2.b-crash on LS-Stretch-Click_Screenshot 2026-05-11 230506-zoom.jpg
SC4.2.b-crash on LS-Stretch-Click_Screenshot 2026-05-11 230506-zoom.jpg (988.73 KiB) Viewed 547 times
celkins
Posts: 171
Joined: Fri Apr 20, 2018 10:58 pm

Re: 4.2-b crash

#2

Post by celkins »

PHD picked up after the crashed SC instance eventually died...
celkins
Posts: 171
Joined: Fri Apr 20, 2018 10:58 pm

Re: 4.2-b crash

#3

Post by celkins »

This 2nd instance just crashed again at the same point, clicking <Colour Cal> after first sub...
Attachments
Log_2026-05-11T23_35_31-15284.log
(117.35 KiB) Downloaded 2 times
User avatar
admin
Site Admin
Posts: 17609
Joined: Sat Feb 11, 2017 3:52 pm
Location: Vale of the White Horse, UK
Contact:

Re: 4.2-b crash

#4

Post by admin »

Hi Carl,

this is looking to be an interesting one - I think that the PHD freezing is a symptom of the crash rather than the cause - my guess on that is that because SharpCap was monitoring PHD2 when it crashed, the next time PHD2 tries to send a status update to SharpCap, it gets no response and is stuck waiting for one until SharpCap finally fully closes.

Both logs cut off at a point consistent with completion of a normal colour calibration measurement - there is nothing in either related to the crash. I am suspecting based on that info that SharpCap is crashing in this situation *without* showing the normal bug report window - I have checked my uploaded bug reports and I'm not seeing any that link in with your logs, so I have no extra info from that source.

SharpCap 4.2 has a new way to try to gather info about this sort of crash, but even that can't pick up all of the possibilities. If you got a message box about an error that could not be reported in the normal way then this new approach was triggered and there will be a crash dump file saved in

Code: Select all

C:\Users\<your windows user name>\AppData\Local\SharpCap\crash_dumps
Sending me that crash dump (probably more than 1) will help me understand what went wrong.

If SharpCap hasn't managed to create the crash dump automatically, then the best thing is to try to create one using the 'ProcDump' tool from Microsoft - this can be run with appropriate command line options to tell it to create a crash dump if it catches SharpCap crashing. If you run that before your next session (or while trying the same sort of thing using the folder monitor camera for instance), if you manage to trigger the crash you will get a dump file to send to me.

More info on using procdump to help diagnose a crash in SharpCap here : procdump -e -t -w SharpCap -mm

cheers,

Robin
celkins
Posts: 171
Joined: Fri Apr 20, 2018 10:58 pm

Re: 4.2-b crash

#5

Post by celkins »

Sorry, Robin, been a few days since it was clear, and I've been busy with the garden...
No .../crash_dumps/ folder present, unfortunately.

I've downloaded the latest (14656) build, and will see how things go, if the cloud stays away - some chance, eh? ;-)

Just an observation, but with my ZWO183MC camera, the auto-scaling of display stretch seems to have become "unstable" - actually, I've just spotted why - I had a dark frame selected (longer exposure), and dark-scaling on... looks like that was doing it, because switching to hot & cold pixel removal goes back to stable display brightness :-)
User avatar
admin
Site Admin
Posts: 17609
Joined: Sat Feb 11, 2017 3:52 pm
Location: Vale of the White Horse, UK
Contact:

Re: 4.2-b crash

#6

Post by admin »

Hi,

well, no crash dumps is good (I think). Actually with the very latest version I have changed how the crash dumps work - they should be generated now by Windows in more circumstances than the previous version could manage, then when you restart SharpCap after that sort of crash it should prompt you to submit the dumps if it finds any new ones - all a lot more streamlined.

Dark scaling was mostly targeted at uncooled cameras - dealing with the situation where you have a dark at the right gain/exposure, but the sensor temperature is varying with conditions. Using it with a significantly different length of exposure or gain is a bit of uncharted territory. Is it a credible use case? Not 100% sure - if we think it is then I can make a note to look into it further.

cheers,

Robin
Post Reply