Bugzilla – Bug 1176
Segmentation fault on Alpine Linux 3.4
Last modified: 2019-04-11 09:12:44 CEST
Created attachment 365 [details]
Docker build env for reproduce the issue. Also included quick fix.
On Alpine Linux default thread stack size is 80 Kb. See
This is not enough for Unbound and cause segmentation fault. Other linux distros have 2 Mb at least. NOTE: num-threads should be more than 1.
Thank you for the detailed report. The patch looks good, I changed the logging and included it as-is. Since the rc1 for 1.6.0 is already out, this one has to wait for 1.6.1 (because of the pthread usage and portability) for release.
Best regards, Wouter
according to ctime(3) Solaris requires a -D_POSIX_PTHREAD_SEMANTICS to allow a 2 argument ctime call. https://happywheels2.io