Bug 279197 - konsole crashes on non-printable characters
Summary: konsole crashes on non-printable characters
Status: RESOLVED DUPLICATE of bug 184964
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-02 18:42 UTC by Robert Marmorstein
Modified: 2011-09-19 03:10 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Backtrace of the crash (6.62 KB, application/octet-stream)
2011-08-02 18:42 UTC, Robert Marmorstein
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Marmorstein 2011-08-02 18:42:48 UTC
Created attachment 62481 [details]
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.
Comment 1 Jekyll Wu 2011-09-19 03:10:12 UTC

*** This bug has been marked as a duplicate of bug 184964 ***