Messages in this thread | | | Date | Tue, 18 Feb 2014 20:54:23 +0100 | From | Florent Fourcot <> | Subject | Crash by update of shared libraries |
| |
Hello,
my system crash by libraries update. Some steps to reproduce the bug (without crash of the all system):
$ export LD_PRELOAD=./libfake.so.1 $ cp libfake.so.1 /tmp/ $ cp /tmp/libfake.so.1 . => Bus error
The cp crash, since the file of the loaded library changed (and the copy failed of course, the new file is now empty). All software with a library loaded (with ld) will crash as well (for example by system updating of the libc: the pid 1 will crash).
Tested on a Linux kernel 3.14.0-rc3.
Regards,
-- Florent.
| |