https://sourceware.org/bugzilla/show_bug.cgi?id=17128
Bug ID: 17128 Summary: internal error in lock, at ../../binutils/gold/fileread.cc:295 Product: binutils Version: 2.25 (HEAD) Status: NEW Severity: normal Priority: P2 Component: gold Assignee: ccoutant at google dot com Reporter: rafael.espindola at gmail dot com CC: ian at airs dot com Created attachment 7691 --> https://sourceware.org/bugzilla/attachment.cgi?id=7691&action=edit testcase Having a plugin call get_input_file on two handles that come from the same archive causes gold to try to lock the file twice and asserts. This might be related to bug 15660 since the file being lock might prevent it from being closed and cause us to run out of file descriptors. The attached testcase includes a dummy plugin that just records the handles passed to it in claim_file_hook and calls get_input_file with them in all_symbols_read_hook. -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils