You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This follows a pattern like: [open a object file] -> [fstat a file] -> [mmap from the file] -> [close the file] (expect to start proceeding new file) -> [open the file again] (leak here)
By attaching gdb and reading the code, it seems the files are opened from mold::create_plugin_input_file and the comments at
My Environment
Only reproducable with:
So not reporting to llvm project as lld or bfd can do the link with same ulimit.
ulimit -n
strace -f
: (part of, full strace result (gzipped))This follows a pattern like:
[open a object file] -> [fstat a file] -> [mmap from the file] -> [close the file] (expect to start proceeding new file) -> [open the file again] (leak here)
By attaching gdb and reading the code, it seems the files are opened from
mold::create_plugin_input_file
and the comments atmold/src/lto-unix.cc
Lines 640 to 646 in 0841ffc
The text was updated successfully, but these errors were encountered: