Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash when HOME is not set #419

Closed
Henje opened this issue Jan 5, 2025 · 0 comments
Closed

Crash when HOME is not set #419

Henje opened this issue Jan 5, 2025 · 0 comments

Comments

@Henje
Copy link

Henje commented Jan 5, 2025

I am converting a file by running ffmpeg from python via subprocess. This causes all environment variables to be removed.

Running avisynthplus without HOME causes a crash:

terminate` called after throwing an instance of 'std::logic_error'
  what():  basic_string: construction from null is not valid

The crash seems to originate from here:

std::string user_avs_plugindir = std::getenv("HOME");

@qyot27 qyot27 closed this as completed in f283c65 Jan 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant