Closed dimaj closed 9 years ago
Followed installation instructions for Ubuntu 12.04 as listed here: https://opensource.conformal.com/wiki/cyphertite_installation#Ubuntu
When cyphertite is launched with the following command:
cyphertite -cvR -f test.ct /tmp/some_folder/
causes immediate crash with the following stack trace:
*** stack smashing detected ***: cyphertite terminated ======= Backtrace: ========= /lib/x86_64-linux-gnu/libc.so.6(__fortify_fail+0x37)[0x7f9568aef817] /lib/x86_64-linux-gnu/libc.so.6(__fortify_fail+0x0)[0x7f9568aef7e0] cyphertite[0x4155b9] cyphertite[0x431ec0] cyphertite[0x40b81a] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed)[0x7f9568a0676d] cyphertite[0x408c41] ======= Memory map: ======== 00400000-00633000 r-xp 00000000 ca:01 71871 /usr/local/bin/cyphertite 00833000-00835000 r--p 00233000 ca:01 71871 /usr/local/bin/cyphertite 00835000-00849000 rw-p 00235000 ca:01 71871 /usr/local/bin/cyphertite 00849000-0084e000 rw-p 00000000 00:00 0 0212a000-0216c000 rw-p 00000000 00:00 0 [heap] 7f9566dc8000-7f9566ddd000 r-xp 00000000 ca:01 133200 /lib/x86_64-linux-gnu/libgcc_s.so.1 7f9566ddd000-7f9566fdc000 ---p 00015000 ca:01 133200 /lib/x86_64-linux-gnu/libgcc_s.so.1 7f9566fdc000-7f9566fdd000 r--p 00014000 ca:01 133200 /lib/x86_64-linux-gnu/libgcc_s.so.1 7f9566fdd000-7f9566fde000 rw-p 00015000 ca:01 133200 /lib/x86_64-linux-gnu/libgcc_s.so.1 7f9566fde000-7f9566fea000 r-xp 00000000 ca:01 143950 /lib/x86_64-linux-gnu/libnss_files-2.15.so 7f9566fea000-7f95671e9000 ---p 0000c000 ca:01 143950 /lib/x86_64-linux-gnu/libnss_files-2.15.so 7f95671e9000-7f95671ea000 r--p 0000b000 ca:01 143950 /lib/x86_64-linux-gnu/libnss_files-2.15.so 7f95671ea000-7f95671eb000 rw-p 0000c000 ca:01 143950 /lib/x86_64-linux-gnu/libnss_files-2.15.so 7f95671eb000-7f95671f5000 r-xp 00000000 ca:01 143946 /lib/x86_64-linux-gnu/libnss_nis-2.15.so 7f95671f5000-7f95673f5000 ---p 0000a000 ca:01 143946 /lib/x86_64-linux-gnu/libnss_nis-2.15.so 7f95673f5000-7f95673f6000 r--p 0000a000 ca:01 143946 /lib/x86_64-linux-gnu/libnss_nis-2.15.so 7f95673f6000-7f95673f7000 rw-p 0000b000 ca:01 143946 /lib/x86_64-linux-gnu/libnss_nis-2.15.so 7f95673f7000-7f956740e000 r-xp 00000000 ca:01 143959 /lib/x86_64-linux-gnu/libnsl-2.15.so 7f956740e000-7f956760d000 ---p 00017000 ca:01 143959 /lib/x86_64-linux-gnu/libnsl-2.15.so 7f956760d000-7f956760e000 r--p 00016000 ca:01 143959 /lib/x86_64-linux-gnu/libnsl-2.15.so 7f956760e000-7f956760f000 rw-p 00017000 ca:01 143959 /lib/x86_64-linux-gnu/libnsl-2.15.so 7f956760f000-7f9567611000 rw-p 00000000 00:00 0 7f9567611000-7f9567619000 r-xp 00000000 ca:01 143951 /lib/x86_64-linux-gnu/libnss_compat-2.15.so 7f9567619000-7f9567818000 ---p 00008000 ca:01 143951 /lib/x86_64-linux-gnu/libnss_compat-2.15.so 7f9567818000-7f9567819000 r--p 00007000 ca:01 143951 /lib/x86_64-linux-gnu/libnss_compat-2.15.so 7f9567819000-7f956781a000 rw-p 00008000 ca:01 143951 /lib/x86_64-linux-gnu/libnss_compat-2.15.so 7f956781a000-7f956781d000 r-xp 00000000 ca:01 133203 /lib/x86_64-linux-gnu/libgpg-error.so.0.8.0 7f956781d000-7f9567a1c000 ---p 00003000 ca:01 133203 /lib/x86_64-linux-gnu/libgpg-error.so.0.8.0 7f9567a1c000-7f9567a1d000 r--p 00002000 ca:01 133203 /lib/x86_64-linux-gnu/libgpg-error.so.0.8.0 7f9567a1d000-7f9567a1e000 rw-p 00003000 ca:01 133203 /lib/x86_64-linux-gnu/libgpg-error.so.0.8.0 7f9567a1e000-7f9567a2f000 r-xp 00000000 ca:01 7742 /usr/lib/x86_64-linux-gnu/libp11-kit.so.0.0.0 7f9567a2f000-7f9567c2e000 ---p 00011000 ca:01 7742 /usr/lib/x86_64-linux-gnu/libp11-kit.so.0.0.0 7f9567c2e000-7f9567c2f000 r--p 00010000 ca:01 7742 /usr/lib/x86_64-linux-gnu/libp11-kit.so.0.0.0 7f9567c2f000-7f9567c30000 rw-p 00011000 ca:01 7742 /usr/lib/x86_64-linux-gnu/libp11-kit.so.0.0.0 7f9567c30000-7f9567c40000 r-xp 00000000 ca:01 7756 /usr/lib/x86_64-linux-gnu/libtasn1.so.3.1.12 7f9567c40000-7f9567e3f000 ---p 00010000 ca:01 7756 /usr/lib/x86_64-linux-gnu/libtasn1.so.3.1.12 7f9567e3f000-7f9567e40000 r--p 0000f000 ca:01 7756 /usr/lib/x86_64-linux-gnu/libtasn1.so.3.1.12 7f9567e40000-7f9567e41000 rw-p 00010000 ca:01 7756 /usr/lib/x86_64-linux-gnu/libtasn1.so.3.1.12 7f9567e41000-7f9567e63000 r-xp 00000000 ca:01 133240 /lib/x86_64-linux-gnu/libtinfo.so.5.9 7f9567e63000-7f9568063000 ---p 00022000 ca:01 133240 /lib/x86_64-linux-gnu/libtinfo.so.5.9 7f9568063000-7f9568067000 r--p 00022000 ca:01 133240 /lib/x86_64-linux-gnu/libtinfo.so.5.9 7f9568067000-7f9568068000 rw-p 00026000 ca:01 133240 /lib/x86_64-linux-gnu/libtinfo.so.5.9 7f9568068000-7f95680e2000 r-xp 00000000 ca:01 133201 /lib/x86_64-linux-gnu/libgcrypt.so.11.7.0 7f95680e2000-7f95682e2000 ---p 0007a000 ca:01 133201 /lib/x86_64-linux-gnu/libgcrypt.so.11.7.0 7f95682e2000-7f95682e3000 r--p 0007a000 ca:01 133201 /lib/x86_64-linux-gnu/libgcrypt.so.11.7.0 7f95682e3000-7f95682e6000 rw-p 0007b000 ca:01 133201 /lib/x86_64-linux-gnu/libgcrypt.so.11.7.0 7f95682e6000-7f956839a000 r-xp 00000000 ca:01 649 /usr/lib/x86_64-linux-gnu/libgnutls.so.26.21.8 7f956839a000-7f956859a000 ---p 000b4000 ca:01 649 /usr/lib/x86_64-linux-gnu/libgnutls.so.26.21.8 7f956859a000-7f95685a0000 r--p 000b4000 ca:01 649 /usr/lib/x86_64-linux-gnu/libgnutls.so.26.21.8 7f95685a0000-7f95685a1000 rw-p 000ba000 ca:01 649 /usr/lib/x86_64-linux-gnu/libgnutls.so.26.21.8 7f95685a1000-7f95685a2000 rw-p 00000000 00:00 0 7f95685a2000-7f95685c3000 r-xp 00000000 ca:01 7739 /usr/lib/x86_64-linux-gnu/liblzma.so.5.0.0 7f95685c3000-7f95687c2000 ---p 00021000 ca:01 7739 /usr/lib/x86_64-linux-gnu/liblzma.so.5.0.0 7f95687c2000-7f95687c3000 r--p 00020000 ca:01 7739 /usr/lib/x86_64-linux-gnu/liblzma.so.5.0.0 7f95687c3000-7f95687c4000 rw-p 00021000 ca:01 7739 /usr/lib/x86_64-linux-gnu/liblzma.so.5.0.0 7f95687c4000-7f95687e4000 r-xp 00000000 ca:01 2572 /usr/lib/x86_64-linux-gnu/liblzo2.so.2.0.0 7f95687e4000-7f95689e3000 ---p 00020000 ca:01 2572 /usr/lib/x86_64-linux-gnu/liblzo2.so.2.0.0 7f95689e3000-7f95689e4000 r--p 0001f000 ca:01 2572 /usr/lib/x86_64-linux-gnu/liblzo2.so.2.0.0 7f95689e4000-7f95689e5000 rw-p 00020000 ca:01 2572 /usr/lib/x86_64-linux-gnu/liblzo2.so.2.0.0 7f95689e5000-7f9568b9a000 r-xp 00000000 ca:01 143940 /lib/x86_64-linux-gnu/libc-2.15.so 7f9568b9a000-7f9568d99000 ---p 001b5000 ca:01 143940 /lib/x86_64-linux-gnu/libc-2.15.so 7f9568d99000-7f9568d9d000 r--p 001b4000 ca:01 143940 /lib/x86_64-linux-gnu/libc-2.15.so 7f9568d9d000-7f9568d9f000 rw-p 001b8000 ca:01 143940 /lib/x86_64-linux-gnu/libc-2.15.so 7f9568d9f000-7f9568da4000 rw-p 00000000 00:00 0 7f9568da4000-7f9568dbc000 r-xp 00000000 ca:01 143942 /lib/x86_64-linux-gnu/libpthread-2.15.so 7f9568dbc000-7f9568fbb000 ---p 00018000 ca:01 143942 /lib/x86_64-linux-gnu/libpthread-2.15.so 7f9568fbb000-7f9568fbc000 r--p 00017000 ca:01 143942 /lib/x86_64-linux-gnu/libpthread-2.15.so 7f9568fbc000-7f9568fbd000 rw-p 00018000 ca:01 143942 /lib/x86_64-linux-gnu/libpthread-2.15.so 7f9568fbd000-7f9568fc1000 rw-p 00000000 00:00 0 7f9568fc1000-7f9568fcc000 r-xp 00000000 ca:01 133188 /lib/x86_64-linux-gnu/libbsd.so.0.3.0 7f9568fcc000-7f95691cb000 ---p 0000b000 ca:01 133188 /lib/x86_64-linux-gnu/libbsd.so.0.3.0 7f95691cb000-7f95691cc000 r--p 0000a000 ca:01 133188 /lib/x86_64-linux-gnu/libbsd.so.0.3.0 7f95691cc000-7f95691cd000 rw-p 0000b000 ca:01 133188 /lib/x86_64-linux-gnu/libbsd.so.0.3.0 7f95691cd000-7f95691e3000 r-xp 00000000 ca:01 133247 /lib/x86_64-linux-gnu/libz.so.1.2.3.4 7f95691e3000-7f95693e2000 ---p 00016000 ca:01 133247 /lib/x86_64-linux-gnu/libz.so.1.2.3.4 7f95693e2000-7f95693e3000 r--p 00015000 ca:01 133247 /lib/x86_64-linux-gnu/libz.so.1.2.3.4 7f95693e3000-7f95693e4000 rw-p 00016000 ca:01 133247 /lib/x86_64-linux-gnu/libz.so.1.2.3.4 7f95693e4000-7f9569406000 r-xp 00000000 ca:01 7707 /usr/lib/x86_64-linux-gnu/libedit.so.2.11 7f9569406000-7f9569605000 ---p 00022000 ca:01 7707 /usr/lib/x86_64-linux-gnu/libedit.so.2.11 7f9569605000-7f9569607000 r--p 00021000 ca:01 7707 /usr/lib/x86_64-linux-gnu/libedit.so.2.11 7f9569607000-7f9569608000 rw-p 00023000 ca:01 7707 /usr/lib/x86_64-linux-gnu/libedit.so.2.11 7f9569608000-7f956960b000 rw-p 00000000 00:00 0 7f956960b000-7f956960d000 r-xp 00000000 ca:01 143939 /lib/x86_64-linux-gnu/libdl-2.15.so 7f956960d000-7f956980d000 ---p 00002000 ca:01 143939 /lib/x86_64-linux-gnu/libdl-2.15.so 7f956980d000-7f956980e000 r--p 00002000 ca:01 143939 /lib/x86_64-linux-gnu/libdl-2.15.so 7f956980e000-7f956980f000 rw-p 00003000 ca:01 143939 /lib/x86_64-linux-gnu/libdl-2.15.so 7f956980f000-7f9569827000 r-xp 00000000 ca:01 7751 /usr/lib/x86_64-linux-gnu/librtmp.so.0 7f9569827000-7f9569a27000 ---p 00018000 ca:01 7751 /usr/lib/x86_64-linux-gnu/librtmp.so.0 7f9569a27000-7f9569a28000 r--p 00018000 ca:01 7751 /usr/lib/x86_64-linux-gnu/librtmp.so.0 7f9569a28000-7f9569a29000 rw-p 00019000 ca:01 7751 /usr/lib/x86_64-linux-gnu/librtmp.so.0 7f9569a29000-7f9569a30000 r-xp 00000000 ca:01 143944 /lib/x86_64-linux-gnu/librt-2.15.so 7f9569a30000-7f9569c2f000 ---p 00007000 ca:01 143944 /lib/x86_64-linux-gnu/librt-2.15.so 7f9569c2f000-7f9569c30000 r--p 00006000 ca:01 143944 /lib/x86_64-linux-gnu/librt-2.15.so 7f9569c30000-7f9569c31000 rw-p 00007000 ca:01 143944 /lib/x86_64-linux-gnu/librt-2.15.so 7f9569c31000-7f9569c63000 r-xp 00000000 ca:01 7731 /usr/lib/x86_64-linux-gnu/libidn.so.11.6.6 7f9569c63000-7f9569e62000 ---p 00032000 ca:01 7731 /usr/lib/x86_64-linux-gnu/libidn.so.11.6.6 7f9569e62000-7f9569e63000 r--p 00031000 ca:01 7731 /usr/lib/x86_64-linux-gnu/libidn.so.11.6.6 7f9569e63000-7f9569e64000 rw-p 00032000 ca:01 7731 /usr/lib/x86_64-linux-gnu/libidn.so.11.6.6 7f9569e64000-7f9569f02000 r-xp 00000000 ca:01 7754 /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6 7f9569f02000-7f956a102000 ---p 0009e000 ca:01 7754 /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6 7f956a102000-7f956a104000 r--p 0009e000 ca:01 7754 /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6 7f956a104000-7f956a106000 rw-p 000a0000 ca:01 7754 /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6 7f956a106000-7f956a107000 rw-p 00000000 00:00 0 7f956a107000-7f956a12e000 r-xp 00000000 ca:01 133198 /lib/x86_64-linux-gnu/libexpat.so.1.5.2 7f956a12e000-7f956a32e000 ---p 00027000 ca:01 133198 /lib/x86_64-linux-gnu/libexpat.so.1.5.2 7f956a32e000-7f956a330000 r--p 00027000 ca:01 133198 /lib/x86_64-linux-gnu/libexpat.so.1.5.2 7f956a330000-7f956a331000 rw-p 00029000 ca:01 133198 /lib/x86_64-linux-gnu/libexpat.so.1.5.2 7f956a331000-7f956a359000 r-xp 00000000 ca:01 49129 /usr/lib/libevent_core-2.0.so.5.1.4 7f956a359000-7f956a558000 ---p 00028000 ca:01 49129 /usr/lib/libevent_core-2.0.so.5.1.4 7f956a558000-7f956a559000 r--p 00027000 ca:01 49129 /usr/lib/libevent_core-2.0.so.5.1.4 7f956a559000-7f956a55a000 rw-p 00028000 ca:01 49129 /usr/lib/libevent_core-2.0.so.5.1.4 7f956a55a000-7f956a560000 r-xp 00000000 ca:01 71836 /usr/local/lib/libxmlsd.so.3.2 7f956a560000-7f956a75f000 ---p 00006000 ca:01 71836 /usr/local/lib/libxmlsd.so.3.2 7f956a75f000-7f956a760000 r--p 00005000 ca:01 71836 /usr/local/lib/libxmlsd.so.3.2 7f956a760000-7f956a761000 rw-p 00006000 ca:01 71836 /usr/local/lib/libxmlsd.so.3.2 7f956a761000-7f956a764000 r-xp 00000000 ca:01 71842 /usr/local/lib/libshrink.so.3.0 7f956a764000-7f956a963000 ---p 00003000 ca:01 71842 /usr/local/lib/libshrink.so.3.0 7f956a963000-7f956a964000 r--p 00002000 ca:01 71842 /usr/local/lib/libshrink.so.3.0 7f956a964000-7f956a965000 rw-p 00003000 ca:01 71842 /usr/local/lib/libshrink.so.3.0 7f956a965000-7f956a968000 r-xp 00000000 ca:01 71823 /usr/local/lib/libclog.so.2.6 7f956a968000-7f956ab67000 ---p 00003000 ca:01 71823 /usr/local/lib/libclog.so.2.6 7f956ab67000-7f956ab68000 r--p 00002000 ca:01 71823 /usr/local/lib/libclog.so.2.6 7f956ab68000-7f956ab69000 rw-p 00003000 ca:01 71823 /usr/local/lib/libclog.so.2.6 7f956ab69000-7f956ab6a000 rw-p 00000000 00:00 0 7f956ab6a000-7f956ab6f000 r-xp 00000000 ca:01 71848 /usr/local/lib/libexude.so.3.1 7f956ab6f000-7f956ad6e000 ---p 00005000 ca:01 71848 /usr/local/lib/libexude.so.3.1 7f956ad6e000-7f956ad6f000 r--p 00004000 ca:01 71848 /usr/local/lib/libexude.so.3.1 7f956ad6f000-7f956ad70000 rw-p 00005000 ca:01 71848 /usr/local/lib/libexude.so.3.1 7f956ad70000-7f956ad78000 r-xp 00000000 ca:01 71829 /usr/local/lib/libassl.so.6.2 7f956ad78000-7f956af77000 ---p 00008000 ca:01 71829 /usr/local/lib/libassl.so.6.2 7f956af77000-7f956af78000 r--p 00007000 ca:01 71829 /usr/local/lib/libassl.so.6.2 7f956af78000-7f956af79000 rw-p 00008000 ca:01 71829 /usr/local/lib/libassl.so.6.2 7f956af79000-7f956af9b000 r-xp 00000000 ca:01 143954 /lib/x86_64-linux-gnu/ld-2.15.so 7f956aff8000-7f956b181000 r--p 00000000 ca:01 26796 /usr/lib/locale/locale-archive 7f956b181000-7f956b18d000 rw-p 00000000 00:00 0 7f956b198000-7f956b19b000 rw-p 00000000 00:00 0 7f956b19b000-7f956b19c000 r--p 00022000 ca:01 143954 /lib/x86_64-linux-gnu/ld-2.15.so 7f956b19c000-7f956b19e000 rw-p 00023000 ca:01 143954 /lib/x86_64-linux-gnu/ld-2.15.so 7ffffa0b6000-7ffffa0d7000 rw-p 00000000 00:00 0 [stack] 7ffffa1ff000-7ffffa200000 r-xp 00000000 00:00 0 [vdso] ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall] Aborted (core dumped)
Found my problem.
I started off by installing from source and then installed from apt. Once I uninstalled from apt and from source and reinstalled from apt, everything started working.
Followed installation instructions for Ubuntu 12.04 as listed here: https://opensource.conformal.com/wiki/cyphertite_installation#Ubuntu
When cyphertite is launched with the following command:
causes immediate crash with the following stack trace: