Stefan Wagner 95724d1bd5 testing/libmilter: set default pthread stack size to 8 MB
This patch tries to fix various crashes for applications depending on
libmilter by setting the stack size for pthreads to 8 MB. The default
stack size for musl libc is set to 80 KB whereas glibc has it set
to 8 MB. This causes problems when a large amount of memory is
allocated on the stack.

For example, opendkim allocates blocks of 64 KB multiple times, which
causes libmilter (and therefore opendkim) to crash.
Maybe a stack size of 1 MB or 2 MB would be sufficient, but as opendkim
depends on the default glibc behavior, 8 MB should be safe.

I know this patch is kind of ugly, a better solution may be to file
a request for opendkim to allocate large blocks of memory on the heap.
But as libmilter/opendkim are fairly unusable at the moment, I suggest
to apply this patch as long as these packages are in testing.

Fixes https://bugs.alpinelinux.org/issues/6360
2016-11-07 00:53:41 +01:00
..
2016-10-05 12:30:27 +02:00
2016-10-19 16:24:32 +02:00
2016-09-23 08:00:49 +00:00
2016-08-28 16:06:22 +00:00
2016-11-02 11:31:55 +01:00
2016-08-27 02:19:52 +00:00
2016-10-19 15:28:18 +00:00
2016-09-27 14:41:06 +02:00
2016-10-22 18:30:11 +02:00
2016-10-10 12:04:47 +00:00
2016-09-06 07:34:34 +00:00
2016-08-26 14:23:21 +02:00
2016-09-22 08:35:52 +00:00
2016-10-25 21:19:11 +02:00
2016-11-06 00:46:38 +01:00
2016-10-19 15:37:49 +00:00
2016-10-20 14:22:28 +02:00
2016-11-07 00:13:14 +01:00
2016-10-19 16:51:32 +00:00
2016-08-27 13:56:18 +00:00
2016-08-29 04:22:48 +00:00
2016-10-05 10:33:32 +00:00
2016-11-06 00:46:38 +01:00
2016-11-01 11:31:49 +00:00
2016-08-27 18:18:11 +00:00
2016-11-06 00:46:38 +01:00
2016-11-01 13:31:02 +02:00
2016-10-27 10:14:48 +00:00
2016-11-02 11:30:00 +01:00
2016-08-28 00:03:52 +00:00
2016-10-30 14:38:46 +01:00
2016-11-01 11:41:13 +00:00
2016-11-06 00:46:38 +01:00
2016-11-04 08:37:26 +00:00
2016-10-19 14:58:48 +00:00
2016-09-29 14:00:43 +00:00
2016-10-19 14:59:26 +00:00
2016-08-26 19:01:40 +00:00
2016-10-24 16:12:21 +02:00
2016-10-19 15:04:57 +00:00
2016-11-02 11:30:00 +01:00
2016-09-27 11:52:23 +00:00
2016-11-06 13:24:52 +01:00
2016-09-21 18:54:45 +00:00
2016-09-22 10:21:11 +00:00
2016-10-20 16:16:05 +02:00
2016-09-27 12:06:30 +00:00
2016-10-19 16:10:59 +00:00
2016-11-02 11:32:26 +01:00
2016-11-04 08:41:28 +00:00
2016-08-28 02:29:16 +00:00
2016-10-29 23:42:17 +02:00
2016-09-12 15:19:34 +02:00
2016-10-19 15:36:13 +00:00
2016-10-19 15:50:02 +00:00
2016-10-19 16:12:13 +00:00
2016-10-19 16:10:21 +00:00
2016-10-21 08:33:33 +00:00
2016-10-19 15:45:04 +00:00