Irssi core bugs

Notice: Undefined index: tasklist_type in /var/www/ : eval()'d code on line 85 Notice: Undefined index: tasklist_type in /var/www/ : eval()'d code on line 90
  • Status Unconfirmed
  • Percent Complete
  • Task Type Bug Report
  • Category core
  • Assigned To No-one
  • Operating System Solaris
  • Severity Medium
  • Priority Normal
  • Reported Version Irssi 0.8.10
  • Due in Version Undecided
  • Due Date Undecided
  • Votes 0
  • Private No
Attached to Project: Irssi core bugs
Opened by maddhatter (maddhatter) - 2006-03-16

FS#397 - irssi consistently segfaults

Irssi is running within screen version 4.00.02 (FAU) 5-Dec-03 connected via SSL (v. 0.9.8) to an unreal server. I cannot cause the segfault at will, but it happens consistently at least once every several days. Irssi frequently freezes for 30sec up to a few minutes just before the segfault.

#0 0xff11ee0c in g_io_error_get_from_g_error () from /usr/lib/
#1 0xff11f050 in g_io_channel_write () from /usr/lib/
#2 0x000a2358 in net_transmit (handle=0x1d5120, data=0xffbfe608 "PONG\r\n", len=722316) at network.c:374
#3 0x000a19dc in net_sendbuffer_send (rec=0x2165d8, data=0xffbfe608, size=23) at net-sendbuffer.c:115
#4 0x0007d7c8 in irc_server_send_data (server=0x218808, data=0xffbfe608 "PONG\r\n", len=23) at irc-servers.c:370
#5 0x00074f40 in irc_send_cmd_full (server=0x218808, cmd=0xffbfe608 "PONG\r\n", send_now=1, immediate=1, raw=0) at irc.c:85
#6 0x0007e0d4 in event_ping (server=0x218808, data=0x2c3b20 "PONG") at irc-servers.c:743
#7 0x000ac80c in signal_emit_real (rec=0x1c71c0, params=1789952, va=0x7e068, first_hook=0x1c4788) at signals.c:242
#8 0x000ac9fc in signal_emit (signal=0x2e0820 "event ping", params=4) at signals.c:286
#9 0x000756bc in irc_server_event (server=0x218808, line=0x2e1008 "PING", nick=0x0, address=0x0) at irc.c:293
#10 0x000ac80c in signal_emit_real (rec=0x1c75c0, params=1789952, va=0x755d0, first_hook=0x1d0098) at signals.c:242
#11 0x000acab8 in signal_emit_id (signal_id=95, params=4) at signals.c:304
#12 0x0007578c in irc_parse_incoming_line (server=0x218808, line=0x2e1008 "PING") at irc.c:369
#13 0x000ac80c in signal_emit_real (rec=0x1cce80, params=1789952, va=0x7573c, first_hook=0x1d00c8) at signals.c:242
#14 0x000acab8 in signal_emit_id (signal_id=207, params=2) at signals.c:304
#15 0x000759c0 in irc_parse_incoming (server=0x218808) at irc.c:388
#16 0x0009e538 in irssi_io_invoke (source=0x1d5120, condition=G_IO_IN, data=0x2bd6bc) at misc.c:56
#17 0xff127d84 in g_main_dispatch () from /usr/lib/
#18 0xff1290ec in g_main_context_dispatch () from /usr/lib/
#19 0xff1294fc in g_main_context_iterate () from /usr/lib/
#20 0xff1296f8 in g_main_context_iteration () from /usr/lib/
#21 0x00044964 in main (argc=1, argv=0xffbff3b4) at irssi.c:388

SunOS 5.9 sun4u sparc SUNW,Ultra-5_10
irssi 0.8.10 (20051211 1015)

This task does not depend on any other tasks.

Emanuele Giaquinta (ayin)
Monday, 10 December 2007, 11:20 GMT
Is it still reproducible with irssi-0.8.12 ?
Emanuele Giaquinta (ayin)
Monday, 12 May 2008, 16:54 GMT
This bug can happen with <= glib-2.2.1, because g_io_error_get_from_g_error assume err != NULL in those versions and irssi_ssl_{read,write} do not set the 'gerr' argument.