Crash with new Other Settings Profiles

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
StarFlea
Posts: 169
Joined: Wed Dec 21, 2022 12:22 pm

Crash with new Other Settings Profiles

#1

Post by StarFlea »

Hi Robin,

In the latest version 4.1.14089, I'm getting a reproducible crash as soon as I hover my mouse over the new menu item "Other Settings Profiles...".

Exception Type: System.ArgumentException
Message: The path is empty. (Parameter 'path')
Target Site: string GetFullPath(string path)@System.IO.Path

Could it be that an exception is being thrown because there are no entries yet? How do I create some?

Cheers!

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

Re: Crash with new Other Settings Profiles

#2

Post by admin »

Hi,

thanks for posting - I don't think it is to do with a lack of other profiles. As far as I can work out, oddly it's related to shortcuts on your desktop.

As part of preparing to show the info for other settings instances, it checks your desktop for shortcuts that point to SharpCap settings instances (ones that point to SharpCap.exe and have '/instance n' in the command arguments). It looks like there is a type of shortcut that I don't have on my desktop that is missing a target, and my code is not coping with that.

I will have an update out very shortly to resolve this.

cheers,

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

Re: Crash with new Other Settings Profiles

#3

Post by admin »

Can you try the new 4.1.14090 when you have a chance? Fairly sure it should resolve the issue, but so far I haven't been able to break it myself, so it would be good to get confirmation.

cheers,

Robin
User avatar
carlomuccini
Posts: 260
Joined: Mon Apr 27, 2020 12:42 pm
Location: Montecatini Terme (PT), Italy
Contact:

Re: Crash with new Other Settings Profiles

#4

Post by carlomuccini »

It was crashing for me too; I even sent a report.
Now is ok

Carlo
StarFlea
Posts: 169
Joined: Wed Dec 21, 2022 12:22 pm

Re: Crash with new Other Settings Profiles

#5

Post by StarFlea »

Strange! On my desktop, there's only one shortcut to launch SharpCap by default without any parameters.

Anyway, it works now! Thanks for the fix! Even though I need to familiarize myself with the new feature, I was a little hesitant to use the File menu for fear of accidentally crashing the program.

Cheers!

StarFlea
Post Reply