Bug 67015 - konsole crashes when it tries to display utf8 chars
Summary: konsole crashes when it tries to display utf8 chars
Status: RESOLVED DUPLICATE of bug 65537
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Slackware Linux
: NOR crash
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
: 69891 69901 72266 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-11-01 21:09 UTC by Guillaume Duc
Modified: 2008-05-06 16:36 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Guillaume Duc 2003-11-01 21:09:42 UTC
Version:            (using KDE KDE 3.1.4)
Installed from:    Slackware Packages
Compiler:          gcc version 3.2.3 
OS:          Linux

Konsole crashes with SIGSEGV while displaying UTF8 chars. My locale configuration is fr_FR and the default encoding is latin1.

System:
- KDE 3.1.4
- Slackware 9.1

How to reproduce:
- Put some special chars like é or à in a file test.latin1
- Run iconv -t UTF8 -o test.utf8
- Type cat test.utf8

Calling stack:

(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...[New Thread 16384 (LWP 8078)]

0x40f555c9 in waitpid () from /lib/libpthread.so.0
#0  0x40f555c9 in waitpid () from /lib/libpthread.so.0
#1  0x4063f9ed in KCrash::defaultCrashHandler(int) ()
   from /opt/kde/lib/libkdecore.so.4
#2  0x40f53c45 in __pthread_sighandler () from /lib/libpthread.so.0
#3  <signal handler called>
#4  0x406d59f4 in KCompTreeNode::alloc () from /opt/kde/lib/libkdecore.so.4
#5  0x4095411e in QFontEngineLatinXLFD::draw(QPainter*, int, int, QTextEngine const*, QScriptItem const*, int) () from /usr/lib/qt/lib/libqt-mt.so.3
#6  0x409458c5 in QPainter::drawTextItem(int, int, QTextItem const&, int) ()
   from /usr/lib/qt/lib/libqt-mt.so.3
#7  0x409455e5 in QPainter::drawText(int, int, QString const&, int, int, QPainter::TextDirection) () from /usr/lib/qt/lib/libqt-mt.so.3
#8  0x4094520a in QPainter::drawText(int, int, QString const&, int, QPainter::TextDirection) () from /usr/lib/qt/lib/libqt-mt.so.3
#9  0x4143d172 in TEWidget::drawAttrStr(QPainter&, QRect, QString&, ca const*, bool, bool) () from /opt/kde/lib/konsole.so
#10 0x4143e05e in TEWidget::setImage(ca const*, int, int) ()
   from /opt/kde/lib/konsole.so
#11 0x4144cda9 in TEmulation::showBulk() () from /opt/kde/lib/konsole.so
#12 0x4144b626 in TEmulation::qt_invoke(int, QUObject*) ()
   from /opt/kde/lib/konsole.so
#13 0x41444894 in TEmuVt102::qt_invoke(int, QUObject*) ()
   from /opt/kde/lib/konsole.so
#14 0x409dbe50 in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /usr/lib/qt/lib/libqt-mt.so.3
#15 0x409dbc84 in QObject::activate_signal(int) ()
   from /usr/lib/qt/lib/libqt-mt.so.3
#16 0x40cf5a3b in QTimer::timeout() () from /usr/lib/qt/lib/libqt-mt.so.3
#17 0x409fd242 in QTimer::event(QEvent*) () from /usr/lib/qt/lib/libqt-mt.so.3
#18 0x40981035 in QApplication::internalNotify(QObject*, QEvent*) ()
   from /usr/lib/qt/lib/libqt-mt.so.3
#19 0x409806eb in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/qt/lib/libqt-mt.so.3
#20 0x405c2c89 in KApplication::notify(QObject*, QEvent*) ()
   from /opt/kde/lib/libkdecore.so.4
#21 0x40970a6b in QEventLoop::activateTimers() ()
   from /usr/lib/qt/lib/libqt-mt.so.3
#22 0x4092ebb4 in QEventLoop::processEvents(unsigned) ()
   from /usr/lib/qt/lib/libqt-mt.so.3
#23 0x40994276 in QEventLoop::enterLoop() () from /usr/lib/qt/lib/libqt-mt.so.3
#24 0x40994118 in QEventLoop::exec() () from /usr/lib/qt/lib/libqt-mt.so.3
#25 0x40981281 in QApplication::exec() () from /usr/lib/qt/lib/libqt-mt.so.3
#26 0x41417cf2 in main () from /opt/kde/lib/konsole.so
#27 0x0804cbe1 in strcpy ()
#28 0x0804da09 in strcpy ()
#29 0x0804de8c in strcpy ()
#30 0x0804ec3a in strcpy ()
#31 0x410a3d06 in __libc_start_main () from /lib/libc.so.6
Comment 1 Stephan Kulow 2003-11-01 22:08:07 UTC

*** This bug has been marked as a duplicate of 65537 ***
Comment 2 Stephan Kulow 2003-12-09 13:48:11 UTC
*** Bug 69891 has been marked as a duplicate of this bug. ***
Comment 3 Stephan Kulow 2003-12-09 14:03:40 UTC
*** Bug 69901 has been marked as a duplicate of this bug. ***
Comment 4 Stephan Kulow 2004-01-09 21:10:04 UTC
*** Bug 72266 has been marked as a duplicate of this bug. ***