This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug dynamic-link/19773] replacing .so which was opened and closed, leads to segfault on next dlopen/dlsym
- From: "vl.homutov at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Sun, 06 Mar 2016 08:20:05 +0000
- Subject: [Bug dynamic-link/19773] replacing .so which was opened and closed, leads to segfault on next dlopen/dlsym
- Auto-submitted: auto-generated
- References: <bug-19773-131 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=19773
--- Comment #1 from Homutov Vladimir <vl.homutov at gmail dot com> ---
Case 1:
Core was generated by `./dltest'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x0000000000000575 in ?? ()
(gdb) bt
#0 0x0000000000000575 in ?? ()
#1 0x00007f8efbd73c7e in _dl_close_worker () from /lib64/ld-linux-x86-64.so.2
#2 0x00007f8efbd7471e in _dl_close () from /lib64/ld-linux-x86-64.so.2
#3 0x00007f8efbd6ee10 in _dl_catch_error () from /lib64/ld-linux-x86-64.so.2
#4 0x00007f8efbb5d6b5 in _dlerror_run () from /lib64/libdl.so.2
#5 0x00007f8efbb5d0b1 in dlclose () from /lib64/libdl.so.2
#6 0x00000000004008b1 in main ()
Case 2:
Core was generated by `./dltest'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x00007f9f165cfd42 in check_match () from /lib64/ld-linux-x86-64.so.2
(gdb) bt
#0 0x00007f9f165cfd42 in check_match () from /lib64/ld-linux-x86-64.so.2
#1 0x00007f9f165d067a in do_lookup_x () from /lib64/ld-linux-x86-64.so.2
#2 0x00007f9f165d0ab6 in _dl_lookup_symbol_x () from
/lib64/ld-linux-x86-64.so.2
#3 0x00007f9f161423b5 in do_sym () from /lib64/libc.so.6
#4 0x00007f9f163c40da in dlsym_doit () from /lib64/libdl.so.2
#5 0x00007f9f165d5e10 in _dl_catch_error () from /lib64/ld-linux-x86-64.so.2
#6 0x00007f9f163c46b5 in _dlerror_run () from /lib64/libdl.so.2
#7 0x00007f9f163c4128 in dlsym () from /lib64/libdl.so.2
#8 0x000000000040095f in load_module ()
#9 0x00000000004009f3 in main ()
--
You are receiving this mail because:
You are on the CC list for the bug.