[dm-crypt] crypsetup segfaulting during luksFormat

Sven Eschenberg sven at whgl.uni-frankfurt.de
Wed Jul 7 19:19:38 CEST 2010


Hi list,

I was just trying to setup a new luks device, and for some reason (I
cannot determine yet) cryptsetup just segfaults (setting up the old
mappings works as usual).

These are the last couple lines before cryptsetup dies:
2370  read(4, "|\27\211<e\263\36\35j\201j\204e\326 \270\364\277\373
\300LY[\343d[\215\32\17\315N\333", 32) = 32
2370  open("/dev/md125", O_RDONLY)      = 5
2370  ioctl(5, BLKIOMIN, 0x7fff561ea000) = 0
2370  ioctl(5, BLKIOOPT, 0x7fff561e9ff8) = 0
2370  ioctl(5, BLKALIGNOFF, 0x7fff561ea00c) = 0
2370  close(5)                          = 0
2370  read(4, "\242\270\205|\207@\253\227 \321)\f\r/\"R>EN(wo\224\205\7e
\36\313g\232\n\33", 32) = 32
2370  rt_sigaction(SIGVTALRM, {0x40d3f0, [VTALRM], SA_RESTORER|
SA_RESTART, 0xf0000000fc0c748}, {SIG_DFL, [], 0}, 8) = 0
2370  setitimer(ITIMER_VIRTUAL, {it_interval={0, 0}, it_value={1, 0}},
NULL) = 0
2370  --- SIGVTALRM (Virtual timer expired) @ 0 (0) ---
2370  --- SIGSEGV (Segmentation fault) @ 0 (0) ---
2370  +++ killed by SIGSEGV +++

where /dev/md125 is the device I am trying to setup via luksFormat.

Anyone with any suggestion what the problem can be?

Oh I forgot:
cryptsetup --version
cryptsetup 1.1.2

Regards

-Sven




More information about the dm-crypt mailing list