dyld: Symbol not found: _abort_report_np
when dyld lazy symbol binding is disabled.
#245
Labels
bug
Something isn't working
I discovered something interesting. It might be absolutely nothing, but it also might also be the cause of random crashes or other glitches, I'm not sure.
While reading dyld's man page today, I noticed an interesting environment variable:
This seemed like a good way to test apps for missing symbols, which they would not normally try to access immediately but would later in execution. (cc @RJVB on the above you might find this useful in general.)
I tried launching Chromium Legacy with this environment variable set:
Chromium Legacy crashed due to an undefined symbol,
_abort_report_np
.The question is, In real world use when lazy symbol binding is not explicitly disabled, does Chromium ever call this function? I've never noticed this symbol in a crash log.
In addition, I tried running Chromium with a stubbed version of the function (
void abort_report_np() {}
) and while this allowed Chromium to launch whenDYLD_BIND_AT_LAUNCH=1
, I did not otherwise notice any differences. #185, #94, and #75 still occur.As I said at the jump, I have no idea if this is a real problem, but I wanted to document the finding, especially in case it's easy to proactively fix.
The text was updated successfully, but these errors were encountered: