pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

encfs 1.5


I've been struggling with encfs for a couple of days. I managed it to
configure and install the newer version of encfs properly but I keep
getting "Segmentation fault" during execution.

This is how I configured it:
CFLAGS+="-ggdb, -ggdb3" LIBS+="-lintl" OPENSSL_CFLAGS="-I/usr/include/"
OPENSSL_LIBS="-Wl,-R/usr/lib -L/usr/lib -lssl -lcrypto" ./configure
--prefix=/usr/pkg --build=x86_64--netbsd --host=x86_64--netbsd
--mandir=/usr/pkg/man --with-boost-libdir=/usr/pkg/lib/
--with-boost=/usr/pkg --with-boost-serialization=boost_wserialization

Then I started gdb:

$ gdb
GNU gdb
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
welcome to change it and/or distribute copies of it under certain
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "x86_64--netbsd"...
(gdb) run --verbose /tmp/enc /tmp/dec
Starting program: /usr/pkg/bin/encfs --verbose /tmp/enc /tmp/dec
20:11:48 (main.cpp:515) Root directory: /tmp/enc/
20:11:48 (main.cpp:516) Fuse arguments: (daemon) (threaded) (keyCheck)
encfs /tmp/dec -s -o use_ino -o default_permissions
20:11:48 (FileUtils.cpp:375) Archive exception: unrecognized XML syntax
20:11:48 (FileUtils.cpp:326) Found config file /tmp/enc/.encfs6.xml, but
failed to load
Creating new encrypted volume.
Please choose from one of the following options:
 enter "x" for expert configuration mode,
 enter "p" for pre-configured paranoia mode,
 anything else, or an empty line will select standard mode.

Standard configuration selected.
20:11:50 (SSL_Cipher.cpp:368) allocated cipher ssl/aes, keySize 24,
ivlength 16
20:11:50 (FileUtils.cpp:1079) Using cipher AES, key size 192, block size

Configuration finished.  The filesystem to be created has
the following properties:
20:11:50 (Interface.cpp:165) checking if ssl/aes(2:2:1) implements
20:11:50 (SSL_Cipher.cpp:368) allocated cipher ssl/aes, keySize 24,
ivlength 16
Filesystem cipher: "ssl/aes", version 2:2:1
20:11:50 (Interface.cpp:165) checking if nameio/block(3:0:1) implements
Filename encoding: "nameio/block", version 3:0:1
20:11:50 (Interface.cpp:165) checking if ssl/aes(2:2:1) implements
20:11:50 (SSL_Cipher.cpp:368) allocated cipher ssl/aes, keySize 24,
ivlength 16
Key Size: 192 bits
Block Size: 1024 bytes
Each file contains 8 byte header with unique IV data.
Filenames encoded using IV chaining mode.
File holes passed through to ciphertext.

Now you will need to enter a password for your filesystem.
You will need to remember this password, as there is absolutely
no recovery mechanism.  However, the password can be changed
later using encfsctl.

20:11:50 (openssl.cpp:48) Allocating 39 locks for OpenSSL
20:11:50 (FileUtils.cpp:1136) useStdin: 0
New Encfs Password:
Verify Encfs Password:
20:11:53 (Interface.cpp:165) checking if ssl/aes(2:2:1) implements
20:11:53 (SSL_Cipher.cpp:368) allocated cipher ssl/aes, keySize 24,
ivlength 16

Program received signal SIGSEGV, Segmentation fault.
0x00007f7ffdc58247 in typeinfo name for boost::system::system_error ()
from /usr/pkg/lib/

BAM! Does anyone have an idea what might cause this error?

Thanks in advance.

Victor Dorneanu

- Web/Blog:
GnuPG information
- KeyID = 0xD20870F4 (
- Key fingerprint = DD6B 5E09 242F 7410 3F90 492A 4CBA FD13 D208 70F4

Home | Main Index | Thread Index | Old Index