aitrack icon indicating copy to clipboard operation
aitrack copied to clipboard

Crashing on startup/launch

Open Vertliz opened this issue 2 years ago • 7 comments

When I click the Ai Track.exe it launches the GUI and then it crashes. Please help!

Vertliz avatar Oct 05 '22 18:10 Vertliz

Please see https://github.com/AIRLegend/aitrack/issues/171 since it appears to be the same symptom

searching46dof avatar Oct 08 '22 04:10 searching46dof

I've noticed that the application will also crash if the user is not able to write in that location. I first placed the binaries in C:\Program Files\AITRack when this occured.

This happens because of https://github.com/AIRLegend/aitrack/blob/master/Client/src/Main.cpp#L44, but there is more code writing to the same directory. This type of info should be written to a subdir within %APPDATA% as an improvement.

FrankSpierings avatar Oct 26 '22 16:10 FrankSpierings

I believe it saves the configuration to prefs.ini in the same folder so it would require write privilege.

I would prefer prefs.ini remain in the same folder so that I can easily run multiple instances concurrently. I'm working on an application to extend the functionality by averaging the udp stream data for better coverage and more accuracy through parallax.

searching46dof avatar Nov 06 '22 23:11 searching46dof

I'm having this issue except GUI opens but crashes once I select track.

bbecausereasonss avatar Nov 09 '22 02:11 bbecausereasonss

@bbecausereasonss , crashing when selecting "track" usually indicates a webcam driver issue, a chipset driver issue or incompatible settings for the webcam (width, height, FPS). check the camera manufacturer's website for the the supported settings.

searching46dof avatar Nov 09 '22 02:11 searching46dof

Is it possible to at least have some logs to know what's wrong? Because this: [2023-01-13 11:22:16.706] [aitrack] [info] Starting camera 0 capture is the last line before crash. And it does not explain anything.

Aberro avatar Jan 13 '23 10:01 Aberro

crashes are recorded by windows in the windows event viewer logs. Check that your login account has full rights to the folder. Check windows settings that your account has privacy rights to the webcam. And check if it may be blocked by antivirus.

also see https://github.com/AIRLegend/aitrack/issues/183 which this may be a duplicate of.

searching46dof avatar Jan 20 '23 04:01 searching46dof