Modify

#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)

strace-debug (192.5 KB) - added by zuran at 2010-10-19T14:00:44Z.
strace of bitlbee pid while generating a crash

Download all attachments as: .zip

Change History (6)

Changed at 2010-10-19T14:00:44Z by zuran

Attachment: strace-debug added

strace of bitlbee pid while generating a crash

comment:1 Changed at 2010-10-19T17:23:19Z by 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]) (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 wilmer

Version: 1.3dev3.0

comment:3 in reply to:  1 Changed at 2011-06-25T21:40:48Z by pesco

Status: newaccepted

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 pesco

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 pesco

Resolution: fixed
Status: acceptedclosed

Modify Ticket

Action
as closed The owner will remain pesco.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.