-
Notifications
You must be signed in to change notification settings - Fork 73
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
ftruncate returns 1 #788
Comments
File system superblock: No any error messages seen in dmesg. |
|
Full strace output Due to github limitations you need to rename it to .tgz and unpack. |
Looks like reproduction scenario is complicated, I cannot reproduce the issue by simple C-program. |
I have the same problem when compiling lineage. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
AOSP build fails every time when building APEX images. The failed command is shown below.
The real root cause of the failure is what
ftruncate
system call returns1
as a result. If the temporary directory which is used by build system is moved frombcashefs
totmpfs
, the error disappears. I have recordedstrace
output for both cases and see the difference: when temporary files system are located onbcacheds
, one call toftruncate
system call finished with1
as return code. But possible return codes forftruncate
are only0
and-1
. Looks like this causes following failures in python code.Failed command:
Filtered
strace
output:The text was updated successfully, but these errors were encountered: