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

2013-04-24 Thread Emmanuel Bourg
I installed a fresh VM with Wheezy/kfreebsd-amd64 and I couldn't
reproduce this issue. Ant worked fine and I have been able to build
libjna-java.

This is probably a duplicate of the Bug #570889.



signature.asc
Description: OpenPGP digital signature
__
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.

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

2011-02-17 Thread Jan Dittberner
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.
0x000803c536f7 in __pthread_sigsuspend () from /lib/libpthread.so.0
(gdb) bt
#0  0x000803c536f7 in __pthread_sigsuspend () from /lib/libpthread.so.0
#1  0x000803c52548 in __pthread_wait_for_restart_signal () from 
/lib/libpthread.so.0
#2  0x000803c533c0 in pthread_create@@GLIBC_2.3 () from /lib/libpthread.so.0
#3  0x000802935f02 in ?? () from /usr/lib/libgcj.so.10
#4  0x000802009df0 in _Jv_ThreadStart(java::lang::Thread*, _Jv_Thread_t*, 
void (*)(java::lang::Thread*)) ()
   from /usr/lib/libgcj.so.10
#5  0x0008020018da in void java::lang::Thread::start() () from 
/usr/lib/libgcj.so.10
#6  0x000801fb589e in _Jv_CreateJavaVM () from /usr/lib/libgcj.so.10
#7  0x000801fb5f1a in _Jv_RunMain(_Jv_VMInitArgs*, java::lang::Class*, char 
const*, int, char const**, bool) ()
   from /usr/lib/libgcj.so.10
#8  0x000800820e2b in main () from /usr/lib/libgij.so.10
#9  0x00080494f129 in __libc_start_main () from /lib/libc.so.0.1
#10 0x004005ec in ?? ()
#11 0x7fffe2a8 in ?? ()
#12 0x001c in ?? ()
#13 0x 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



__
This is the maintainer address of Debian's Java team
http://lists.alioth.debian.org/mailman/listinfo/pkg-java-maintainers. Please 
use
debian-j...@lists.debian.org for discussions and questions.