Hi. Following change from 1.0.5 to 1.0.6 gives segfaults on my machine (mipsel, uclibc). lib/utils: void set_error_va(const char *fmt, va_list va) { - int bufsize; - bufsize = fmt ? (strlen(fmt) + 1) : 0; - if (bufsize < 128) - bufsize = 128; - - if (error) + if(error) { free(error); - if (!fmt) { - error = NULL; - return; + error=NULL; } #0 0x2ab596a4 in _ppfs_init () from /lib/libc.so.0 #1 0x2ab58e40 in vfprintf () from /lib/libc.so.0 #2 0x2ab53f2c in vasprintf () from /lib/libc.so.0 #3 0x00407af8 in set_error_va (fmt=0x0, va=0x7fa68db4) at utils.c:35 #4 0x00407b64 in set_error (fmt=0x0) at utils.c:43 #5 0x00404700 in setup_enter (backend=0x429480, log=0x4027a0 <cmdLineLog>) at setup.c:63 #6 0x00406bbc in crypt_job (job=0x405b90 <__crypt_luks_open>, arg=0, options=0x7fa68e48) at setup.c:695 #7 0x00406f0c in crypt_luksOpen (options=0x7fa68e48) at setup.c:748 #8 0x004035cc in action_luksOpen (arg=0) at cryptsetup.c:292 #9 0x004044d4 in main (argc=4, argv=0x7fa69084) at cryptsetup.c:541 In lib/setup.c:63 "set_error(NULL)" is called. If I put back "if (!fmt) return;" in lib/utils.c everything seems to work fine. Greets Oliver --------------------------------------------------------------------- dm-crypt mailing list - http://www.saout.de/misc/dm-crypt/ To unsubscribe, e-mail: dm-crypt-unsubscribe@xxxxxxxx For additional commands, e-mail: dm-crypt-help@xxxxxxxx