This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug dynamic-link/19773] replacing .so which was opened and closed, leads to segfault on next dlopen/dlsym


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]