Bug 244138 - Konsole crash when selecting Terminus font [Konsole::TerminalDisplay::setVTFont, Konsole::ViewManager::applyProfile, Konsole::ViewManager::profileChanged]
Summary: Konsole crash when selecting Terminus font [Konsole::TerminalDisplay::setVTFo...
Status: RESOLVED REMIND
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Mandriva RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
: 244541 244838 245059 245856 248782 251041 254444 255883 255929 256766 257925 257930 262804 265195 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-07-10 16:53 UTC by gambas
Modified: 2013-11-26 13:28 UTC (History)
23 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (8.41 KB, text/plain)
2010-07-20 17:55 UTC, Marcin Starzyk
Details
New crash information added by DrKonqi (12.99 KB, text/plain)
2010-07-29 19:22 UTC, Viktor Erdélyi
Details
New crash information added by DrKonqi (8.08 KB, text/plain)
2010-09-28 12:56 UTC, Philipp
Details
New crash information added by DrKonqi (8.77 KB, text/plain)
2010-10-06 10:13 UTC, kmmos1
Details
New crash information added by DrKonqi (8.52 KB, text/plain)
2010-10-25 11:16 UTC, John Mburu
Details
New crash information added by DrKonqi (3.39 KB, text/plain)
2010-11-21 12:21 UTC, vasilisc
Details

Note You need to log in before you can comment on or make changes to this bug.
Description gambas 2010-07-10 16:53:06 UTC
Version:           unspecified (using KDE 4.4.3) 
OS:                Linux

When selecting the Terminus font (a bitmap font) in the current profile, Konsole crashes.

Reproducible: Always

Steps to Reproduce:
Open konsole.
Opens the contextual menu, and choose "modify current profile".
Switch to Terminus font.
Konsole crashes.
Comment 1 gambas 2010-07-10 17:03:17 UTC
Apparently Konsole crashes when using any any bitmap font.
Comment 2 gambas 2010-07-12 15:36:00 UTC
konsole crashes when using a bitmap font, but not with all sizes!

For example, using Terminus with size 12 work. Any other size crashes.

The crash occurs in /kdebase/apps/konsole/src/TerminalDisplay.cpp at line 248.

I noticed too that the font size is not exactly the same as in any other KDE applications for the same value. I mean: Font size = 9 in Konsole does not display the same thing as Font size = 9 in other KDE applications.
Comment 3 gambas 2010-07-12 15:36:57 UTC
Here is the Konsole backtrace:

Application: Konsole (kdeinit4), signal: Segmentation fault
[Current thread is 1 (Thread 0x7fe69fbac720 (LWP 9243))]

Thread 2 (Thread 0x7fe68d66b710 (LWP 9245)):
#0  0x00007fe69cbf4cf3 in select () from /lib64/libc.so.6
#1  0x00007fe69e17c7ed in ?? () from /usr/lib64/libQtCore.so.4
#2  0x00007fe69e0ab715 in ?? () from /usr/lib64/libQtCore.so.4
#3  0x00007fe69de22a5d in start_thread () from /lib64/libpthread.so.0
#4  0x00007fe69cbfc15d in clone () from /lib64/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fe69fbac720 (LWP 9243)):
[KCrash Handler]
#5  Konsole::TerminalDisplay::setVTFont (this=0x2332b60, f=<value optimized out>) at /usr/src/debug/kdebase-4.4.3/apps/konsole/src/TerminalDisplay.cpp:248
#6  0x00007fe69009aca5 in Konsole::ViewManager::applyProfile (this=<value optimized out>, view=0x2332b60, info=) at /usr/src/debug/kdebase-4.4.3/apps/konsole/src/ViewManager.cpp:809
#7  0x00007fe69009beb9 in Konsole::ViewManager::profileChanged (this=0x218d950, profile=) at /usr/src/debug/kdebase-4.4.3/apps/konsole/src/ViewManager.cpp:876
#8  0x00007fe69009ddbb in Konsole::ViewManager::qt_metacall (this=0x218d950, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffff215d30)
    at /usr/src/debug/kdebase-4.4.3/build/apps/konsole/src/ViewManager.moc:181
#9  0x00007fe69e1b2b5f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4
#10 0x00007fe69007a475 in Konsole::SessionManager::profileChanged (this=0x2663970, _t1=<value optimized out>) at /usr/src/debug/kdebase-4.4.3/build/apps/konsole/src/SessionManager.moc:123
#11 0x00007fe69008155b in Konsole::SessionManager::changeProfile (this=<value optimized out>, info=) at /usr/src/debug/kdebase-4.4.3/apps/konsole/src/SessionManager.cpp:432
#12 0x00007fe69002c96f in Konsole::EditProfileDialog::preview (this=0x24fd6a0, property=12, value=<value optimized out>) at /usr/src/debug/kdebase-4.4.3/apps/konsole/src/EditProfileDialog.cpp:673
#13 0x00007fe69002cd1e in Konsole::EditProfileDialog::setFontSize (this=0x24fd6a0, pointSize=<value optimized out>) at /usr/src/debug/kdebase-4.4.3/apps/konsole/src/EditProfileDialog.cpp:1116
#14 0x00007fe69003367c in Konsole::EditProfileDialog::qt_metacall (this=0x24fd6a0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffff2160f0)
    at /usr/src/debug/kdebase-4.4.3/build/apps/konsole/src/EditProfileDialog.moc:179
#15 0x00007fe69e1b2b5f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4
#16 0x00007fe69d9ded0e in QAbstractSlider::valueChanged(int) () from /usr/lib64/libQtGui.so.4
#17 0x00007fe6900308c0 in Konsole::EditProfileDialog::fontSelected (this=0x24fd6a0, font=...) at /usr/src/debug/kdebase-4.4.3/apps/konsole/src/EditProfileDialog.cpp:1079
#18 0x00007fe690033736 in Konsole::EditProfileDialog::qt_metacall (this=0x24fd6a0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffff2162c0)
    at /usr/src/debug/kdebase-4.4.3/build/apps/konsole/src/EditProfileDialog.moc:187
#19 0x00007fe69e1b2b5f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4
#20 0x00007fe69e68bd92 in KFontDialog::fontSelected (this=0x2663970, _t1=<value optimized out>) at /usr/src/debug/kdelibs-4.4.3/build/kdeui/kfontdialog.moc:84
#21 0x00007fe69e68bddd in KFontDialog::qt_metacall (this=0x2542d80, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffff2163f0)
    at /usr/src/debug/kdelibs-4.4.3/build/kdeui/kfontdialog.moc:72
#22 0x00007fe69e1b2b5f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4
#23 0x00007fe69e6806f2 in KFontChooser::fontSelected (this=0x2663970, _t1=<value optimized out>) at /usr/src/debug/kdelibs-4.4.3/build/kdeui/kfontchooser.moc:136
#24 0x00007fe69e681df3 in KFontChooser::Private::_k_size_chosen_slot (this=0x25f6690, size=...) at /usr/src/debug/kdelibs-4.4.3/kdeui/fonts/kfontchooser.cpp:729
#25 0x00007fe69e6894de in KFontChooser::qt_metacall (this=0x24da900, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffff2165b0)
    at /usr/src/debug/kdelibs-4.4.3/build/kdeui/kfontchooser.moc:93
#26 0x00007fe69e1b2b5f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4
#27 0x00007fe69d8cf5d5 in QListWidget::currentTextChanged(QString const&) () from /usr/lib64/libQtGui.so.4
#28 0x00007fe69d8d0dee in ?? () from /usr/lib64/libQtGui.so.4
#29 0x00007fe69d8d4a5d in QListWidget::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libQtGui.so.4
#30 0x00007fe69e6a7cd0 in KListWidget::qt_metacall (this=0x2663970, _c=50, _id=0, _a=0x1) at /usr/src/debug/kdelibs-4.4.3/build/kdeui/klistwidget.moc:80
#31 0x00007fe69e1b2b5f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4
#32 0x00007fe69d8bc1aa in QItemSelectionModel::currentChanged(QModelIndex const&, QModelIndex const&) () from /usr/lib64/libQtGui.so.4
#33 0x00007fe69d8bc2f2 in QItemSelectionModel::setCurrentIndex(QModelIndex const&, QFlags<QItemSelectionModel::SelectionFlag>) () from /usr/lib64/libQtGui.so.4
#34 0x00007fe69d86b534 in QAbstractItemView::mousePressEvent(QMouseEvent*) () from /usr/lib64/libQtGui.so.4
#35 0x00007fe69d39bb79 in QWidget::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#36 0x00007fe69d740d76 in QFrame::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#37 0x00007fe69d8702fb in QAbstractItemView::viewportEvent(QEvent*) () from /usr/lib64/libQtGui.so.4
#38 0x00007fe69e19f177 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#39 0x00007fe69d34579c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#40 0x00007fe69d34c5ab in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#41 0x00007fe69e6d1e46 in KApplication::notify (this=0x7fffff219b60, receiver=0x25f2110, event=0x7fffff2176d0) at /usr/src/debug/kdelibs-4.4.3/kdeui/kernel/kapplication.cpp:302
#42 0x00007fe69e19fd5c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#43 0x00007fe69d34b77e in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib64/libQtGui.so.4
#44 0x00007fe69d3cb1f5 in ?? () from /usr/lib64/libQtGui.so.4
#45 0x00007fe69d3c9f0a in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib64/libQtGui.so.4
#46 0x00007fe69d3f49a2 in ?? () from /usr/lib64/libQtGui.so.4
#47 0x00007fe6997dfd20 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#48 0x00007fe6997e3b88 in ?? () from /usr/lib64/libglib-2.0.so.0
#49 0x00007fe6997e3d3c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#50 0x00007fe69e1c9243 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#51 0x00007fe69d3f458e in ?? () from /usr/lib64/libQtGui.so.4
#52 0x00007fe69e19e682 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#53 0x00007fe69e19ea5c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#54 0x00007fe69d80dafe in QDialog::exec() () from /usr/lib64/libQtGui.so.4
#55 0x00007fe690030b50 in Konsole::EditProfileDialog::showFontDialog (this=0x24fd6a0) at /usr/src/debug/kdebase-4.4.3/apps/konsole/src/EditProfileDialog.cpp:1105
#56 0x00007fe6900336ae in Konsole::EditProfileDialog::qt_metacall (this=0x24fd6a0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffff218510)
    at /usr/src/debug/kdebase-4.4.3/build/apps/konsole/src/EditProfileDialog.moc:181
#57 0x00007fe69e1b2b5f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4
#58 0x00007fe69d9de722 in QAbstractButton::clicked(bool) () from /usr/lib64/libQtGui.so.4
#59 0x00007fe69d6f90fb in ?? () from /usr/lib64/libQtGui.so.4
#60 0x00007fe69d6f9fbb in ?? () from /usr/lib64/libQtGui.so.4
#61 0x00007fe69d6fa22c in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib64/libQtGui.so.4
#62 0x00007fe69d39bb92 in QWidget::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#63 0x00007fe69d3457cc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#64 0x00007fe69d34c5ab in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#65 0x00007fe69e6d1e46 in KApplication::notify (this=0x7fffff219b60, receiver=0x2532f10, event=0x7fffff218e60) at /usr/src/debug/kdelibs-4.4.3/kdeui/kernel/kapplication.cpp:302
#66 0x00007fe69e19fd5c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#67 0x00007fe69d34b77e in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib64/libQtGui.so.4
#68 0x00007fe69d3cb1f5 in ?? () from /usr/lib64/libQtGui.so.4
#69 0x00007fe69d3c9f0a in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib64/libQtGui.so.4
#70 0x00007fe69d3f49a2 in ?? () from /usr/lib64/libQtGui.so.4
#71 0x00007fe6997dfd20 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#72 0x00007fe6997e3b88 in ?? () from /usr/lib64/libglib-2.0.so.0
#73 0x00007fe6997e3d3c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#74 0x00007fe69e1c9243 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#75 0x00007fe69d3f458e in ?? () from /usr/lib64/libQtGui.so.4
#76 0x00007fe69e19e682 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#77 0x00007fe69e19ea5c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#78 0x00007fe69e1a279b in QCoreApplication::exec() () from /usr/lib64/libQtCore.so.4
#79 0x00007fe690306436 in kdemain (argc=<value optimized out>, argv=<value optimized out>) at /usr/src/debug/kdebase-4.4.3/apps/konsole/src/main.cpp:77
#80 0x0000000000406b08 in launch (argc=2, _name=<value optimized out>, args=<value optimized out>, cwd=<value optimized out>, envc=16, envs=<value optimized out>, reset_env=false, tty=0x0, 
    avoid_loops=false, startup_id_str=0x1d23257 "localhost.localdomain;1278893079;833863;13420_TIME37526908") at /usr/src/debug/kdelibs-4.4.3/kinit/kinit.cpp:717
#81 0x00000000004077c0 in handle_launcher_request (sock=8, who=<value optimized out>) at /usr/src/debug/kdelibs-4.4.3/kinit/kinit.cpp:1209
#82 0x0000000000407d4f in handle_requests (waitForPid=0) at /usr/src/debug/kdelibs-4.4.3/kinit/kinit.cpp:1402
#83 0x0000000000408972 in main (argc=4, argv=<value optimized out>, envp=<value optimized out>) at /usr/src/debug/kdelibs-4.4.3/kinit/kinit.cpp:1845
Comment 4 Christoph Feck 2010-07-13 23:59:31 UTC
*** Bug 244541 has been marked as a duplicate of this bug. ***
Comment 5 Marcin Starzyk 2010-07-20 17:55:16 UTC
Created attachment 49343 [details]
New crash information added by DrKonqi

Konsole crashes when changing font in configuration windows.
Comment 6 Jonathan Thomas 2010-07-27 20:41:40 UTC
*** Bug 245856 has been marked as a duplicate of this bug. ***
Comment 7 Jonathan Thomas 2010-07-27 20:44:04 UTC
*** Bug 245059 has been marked as a duplicate of this bug. ***
Comment 8 Jonathan Thomas 2010-07-27 20:44:39 UTC
*** Bug 244838 has been marked as a duplicate of this bug. ***
Comment 9 Viktor Erdélyi 2010-07-29 19:22:41 UTC
Created attachment 49649 [details]
New crash information added by DrKonqi

Selecting fonts in Konsole is very slow in general, I would almost say it freezes for some time, and now it crashed as well (see backtrace).
Comment 10 Nicolas L. 2010-08-23 12:00:44 UTC
*** Bug 248782 has been marked as a duplicate of this bug. ***
Comment 11 Christoph Feck 2010-09-13 11:23:37 UTC
*** Bug 251041 has been marked as a duplicate of this bug. ***
Comment 12 Philipp 2010-09-28 12:56:24 UTC
Created attachment 52042 [details]
New crash information added by DrKonqi

Crash happens at selecting fonts. It depends on the nature of a font, TrueType fonts load normally, but .pcf ones always crash Konsole
Comment 13 kmmos1 2010-10-06 10:13:32 UTC
Created attachment 52261 [details]
New crash information added by DrKonqi

The reason for attaching this additional information is to indicate that the Terminus font itself may not be the cause of the crash. Konsole crashed and disappeared while the font selection dialog was open and successive fonts had been selected for inspection prior to selection. Merely clicking on a different font name, without clicking an OK button to accept the choice, was sufficient to crash Konsole.
Comment 14 Pino Toscano 2010-10-17 12:34:13 UTC
*** Bug 254444 has been marked as a duplicate of this bug. ***
Comment 15 Kurt Hindenburg 2010-10-17 22:00:12 UTC
I notice all these seem to be on KDE 4.4.x systems.  All the systems  I have are on 4.5.x and trunk and I can't reproduce no matter what I do.
Comment 16 John Mburu 2010-10-25 11:16:42 UTC
Created attachment 52849 [details]
New crash information added by DrKonqi

Crash occured when changing fonts in konsole.
The crash occurs randomly when scrolling through the fonts available under the profile settings page.
Comment 17 Pino Toscano 2010-11-02 17:42:47 UTC
*** Bug 255883 has been marked as a duplicate of this bug. ***
Comment 18 Christoph Feck 2010-11-03 03:49:29 UTC
*** Bug 255929 has been marked as a duplicate of this bug. ***
Comment 19 Funda Wang 2010-11-08 11:32:13 UTC
If all of you are using Mandriva rpms, maybe there are some problems in Mandriva specific patches, I think. i.e, the patch made for solve bug#215937
Comment 20 Thorsteinn A. Malmjursson 2010-11-08 16:30:58 UTC
Surely with the number of reports here, it's kinda time to move this to Confirmed status... Also, since this as Funda suggests, may be a problem with Mandriva's packages, I'll pass this on to the QA team at Mandriva and see if someone there could check our RPMs over.
Comment 21 Thorsteinn A. Malmjursson 2010-11-08 20:57:18 UTC
Please ignore my last comment, I checked mandriva's bugzilla and it's already on there @ bug 61557. Guess I need to keep up, huh? :)
Comment 22 Pino Toscano 2010-11-13 13:58:18 UTC
*** Bug 256766 has been marked as a duplicate of this bug. ***
Comment 23 vasilisc 2010-11-21 12:21:36 UTC
Created attachment 53603 [details]
New crash information added by DrKonqi

konsole (2.5) on KDE Platform 4.5.1 (KDE 4.5.1) using Qt 4.7.0

console crash while i close tab

-- Backtrace (Reduced):
#7  0x00007f030bb86548 in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fff9ad1dea0) at kernel/qapplication_x11.cpp:3316
#8  0x00007f030bbb30e2 in x11EventSourceDispatch (s=0x191b980, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
[...]
[...]
[...]
#12 0x00007f030c7c5193 in QEventDispatcherGlib::processEvents (this=0x18f12d0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#13 0x00007f030bbb2a4e in QGuiEventDispatcherGlib::processEvents (this=0x1fc7930, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#14 0x00007f030c797a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
Comment 24 Christoph Feck 2010-11-26 12:39:57 UTC
*** Bug 257930 has been marked as a duplicate of this bug. ***
Comment 25 Pino Toscano 2010-11-27 10:50:46 UTC
*** Bug 257925 has been marked as a duplicate of this bug. ***
Comment 26 Pino Toscano 2011-01-11 00:22:02 UTC
*** Bug 262804 has been marked as a duplicate of this bug. ***
Comment 27 Christoph Feck 2011-02-02 22:42:06 UTC
*** Bug 265195 has been marked as a duplicate of this bug. ***
Comment 28 Jekyll Wu 2011-08-04 12:02:45 UTC
can't reproduce this in KDE-4.7.0