Alexander Leidinger
bb63fdde6d
By using the 32-bit Linux version of Sun's Java Development Kit 1.6
...
on FreeBSD (amd64), invocations of "javac" (or "java") eventually
end with the output of "Killed" and exit code 137.
This is caused by:
1. After calling exec() in multithreaded linux program threads are not
destroyed and continue running. They get killed after program being
executed finishes.
2. linux_exit_group doesn't return correct exit code when called not
from group leader. Which happens regularly using sun jvm.
The submitters fix this in a similar way to how NetBSD handles this.
I took the PRs away from dchagin, who seems to be out of touch of
this since a while (no response from him).
The patches committed here are from [2], with some little modifications
from me to the style.
PR: 141439 [1], 144194 [2]
Submitted by: Stefan Schmidt <stefan.schmidt@stadtbuch.de>, gk
Reviewed by: rdivacky (in april 2010)
MFC after: 5 days
2010-11-22 09:06:59 +00:00
..
2010-09-13 08:34:20 +00:00
2010-05-23 18:32:02 +00:00
2010-08-17 08:55:45 +00:00
2010-09-21 16:24:51 +00:00
2010-10-28 14:17:06 +00:00
2010-08-30 14:26:02 +00:00
2010-06-21 09:55:56 +00:00
2010-04-26 13:48:22 +00:00
2010-11-14 20:38:11 +00:00
2010-11-14 20:38:11 +00:00
2009-02-26 13:00:13 +00:00
2010-11-07 14:28:01 +00:00
2010-08-09 14:48:31 +00:00
2010-06-30 18:03:42 +00:00
2010-07-23 16:46:42 +00:00
2010-11-01 00:42:25 +00:00
2010-04-23 14:32:58 +00:00
2010-08-22 11:09:53 +00:00
2010-01-10 22:34:18 +00:00
2010-09-13 07:25:35 +00:00
2010-03-30 18:31:55 +00:00
2010-10-21 19:17:40 +00:00
2010-11-22 09:06:59 +00:00
2010-01-07 21:01:37 +00:00
2010-10-21 19:17:40 +00:00
2010-04-30 03:10:53 +00:00
2009-11-03 16:46:52 +00:00
2010-06-10 16:14:05 +00:00
2010-09-10 21:45:42 +00:00
2010-10-23 13:16:39 +00:00
2010-07-21 10:14:04 +00:00
2010-10-21 19:17:40 +00:00
2010-09-22 06:45:07 +00:00
2010-08-20 19:46:50 +00:00
2009-06-25 18:54:56 +00:00
2009-05-26 20:28:22 +00:00
2010-10-09 09:03:17 +00:00
2010-06-21 09:55:56 +00:00
2010-07-22 09:13:49 +00:00
2010-11-19 19:43:56 +00:00
2010-11-09 20:46:41 +00:00
2010-09-30 17:05:23 +00:00
2009-05-29 10:52:37 +00:00
2009-08-15 23:07:43 +00:00
2010-08-22 11:18:57 +00:00
2010-11-14 16:10:15 +00:00
2010-07-18 20:57:53 +00:00
2010-10-18 15:46:58 +00:00
2010-11-16 14:08:21 +00:00
2010-03-24 19:21:26 +00:00
2010-06-21 09:55:56 +00:00
2010-10-24 16:31:57 +00:00
2010-10-14 08:01:33 +00:00
2010-06-11 18:46:34 +00:00
2010-06-08 16:17:47 +00:00
2009-07-14 22:52:46 +00:00
2010-10-21 20:31:50 +00:00
2010-09-16 16:13:12 +00:00
2010-11-14 16:10:15 +00:00
2010-10-23 13:16:39 +00:00
2010-10-17 11:01:52 +00:00
2010-10-09 02:50:23 +00:00
2010-11-03 15:38:52 +00:00
2010-11-22 02:42:02 +00:00
2009-08-23 20:40:19 +00:00
2009-05-29 21:27:12 +00:00
2010-03-03 21:46:51 +00:00
2010-11-14 20:14:25 +00:00
2010-11-08 20:57:08 +00:00
2009-06-11 17:05:45 +00:00
2010-10-02 22:12:41 +00:00
2010-06-28 18:06:46 +00:00
2010-11-19 17:56:16 +00:00
2010-11-19 17:56:16 +00:00
2010-11-14 20:38:11 +00:00
2010-11-13 11:54:04 +00:00
2009-10-20 16:36:51 +00:00
2010-10-29 19:07:36 +00:00
2010-08-30 16:30:18 +00:00
2010-08-12 19:50:40 +00:00
2010-05-05 20:39:02 +00:00
2010-11-17 22:28:04 +00:00
2010-11-14 16:10:15 +00:00
2010-06-21 09:55:56 +00:00
2010-09-02 19:40:28 +00:00
2010-03-19 19:51:03 +00:00
2010-06-21 09:55:56 +00:00
2010-03-07 22:37:35 +00:00
2010-02-21 19:53:33 +00:00
2010-09-30 16:47:01 +00:00
2009-02-03 07:54:42 +00:00
2010-11-09 10:59:09 +00:00
2009-11-03 21:06:19 +00:00
2010-06-21 09:55:56 +00:00
2010-06-21 09:55:56 +00:00
2010-08-06 15:04:40 +00:00
2010-11-14 20:38:11 +00:00
2010-07-12 15:32:45 +00:00
2010-07-18 20:57:53 +00:00
2009-05-19 14:08:21 +00:00
2010-08-12 17:17:05 +00:00
2010-09-16 16:13:12 +00:00
2009-08-21 02:59:07 +00:00
2010-09-16 16:13:12 +00:00
2010-10-12 17:40:45 +00:00
2010-09-22 06:45:07 +00:00
2010-11-08 22:12:25 +00:00
2010-09-28 01:36:01 +00:00
2010-01-09 01:46:38 +00:00
2010-05-08 20:34:01 +00:00
2010-07-09 10:57:55 +00:00
2010-09-16 16:13:12 +00:00
2010-08-28 17:42:08 +00:00
2010-05-08 23:01:47 +00:00
2010-10-09 02:50:23 +00:00
2010-06-29 20:44:19 +00:00
2010-08-30 14:26:02 +00:00
2010-08-30 14:24:44 +00:00
2010-08-30 14:26:02 +00:00
2010-03-19 11:01:51 +00:00
2010-03-19 11:04:42 +00:00
2010-11-14 06:09:50 +00:00
2010-06-29 01:04:24 +00:00
2010-01-04 20:59:52 +00:00
2009-05-17 16:17:48 +00:00
2010-02-07 15:42:15 +00:00
2010-02-07 15:42:15 +00:00
2010-04-08 08:58:18 +00:00
2009-10-17 08:59:41 +00:00
2010-09-19 16:35:42 +00:00
2009-12-28 22:56:30 +00:00
2010-05-06 17:43:41 +00:00
2009-05-26 09:19:21 +00:00
2009-08-24 10:03:41 +00:00
2010-06-21 09:55:56 +00:00
2010-07-18 20:57:53 +00:00
2010-10-09 02:50:23 +00:00
2010-11-19 17:57:50 +00:00
2010-06-02 15:46:37 +00:00
2009-06-22 21:46:40 +00:00
2010-11-12 13:02:26 +00:00
2010-09-05 20:13:07 +00:00
2010-07-22 05:42:29 +00:00
2010-06-03 13:45:27 +00:00
2010-10-09 02:50:23 +00:00
2010-10-25 14:05:25 +00:00
2010-11-14 16:10:15 +00:00
2010-08-09 22:56:10 +00:00
2010-08-25 18:09:51 +00:00
2009-09-28 18:07:16 +00:00
2010-07-18 20:57:53 +00:00
2009-02-06 14:51:32 +00:00
2010-08-22 11:18:57 +00:00
2010-10-18 04:34:42 +00:00
2010-11-14 14:12:43 +00:00
2010-11-19 21:17:34 +00:00
2010-08-22 11:18:57 +00:00
2010-06-26 21:44:45 +00:00
2010-05-12 21:24:46 +00:00