cryptodotis / irssi-otr

LibOTR functionality in Irssi.
GNU General Public License v2.0
183 stars 24 forks source link

Crash due to assertion failure #35

Closed edef1c closed 11 years ago

edef1c commented 11 years ago

So far this has happened thrice, twice in my main irssi (normal chatting), reproduced once artificially (typing random lines, pasting a bunch of lines finally triggered it) irssi: module.c:295: irssi_send_message: Assertionirssi' failed.`

 nathan@panther  ~/irssi-otr4-git/irssi-otr   master git tip --oneline
cab3fc9 Fix: remove double quotes around a NULL value
 nathan@panther  ~/irssi-otr4-git/irssi-otr   master uname -a
Linux panther 3.8.7-1-ARCH #1 SMP PREEMPT Sat Apr 13 09:01:47 CEST 2013 x86_64 GNU/Linux
Program received signal SIGABRT, Aborted.
0x00007fe3250761c9 in raise () from /usr/lib/libc.so.6
(gdb) bt full
#0  0x00007fe3250761c9 in raise () from /usr/lib/libc.so.6
No symbol table info available.
#1  0x00007fe3250775c8 in abort () from /usr/lib/libc.so.6
No symbol table info available.
#2  0x00007fe32506f356 in __assert_fail_base () from /usr/lib/libc.so.6
No symbol table info available.
#3  0x00007fe32506f402 in __assert_fail () from /usr/lib/libc.so.6
No symbol table info available.
#4  0x00007fe3221280d0 in irssi_send_message () from /usr/lib/irssi/modules/libotr.so
No symbol table info available.
#5  0x00007fe3221273d3 in ?? () from /usr/lib/irssi/modules/libotr.so
No symbol table info available.
#6  0x00007fe321f12ab4 in ?? () from /usr/lib/libotr.so.5
No symbol table info available.
#7  0x00007fe321f13657 in otrl_message_sending () from /usr/lib/libotr.so.5
No symbol table info available.
#8  0x00007fe3221252eb in otr_send () from /usr/lib/irssi/modules/libotr.so
No symbol table info available.
#9  0x00007fe322127d6c in ?? () from /usr/lib/irssi/modules/libotr.so
No symbol table info available.
#10 0x0000000000488432 in ?? ()
No symbol table info available.
#11 0x000000000048889d in signal_emit ()
No symbol table info available.
#12 0x000000000048a8b9 in ?? ()
No symbol table info available.
#13 0x0000000000488432 in ?? ()
No symbol table info available.
#14 0x000000000048889d in signal_emit ()
No symbol table info available.
#15 0x0000000000437cd0 in ?? ()
No symbol table info available.
#16 0x0000000000488432 in ?? ()
No symbol table info available.
#17 0x000000000048889d in signal_emit ()
No symbol table info available.
#18 0x0000000000488432 in ?? ()
No symbol table info available.
#19 0x000000000048889d in signal_emit ()
No symbol table info available.
#20 0x000000000041a248 in ?? ()
No symbol table info available.
#21 0x000000000041a91a in ?? ()
No symbol table info available.
#22 0x00007fe325d0b9a3 in ?? () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#23 0x00007fe325d0ae46 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#24 0x00007fe325d0b198 in ?? () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#25 0x00007fe325d0b23c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#26 0x000000000041686c in main ()
No symbol table info available.
(gdb) info registers
rax            0x0      0
rbx            0x7fe32698f000   140613581860864
rcx            0xffffffffffffffff       -1
rdx            0x6      6
rsi            0x325c5a 3300442
rdi            0x325c5a 3300442
rbp            0x7fe3251a86f0   0x7fe3251a86f0
rsp            0x7fff522f5818   0x7fff522f5818
r8             0xfefefefefefefeff       -72340172838076673
r9             0xfefefefeff092d63       -72340172837409437
r10            0x8      8
r11            0x206    518
r12            0x7fe3221290d6   140613505945814
r13            0x7fe32212a630   140613505951280
r14            0x190    400
r15            0x1d97920        31029536
rip            0x7fe3250761c9   0x7fe3250761c9 <raise+57>
eflags         0x206    [ PF IF ]
cs             0x33     51
ss             0x2b     43
ds             0x0      0
es             0x0      0
fs             0x0      0
gs             0x0      0
(gdb)
dgoulet commented 11 years ago

This is a bug that comes from libotr itself. However, the upstream library has been patched but not yet released...

Please use libotr v4 git head on master to fix this.