https://bugs.kde.org/show_bug.cgi?id=512274
Bug ID: 512274
Summary: Unrecognized DWARF version in .debug_info at 6 /
Success (error code 0)
Classification: Developer tools
Product: buildsystem
Version First unspecified
Reported In:
Platform: Other
OS: Linux
Status: REPORTED
Severity: major
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
SUMMARY
I'm compiling heaptrack application on Yocto build framework to monitor the
memory usage of process running in LE variant and noticed that stack treace is
not able to generate on the target.
STEPS TO REPRODUCE
1. Compile heaptrack version 1.2.0 on Yocto framework
2. Push the binaries to target
3. Run application using heaptrack
OBSERVED RESULT
While running the application which is compiled with "-g -O0" flags, seeing
below errors from target. After that no stack trace is generated. I tried
compiling application with "-gdwarf-4" as well but still facing same errors
when loaded on target. Could you please help to root cause on how to resolve
these errors
tmp-glibc/work/aarch64-oe-linux/heaptrack/1.2.0-r0/git/src/interpret/heaptrack_interpret.cpp:351
ERROR:Failed to create backtrace state for module
/usr/bin/location_client_api_testapp: unrecognized DWARF version in .debug_info
at 6 / Success (error code 0)
tmp-glibc/work/aarch64-oe-linux/heaptrack/1.2.0-r0/git/src/interpret/heaptrack_interpret.cpp:351
ERROR:Failed to create backtrace state for module
/usr/lib/liblocation_client_api.so.1: unrecognized DWARF version in .debug_info
at 6 / Success (error code 0)
tmp-glibc/work/aarch64-oe-linux/heaptrack/1.2.0-r0/git/src/interpret/heaptrack_interpret.cpp:351
ERROR:Failed to create backtrace state for module
/usr/lib/liblocation_api_msg_proto.so.1: unrecognized DWARF version in
.debug_info at 6 / Success (error code 0)
EXPECTED RESULT
Proper stack trace
SOFTWARE/OS VERSIONS
Application compiled on Ubuntu 22.0
Target: Linux Embedded Platform (Arm64)
ADDITIONAL INFORMATION
Heaptrack version: 1.2.0
--
You are receiving this mail because:
You are watching all bug changes.