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

If file doesn't exist, file_size() will block program #17

Open
Jin-Whu opened this issue May 26, 2017 · 5 comments
Open

If file doesn't exist, file_size() will block program #17

Jin-Whu opened this issue May 26, 2017 · 5 comments

Comments

@Jin-Whu
Copy link

Jin-Whu commented May 26, 2017

When file doesn't exist, file_size() method will block program.

@vlenhart
Copy link

catching the exception should solve the problem

@Qix-
Copy link
Contributor

Qix- commented Jul 24, 2017

When you say "block" do you mean like an actual blocking call, or do you mean the program crashes?

@Jin-Whu
Copy link
Author

Jin-Whu commented Jul 25, 2017

@Qix- ,"block" means an actual blocking call.

@Qix-
Copy link
Contributor

Qix- commented Jul 25, 2017

Then @vlaube-de this is definitely a bug - no exception is thrown if it's just blocking and deadlocking the entire process.

@vlenhart
Copy link

Sorry, my mistake.

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

3 participants