[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

GIJ hangs on exceptions



Hello,

I have the problem with GIJ. It hangs when exception occur. The
simplest example:

debian:~$ gij dummy
Exception in thread "main"

and that is all, it hangs. Am I missing something? I assume that this
is more than frequent case to have such exceptions.

Note that gij from the gcc-snapshot works nicely.

Here is the tail from the strace:

open("/proc/stat", O_RDONLY)            = 4
fstat(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x2aaaaaac3000
read(4, "cpu  19988 0 2732 151712 4836 20"..., 1024) = 645
read(4, "", 1024)                       = 0
close(4)                                = 0
munmap(0x2aaaaaac3000, 4096)            = 0
sched_yield()                           = 0
tgkill(8587, 8589, SIGCHLD)             = 0
futex(0x527d8c, FUTEX_WAIT, 5, NULL)    = 0
futex(0x527d88, FUTEX_WAIT, 2, NULL)    = 0
futex(0x527d88, FUTEX_WAKE, 1)          = 0
futex(0x527db8, FUTEX_WAIT, 2, NULL)    = 0
futex(0x527db8, FUTEX_WAKE, 1)          = 0
futex(0x2aaaad459c70, FUTEX_WAIT, 2, NULL) = 0
futex(0x2aaaad459c70, FUTEX_WAKE, 1)    = 0
write(6, "_ZN4java4lang11VMThrowable16fill"..., 62) = 62
read(3,  <unfinished ...>

Here is my system information:

-- System Information:
Debian Release: testing/unstable
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14-2-amd64-k8
Locale: LANG=en_US.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)

Versions of packages gij-4.0 depends on:
ii  gcc-4.0-base                  4.0.2-4    The GNU Compiler Collection (base
ii  libc6                         2.3.5-7    GNU C Library: Shared libraries an
ii  libgcj6                       4.0.2-4    Java runtime library for use with
ii  zlib1g                        1:1.2.3-8  compression library - runtime



Reply to: