Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SIGSEGV, Segmentation fault in user library in the custom library on a system with glibc 2.34 (Ubuntu 21.10). #5231

Open
MAXZVER opened this issue Nov 29, 2021 · 1 comment

Comments

@MAXZVER
Copy link

MAXZVER commented Nov 29, 2021

SIGSEGV, Segmentation fault in user library in the custom library on a system with glibc 2.34 (Ubuntu 21.10). The library and client were built on ubuntu 20.04 with glibc 2.31. There are no errors on glibc 2.33 and below.

Program received signal SIGSEGV, Segmentation fault.
0x00007ffdf7a32043 in __GI___libc_cleanup_push_defer (buffer=buffer@entry=0x7fffffffc920) at libc-cleanup.c:31
31 libc-cleanup.c: There is no such file or directory.
(gdb) bt
#0 0x00007ffdf7a32043 in __GI___libc_cleanup_push_defer (buffer=buffer@entry=0x7fffffffc920) at libc-cleanup.c:31
#1 0x00007ffdf7a2e2f7 in __GI__IO_link_in (fp=fp@entry=0x7ffdf7e74c00) at genops.c:92
#2 0x00007ffdf7a2cdbe in _IO_new_file_init_internal (fp=fp@entry=0x7ffdf7e74c00) at fileops.c:114
#3 0x00007ffdf7a2072b in __fopen_internal (is32=1, mode=0x7ffdf7b78694 "rce", filename=0x7ffdf7b7a144 "/etc/localtime") at iofopen.c:74
#4 _IO_new_fopen (filename=filename@entry=0x7ffdf7b7a144 "/etc/localtime", mode=mode@entry=0x7ffdf7b78694 "rce") at iofopen.c:86
#5 0x00007ffdf7a7b763 in __tzfile_read (file=file@entry=0x7ffdf7b7a144 "/etc/localtime", extra=extra@entry=0, extrap=extrap@entry=0x0) at tzfile.c:162
#6 0x00007ffdf7a7ab75 in tzset_internal (always=) at tzset.c:405
#7 0x00007ffdf7a7b4c3 in __tz_convert (timer=1638186291, use_localtime=0, tp=0x7fffffffcbe0) at tzset.c:577
#8 0x00000000722b68e6 in boost::date_time::c_time::gmtime (t=0x7fffffffcc18, result=0x7fffffffcbe0) at /boost64/include/boost/date_time/c_time.hpp:85

@derekbruening
Copy link
Contributor

I think you skipped the bug description template (were you not signed in to github? there is a github bug which they still have not fixed that skips the supposedly required template in late-signin cases): https://github.com/DynamoRIO/dynamorio/issues/new?assignees=&labels=&template=bug_report.md&title=

There's nothing actionable here: no description of how to reproduce; no description of when this happens (the callstack is truncated: when is this called? at process init time, thread init time, from a clean call during execution??).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants