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 Waiting on Customer
  • Percent Complete
  • Task Type Bug Report
  • Category core
  • Assigned To No-one
  • Operating System Mac OS
  • Severity Medium
  • Priority Normal
  • Reported Version irssi 0.8.15
  • Due in Version Undecided
  • Due Date Undecided
  • Votes 0
  • Private No
Attached to Project: Irssi core bugs
Opened by Christian BELIN (Dari) - 2010-12-11
Last edited by Jase Thew (bazerka) - 2010-12-11

FS#779 - irssi crashes after modem reboot

On each reboot of the modem (Livebox from Orange - France), irssi has a non-negligible chance to crash.
A full bug report provided by apple tools is provided.

This task does not depend on any other tasks.

Jase Thew (bazerka)
Saturday, 11 December 2010, 11:55 GMT

Can you please reproduce this to obtain a coredump and then produce a gdb backtrace from that (as detailed here )?

Christian BELIN (Dari)
Saturday, 11 December 2010, 13:12 GMT

I thought OSX didn't handle core dumps but I was wrong.
I set the core size to unlimited and know wait for next crash.
Jilles Tjoelker (jilles)
Tuesday, 14 December 2010, 20:12 GMT
The "crash" file has some sort of backtrace and the attached patch might fix the problem (although I cannot reproduce it myself).
Jase Thew (bazerka)
Wednesday, 15 December 2010, 02:26 GMT
It has a very rudimentary backtrace which is why I asked for a gdb backtrace. With regards to your patch, that specific issue is fixed in r5170.
Christian BELIN (Dari)
Monday, 03 January 2011, 21:54 GMT
(gdb) bt
#0 0x0000000100075c43 in irssi_ssl_read ()
#1 0x0000000100263dfd in g_io_channel_read_chars ()
#2 0x0000000100074521 in net_receive ()
#3 0x0000000100073fce in net_sendbuffer_receive_line ()
#4 0x000000010004a5de in irc_parse_incoming ()
#5 0x000000010007014a in irssi_io_invoke ()
#6 0x000000010026c8f9 in g_main_context_dispatch ()
#7 0x000000010026ff91 in g_main_context_iterate ()
#8 0x0000000100270483 in g_main_context_iteration ()
#9 0x000000010001568c in main ()

My core dump is 277MB, I suppose you do not want it. And I also suppose it contains personal stuff so I think I do not really want you to have it. Unless necessary and not public.
Jase Thew (bazerka)
Monday, 03 January 2011, 22:59 GMT
Thanks for the bt. It doesn't provide anything more than the original crashinfo unfortunately (I was expecting files and line numbers, but the symbols are only available in a debug build).

I'm pretty sure this segfault was fixed subsequent to 0.8.15 being released, in commit r5170.

Are you able to build/install the latest nightly release to test?
Christian BELIN (Dari)
Monday, 03 January 2011, 23:07 GMT
Fact is: I am using MacPorts to install and manage my non-OS-based stuff. Thus, as long as MacPorts do not update, I cannot make a fast update.
I will need to compile it from source, but I'm afraid I will have to get the compile options and stuff to have a MacPort-like version, and I did not do that before. That is going to take longer than before.

I will send updates here, but do not expect it tomorrow :)

Thanks for help anyway.
Christian BELIN (Dari)
Friday, 07 January 2011, 19:57 GMT
I can't get it to compile under OS X "as is" from SVN.
I just ./ --without-socks --without-bot --with-proxy --with-modules --enable-ipv6 --enable-ssl --with-perl=no --prefix=/tmp
These are the options from the corresponding portfile which describes how is MacPorts' irssi created.

The just crashed during the configure step with the following error:
[snip snip]
checking for off_t... yes
checking size of off_t... 8
./configure: line 14937: syntax error near unexpected token `0.7'
./configure: line 14937: ` PKG_PROG_PKG_CONFIG(0.7)'

If I have time I'm going to dig into this. Or someone helps me :p