Bug#459560: crashes at once on hppa architecture

2008-01-07 Thread Helge Deller
Package: ant
Version: 1.7.0-3
Severity: grave

ant crashes at once on the hppa architecture if it's called from the command 
line.

Example:
[EMAIL PROTECTED] ~]$ ant
Segmentation fault

the last part of strace gives:
.
brk(0)  = 0x12000
brk(0x33000)= 0x33000
open(/usr/lib/locale/locale-archive, O_RDONLY|O_LARGEFILE) = 3
fstat64(3, {st_mode=0, st_size=0, ...}) = 0
mmap2(NULL, 2097152, PROT_READ, MAP_PRIVATE, 3, 0) = 0x438b4000
mmap2(NULL, 1183744, PROT_READ, MAP_PRIVATE, 3, 0x222) = 0x434b4000
close(3)= 0
gettimeofday({1199701873, 548740}, NULL) = 0
rt_sigaction(SIGHUP, {0x4012722a, [], 0}, NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], NULL, 8) = 0
rt_sigaction(SIGPWR, {0x4012722a, ~[], SA_RESTART}, NULL, 8) = 0
rt_sigaction(SIGXCPU, {0x4012722a, ~[], SA_RESTART}, NULL, 8) = 0
open(/proc/stat, O_RDONLY)= 3
read(3, cpu  89099 18209902 2666026 2211..., 4096) = 447
close(3)= 0
sched_getscheduler(25290)   = 0 (SCHED_OTHER)
sched_getparam(25290, { 0 })= 0
open(/proc/self/maps, O_RDONLY)   = 3
getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=81920*1024}) = 0
fstat64(3, {st_mode=0, st_size=46673409605649, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x4000b000
read(3, 0001-00011000 r-xp  ..., 1024) = 1024
read(3, .4\n40288000-40289000 rwxp e0..., 1024) = 1024
read(3, 43663000 rwxp 0007a000 08:03 798..., 1024) = 194
close(3)= 0
munmap(0x4000b000, 4096)= 0
mmap(NULL, 65536, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x4009c000
mmap(0x400ac000, 65536, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) 
= 0x400ac000
mmap(0x400bc000, 65536, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) 
= 0x400bc000
getpid()= 25290
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
Process 25290 detached



-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: hppa (parisc)

Kernel: Linux 2.6.24-rc4
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages ant depends on:
ii  gij [java-virtual-machine]4:4.2.1-6  The GNU Java bytecode interpreter
ii  gij-4.1 [java1-runtime]   4.1.2-6The GNU Java bytecode interpreter
ii  gij-4.2 [java1-runtime]   4.2.1-5The GNU Java bytecode interpreter
ii  java-gcj-compat   1.0.76-5   Java runtime environment using GIJ
ii  libxerces2-java   2.9.0-1Validating XML parser for Java wit

Versions of packages ant recommends:
ii  ant-gcj   1.7.0-3Java based build tool like make
ii  ant-optional  1.7.0-3Java based build tool like make - 

-- no debconf information



___
pkg-java-maintainers mailing list
pkg-java-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-java-maintainers


Bug#459560: crashes at once on hppa architecture

2008-01-07 Thread Deller, Helge
This is probably the same problem as in ecj Bug#459563



___
pkg-java-maintainers mailing list
pkg-java-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-java-maintainers


Bug#459560: crashes at once on hppa architecture

2008-01-07 Thread Michael Koch
On Mon, Jan 07, 2008 at 12:28:48PM +0100, Deller, Helge wrote:
 This is probably the same problem as in ecj Bug#459563

I think both are issues in GCJ. Ant itself is only bytecode. So no
native calls (except when ant-gcj and ant-optional-gcj are installed but
I think these are empty on hppa anyway).

In both cases gij is called (indirectly). Can you please try to make a
simple testcase running gij on hppa?


Cheers,
Michael



___
pkg-java-maintainers mailing list
pkg-java-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-java-maintainers


Bug#459563: Bug#459560: crashes at once on hppa architecture

2008-01-07 Thread Deller, Helge
Michael wrote:
 In both cases gij is called (indirectly). Can you please try to make a
 simple testcase running gij on hppa?

Ok, but then a testcase isn't needed, as it's easily reproducable. 
Just call gij without any parameters and it will crash (as already
reported in Bug #459563).



___
pkg-java-maintainers mailing list
pkg-java-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-java-maintainers