Project

General

Profile

Bug #1421

Crash when using colors

Added by Lurker69 about 8 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Quassel Client
Target version:
Start date:
09/24/2016
Due date:
% Done:

0%

Estimated time:
Version:
0.12.4
OS:
Windows

Description

I noticed that client sometimes crashes to desktop when I am trying to use colors.
Not that this is some feature I use a lot and it is caused by operator error, but I am reporting it anyways.

It works fine if I properly close color tag:
[\x03]20,15 some text[\x03]
or if you stack them like:
[\x03]20,15 some text[\x03]25,20 some other text[\x03]

But if I dont use closing tag as:
[\x03]20,15 some text
or
[\x03]20,15 some text[\x03]25,20 some other text
then client crashes. But only in some cases. I havent figured out what exactly triggers the crash yet. But message that causes crash always crashes and message that works vine works every time. After some more testing I noticed that some messages work on some IRC networks but crash on some other networks (in case last character is \x08).

When it crashes client becomes unresponsive after you type the text and press enter, colored message is printed in channel buffer, cursor blinks only one more time then it becomes unresponsive and closes itself after half minute. Colored texts is saved in SQL and visible in buffer after restart.

Here are wordpad and txt document (wordpad rtf format shows and allows to copy/paste \x03 and \x08) with exact quotes I used for testing if you want to reproduce the crashes.

http://www.mediafire.com/download/yo4t84i2csb26eo/quasselcolorcrashc.txt
http://www.mediafire.com/download/3a3raa4uzscba6o/quasselcolorcrashcUNICODE.txt
http://www.mediafire.com/download/heticz3oztxk8g9/quasselcolorcrashc.rtf

I dont have time to do more tests. I can do more tests on fresh profile in future if there will be any interest in this bug.

History

#1 Updated by Lurker69 about 8 years ago

I accidentally duplicated bug report while trying to edit post. Admin pls delete one.

#2 Updated by genius3000 almost 7 years ago

  • Status changed from New to Closed

Duplicate of #1422

Also available in: Atom PDF