nmlorg / naim

naim is a console client for AOL Instant Messenger (AIM), AOL I Seek You (ICQ), Internet Relay Chat (IRC), and The lily CMC.
http://naim.n.ml.org/
1 stars 0 forks source link

Assertion failed: (s[len+3] == 0), function toc_got_data, file toc2.c, line 1813. #38

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
> What steps will reproduce the problem?

1. Running naim -- there's a user who intermittently has a bad status.

Will log more output as I have it and as I manage to work a parallel bug.

> What is the expected output? What do you see instead?

> What version of naim are you using? On what operating system?
> % naim --version

0.11.8.3.2 on FreeBSD 6.2 i386

> % uname -a

FreeBSD prime.gushi.org 6.4-STABLE FreeBSD 6.4-STABLE #1: Sat Mar  7 23:54:27 
EST 2009     danm@prime.gushi.org:/usr/src/sys/i386/compile/PRIME6  i386

> Please provide any additional information below.

More info as I have it.

Original issue reported on code.google.com by goo...@gushi.org on 1 Jul 2011 at 5:28

GoogleCodeExporter commented 9 years ago
I think this is a signedness issue.  Try the attached.

Original comment by joshua.a...@gmail.com on 1 Jul 2011 at 5:37

Attachments:

GoogleCodeExporter commented 9 years ago
The attached patch didn't seem to help, but with debug logs on, the following 
malformed status was observed before crashing:

[01:46:08] *** frame=2, sequence=in:39142, length=42, 
value=[UPDATE_BUDDY2:brianblackberry:F:0:0:0: :0]
[01:46:08] *** frame=2, sequence=in:39143, length=69, 
value=[BART2:brianblackberry:4 2 ABNJIHdhbnQgcGFuY2FrZXMgT19v 4 13 ThuL1w== ]
[01:46:08] *** BART 4 2: STATUS_TEXT: ABNJIHdhbnQgcGFuY2FrZXMgT19v []

Original comment by goo...@gushi.org on 12 Jul 2011 at 6:27