[OTR-dev] Crash when receiving message after canceling encrypted chat (with gdb backtrace)
Evan Schoenberg
evan.s at dreskin.net
Wed Feb 9 13:21:35 EST 2005
How would you recommend going about watching context->lastmessage?
I'm still getting the exact same crash in 2.0.0, every time. I'm
mystified.
-Evan
On Feb 9, 2005, at 8:33 AM, Ian Goldberg wrote:
>> (gdb) bt
>> #0 0x9000d280 in strcat ()
>> #1 0x075032c0 in otrl_proto_create_data (encmessagep=0xf0130ed4,
>> context=0x285de00, msg=0x71de368 "[resent] [resent] [resent] [resent]
>> [resent] [resent] [resent] [resent] [resent] [resent] [resent]
>> [resent]
>> [resent] [resent] [resent] [resent] [resent] [resent] [resent]
>> [resent]
>> [resent] [resent] [r"..., tlvs=0x0) at
>> /Users/evands/libgaim/Libraries/libotr/src/proto.c:832
>
> So this makes no sense. The bit that adds "[resent] " to a message
> specifically checks to see if it's already there, and if so, doesn't
> add
> it. So I don't see how the above string could be constructed.
>
> Could you watch the value of context->lastmessage and see where the
> extra [resent]'s get added?
>
> - Ian
> _______________________________________________
> OTR-dev mailing list
> OTR-dev at lists.cypherpunks.ca
> http://lists.cypherpunks.ca/mailman/listinfo/otr-dev
>
More information about the OTR-dev
mailing list