Opened at 2010-10-18T23:54:02Z
Closed at 2011-06-25T22:32:26Z
#694 closed defect (fixed)
OTR kills the Bee
Reported by: | tittof | Owned by: | pesco |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | OTR | Version: | 3.0 |
Keywords: | Cc: | ||
IRC client+version: | Client-independent | Operating System: | Linux |
OS version/distro: |
Description
Bitlbee dies with
Fatal signal received: 11. That's probably a bug.
I think it happens when you already have someone's fingerprint and he already talked OTR to you and then starts a session with you again.
Someone else reported this to be happening to him aswell on the irc channel (zuran?)
This bug is also present in older OTR-Patch Versions of Bitlbee.
rgds
Attachments (1)
Change History (6)
Changed at 2010-10-19T14:00:44Z by
Attachment: | strace-debug added |
---|
comment:1 follow-up: 3 Changed at 2010-10-19T17:23:19Z by
Managed to crash bitlbee while fiddling with OTR. GDB gave the following info:
Program received signal SIGSEGV, Segmentation fault. 0x08062fe5 in op_still_secure (opdata=0xa04f440, context=0xa2b6060, is_reply=0) at otr.c:660 660 if(context->active_fingerprint->trust[0]) (gdb) Continuing.
Program terminated with signal SIGSEGV, Segmentation fault. The program no longer exists. (gdb) bt No stack. (gdb) print context No symbol "context" in current context.
comment:2 Changed at 2010-10-25T17:42:06Z by
Version: | 1.3dev → 3.0 |
---|
comment:3 Changed at 2011-06-25T21:40:48Z by
Status: | new → accepted |
---|
Replying to zuran:
Managed to crash bitlbee while fiddling with OTR. GDB gave the following info:
Program received signal SIGSEGV, Segmentation fault. 0x08062fe5 in op_still_secure (opdata=0xa04f440, context=0xa2b6060, is_reply=0) at otr.c:660 660 if(context->active_fingerprint->trust[0])
this looks like a race condition where you managed to disconnect OTR again (=> active_fingerprint==NULL) before a message about going secure got to be printed. can you remember if that is consistent with the kind of fiddling you were performing? ;)
comment:4 Changed at 2011-06-25T22:32:14Z by
ah, actually this was likely just an oversight, a similar problem had been fixed in op_gone_secure
but not applied to op_still_secure
. should be fixed with revision 800 of http://code.khjk.org/bitlbee/
comment:5 Changed at 2011-06-25T22:32:26Z by
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
strace of bitlbee pid while generating a crash