-
Notifications
You must be signed in to change notification settings - Fork 59
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
Crashes with "API function called from within callback" #40
Comments
Could you give me access to that server and that MKV file, please? Could you also let me know which program you used to play that MKV file, please? Please feel free to send me an email at [email protected], if you don't fancy sending me anything in public. I am going to investigate it later this evening. |
Okay, can you run it with @jcharaoui , could you reproduce this problem in the older version? I wonder why it didn't show up before. |
@fangfufu I'll send you a full log with |
curl handles should NOT be added when there are transfers going on!!!
I believe I have solved the problem in commit d6fbcb4. If you look at the code in v1.0.1, curl handles would not have been added when transfers are happening, due to the mutexes. Lines 271 to 273 in 527cad6
I removed those mutexes, because I thought they weren't needed. They only occasionally show up, because it is one of those concurrency bug... |
Right, I am confident this is resolved. I have updated the changelog, Makefile, tagged a new version, and created a new release. Feel free to close the issue once you tested it out. |
Okay, I cannot reproduce the exact bug in 1.1.8, even after the trying to use your server. However, I can confirm that 1.1.8 hangs when there are multiple simultaneous I/O requests. I basically ran three instances of Previously in order to test my code, I mounted Debian CD image server, ran one instance of I guess in future we need to come up with a more comprehensive testing regime. |
This bug is definitely resolved. |
I tagged 1.1.8 and readied a package for upload. Before sending the package to the archive I always test it. After a few minutes of streaming a MKV movie file, I get this crash:
transfer_blocking(): 8, API function called from within callback
This happened 3 times back to back with different video files.
The mount was configured with default settings (no cache).
The text was updated successfully, but these errors were encountered: