You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a similar exit when I try to start CasparCG without a mounted drive. I didn't check the error code to see if is the same.
Config file is ok, but the media drive "is not there".
I have a similar exit when I try to start CasparCG without a mounted drive. I didn't check the error code to see if is the same. Config file is ok, but the media drive "is not there".
I suspect it's the same problem. The server tried to access the media path, an exception gets thrown and it aborts during logging.
Just confirmed that if I set media path to a non-existent directory and the server doesn't have write access to create it, it will fail in the same way.
Observed Behavior
For example, starting server in an empty directory (without
casparcg.config
), I get this:If there is an earlier backtrace in the directory, I will get this:
If the config file is corrupt, I may get one of these:
Similar thing happens if I try to launch it with, eg
casparcg -h
orcasparcg --help
or any other invalid path to the config file.Expected behaviour
Looking at the code, I should be getting an error message:
But, I don't. Running in Debug mode, it seems to abort on this line:
server/src/common/log.cpp
Line 152 in 804b8de
There appears to be some sort of a race condition, because if I step through the code it does sometimes display the message...
Steps to reproduce
See above.
Environment
The text was updated successfully, but these errors were encountered: