libunwind-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Crash in libunwind


From: sindhu krishnan
Subject: Crash in libunwind
Date: Thu, 22 Jun 2023 19:07:20 +0530

Hello,

I see a crash in libunwind while using heaptrack.
Have reached out to heaptrack community and the maintainer suggests
that the problem lies in libunwind.

Below are the details of my machine:
heaptrack version :1.2.0
libunwind version : 1.7.0
Linux 4.9.113 #1 SMP PREEMPT Mon Jun 19 00:02:21 UTC 2023 armv7l GNU/Linux

call stack
(gdb) bt
#0  0xb34bb528 in unw_backtrace (buffer=0xb3ff4308, size=<optimized out>)
    at ../../../../../../../workspace/sources/libunwind/src/mi/backtrace.c:63
#1  0xb3fc3f32 in heaptrack_malloc () from
/usr/lib/heaptrack/libheaptrack_preload.so
#2  0xb3fc2496 in malloc () from /usr/lib/heaptrack/libheaptrack_preload.so
#3  0xb3d4eaa6 in ?? () from /lib/librt.so.1
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
(gdb) bt full
#0  0xb34bb528 in unw_backtrace (buffer=0xb3ff4308, size=<optimized out>)
    at ../../../../../../../workspace/sources/libunwind/src/mi/backtrace.c:63
        cursor = <error reading variable cursor (Cannot access memory
at address 0xb3fee000)>
        uc = {regs = {1280658976, 2088509516, 1595941152, 1851747428,
1600482657, 1668571501, 544235368, 1919252008, 1852795251, 1768308269,
            1634624876, 539780461, 695230829, 1836675840, 1030516578,
540767013}, fpregs = {2337497310896811040, 4424061408902147689,
            6734407725500887845, 7217105617746853898,
6874592421672673132, 2316574420597170541, 5140087414980561988,
5426355192957390943,
            7453010343546154240, 8461178873238988064,
4922238819020906589, 8458921482247294021, 7597138403589890149,
7092458523550119281,
            7311066418433911919, 8070486190935602034}}
        n = 1835101797
#1  0xb3fc3f32 in heaptrack_malloc () from
/usr/lib/heaptrack/libheaptrack_preload.so
No symbol table info available.
#2  0xb3fc2496 in malloc () from /usr/lib/heaptrack/libheaptrack_preload.so
No symbol table info available.
#3  0xb3d4eaa6 in ?? () from /lib/librt.so.1
No symbol table info available.
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
(gdb) info locals
cursor = <error reading variable cursor (Cannot access memory at
address 0xb3fee000)>
uc = {regs = {1280658976, 2088509516, 1595941152, 1851747428,
1600482657, 1668571501, 544235368, 1919252008, 1852795251, 1768308269,
    1634624876, 539780461, 695230829, 1836675840, 1030516578,
540767013}, fpregs = {2337497310896811040, 4424061408902147689,
    6734407725500887845, 7217105617746853898, 6874592421672673132,
2316574420597170541, 5140087414980561988, 5426355192957390943,
    7453010343546154240, 8461178873238988064, 4922238819020906589,
8458921482247294021, 7597138403589890149, 7092458523550119281,
    7311066418433911919, 8070486190935602034}}
n = 1835101797
(gdb) info args
buffer = 0xb3ff4308
size = <optimized out>
(gdb)

Thanks for the help !



reply via email to

[Prev in Thread] Current Thread [Next in Thread]