java/68079: PATCH linux ibm jdk 1.4.1 fails with: JVMLH050:
Signal stack registration failed (errno=22)
Georg-W. Koltermann
gwk at rahn-koltermann.de
Sat Jun 19 17:20:34 PDT 2004
The following reply was made to PR java/68079; it has been noted by GNATS.
From: "Georg-W. Koltermann" <gwk at rahn-koltermann.de>
To: freebsd-gnats-submit at FreeBSD.org
Cc:
Subject: Re: java/68079: PATCH linux ibm jdk 1.4.1 fails with: JVMLH050:
Signal stack registration failed (errno=22)
Date: Sun, 20 Jun 2004 02:14:15 +0200
The problem was that linux_machdep.c had the arguments to
kern_sigaltstack() switched. Apply the following patch:
Index: linux_machdep.c
===================================================================
RCS file: /usr/ncvs/src/sys/i386/linux/linux_machdep.c,v
retrieving revision 1.40
diff -u -r1.40 linux_machdep.c
--- linux_machdep.c 2 Jun 2003 16:56:40 -0000 1.40
+++ linux_machdep.c 19 Jun 2004 23:19:29 -0000
@@ -799,8 +799,8 @@
ss.ss_size = lss.ss_size;
ss.ss_flags = linux_to_bsd_sigaltstack(lss.ss_flags);
}
- error = kern_sigaltstack(td, (uap->uoss != NULL) ? &oss : NULL,
- (uap->uss != NULL) ? &ss : NULL);
+ error = kern_sigaltstack(td, (uap->uss != NULL) ? &ss : NULL,
+ (uap->uoss != NULL) ? &oss : NULL);
if (!error && uap->uoss != NULL) {
lss.ss_sp = oss.ss_sp;
lss.ss_size = oss.ss_size;
Alas, it still does not work right. Now it hangs with high system times
and the message "kernel trap 26 with interrupts disabled" in syslog :(
See next PR.
More information about the freebsd-java
mailing list