Re: silc-toolkit 1.1.7 silc_packet_send_raw crash

Brad <brad-BUbV6I797GxWk0Htik3J/[email protected]> Sat, 28 Feb 2009 23:59:22 -0500
Newsgroups gmane.network.silc.devel
Message-ID <[email protected]>
On Saturday 28 February 2009 22:02:49 Brad wrote:
> Running OpenBSD/i386 with silc-toolkit 1.1.7 and Pidgin 2.5.4 and had the

I meant to say 1.1.9. I looked at my package listing too quickly and had =

looked at silc-client instead.

> following crash in the toolkit..
>
> (gdb) bt full
> #0  0x08484f81 in kill () from /usr/lib/libc.so.50.1
> No symbol table info available.
> #1  0x084b6114 in __stack_smash_handler (
>     func=3D0x271b129c "silc_packet_send_raw", damaged=3D1301279574)
>     at /usr/src/lib/libc/sys/stack_protector.c:89
>         sdata =3D {log_file =3D -1, connected =3D 0, opened =3D 1, log_st=
at =3D 0,
>   log_tag =3D 0x3c020900 "pidgin", log_fac =3D 8, log_mask =3D 255}
>         message =3D "stack overflow in function %s"
>         sa =3D {__sigaction_u =3D {__sa_handler =3D 0, __sa_sigaction =3D=
 0},
>   sa_mask =3D 0, sa_flags =3D 0}
>         mask =3D 4294967263
> #2  0x071a3b05 in silc_packet_send_raw (stream=3D0x7f577d00, type=3D24 '\=
030',
>     flags=3D0 '\0', src_id_type=3D2,
>     src_id=3D0x7f580bc0 "=CE3\034\002\223\210CT=EBV=DB3#=CB=CEc",
> src_id_len=3D2244853168, dst_id_type=3D1, dst_id=3D0x836dec30 "=CE3\034\0=
02=C2\002",
> dst_id_len=3D3250450731, data=3D0x47e63df8 <Address 0x47e63df8 out of bou=
nds>,
> data_len=3D2136440092, cipher=3D0x8a0737e0, hmac=3D0x80196a00) at
> silcpacket.c:1685
>         tmppad =3D "=DC\236\021u=A3=AD=C5\005=DBv=BB\207=F1\216=FD=C6=FF=
=DB=C4=E5Qb=E5r\235\003=CF=F2
> eE=A6=B5o>\037H\037\207O
> =B4=B7\233I=AB=C2\225=CD=FB=3D.=AA@\001\231\232\032@`\220=A7=BA\032=E3\03=
2@\021=E7=D2\f\225=BF=C0\002\205
> [\220sd=B8jG=D7^r=C2\227=C3=DB\034=A1\222\230Iz6>\034\204\030\201`\037oz\=
233`=EDUv=B6=E9\204\
>003=B3u=FB/=BAp\205=DD=CCu=D4| =AF=F0"
>         iv =3D "\001\000\000\000=D4Y=D0/\210h=BE=CFE\vi\n=F0=DF=E0\202d$h=
*\230h=BE=CFE\vi\n=F0"
>         psn =3D "'\vi\n"
>         block_len =3D 247
>         i =3D 2136440092
>         enclen =3D 263
>         truelen =3D 34
>         padlen =3D 229
>         ivlen =3D 0
>         psnlen =3D 0
>         ctr =3D 28 '\034'
>         packet =3D {head =3D 0x2a681234 "", data =3D 0x2a682464 "=C4#",
>   tail =3D 0xcfbe6730 "\001", end =3D 0x82667000 "\025=A1\233=D0\220P=A1\=
207"}

Also I forgot I had the debug copy of Pidgin running in an xterm and it sho=
wed =

this around the time of the crash..

(21:34:06) silc: silc_say error: Error during rekey with [IP address]: =

Unexpected error occurred
(21:34:06) account: Disconnecting account 0x852b2880
(21:34:06) connection: Disconnecting connection 0x7f0fabc0
(21:34:06) connection: Deactivating keepalive.
(21:34:07) GLib: g_source_remove: assertion `tag > 0' failed
(21:34:07) connection: Destroying connection 0x7f0fabc0
(21:34:32) silc: silc_say error: Invalid memory allocation
Abort trap (core dumped)

-- =

This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

_______________________________________________________________________
Info:    https://lists.silcnet.org/mailman/listinfo/silc-announce
Archive: https://lists.silcnet.org/pipermail/silc-announce
FAQ:     http://silcnet.org/support/faq/