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

Bug#858700: libatk-wrapper-jni crashes Netbeans



> If you have some time to spare could you tell us how you
> trigger the crash and retry with debugging symbols installed? I haven't
> found a reliable way to do it yet.

I don't know how to reproduce it. Basically I just use netbeans. That means I 
have a few projects as well as a bunch of files open. And then I just write my 
code. The problem seems to be the source code completion box suggesting 
functions and classes which pops up after typing a . or hitting C-Space.

For this stacktrace Netbeans was running for more than an hour before it 
crashed.

> Please install libglib2.0-0-dbg and libatk-wrapper-java-jni-dbgsym.

Done it for stretch. New stacktrace attached.

BR
Tobias
(java:28082): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

(java:28082): GLib-GObject-WARNING **: invalid uninstantiatable type '(null)' in cast to 'AtkObject'

(java:28082): GLib-GObject-WARNING **: invalid uninstantiatable type '(null)' in cast to 'JawObject'
**
GLib:ERROR:/build/glib2.0-IOHfFd/glib2.0-2.50.3/./glib/ghash.c:373:g_hash_table_lookup_node: assertion failed: (hash_table->ref_count > 0)

Thread 33 "JNI main loop" received signal SIGABRT, Aborted.
[Switching to Thread 0x7fff443da700 (LWP 28118)]
__GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:58
58      ../sysdeps/unix/sysv/linux/raise.c: Datei oder Verzeichnis nicht gefunden.
(gdb) bt full
Python Exception <class 'TypeError'> 'list' object is not an iterator: 
(gdb) help bt
Print backtrace of all stack frames, or innermost COUNT frames.
With a negative argument, print outermost -COUNT frames.
Use of the 'full' qualifier also prints the values of the local variables.
Use of the 'no-filters' qualifier prohibits frame filters from executing
on this backtrace.

(gdb) bt full no-filters
#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:58
        set = {__val = {4, 140734940525208, 140734338276048, 8453551255, 140734940524352, 140734338276032, 140734607945191, 252833149, 4294967295, 0, 140737339424216, 140737354103448, 0, 0, 8462091486243418686, 732169328421503056}}
        pid = <optimized out>
        tid = <optimized out>
#1  0x00007ffff722540a in __GI_abort () at abort.c:89
        save_stage = 2
        act = {__sigaction_handler = {sa_handler = 0x672f646c6975622f, sa_sigaction = 0x672f646c6975622f}, sa_mask = {__val = {5272923713692658028, 93823560581121, 140734338276544, 140734338276416, 72057594037927936, 16777216, 9943947977234055168, 
              140735911297024, 140734608489200, 0, 140737343167232, 140737343167320, 0, 140737343167232, 64766, 160}}, sa_flags = -145188096, sa_restorer = 0x5555562bfc50}
        sigs = {__val = {32, 0 <repeats 15 times>}}
#2  0x00007fff545655a5 in g_assertion_message (domain=domain@entry=0x7fff54586e0e "GLib", file=file@entry=0x7fff5458baf0 "/build/glib2.0-IOHfFd/glib2.0-2.50.3/./glib/ghash.c", line=line@entry=373, 
    func=func@entry=0x7fff5458bd30 <__func__.10209> "g_hash_table_lookup_node", message=message@entry=0x55555611b660 "assertion failed: (hash_table->ref_count > 0)") at ././glib/gtestutils.c:2432
        lstr = "373\000\377\177\000\000\000\365\254\202\360\332\354^\230\004:\253\377\177\000\000\070\272XT\377\177\000"
        s = 0x5555562bfc50 "GLib:ERROR:/build/glib2.0-IOHfFd/glib2.0-2.50.3/./glib/ghash.c:373:g_hash_table_lookup_node: assertion failed: (hash_table->ref_count > 0)"
#3  0x00007fff5456563a in g_assertion_message_expr (domain=domain@entry=0x7fff54586e0e "GLib", file=file@entry=0x7fff5458baf0 "/build/glib2.0-IOHfFd/glib2.0-2.50.3/./glib/ghash.c", line=line@entry=373, 
    func=func@entry=0x7fff5458bd30 <__func__.10209> "g_hash_table_lookup_node", expr=expr@entry=0x7fff5458ba38 "hash_table->ref_count > 0") at ././glib/gtestutils.c:2455
        s = 0x55555611b660 "assertion failed: (hash_table->ref_count > 0)"
#4  0x00007fff5452d22e in g_hash_table_lookup_node (hash_return=<synthetic pointer>, key=0x7fff566877b0, hash_table=0x7fff48a19980) at ././glib/ghash.c:373
        hash_table = 0x7fff48a19980
        key = 0x7fff566877b0
        hash_return = <synthetic pointer>
        node_hash = <optimized out>
        hash_value = <optimized out>
        have_tombstone = 0
        step = 0
        node_index = <optimized out>
        first_tombstone = 0
#5  g_hash_table_lookup (hash_table=0x7fff48a19980, key=key@entry=0x7fff566877b0) at ././glib/ghash.c:1147
        node_hash = <optimized out>
        __func__ = "g_hash_table_lookup"
#6  0x00007fff5667d2f3 in signal_emit_handler (p=0x7fff48f3f820) at AtkWrapper.c:791
        jaw_obj = 0x7fff486132b0
        newValue = 8055
        prevCount = <optimized out>
        curCount = <optimized out>
        para = 0x7fff48f3f820
        jniEnv = 0x55555576e1e0
        args = <optimized out>
        atk_obj = 0x7fff486132b0
        __func__ = "signal_emit_handler"
#7  0x00007fff5453e6aa in g_main_dispatch (context=0x7fff682d3be0) at ././glib/gmain.c:3203
        dispatch = 0x7fff5453b0d0 <g_idle_dispatch>
        prev_source = 0x0
        was_in_call = 0
        user_data = 0x7fff48f3f820
        callback = 0x7fff5667d1c0 <signal_emit_handler>
        cb_funcs = <optimized out>
        cb_data = 0x7fff48f3f8d0
        need_destroy = <optimized out>
        source = 0x7fff48f3f860
        current = 0x7fff6824d0c0
        i = 8855
#8  g_main_context_dispatch (context=context@entry=0x7fff682d3be0) at ././glib/gmain.c:3856
No locals.
#9  0x00007fff5453ea60 in g_main_context_iterate (context=0x7fff682d3be0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ././glib/gmain.c:3929
        max_priority = 200
        timeout = 0
        some_ready = 1
        nfds = 2
        allocated_nfds = 2
        fds = <optimized out>
#10 0x00007fff5453ed82 in g_main_loop_run (loop=0x7fff682d3cf0) at ././glib/gmain.c:4125
        __func__ = "g_main_loop_run"
#11 0x00007fff5667c868 in jni_loop_callback (data=0x7fff682d3cf0) at AtkWrapper.c:83
No locals.
#12 0x00007fff545663d5 in g_thread_proxy (data=0x7fff682a7050) at ././glib/gthread.c:784
        thread = 0x7fff682a7050
#13 0x00007ffff7bc3424 in start_thread (arg=0x7fff443da700) at pthread_create.c:333
        __res = <optimized out>
        pd = 0x7fff443da700
---Type <return> to continue, or q <return> to quit---
        now = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140734338279168, -2173570674190272612, 0, 140735108559567, 0, 140737354125376, 2173941779750893468, 2173553637802162076}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, 
              cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
        pagesize_m1 = <optimized out>
        sp = <optimized out>
        freesize = <optimized out>
        __PRETTY_FUNCTION__ = "start_thread"
#14 0x00007ffff72d99bf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105
No locals.
(gdb) info threads
  Id   Target Id         Frame 
  1    Thread 0x7ffff7fca580 (LWP 28082) "java" 0x00007ffff7bc467d in pthread_join (threadid=140737314367232, thread_return=thread_return@entry=0x7fffffff8928) at pthread_join.c:90
  2    Thread 0x7ffff5a12700 (LWP 28086) "java" pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
  3    Thread 0x7ffff7fc8700 (LWP 28087) "java" pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
  4    Thread 0x7ffff43c2700 (LWP 28088) "java" pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
  5    Thread 0x7ffff42c1700 (LWP 28089) "java" pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
  6    Thread 0x7ffff41c0700 (LWP 28090) "java" pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
  7    Thread 0x7fffe0bfb700 (LWP 28091) "java" pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225
  8    Thread 0x7fffe0afa700 (LWP 28092) "java" pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
  9    Thread 0x7fffe09f9700 (LWP 28093) "java" pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
  10   Thread 0x7fffe08f8700 (LWP 28094) "java" pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
  11   Thread 0x7fffe07f7700 (LWP 28095) "java" pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
  12   Thread 0x7fffe05f5700 (LWP 28096) "java" pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
  13   Thread 0x7fffe04f4700 (LWP 28097) "java" pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
  14   Thread 0x7fffab12c700 (LWP 28098) "java" pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225
  15   Thread 0x7fffab02b700 (LWP 28099) "java" pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
  16   Thread 0x7fffaae2a700 (LWP 28100) "java" pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
  17   Thread 0x7fffaa90a700 (LWP 28101) "java" pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
  18   Thread 0x7fffaa709700 (LWP 28102) "java" 0x00007ffff7bcb536 in futex_abstimed_wait_cancelable (private=0, abstime=0x0, expected=0, futex_word=0x7ffff71d1aa0 <sig_sem>) at ../sysdeps/unix/sysv/linux/futex-internal.h:205
  19   Thread 0x7fffaa508700 (LWP 28103) "java" Node::in (this=0x7fff805238f0, i=<optimized out>) at ./src/hotspot/src/share/vm/opto/node.hpp:365
  20   Thread 0x7fffaa407700 (LWP 28104) "java" pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225
  21   Thread 0x7fffaa306700 (LWP 28105) "java" pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225
  22   Thread 0x7fffaa205700 (LWP 28106) "java" pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
  23   Thread 0x7fffaa004700 (LWP 28107) "java" pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225
  24   Thread 0x7fffa97d7700 (LWP 28108) "java" pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
  25   Thread 0x7fffa95d6700 (LWP 28109) "java" 0x00007ffff72d054d in poll () at ../sysdeps/unix/syscall-template.S:84
  28   Thread 0x7fff72073700 (LWP 28112) "java" pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225
  29   Thread 0x7fff619ea700 (LWP 28113) "java" pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225
  30   Thread 0x7fff6024a700 (LWP 28114) "java" pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
  31   Thread 0x7fff56a8f700 (LWP 28115) "java" 0x00007ffff72d054d in poll () at ../sysdeps/unix/syscall-template.S:84
* 33   Thread 0x7fff443da700 (LWP 28118) "JNI main loop" __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:58
  34   Thread 0x7fff43bd9700 (LWP 28119) "java" pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
  35   Thread 0x7fff439d8700 (LWP 28120) "java" 0x00007fffe740bb80 in ?? ()
  36   Thread 0x7fff42f14700 (LWP 28121) "java" pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225
  37   Thread 0x7fff42d13700 (LWP 28122) "java" pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225
  40   Thread 0x7fff42510700 (LWP 28125) "java" pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
  45   Thread 0x7fff417f3700 (LWP 28131) "java" 0x00007ffff7bcc20d in read () at ../sysdeps/unix/syscall-template.S:84
  47   Thread 0x7fff411f2700 (LWP 28133) "java" pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
  48   Thread 0x7fff40be7700 (LWP 28134) "java" pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225
  49   Thread 0x7fff407e6700 (LWP 28135) "java" pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
  50   Thread 0x7fff405e5700 (LWP 28136) "java" pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
  51   Thread 0x7fff401e4700 (LWP 28137) "java" pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225
  154  Thread 0x7fff4210e700 (LWP 2952) "java" pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225
  157  Thread 0x7fff3a271700 (LWP 2955) "java" pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225
  159  Thread 0x7fff3e7e0700 (LWP 2957) "java" pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
  164  Thread 0x7fff3c475700 (LWP 2998) "java" pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225
  165  Thread 0x7fff3b672700 (LWP 3039) "java" pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225
  166  Thread 0x7fff42711700 (LWP 3040) "java" pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225
  167  Thread 0x7fff4230f700 (LWP 3041) "java" pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225
  168  Thread 0x7fff3cc79700 (LWP 3074) "java" pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225

Reply to: