-
Notifications
You must be signed in to change notification settings - Fork 97
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Error ftruncate (in unix.c[111]) when build and run libqb with WSL #389
Comments
Could you provide a backtrace? It would be interesting to see if it is really an Or the reason of a crash (SIGBUS) might be different, for example, as hypothesized by @wladmis and me in #409: simply not enough FS space was allocated by Perhaps you could even test your case with our patch. What if it helps?.. (Although I'm sure how correctly |
This one: unix.c row 114 It doesn't crash, it only encounters an error with ftruncate function. Only error on WSL. |
The patch in PR #424 is pretty straightforward but I can't test it myself. Can you try it please? |
it works well |
Thanks for checking. The patch is now included in the source. |
I believe that libqb have this problem that is similar to issue here microsoft/WSL#902
ftruncate function doesn't execute standard on WSL like native Linux.
The text was updated successfully, but these errors were encountered: