Comments (5)
When using backtrace_full
from libbacktrace you get the debugging info. In your case there is no debugging info for the startup code. You can get information similar to glibc backtrace
by calling the libbacktrace function backtrace_syminfo
.
from libbacktrace.
When using
backtrace_full
from libbacktrace you get the debugging info. In your case there is no debugging info for the startup code. You can get information similar to glibcbacktrace
by calling the libbacktrace functionbacktrace_syminfo
.
yes.i can use that function.still it will not show from which module it is picking,like ex /lib/x86_64-linux-gnu/libc.so.6
also couple more queries
- is it safe to use backtrace_full in SIGSEGV signal handler ?
- In backtrace_syminfo_callback what does symval and symsize mean?
from libbacktrace.
It is safe to use backtrace_full
in a signal handler.
In the backtrace_syminfo_callback
function symval
is the address of the symbol in memory. symsize
is the size of the symbol as recorded in the executable's symbol table. This is normally the size of the function or the variable.
from libbacktrace.
It is safe to use
backtrace_full
in a signal handler.In the
backtrace_syminfo_callback
functionsymval
is the address of the symbol in memory.symsize
is the size of the symbol as recorded in the executable's symbol table. This is normally the size of the function or the variable.
backtrace_full uses mmap.mmap is not in async safe list of functions,so just wanted to understand,how it is safe?
from libbacktrace.
mmap
is async-signal-safe in practice.
from libbacktrace.
Related Issues (20)
- No backtrace with Mingw64 and clang++ HOT 4
- MUSL CRuntime used by Alpine Linux HOT 5
- Build Issue MacOS
- libbacktrace does not include the origin library in its description.
- Libbacktrace fails to resolve symbols, even though the debug information is present HOT 5
- Libbacktrace issue with mingw HOT 4
- Libbacktrace fails to resolve symbols, if debug/symbol information resides (only) in a seperate file HOT 9
- Libbacktrace doesn't work on Linux ARM-32 bits HOT 2
- Can't get information in main() HOT 4
- Is it safe to load two executables? HOT 1
- mtest_minidebug test failed HOT 6
- how can I build and install it? HOT 1
- Unlike GDB, LLVM ORC generated functions are not resolved HOT 1
- please add hints to error message "no debug info in Mach-O executable" HOT 5
- Test suite failures on macOS 12 HOT 4
- Trailing whitespace HOT 1
- dSYM files are not found for applications/packages HOT 1
- Building using Git-Bash fails HOT 1
- Stack overflow in `elf_add` if debug info found by build id contains MiniDebugInfo HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libbacktrace.