[Konsole-devel] [Bug 279197] New: konsole crashes on non-printable characters

Robert Marmorstein robert at narnia.homeunix.com
Tue Aug 2 18:42:48 UTC 2011


https://bugs.kde.org/show_bug.cgi?id=279197

           Summary: konsole crashes on non-printable characters
           Product: konsole
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: Linux
            Status: NEW
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: konsole-devel at kde.org
        ReportedBy: robert at narnia.homeunix.com


Created an attachment (id=62481)
 --> (http://bugs.kde.org/attachment.cgi?id=62481)
Backtrace of the crash

Version:           unspecified (using Devel) 
OS:                Linux

If I cat a binary file or other file with non-printable characters while in a
konsole window, console crashes closing all my tabs.  If I run konsole in an
xterm, it gives the following output:

 Undecodable sequence: \001b(hex)\fffd(hex)
Undecodable sequence: \001b(hex)\fffd(hex)
Undecodable sequence: \001b(hex)\fffd(hex)
Undecodable sequence: \001b(hex)x
Undecodable sequence: \001b(hex)\fffd(hex)
Undecodable sequence: \001b(hex)x
Undecodable sequence: \001b(hex)"
Undecodable sequence: \001b(hex)\fffd(hex)
Undecodable sequence: \001b(hex)\fffd(hex)
Undecodable sequence: \001b(hex)\0020(hex)
Undecodable sequence: \001b(hex)\fffd(hex)
ASSERT failure in QVector<T>::operator[]: "index out of range", file
/usr/include/QtCore/qvector.h, line 347
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = konsole path = /usr/bin pid = 17025
KCrash: Arguments: /usr/bin/konsole --nocrashhandler 
KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi from kdeinit
sock_file=/home/robert/.kde/socket-hyaline/kdeinit4__0

I will attach a backtrace below.

Reproducible: Always

Steps to Reproduce:
Open konsole.  Create or download a file with some non-printable characters. 
Cat the file.  CRASH!

Actual Results:  
Konsole crashes.

Expected Results:  
Konsole displays the file, but does not crash.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the konsole-devel mailing list