This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB 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 backtrace/16155] New: Backtraces in threads don't work on AArch64


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

            Bug ID: 16155
           Summary: Backtraces in threads don't work on AArch64
           Product: gdb
           Version: 7.6
            Status: NEW
          Severity: critical
          Priority: P2
         Component: backtrace
          Assignee: unassigned at sourceware dot org
          Reporter: aph at redhat dot com

Create a thread.

Type "bt"

(gdb) bt
#0  PerfMemory::alloc (size=size@entry=56)
    at
/scratch/rpmbuild/BUILD/java-1.7.0-openjdk-1.7.0.45-2.4.3.4.sa1.aarch64/openjdk/hotspot/src/share/vm/runtime/perfMemory.cpp:209
#1  0x0000007fb7e7c074 in create_entry (vlen=0, dsize=8, dtype=T_LONG, 
    this=0x7fb0009d50)
    at
/scratch/rpmbuild/BUILD/java-1.7.0-openjdk-1.7.0.45-2.4.3.4.sa1.aarch64/openjdk/hotspot/src/share/vm/runtime/perfData.cpp:135
#2  PerfLong (v=PerfData::V_Monotonic, u=PerfData::U_Events, 
    namep=0x7fb7f5c168 "_sync_Inflations", ns=SUN_RT, 
    this=0x7fb0009d50)
    at
/scratch/rpmbuild/BUILD/java-1.7.0-openjdk-1.7.0.45-2.4.3.4.sa1.aarch64/openjdk/hotspot/src/share/vm/runtime/perfData.cpp:191
#3  PerfLongVariant (initial_value=0, v=PerfData::V_Monotonic, 
    u=PerfData::U_Events, namep=0x7fb7f5c168 "_sync_Inflations", 
    ns=SUN_RT, this=0x7fb0009d50)
    at
/scratch/rpmbuild/BUILD/java-1.7.0-openjdk-1.7.0.45-2.4.3.4.sa1.aarch64/openjdk/hotspot/src/share/vm/runtime/perfData.hpp:412
#4  PerfLongCounter (initial_value=0, u=PerfData::U_Events, 
    namep=0x7fb7f5c168 "_sync_Inflations", ns=SUN_RT, 
    this=0x7fb0009d50)
    at
/scratch/rpmbuild/BUILD/java-1.7.0-openjdk-1.7.0.45-2.4.3.4.sa1.aarch64/openjdk/hotspot/src/share/vm/runtime/perfData.hpp:448
#5  PerfDataManager::create_long_counter (ns=ns@entry=SUN_RT, 
    name=name@entry=0x7fb7f5c168 "_sync_Inflations", 
    u=u@entry=PerfData::U_Events, ival=ival@entry=0, __the_thread__=
    0x7fb00073e0)
    at
/scratch/rpmbuild/BUILD/java-1.7.0-openjdk-1.7.0.45-2.4.3.4.sa1.aarch64/openjdk/hotspot/src/share/vm/runtime/perfData.cpp:508
#6  0x0000007fb7e4fa74 in create_counter (
    __the_thread__=<optimized out>, u=PerfData::U_Events, 
    name=0x7fb7f5c168 "_sync_Inflations", ns=SUN_RT)
    at
/scratch/rpmbuild/BUILD/java-1.7.0-openjdk-1.7.0.45-2.4.3.4.sa1.aarch64/openjdk/hotspot/src/share/vm/runtime/perfData.hpp:856
#7  ObjectMonitor::Initialize ()
    at
/scratch/rpmbuild/BUILD/java-1.7.0-openjdk-1.7.0.45-2.4.3.4.sa1.aarch64/openjdk/hotspot/src/share/vm/runtime/objectMonitor.cpp:2383
#8  0x0000007fb7eeb928 in Threads::create_vm (args=<optimized out>, 
    canTryAgain=canTryAgain@entry=0x7fb7745860)
    at
/scratch/rpmbuild/BUILD/java-1.7.0-openjdk-1.7.0.45-2.4.3.4.sa1.aarch64/openjdk/hotspot/src/share/vm/runtime/thread.cpp:3370
#9  0x0000007fb7d69628 in JNI_CreateJavaVM (vm=0x7fb7745998, 
    penv=0x7fb77459a0, args=<optimized out>)
    at
/scratch/rpmbuild/BUILD/java-1.7.0-openjdk-1.7.0.45-2.4.3.4.sa1.aarch64/openjdk/hotspot/src/share/vm/prims/jni.cpp:5128
#10 0x00000000004048c0 in InitializeJVM (pvm=0x7fb7745998, 
    penv=0x7fb77459a0, ifn=0x7fb7745988)
    at
/scratch/rpmbuild/BUILD/java-1.7.0-openjdk-1.7.0.45-2.4.3.4.sa1.aarch64/openjdk/hotspot/src/share/tools/launcher/java.c:1288
#11 0x000000000040364c in JavaMain (_args=0x7fffffed98)
    at
/scratch/rpmbuild/BUILD/java-1.7.0-openjdk-1.7.0.45-2.4.3.4.sa1.aarch64/openjdk/hotspot/src/share/tools/launcher/java.c:423
#12 0x0000007fb7a18acc in start_thread (arg=0x7fb77461e0)
    at pthread_create.c:310
#13 0x0000007fb7974a2c in clone () from /lib64/libc.so.6

... hangs

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