https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=231926
Mark Johnston <ma...@freebsd.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ma...@freebsd.org --- Comment #1 from Mark Johnston <ma...@freebsd.org> --- ldd is very simple: it sets some magic rtld flags and exec()s the specified executable (or uses dlopen(RTLD_TRACE) for shared libs). For an executable, rtld will then print the dependencies and exit without actually calling into the executable. So a bug in the executable's code which causes a segfault should not be triggered when run by ldd, but if the executable itself is corrupted or invalid in some way, rtld may crash. This may or may not be a bug in rtld, depending on the nature of the corruption. In other words, if the executable is segfaulting before main() gets invoked, then the behaviour you're seeing is probably expected. To say for sure, we need to see exactly where the segfault is occurring. -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ freebsd-bugs@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"