Bug 191304 - System settings Font Installer Crash
Summary: System settings Font Installer Crash
Status: RESOLVED FIXED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_fontinst (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Craig Drummond
URL:
Keywords:
: 200149 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-05-02 01:25 UTC by Darryl
Modified: 2011-06-28 18:24 UTC (History)
3 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 Darryl 2009-05-02 01:25:14 UTC
Version:            (using KDE 4.2.2)
OS:                Linux
Installed from:    Ubuntu Packages

I was installing a new font, and then it crashed. Here is the backtrace;

Application: System Settings (systemsettings), signal SIGSEGV
[Current thread is 0 (LWP 4024)]

Thread 2 (Thread 0xb3fe8b90 (LWP 4028)):
#0  0xb7f16430 in __kernel_vsyscall ()
#1  0xb66a77b1 in select () from /lib/tls/i686/cmov/libc.so.6
#2  0xb73c0380 in QProcessManager::run (this=0x8e9e750) at io/qprocess_unix.cpp:305
#3  0xb72ee96e in QThreadPrivate::start (arg=0x8e9e750) at thread/qthread_unix.cpp:189
#4  0xb62f94ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#5  0xb66af49e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb5ebe700 (LWP 4024)):
[KCrash Handler]
#6  QSortFilterProxyModel::parent (this=0x92a5b58, child=@0x96145b8) at ../../include/QtCore/../../src/corelib/kernel/qabstractitemmodel.h:65
#7  0xb6f4b938 in QTreeView::indexRowSizeHint (this=0x92a23f0, index=@0x96145b8) at ../../include/QtCore/../../src/corelib/kernel/qabstractitemmodel.h:369
#8  0xb6f4c072 in QTreeViewPrivate::itemHeight (this=0x929fb88, item=0) at itemviews/qtreeview.cpp:3168
#9  0xb6f5173a in QTreeView::verticalOffset (this=0x92a23f0) at itemviews/qtreeview.cpp:2019
#10 0xb6f173a0 in QAbstractItemViewPrivate::contentsOffset (this=0x929fb88) at ../../include/QtGui/private/../../../src/gui/itemviews/qabstractitemview_p.h:273
#11 0xb69f2ada in QWidgetPrivate::drawWidget (this=0x929ffa0, pdev=0x8ef5c24, rgn=@0xbfb31970, offset=@0xbfb31940, flags=68, sharedPainter=0x0, backingStore=0x8ef5ac0) at kernel/qwidget.cpp:5019
#12 0xb6baf055 in QWidgetBackingStore::sync (this=0x8ef5ac0) at painting/qbackingstore.cpp:1258
#13 0xb69e2c46 in QWidgetPrivate::syncBackingStore (this=0x8ef4680) at kernel/qwidget.cpp:1603
#14 0xb69eae15 in QWidget::event (this=0x8ef4580, event=0x95c9738) at kernel/qwidget.cpp:7794
#15 0xb6de24c7 in QMainWindow::event (this=0x8ef4580, event=0x95c9738) at widgets/qmainwindow.cpp:1396
#16 0xb7a15327 in KMainWindow::event (this=0x8ef4580, ev=0x95c9738) at /build/buildd/kde4libs-4.2.2/kdeui/widgets/kmainwindow.cpp:1094
#17 0xb7a5a10c in KXmlGuiWindow::event (this=0x8ef4580, ev=0x95c9738) at /build/buildd/kde4libs-4.2.2/kdeui/xmlgui/kxmlguiwindow.cpp:131
#18 0xb6993f2c in QApplicationPrivate::notify_helper (this=0x8eab168, receiver=0x8ef4580, e=0x95c9738) at kernel/qapplication.cpp:4084
#19 0xb699c312 in QApplication::notify (this=0xbfb32284, receiver=0x8ef4580, e=0x95c9738) at kernel/qapplication.cpp:4049
#20 0xb793194d in KApplication::notify (this=0xbfb32284, receiver=0x8ef4580, event=0x95c9738) at /build/buildd/kde4libs-4.2.2/kdeui/kernel/kapplication.cpp:307
#21 0xb73e2a3b in QCoreApplication::notifyInternal (this=0xbfb32284, receiver=0x8ef4580, event=0x95c9738) at kernel/qcoreapplication.cpp:602
#22 0xb73e3695 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x8e7fb38) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#23 0xb73e388d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1132
#24 0xb740e7ef in postEventSourceDispatch (s=0x8e9e498) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#25 0xb6228b88 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#26 0xb622c0eb in ?? () from /usr/lib/libglib-2.0.so.0
#27 0xb622c268 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#28 0xb740e438 in QEventDispatcherGlib::processEvents (this=0x8e83138, flags={i = -1078779544}) at kernel/qeventdispatcher_glib.cpp:323
#29 0xb6a353f5 in QGuiEventDispatcherGlib::processEvents (this=0x8e83138, flags={i = -1078779496}) at kernel/qguieventdispatcher_glib.cpp:202
#30 0xb73e106a in QEventLoop::processEvents (this=0xbfb32210, flags={i = -1078779432}) at kernel/qeventloop.cpp:149
#31 0xb73e14aa in QEventLoop::exec (this=0xbfb32210, flags={i = -1078779368}) at kernel/qeventloop.cpp:200
#32 0xb73e3959 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:880
#33 0xb6993da7 in QApplication::exec () at kernel/qapplication.cpp:3553
#34 0x08056c3b in _start ()
Comment 1 Ben Cooksley 2009-05-02 02:52:35 UTC
Reassigning
Comment 2 Christoph Feck 2009-05-02 17:40:16 UTC
Ben, kcm_fonts != kcm_fontinst :)

Reassigning
Comment 3 Craig Drummond 2009-05-02 21:03:28 UTC
Which Qt version is this with? Does it happen every time, rarely, or just the one time?
Comment 4 Darryl 2009-05-03 21:35:36 UTC
Hello, I'm not sure which version of Qt it was - I was using Kubuntu 9.04, and it only happened once. I have since switched to using Kubuntu 9.04 64bit.
Comment 5 Craig Drummond 2011-06-23 15:18:24 UTC
I know its been over two years, but... ...have you had any recurrences of this? I've never been able to reproduce this.
Comment 6 Craig Drummond 2011-06-23 15:20:34 UTC
*** Bug 200149 has been marked as a duplicate of this bug. ***
Comment 7 Craig Drummond 2011-06-28 18:24:24 UTC
Git commit fa685cee73c50bde3b3782b2d849f814fb613ca2 by Craig Drummond.
Committed on 28/06/2011 at 20:11.
Pushed by craig into branch 'KDE/4.6'.

Use beginInsertRows/endInsertRows and beginRemoveRows/endRemoveRows as detailed in the QAbstractItemModel documentation. Should fix the crashes, which were probbably caused by the model not indicating properly when it changed.
BUG:191304
BUG:228119
BUG:260955

M  +27   -36   kcontrol/kfontinst/kcmfontinst/FontList.cpp     
M  +3    -1    kcontrol/kfontinst/kcmfontinst/KCmFontInst.cpp     

http://commits.kde.org/kde-workspace/fa685cee73c50bde3b3782b2d849f814fb613ca2
Comment 8 Craig Drummond 2011-06-28 18:24:24 UTC
Git commit c17cc70b6802740f18b7c1c8f468722d8423dcca by Craig Drummond.
Committed on 28/06/2011 at 20:14.
Pushed by craig into branch 'KDE/4.7'.

Use beginInsertRows/endInsertRows and beginRemoveRows/endRemoveRows as detailed in the QAbstractItemModel documentation. Should fix the crashes, which were probbably caused by the model not indicating properly when it changed.
BUG:191304
BUG:228119
BUG:260955

M  +27   -36   kcontrol/kfontinst/kcmfontinst/FontList.cpp     
M  +3    -1    kcontrol/kfontinst/kcmfontinst/KCmFontInst.cpp     

http://commits.kde.org/kde-workspace/c17cc70b6802740f18b7c1c8f468722d8423dcca
Comment 9 Craig Drummond 2011-06-28 18:24:25 UTC
Git commit ea1091a64c2c0891b5104c773a06944a5184d428 by Craig Drummond.
Committed on 28/06/2011 at 20:16.
Pushed by craig into branch 'master'.

Use beginInsertRows/endInsertRows and beginRemoveRows/endRemoveRows as detailed in the QAbstractItemModel documentation. Should fix the crashes, which were probbably caused by the model not indicating properly when it changed.
BUG:191304
BUG:228119
BUG:260955

M  +27   -36   kcontrol/kfontinst/kcmfontinst/FontList.cpp     
M  +3    -1    kcontrol/kfontinst/kcmfontinst/KCmFontInst.cpp     

http://commits.kde.org/kde-workspace/ea1091a64c2c0891b5104c773a06944a5184d428