Hi,

that worked well ;-)

The log is attached. I hope it helps track down the bug.
The Glib lines at the beginning of the log repeat themselves very often. My 
10000 lines terminal did not suffice to keep it all. As it's always the same, I 
omitted this crap.

Best Regards
Tobias


On Donnerstag, 23. März 2017 18:58:06 CET Markus Koschany wrote:
> On Thu, 23 Mar 2017 16:22:26 +0100 Tobias Wich 
<tobias.w...@electrologic.org> wrote:
> > Hello,
> > 
> > I can reproduce the problem in between a few seconds and a few minutes, so
> > it shouldn't be a problem getting the stacktraces. However it's been ages
> > that I used gdb and I'm far from an expert in that field.
> > 
> > First I tried adding -XX:OnError="gdb - %p", so gdb is started when the
> > process crashes. But I guess the assert error performs the usual exit on
> > the process and nothing happens.
> > 
> > I tried attaching the process with gdb --pid=..., but the java process
> > constantly raises SIGSEGV at least once every second.
> > 
> > Can someone tell me how these breaks can be ignored? And how I get all the
> > necessary stack traces?
> 
> Hi,
> 
> you could try setting
> 
> (gdb) handle SIGSEGV nostop noprint pass
> 
> then "cont" and when it crashes "bt full"
> 
> I'm no gdb expert either but if you get something useful from gdb it could
> be helpful.
> 
> Regards,
> 
> Markus

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

(java:13714): GLib-GObject-WARNING **: instance of invalid non-instantiatable type '(null)'

(java:13714): GLib-GObject-CRITICAL **: g_signal_emit_by_name: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

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

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

(java:13714): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

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

(java:13714): 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 13750)]
__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
#0  0x00007ffff7223fdf in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:58
        set = {__val = {4, 140734940516344, 140734338276048, 8453551255, 140734940515488, 140734338276032, 140734607945191, 252833149, 4294967295, 18446744073709486080, 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, 50176, 160}}, sa_flags = -145188096, sa_restorer = 0x5555558cf260}
        sigs = {__val = {32, 0 <repeats 15 times>}}
#2  0x00007fff545655a5 in g_assertion_message () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fff5456563a in g_assertion_message_expr () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fff5452d22e in g_hash_table_lookup () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fff5667d2f3 in  () at /usr/lib/x86_64-linux-gnu/jni/libatk-wrapper.so.6.0.0
#6  0x00007fff5453e6aa in g_main_context_dispatch () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007fff5453ea60 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00007fff5453ed82 in g_main_loop_run () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007fff5667c868 in  () at /usr/lib/x86_64-linux-gnu/jni/libatk-wrapper.so.6.0.0
#10 0x00007fff545663d5 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007ffff7bc3424 in start_thread (arg=0x7fff443da700) at pthread_create.c:333
        __res = <optimized out>
        pd = 0x7fff443da700
        now = <optimized out>
        unwind_buf = 
              {cancel_jmp_buf = {{jmp_buf = {140734338279168, -1373052982531634956, 0, 140735108997839, 0, 140737354125376, 1373430680866343156, 1373035959296411892}, 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"
#12 0x00007ffff72d99bf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105
(gdb) cont
Continuing.
Couldn't get registers: Kein passender Prozess gefunden.
Couldn't get registers: Kein passender Prozess gefunden.
Couldn't get registers: Kein passender Prozess gefunden.
(gdb) [Thread 0x7fff724e0700 (LWP 13988) exited]
[Thread 0x7fff3e2de700 (LWP 13986) exited]
[Thread 0x7fff3f2e2700 (LWP 13978) exited]
[Thread 0x7fff3ccd8700 (LWP 13977) exited]
[Thread 0x7fff302d0700 (LWP 13973) exited]
[Thread 0x7fff2f1ca700 (LWP 13971) exited]
[Thread 0x7fff304d1700 (LWP 13970) exited]
[Thread 0x7fff402e4700 (LWP 13769) exited]
[Thread 0x7fff406e5700 (LWP 13768) exited]
[Thread 0x7fff408e6700 (LWP 13767) exited]
[Thread 0x7fff40ce7700 (LWP 13766) exited]
[Thread 0x7fff412f2700 (LWP 13765) exited]
[Thread 0x7fff418f3700 (LWP 13763) exited]
[Thread 0x7fff42a11700 (LWP 13756) exited]
[Thread 0x7fff42e13700 (LWP 13754) exited]
[Thread 0x7fff43014700 (LWP 13753) exited]
[Thread 0x7fff439d8700 (LWP 13752) exited]
[Thread 0x7fff43bd9700 (LWP 13751) exited]
[Thread 0x7fff443da700 (LWP 13750) exited]
[Thread 0x7fff56a8f700 (LWP 13747) exited]
[Thread 0x7fff6024a700 (LWP 13746) exited]
[Thread 0x7fff619ea700 (LWP 13745) exited]
[Thread 0x7fff720de700 (LWP 13744) exited]
[Thread 0x7fffa95d6700 (LWP 13741) exited]
[Thread 0x7fffa97d7700 (LWP 13740) exited]
[Thread 0x7fffaa004700 (LWP 13739) exited]
[Thread 0x7fffaa205700 (LWP 13738) exited]
[Thread 0x7fffaa306700 (LWP 13737) exited]
[Thread 0x7fffaa407700 (LWP 13736) exited]
[Thread 0x7fffaa508700 (LWP 13735) exited]
[Thread 0x7fffaa709700 (LWP 13734) exited]
[Thread 0x7fffaa90a700 (LWP 13733) exited]
[Thread 0x7fffaae2a700 (LWP 13732) exited]
[Thread 0x7fffab02b700 (LWP 13731) exited]
[Thread 0x7fffab12c700 (LWP 13730) exited]
[Thread 0x7fffe04f4700 (LWP 13729) exited]
[Thread 0x7fffe05f5700 (LWP 13728) exited]
[Thread 0x7fffe07f7700 (LWP 13727) exited]
[Thread 0x7fffe08f8700 (LWP 13726) exited]
[Thread 0x7fffe09f9700 (LWP 13725) exited]
[Thread 0x7fffe0afa700 (LWP 13724) exited]
[Thread 0x7fffe0bfb700 (LWP 13723) exited]
[Thread 0x7ffff41c0700 (LWP 13722) exited]
[Thread 0x7ffff42c1700 (LWP 13721) exited]
[Thread 0x7ffff43c2700 (LWP 13720) exited]
[Thread 0x7ffff7fc8700 (LWP 13719) exited]
[Thread 0x7ffff5a12700 (LWP 13718) exited]
[Thread 0x7ffff7fca580 (LWP 13714) exited]
__
This is the maintainer address of Debian's Java team
<http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers>. 
Please use
debian-j...@lists.debian.org for discussions and questions.

Reply via email to