assertion failures

Archie Cobbs archie at whistle.com
Mon Jul 27 19:09:32 PDT 1998


I'm getting assertion failures in kaffe-snap Mon Jul 27 08:02:00 1998.
This is on FreeBSD.

My particular application is trying to use threads, which seems to
trigger the problem.

  #0  0x200e3851 in kill ()
  #1  0x200e2ee4 in abort ()
  #2  0x200bcbd2 in __assert ()
  #3  0x2001cbc7 in gc_heap_malloc (sz=20) at ./mem/gc-mem.c:267
  #4  0x2001ba69 in gcMalloc (size=12, fidx=2) at mem/gc-incremental.c:678
  #5  0x20022a07 in verifyBasicBlock (meth=0x4da88, pc=0) at code-analyse.c:361
  #6  0x20022836 in L174 () at code-analyse.c:312
  #7  0x2003ca33 in translate (meth=0x4da88) at ./jit/machine.c:206
  #8  0x2001f6c3 in soft_fixup_trampoline (_pmeth=0x4db4d) at soft.c:430
  #9  0x20037b21 in i386_dft1 () at jit.def:1419
  #10 0x2001e6b6 in execute_java_constructor_v (cname=0x2002580e "¹\213\203¬", 
      cc=0x0, signature=0x20025584 "Xª\002", argptr=0x55974c "`ð\004 À0\002")
      at support.c:181
  #11 0x2001e6e6 in execute_java_constructor (cname=0x2002580e "¹\213\203¬", 
      cc=0x0, signature=0x20025584 "Xª\002") at support.c:193
  #12 0x2002587b in nullException (sig=11, code=12, ctx=0x55977c)
      at exception.c:255
  #13 0xefbfdfdc in ?? ()
  #14 0x200318f5 in L125 () at ./systems/unix-jthreads/jthread.c:596
  #15 0x2003166c in interrupt (sig=26) at ./systems/unix-jthreads/jthread.c:510
  #16 0xefbfdfdc in ?? ()
  #17 0x3e3128 in ?? ()
  #18 0x3e3128 in ?? ()
  #19 0x3e3128 in ?? ()
  #20 0x3e3128 in ?? ()

    [ thousands of identical stack frames omitted ]

  #8905 0x3e3128 in ?? ()
  #8906 0x3e3128 in ?? ()
  #8907 0x3e3128 in ?? ()
  #8908 0x45e188 in ?? ()
  #8909 0x59816e in ?? ()
  #8910 0x597ca2 in ?? ()
  #8911 0x597b2b in ?? ()
  #8912 0x607627 in ?? ()
  #8913 0x5d88ad in ?? ()
  #8914 0x4c4131 in ?? ()
  #8915 0x6206d0 in ?? ()
  #8916 0x2001ed34 in L121 () at support.c:518
  #8917 0x2001e41d in do_execute_java_method_v (obj=0x627948, 
      method_name=0x2001da51 " of memory!\"", 
      signature=0x2001d7de "PWè\213,\003", mb=0x0, isStaticCall=0, 
      argptr=0x633060 "PR\005 PR\005 `ð\004 ") at support.c:83
  #8918 0x2001e454 in do_execute_java_method (obj=0x627948, 
      method_name=0x2001da51 " of memory!\"", 
      signature=0x2001d7de "PWè\213,\003", mb=0x0, isStaticCall=0)
      at support.c:95
  #8919 0x2001daa0 in firstStartThread (arg=0x627948) at thread.c:219
  #8920 0x20031df8 in start_this_sucker_on_a_new_frame ()
      at ./systems/unix-jthreads/jthread.c:892
  #8921 0x20031f1a in jthread_create (pri=144 '\220', func=0, daemon=5848880, 
      jlThread=0x2003156d, threadStackSize=537194592)
      at ./systems/unix-jthreads/jthread.c:950
  #8922 0x424820 in ?? ()
  #8923 0x676e6f in ?? ()
  Cannot access memory at address 0x6c5f6465.

This is not deterministic. Sometimes I get the one at ./mem/gc-mem.c line 264:

  #0  0x200e3851 in kill ()
  #1  0x200e2ee4 in abort ()
  #2  0x200bcbd2 in __assert ()
  #3  0x2001cb5f in gc_heap_malloc (sz=18) at ./mem/gc-mem.c:264
  #4  0x2001ba69 in gcMalloc (size=10, fidx=15) at mem/gc-incremental.c:678
  #5  0x20020045 in makeUtf8Const (s=0x20025584 "Xª\002", len=-1) at string.c:218
  #6  0x2001ed9a in lookupClassMethod (cls=0x79d68, name=0x25214 "<init>", 
      sig=0x20025584 "Xª\002") at support.c:554
  #7  0x2001e62e in execute_java_constructor_v (cname=0x2002580e "¹\213\203¬", 
      cc=0x0, signature=0x20025584 "Xª\002", argptr=0x542460 "`ð\004 À0\002")
      at support.c:172
  #8  0x2001e6e6 in execute_java_constructor (cname=0x2002580e "¹\213\203¬", 
      cc=0x0, signature=0x20025584 "Xª\002") at support.c:193
  #9  0x2002587b in nullException (sig=11, code=12, ctx=0x542490)
      at exception.c:255
  #10 0xefbfdfdc in ?? ()
  #11 0x200318f5 in L125 () at ./systems/unix-jthreads/jthread.c:596
  #12 0x2003166c in interrupt (sig=26) at ./systems/unix-jthreads/jthread.c:510
  #13 0xefbfdfdc in ?? ()
  #14 0x460728 in ?? ()
  #15 0x460728 in ?? ()
  #16 0x460728 in ?? ()

      [ thousands of identical stack frames omitted ]

  #4364 0x460728 in ?? ()
  #4365 0x460728 in ?? ()
  #4366 0x4606c8 in ?? ()
  #4367 0x59816e in ?? ()
  #4368 0x597ca2 in ?? ()
  #4369 0x597b2b in ?? ()
  #4370 0x607627 in ?? ()
  #4371 0x5d88ad in ?? ()
  #4372 0x4c4131 in ?? ()
  #4373 0x6206d0 in ?? ()
  #4374 0x2001ed34 in L121 () at support.c:518
  #4375 0x2001e41d in do_execute_java_method_v (obj=0x6277f8, 
      method_name=0x2001da51 " of memory!\"", 
      signature=0x2001d7de "PWè\213,\003", mb=0x0, isStaticCall=0, 
      argptr=0x5ad060 "PR\005 PR\005 `ð\004 ") at support.c:83
  #4376 0x2001e454 in do_execute_java_method (obj=0x6277f8, 
      method_name=0x2001da51 " of memory!\"", 
      signature=0x2001d7de "PWè\213,\003", mb=0x0, isStaticCall=0)
      at support.c:95
  #4377 0x2001daa0 in firstStartThread (arg=0x6277f8) at thread.c:219
  #4378 0x20031df8 in start_this_sucker_on_a_new_frame ()
      at ./systems/unix-jthreads/jthread.c:892
  #4379 0x20031f1a in jthread_create (pri=144 '\220', func=0, daemon=5845496, 
      jlThread=0x2003156d, threadStackSize=537194592)
      at ./systems/unix-jthreads/jthread.c:950
  #4380 0x424820 in ?? ()
  #4381 0x676e6f in ?? ()
  Cannot access memory at address 0x6c5f6465.

How can I help debug this? :-)

-Archie

___________________________________________________________________________
Archie Cobbs   *   Whistle Communications, Inc.  *   http://www.whistle.com


More information about the kaffe mailing list