Bug#613889: ant dies with "bus error" in kfreebsd-amd64 virtual machine

Jan Dittberner jandd at debian.org
Thu Feb 17 22:28:37 UTC 2011


Subject: ant dies with "bus error" in kfreebsd-amd64 virtual machine
Package: ant
Severity: important

*** Please type your report below this line ***

when trying to build libjna-java on a kfreebsd-amd64 vm using pbuilder ant dies
with "bus error".

I tried to narrow the problem and it occurs when running ant without any
parameters too. Running ant in gdb I got the following backtrace:

libjna-java-3.2.7# gdb /usr/lib/jvm/java-gcj/bin/java
GNU gdb (GDB) 7.2-debian
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-kfreebsd-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/lib/jvm/java-1.5.0-gcj-4.4/bin/java...(no debugging symbols found)...done.
(gdb) run org.apache.tools.ant.launch.Launcher
Starting program: /usr/lib/jvm/java-1.5.0-gcj-4.4/bin/java org.apache.tools.ant.launch.Launcher

Program received signal ?, Unknown signal.
0x0000000803c536f7 in __pthread_sigsuspend () from /lib/libpthread.so.0
(gdb) bt
#0  0x0000000803c536f7 in __pthread_sigsuspend () from /lib/libpthread.so.0
#1  0x0000000803c52548 in __pthread_wait_for_restart_signal () from /lib/libpthread.so.0
#2  0x0000000803c533c0 in pthread_create@@GLIBC_2.3 () from /lib/libpthread.so.0
#3  0x0000000802935f02 in ?? () from /usr/lib/libgcj.so.10
#4  0x0000000802009df0 in _Jv_ThreadStart(java::lang::Thread*, _Jv_Thread_t*, void (*)(java::lang::Thread*)) ()
   from /usr/lib/libgcj.so.10
#5  0x00000008020018da in void java::lang::Thread::start() () from /usr/lib/libgcj.so.10
#6  0x0000000801fb589e in _Jv_CreateJavaVM () from /usr/lib/libgcj.so.10
#7  0x0000000801fb5f1a in _Jv_RunMain(_Jv_VMInitArgs*, java::lang::Class*, char const*, int, char const**, bool) ()
   from /usr/lib/libgcj.so.10
#8  0x0000000800820e2b in main () from /usr/lib/libgij.so.10
#9  0x000000080494f129 in __libc_start_main () from /lib/libc.so.0.1
#10 0x00000000004005ec in ?? ()
#11 0x00007fffffffe2a8 in ?? ()
#12 0x000000000000001c in ?? ()
#13 0x0000000000000000 in ?? ()

Unknown signal looks like gdb is not knowing enough about kfreebsd but the rest
of the trace seems to indicate a problem in libgij in combination with ant.


Regards
Jan Dittberner

-- System Information:
Debian Release: 6.0
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'unstable')
Architecture: kfreebsd-amd64 (x86_64)

Kernel: kFreeBSD 8.1-1-amd64
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash





More information about the pkg-java-maintainers mailing list