Closed irssibot closed 11 years ago
The latest segafault (backtrace below) looks to have occurred when the screen_away.pl script was marking me as away after detachment of the GNU screen instance irssi was running in.
#0 0x0806acf9 in textbuffer_remove ()
#1 0x0805be4c in gui_printtext_deinit ()
#2 0x080dabce in signal_stop ()
#3 0x080db113 in signal_emit_id ()
#4 0x08096d5c in printtext_deinit ()
#5 0x080dabce in signal_stop ()
#6 0x080db113 in signal_emit_id ()
#7 0x08096ff0 in printtext_init ()
#8 0x0809725a in printformat_module_dest_charargs ()
#9 0x08097325 in printformat_module_dest_args ()
#10 0x0809742c in printformat_module_args ()
#11 0x08097477 in printformat_module ()
#12 0x08076cc1 in fe_events_numeric_deinit ()
#13 0x080dabce in signal_stop ()
#14 0x080db1bf in signal_emit ()
#15 0x080a2513 in irc_irc_deinit ()
#16 0x080dabce in signal_stop ()
#17 0x080db113 in signal_emit_id ()
#18 0x080a21c3 in irc_irc_deinit ()
#19 0x080dabce in signal_stop ()
#20 0x080db113 in signal_emit_id ()
#21 0x080a23db in irc_irc_deinit ()
#22 0x080cce1e in mask_match ()
#23 0x28346abd in g_io_channel_unix_get_fd () from /usr/local/lib/libglib-2.0.so.0
#24 0x28300247 in g_main_context_dispatch () from /usr/local/lib/libglib-2.0.so.0
#25 0x283042ce in g_main_context_prepare () from /usr/local/lib/libglib-2.0.so.0
#26 0x283048f5 in g_main_context_iteration () from /usr/local/lib/libglib-2.0.so.0
#27 0x0806e9a4 in main ()
Can you please provide a list of your loaded scripts?
TIA.
Also, are you using irssi from ports? If so, what version? ( pkg_info | grep irssi )
If you're using 0.8.15_4 from ports, can you please try deleting /usr/ports/irc/irssi/files/patch-irssi-utf8 and re-build/re-install the port and see if that alleviates the segfaulting for you?
[Edit: portversion typo]
Yes, I'm running irssi from ports, version 0.8.15_4. The scripts I normally have loaded are autorejoin.pl, cron.pl, nickcolor.pl, and screen_away.pl.
I've recompiled the port without the utf8 patch and will see if it has any effect.
I've run both 0.8.15_4 without the utf8 patch and 0.8.15_5 (in which the utf8 patch was removed) for a week now without any segfaults.
That's good news, thanks for checking.
Hi Ryan, What encoding do you use?
I'm currently using UTF-8 as my encoding.
Hi Ryan, Could you help try this http://kcwu.csie.org/~kcwu/tmp/diff-irssi-utf8-2.txt ?
I've rebuilt irssi with the patch. I'll give it a week or so to see if any segfaults arise.
I finally had a chance to run irssi for an extended period of time with the patch, and I have yet to experience any segfaults after around 11 days of uptime.
Problem was caused by a downstream patch.
Irssi 0.8.15 built from FreeBSD Ports segfaults at random times on both FreeBSD 9.0-RELEASE and 9.1-RC1 (arch is i386). The backtrace for each segfault is somewhat similar.
Backtrace #1:
Backtrace #2:
At one point I also received a perl core dump along with the irssi core dump.
Perl Backtrace: