[OTR-dev] crash

Gregory Maxwell gmaxwell at gmail.com
Sat Nov 8 13:39:57 EST 2014

People were circulating this pastebin around on IRC, since I don't see
any git traffic for it...


# LibOTR memory corruption in 4 hours
# While waiting for conference calls
# Using latest git pulled from git.otr.im/libotr.git
# donb at securitymouse.com

donb at x-VirtualBox:~$ !LD
LD_LIBRARY_PATH=lib/src/libotr/libotr/src/.libs ./otr
encoded base64
sending message
version is 2
to the switch!!
Segmentation fault (core dumped)
donb at x-VirtualBox:~$ LD_LIBRARY_PATH=lib/src/libotr/libotr/src/.libs ldd ./otr
        linux-gate.so.1 =>  (0xb77c6000)
        libotr.so.5 => lib/src/libotr/libotr/src/.libs/libotr.so.5 (0xb77a9000)
        libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xb75ef000)
        libgcrypt.so.11 => /lib/i386-linux-gnu/libgcrypt.so.11 (0xb7568000)
        /lib/ld-linux.so.2 (0xb77c7000)
        libgpg-error.so.0 => /lib/i386-linux-gnu/libgpg-error.so.0 (0xb7563000)
donb at x-VirtualBox:~$ !gd
gdb -q ./otr core
Reading symbols from /home/donb/otr...(no debugging symbols found)...done.
[New LWP 20510]

warning: Can't read pathname for load map: Input/output error.
Core was generated by `./otr'.
Program terminated with signal 11, Segmentation fault.
#0  0xXXXX in ?? () from /lib/i386-linux-gnu/libgcrypt.so.11
(gdb) i r eax
eax            0x53565755       1398167381

^-- controlled EAX = for the win

More information about the OTR-dev mailing list