Flyspray:: Flyspray:: Irssi core bugs: Recently closed tasks http://bugs.irssi.org/ 2014-01-10T20:31:34Z FS#910: Please fIx compilation with -Werror=format-security 2014-01-10T20:31:34Z 2013-12-06T10:12:23Z
This can be good for users using GCC with hardened CFLAGS and also it is good practice of "defensive coding". For more details see Fedora bug: https://bugzilla.redhat.com/show_bug.cgi?id=1037139
Jaroslav Škarvada http://bugs.irssi.org/:910
FS#875: Random Segfaults on FreeBSD 9.0-RELEASE and 9.1-RC1 2012-09-11T12:07:35Z 2012-08-28T15:01:56Z
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:

#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 0x0808cf52 in expand_emphasis ()
#13 0x080dabce in signal_stop ()
#14 0x080db1bf in signal_emit ()
#15 0x08075922 in fe_events_deinit ()
#16 0x080dabce in signal_stop ()
#17 0x080db1bf in signal_emit ()
#18 0x080a2513 in irc_irc_deinit ()
#19 0x080dabce in signal_stop ()
#20 0x080db113 in signal_emit_id ()
#21 0x080a21c3 in irc_irc_deinit ()
#22 0x080dabce in signal_stop ()
#23 0x080db113 in signal_emit_id ()
#24 0x080a23db in irc_irc_deinit ()
#25 0x080cce1e in mask_match ()
#26 0x2836cabd in g_io_channel_unix_get_fd () from /usr/local/lib/libglib-2.0.so.0
#27 0x28326247 in g_main_context_dispatch () from /usr/local/lib/libglib-2.0.so.0
#28 0x2832a2ce in g_main_context_prepare () from /usr/local/lib/libglib-2.0.so.0
#29 0x2832a8f5 in g_main_context_iteration () from /usr/local/lib/libglib-2.0.so.0
#30 0x0806e9a4 in main ()

Backtrace #2:

#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 0x080976d2 in printtext_string_window ()
#9 0x0809f550 in window_find_name ()
#10 0x0809f5d7 in window_find_name ()
#11 0x28300c46 in g_source_get_time () from /usr/local/lib/libglib-2.0.so.0
#12 0x28300247 in g_main_context_dispatch () from /usr/local/lib/libglib-2.0.so.0
#13 0x283042ce in g_main_context_prepare () from /usr/local/lib/libglib-2.0.so.0
#14 0x283048f5 in g_main_context_iteration () from /usr/local/lib/libglib-2.0.so.0
#15 0x0806e9a4 in main ()

At one point I also received a perl core dump along with the irssi core dump.

Perl Backtrace:

#0 0x28139d11 in Perl_sv_2mortal () from /usr/local/lib/perl5/5.14.2/mach/CORE/libperl.so
#1 0x2815dbba in Perl_leave_scope () from /usr/local/lib/perl5/5.14.2/mach/CORE/libperl.so
#2 0x2818b5d0 in S_regtry () from /usr/local/lib/perl5/5.14.2/mach/CORE/libperl.so
#3 0x28198aa2 in Perl_regexec_flags () from /usr/local/lib/perl5/5.14.2/mach/CORE/libperl.so
#4 0x28132c7f in Perl_pp_subst () from /usr/local/lib/perl5/5.14.2/mach/CORE/libperl.so
#5 0x2812eefb in Perl_runops_standard () from /usr/local/lib/perl5/5.14.2/mach/CORE/libperl.so
#6 0x280c7704 in perl_run () from /usr/local/lib/perl5/5.14.2/mach/CORE/libperl.so
#7 0x08048b11 in main ()
Ryan Frederick http://bugs.irssi.org/:875
FS#877: Frequent segmentation faults on FreeBSD 7 2012-09-06T15:19:56Z 2012-09-06T13:36:21Z
For the past month I've been experiencing segmentation fault crashes with irssi, and I've provided two backtraces on the cores:

#0 0x00000000004257ef in textbuffer_remove ()
#1 0x00000000004189db in gui_printtext_deinit ()
#2 0x0000000000487326 in signal_stop ()
#3 0x00000000004878b3 in signal_emit_id ()
#4 0x0000000000487326 in signal_stop ()
#5 0x00000000004878b3 in signal_emit_id ()
#6 0x000000000044b424 in printtext_init ()
#7 0x000000000044b72b in printformat_module_dest_charargs ()
#8 0x000000000044b7f7 in printformat_module_dest_args ()
#9 0x000000000044b95d in printformat_module_args ()
#10 0x000000000044b9fa in printformat_module ()
#11 0x00000000004425b7 in expand_emphasis ()
#12 0x0000000000487326 in signal_stop ()
#13 0x00000000004879ac in signal_emit ()
#14 0x000000000042ef68 in fe_events_deinit ()
#15 0x0000000000487326 in signal_stop ()
#16 0x00000000004879ac in signal_emit ()
#17 0x0000000000455612 in irc_irc_deinit ()
#18 0x0000000000487326 in signal_stop ()
#19 0x00000000004878b3 in signal_emit_id ()
#20 0x0000000000487326 in signal_stop ()
#21 0x00000000004878b3 in signal_emit_id ()
#22 0x00000000004554ed in irc_irc_deinit ()
#23 0x000000000047aafa in mask_match ()
#24 0x0000000800dc75c3 in g_main_context_dispatch ()
from /usr/local/lib/libglib-2.0.so.0
#25 0x0000000800dcb5e2 in g_main_context_prepare ()
from /usr/local/lib/libglib-2.0.so.0
#26 0x0000000800dcbbfb in g_main_context_iteration ()
from /usr/local/lib/libglib-2.0.so.0
#27 0x0000000000428ff3 in main ()


#0 0x00000000004257ef in textbuffer_remove ()
#1 0x00000000004189db in gui_printtext_deinit ()
#2 0x0000000000487326 in signal_stop ()
#3 0x00000000004878b3 in signal_emit ()
#4 0x0000000000487326 in signal_stop ()
#5 0x00000000004878b3 in signal_emit ()
#6 0x000000000044b424 in printformat_module_gui_args ()
#7 0x0000000000446362 in format_read_arglist ()
#8 0x00000000006dd000 in ?? ()
#9 0x00000000006c7590 in ?? ()
#10 0x00000000006c3751 in ?? ()
#11 0x0000000000000080 in ?? ()
#12 0x0000000000000000 in ?? ()
#13 0x0000000000000000 in ?? ()
#14 0x000000000047c81a in module_find_id ()
#15 0x00007fffffffde50 in ?? ()
#16 0x00007fffffffdd80 in ?? ()
#17 0x0000000800dba267 in g_hash_table_lookup_extended ()
from /usr/local/lib/libglib-2.0.so.0
#18 0x00000000004758c8 in chat_protocol_register ()
#19 0x00000000006ef440 in ?? ()
#20 0x00000000006ef440 in ?? ()
#21 0x00000000006caf30 in ?? ()
#22 0x00000000006df001 in ?? ()
#23 0x0000000000000000 in ?? ()
#24 0x00000000006df00f in ?? ()
#25 0x0000000800de5c9e in g_slist_prepend ()
from /usr/local/lib/libglib-2.0.so.0
#26 0x0000000000437e96 in completion_last_message_remove ()
#27 0x00000000006c3751 in ?? ()
#28 0x00000000006df001 in ?? ()
#29 0x0000000000487326 in signal_stop ()
#30 0x00000000004879ac in signal_add_full_id ()
#31 0x00000000006c3751 in ?? ()
#32 0x00000000006df001 in ?? ()
#33 0x00000000006df00f in ?? ()
#34 0x00007fffffffdf98 in ?? ()
#35 0x0000000000636990 in ?? ()
#36 0x0000000000001770 in ?? ()
#37 0x0000000800db941a in g_hash_table_foreach ()
from /usr/local/lib/libglib-2.0.so.0
#38 0x000000000047f05f in nicklist_get_same ()
#39 0x00000000006c3751 in ?? ()
#40 0x00000000006dd000 in ?? ()
#41 0x000000000042f2f0 in fe_events_init ()
#42 0x00000000006c3751 in ?? ()
#43 0x000000000069ba30 in ?? ()
#44 0x0000000000640b40 in ?? ()
#45 0x00000000006dd000 in ?? ()
#46 0x00000000006c8b0b in ?? ()
#47 0x00000000006df001 in ?? ()
#48 0x0000000000487326 in signal_stop ()
#49 0x00000000004879ac in signal_add_full_id ()
#50 0x00000000006c8b0b in ?? ()
#51 0x00000000006df001 in ?? ()
#52 0x00000000006df00f in ?? ()
#53 0x00007fffffffe1e8 in ?? ()
#54 0x0000000000000000 in ?? ()
#55 0x0000000000000005 in ?? ()
#56 0x00000000006c8b0b in ?? ()
#57 0x00000000006c8b00 in ?? ()
#58 0x00000000006dd000 in ?? ()
#59 0x0000000000000000 in ?? ()
#60 0x00000000006dd000 in ?? ()
#61 0x0000000000640ac0 in ?? ()
#62 0x00000000006c8b00 in ?? ()
#63 0x00000000006dd000 in ?? ()
#64 0x00000000006df001 in ?? ()
#65 0x00000000006df02b in ?? ()
#66 0x0000000000464318 in server_redirect_command ()
#67 0x00000000006c8b0b in ?? ()
#68 0x00000000006c8b00 in ?? ()
#69 0x0000000000455612 in irc_irc_init ()
#70 0x00000000006df00f in ?? ()
#71 0x00000000006c8b06 in ?? ()
#72 0x000000000067a310 in ?? ()
#73 0x0000000000640ac0 in ?? ()
#74 0x00000000006dd000 in ?? ()
#75 0x00000000006df02b in ?? ()
#76 0x00000000006df001 in ?? ()
#77 0x00000000006df00f in ?? ()
#78 0x0000000000487326 in signal_stop ()
#79 0x00000000004878b3 in signal_emit ()
#80 0x0000000000487326 in signal_stop ()
#81 0x00000000004878b3 in signal_emit ()
#82 0x00000000004554ed in irc_irc_deinit ()
#83 0x0000000800dc75c3 in g_main_context_dispatch ()
from /usr/local/lib/libglib-2.0.so.0
#84 0x0000000800dcb5e2 in g_main_context_prepare ()
from /usr/local/lib/libglib-2.0.so.0
#85 0x0000000800dcbbfb in g_main_context_iteration ()
from /usr/local/lib/libglib-2.0.so.0
#86 0x0000000000428ff3 in main ()


No scripts running (unless something is installed automatically from the default port), and all I've been doing is idling, really.
Patrik R http://bugs.irssi.org/:877
FS#836: irssi can crash if the term ysize is lowered during the irssi initialization 2012-06-24T14:34:24Z 2012-02-24T10:17:02Z
Irssi can crash if the term ysize is lowered during the irssi initialization. The proposed fix is attached. Original report:
http://bugzilla.redhat.com/show_bug.cgi?id=796457
Jaroslav Škarvada http://bugs.irssi.org/:836
FS#841: r5136 (Bazerka, "disable SSLv2") breaks TLS v1.1 servers 2012-06-24T10:57:19Z 2012-03-28T03:31:31Z
According to OpenSSL library documentation[1], calling SSL_CTX_set_options with SSL_OP_NO_SSLv2 is sufficient to disable SSLv2. ORing that value with SSL_OP_ALL turns on a whole host of workarounds. These workarounds actually degrade the security of OpenSSL. A side-effect is that it breaks modern TLSv1.1.

With SSL_OP_ALL | SSL_OP_NO_SSLv2, connecting to a TLS v1.1 server using FIPS algorithms results in "unknown protocol" (Attached: irssi-r5136.patch)

With SSL_OP_NO_SSLv2, connecting to a TLSv1.1 server is successful (Attached: irssi-r5136-revised.patch)

[1] OpenSSL Documentation, SSL_CTX_set_options: http://www.openssl.org/docs/ssl/SSL_CTX_set_options.html
pi-rho http://bugs.irssi.org/:841
FS#868: Improper grammar when there are no completions 2012-06-24T10:57:01Z 2012-05-23T07:15:51Z
When there are no completions and the user types "/COMPLETION", the resultant message suffers from a slight bout of poor grammar.

00:12 Irssi: There's no completions

The proper phrasing should be "There are no completions", or if the contraction is really desirable, "There're no completions". The former is a bit awkward to look at, unfortunately.
Matt Lewandowsky http://bugs.irssi.org/:868
FS#844: Segfaults on bad arguments to register_theme (XS) 2012-06-24T10:56:43Z 2012-04-16T18:45:50Z
When passing a reference that isn't an arrayref to register_theme in the Perl API,
the process segfaults. This is caused by insufficent validation of the passed
argument. The proposed patch verifies that "formats" is an array reference before
continuing.
Olof Johansson http://bugs.irssi.org/:844
FS#835: Command line option for config file 2012-02-22T11:10:24Z 2012-02-22T05:51:18Z
I have occasion to use two different config files for irssi, which is currently a bit of a pain to do (renaming the file I want each time, keeping track of which file is currently the actual config...)
It would be much simpler to be able to start irssi with a command line option allowing me to name the config file I want it to use for that session.

Thanks, MildBill
Bill Buehl http://bugs.irssi.org/:835
FS#830: /help log log_create_mode default should be 0600 2012-01-10T21:38:06Z 2012-01-08T22:52:38Z
It seems that logs are created with mode 0600 by default, at least on my Debian system. The documentation in docs/help/in/log.in should be updated to say "Default is 0600" instead of 0644.

This page says default is 0600: http://irssi.org/documentation/settings
Kenyon Ralph http://bugs.irssi.org/:830
FS#825: Support for server ALIAS-Multiple connections to same SERVER 2011-11-30T07:48:03Z 2011-11-30T07:24:58Z
When adding an IRC Bouncer as a server such as ZNC, with multiple connections with different chatnets, I get this error:
Disconnecting dupe IRC server

For instance, if I add 2 seperate /network entries "net1" and "net2" and add 2 /server entries on the same IP using each of the aforementioned networks, the server will disconnect from one of them.

REQUEST server aliasing for configuration file, EXAMPLE:


{
alias = "SOME_ALIAS"
address = "123.123.123.123";
chatnet = "net1";
port = "1234";
password = "name:pass";
use_ssl = "no";
ssl_verify = "no";
autoconnect = "yes";
},
Tim http://bugs.irssi.org/:825