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/16592] crash in startup


https://sourceware.org/bugzilla/show_bug.cgi?id=16592

Paul Woegerer <paul_woegerer at mentor dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |paul_woegerer at mentor dot com

--- Comment #21 from Paul Woegerer <paul_woegerer at mentor dot com> ---
I'm facing the same problem as Stefan. Interestingly it does not matter when
liblttng-ust.so gets opened from an ldaudit shared object. In my example I
dlopen liblttng-ust.so from the la_preinit() callback in my ldaudit.so. The
result is the same:

Program received signal SIGSEGV, Segmentation fault.
0x00005555555657a0 in add_to_global (new=new@entry=0x7ffff78509f0) at
dl-open.c:94
94              = ns->_ns_main_searchlist->r_nlist + to_add + 8;


Opening any other shared object from la_preinit() works just fine. Also
applying Carlos patch glibc-ldaudit-tls-segv.diff does unfortunately not fix
the problem.

I have attached a dump that I created with:
LD_DEBUG=all LD_AUDIT=$PWD/ldaudit.so ./gmontest 2> LD_DEBUG.out

-- 
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]