Irssi core bugs

Notice: Undefined index: tasklist_type in /var/www/bugs.irssi.org/includes/class.tpl.php(128) : eval()'d code on line 85 Notice: Undefined index: tasklist_type in /var/www/bugs.irssi.org/includes/class.tpl.php(128) : eval()'d code on line 90
  • Status New
  • Percent Complete
    0%
  • Task Type Bug Report
  • Category core
  • Assigned To No-one
  • Operating System Linux
  • Severity Very Low
  • Priority Normal
  • Reported Version Irssi 0.8.9
  • Due in Version Undecided
  • Due Date Undecided
  • Votes 0
  • Private No
Attached to Project: Irssi core bugs
Opened by Mikko Alfthan (Arkil) - 2004-09-17
Last edited by Wouter Coekaerts (coekie) - 2004-10-06

FS#124 - Assertion failure in query window when cmdchars is set to a comma, typing ",wii <tab>"

/set cmdchars ,
/query <somenick>
In query window:
,wii <tab>

Result...

(process:6906): GLib-CRITICAL **: file gstring.c: line 673 (g_string_erase): assertion `pos <= string->len' failed

(process:6906): GLib-CRITICAL **: file gstring.c: line 604 (g_string_insert): assertion `pos <= string->len' failed

(process:6906): GLib-CRITICAL **: file gstring.c: line 621 (g_string_insert_c): Act: 1:S `pos <= string->len' failed

...is printed on the query window. Probably only the comma character causes this; we tested also '-' and '.'

This doesn't crash irssi, and who on earth would want a comma as a cmdchar, but however small, it's a bug.

This task does not depend on any other tasks.

Wouter Coekaerts (coekie)
Wednesday, 06 October 2004, 12:37 GMT
you can get the same problem with '/' as cmdchar too: in a query do:
, a<left><tab>
I think it's a bug in word_complete in completion.c, how it calculates wordstart & startpos, and uses isseparator (',' is a separator)

Loading...