cryptsetup Segmentation fault
The facility is clean, and the error occurs in 32 bit and 64 bit.
I also tried the vanilla kernel, with the same result.
develop:~# cat /etc/alpine-release
3.1.0
develop:~# apk add cryptsetup
(1/3) Installing cryptsetup-libs (1.6.6-r2)
(2/3) Installing popt (1.16-r5)
(3/3) Installing cryptsetup (1.6.6-r2)
Executing busybox-1.22.1-r14.trigger
OK: 182 MiB in 39 packages
develop:~# cryptsetup -y -v luksFormat /dev/sdb1
WARNING!
This will overwrite data on /dev/sdb1 irrevocably.
Are you sure? (Type uppercase yes): yes
Segmentation fault
develop:~#
develop:~#
develop:~#
develop:~#
develop:~# dmesg
[…………..]
[ 234.574487] cryptsetup[1734]: segfault at 0 ip 50b437e9 sp
5c68db90 error 4 in ld-musl-i386.so.1[50af7000+82000]
[ 234.575305] grsec: From 192.168.1.49: Segmentation fault occurred at
(nil) in /sbin/cryptsetup[cryptsetup:1734] uid/euid:0/0 gid/egid:0/0,
parent /bin/busybox[ash:1412] uid/euid:0/0 gid/egid:0/0
[ 234.579287] grsec: From 192.168.1.49: denied resource overstep by
requesting 4096 for RLIMIT_CORE against limit 0 for
/sbin/cryptsetup[cryptsetup:1734] uid/euid:0/0 gid/egid:0/0, parent
/bin/busybox[ash:1412] uid/euid:0/0 gid/egid:0/0
[ 323.386543] cryptsetup[1749]: segfault at 0 ip 53bfc7e9 sp
5feedfd0 error 4 in ld-musl-i386.so.1[53bb0000+82000]
(from redmine: issue id 3639, created on 2014-12-17, closed on 2014-12-18)