Bug 268006 - Replacing a font file crashed plasma
Summary: Replacing a font file crashed plasma
Status: RESOLVED UPSTREAM
Alias: None
Product: plasma4
Classification: Unmaintained
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
: 278597 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-03-08 21:35 UTC by Con Kolivas
Modified: 2011-08-04 12:51 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Con Kolivas 2011-03-08 21:35:34 UTC
Application: plasma-desktop (0.4)
KDE Platform Version: 4.6.1 (4.6.1)
Qt Version: 4.7.0
Operating System: Linux 2.6.37-ck1 x86_64
Distribution: Ubuntu 10.10

-- Information about the crash:
- What I was doing when the application crashed:

I manually replaced a file in my fonts directory .fonts/  . The font that I replaced was the one that was being used as the default font in the kde workspace. Pretty much as soon as I overwrote it, plasma crashed.

-- Backtrace:
Application: Plasma Desktop Shell (plasma-desktop), signal: Bus error
[Current thread is 1 (Thread 0x7f0d3dbf57a0 (LWP 19301))]

Thread 2 (Thread 0x7f0d1e094700 (LWP 19309)):
#0  0x00007f0d3d4f7203 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f0d322ae009 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007f0d322ae45c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007f0d3a8701e6 in QEventDispatcherGlib::processEvents (this=0x112df10, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#4  0x00007f0d3a842a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007f0d3a842dec in QEventLoop::exec (this=0x7f0d1e093cb0, flags=) at kernel/qeventloop.cpp:201
#6  0x00007f0d3a74d2fd in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#7  0x00007f0d3a8225f8 in QInotifyFileSystemWatcherEngine::run (this=0x111ed70) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f0d3a75027e in QThreadPrivate::start (arg=0x111ed70) at thread/qthread_unix.cpp:266
#9  0x00007f0d35adeae3 in ?? () from /usr/lib/libGL.so.1
#10 0x00007f0d32960971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#11 0x00007f0d3d50392d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f0d3dbf57a0 (LWP 19301)):
[KCrash Handler]
#6  0x00007f0d319b1400 in ?? () from /usr/lib/libfreetype.so.6
#7  0x00007f0d319b1924 in ?? () from /usr/lib/libfreetype.so.6
#8  0x00007f0d39eb6c0c in QFontEngineFT::stringToCMap (this=<value optimized out>, str=<value optimized out>, len=<value optimized out>, glyphs=<value optimized out>, nglyphs=<value optimized out>, flags=<value optimized out>) at text/qfontengine_ft.cpp:1618
#9  0x00007f0d39deb26f in QFontEngineMulti::stringToCMap (this=0x1f391f0, str=0x7ffff3ddf6c4, len=<value optimized out>, glyphs=0x7ffff3ddfcb0, nglyphs=<value optimized out>, flags=<value optimized out>) at text/qfontengine.cpp:1292
#10 0x00007f0d39e1dad2 in stringToGlyphs (this=<value optimized out>, item=<value optimized out>) at text/qtextengine.cpp:823
#11 QTextEngine::shapeTextWithHarfbuzz (this=<value optimized out>, item=<value optimized out>) at text/qtextengine.cpp:1178
#12 0x00007f0d39e1e94f in QTextEngine::shapeText (this=0xfce210, item=0) at text/qtextengine.cpp:874
#13 0x00007f0d39e1ecf7 in QTextEngine::shape (this=0xfce210, item=0) at text/qtextengine.cpp:1381
#14 0x00007f0d39e25fdd in QTextLine::layout_helper (this=<value optimized out>, maxGlyphs=<value optimized out>) at text/qtextlayout.cpp:1826
#15 0x00007f0d39e26e2d in QTextLayout::endLayout (this=0x7ffff3de0a00) at text/qtextlayout.cpp:630
#16 0x00007f0d22c80497 in AbstractTaskItem::layoutText (this=<value optimized out>, layout=..., text=<value optimized out>, constraints=...) at ../../../../../plasma/desktop/applets/tasks/abstracttaskitem.cpp:774
#17 0x00007f0d22c86641 in AbstractTaskItem::drawTask (this=0x2d829f0, painter=0x7ffff3de2f90, option=<value optimized out>) at ../../../../../plasma/desktop/applets/tasks/abstracttaskitem.cpp:703
#18 0x00007f0d3a1ea0dd in _q_paintItem (item=<value optimized out>, painter=0x7ffff3de2f90, option=0x821458, widget=0xb43e00, useWindowOpacity=<value optimized out>, painterStateProtection=<value optimized out>) at graphicsview/qgraphicsscene.cpp:4318
#19 0x00007f0d3a203324 in QGraphicsScenePrivate::drawItemHelper (this=<value optimized out>, item=0x2d82a00, painter=0x7ffff3de2f90, option=0x821458, widget=0xb43e00, painterStateProtection=true) at graphicsview/qgraphicsscene.cpp:4387
#20 0x00007f0d3a2052ad in QGraphicsScenePrivate::draw (this=<value optimized out>, item=0x2d82a00, painter=0x7ffff3de2f90, viewTransform=<value optimized out>, transformPtr=<value optimized out>, exposedRegion=<value optimized out>, widget=0xb43e00, opacity=<value optimized out>, effectTransform=0x0, wasDirtyParentSceneTransform=false, drawItem=true) at graphicsview/qgraphicsscene.cpp:4895
#21 0x00007f0d3a205f42 in QGraphicsScenePrivate::drawSubtreeRecursive (this=<value optimized out>, item=0x2d82a00, painter=0x7ffff3de2f90, viewTransform=0x7ffff3de2d20, exposedRegion=0x14ab860, widget=0xb43e00, parentOpacity=<value optimized out>, effectTransform=0x0) at graphicsview/qgraphicsscene.cpp:4817
#22 0x00007f0d3a205348 in QGraphicsScenePrivate::draw (this=<value optimized out>, item=0xdc0cb0, painter=0x7ffff3de2f90, viewTransform=<value optimized out>, transformPtr=<value optimized out>, exposedRegion=<value optimized out>, widget=0xb43e00, opacity=<value optimized out>, effectTransform=0x0, wasDirtyParentSceneTransform=false, drawItem=true) at graphicsview/qgraphicsscene.cpp:4909
#23 0x00007f0d3a205f42 in QGraphicsScenePrivate::drawSubtreeRecursive (this=<value optimized out>, item=0xdc0cb0, painter=0x7ffff3de2f90, viewTransform=0x7ffff3de2d20, exposedRegion=0x14ab860, widget=0xb43e00, parentOpacity=<value optimized out>, effectTransform=0x0) at graphicsview/qgraphicsscene.cpp:4817
#24 0x00007f0d3a205348 in QGraphicsScenePrivate::draw (this=<value optimized out>, item=0xd0d3c0, painter=0x7ffff3de2f90, viewTransform=<value optimized out>, transformPtr=<value optimized out>, exposedRegion=<value optimized out>, widget=0xb43e00, opacity=<value optimized out>, effectTransform=0x0, wasDirtyParentSceneTransform=false, drawItem=true) at graphicsview/qgraphicsscene.cpp:4909
#25 0x00007f0d3a205f42 in QGraphicsScenePrivate::drawSubtreeRecursive (this=<value optimized out>, item=0xd0d3c0, painter=0x7ffff3de2f90, viewTransform=0x7ffff3de2d20, exposedRegion=0x14ab860, widget=0xb43e00, parentOpacity=<value optimized out>, effectTransform=0x0) at graphicsview/qgraphicsscene.cpp:4817
#26 0x00007f0d3a205348 in QGraphicsScenePrivate::draw (this=<value optimized out>, item=0xa53180, painter=0x7ffff3de2f90, viewTransform=<value optimized out>, transformPtr=<value optimized out>, exposedRegion=<value optimized out>, widget=0xb43e00, opacity=<value optimized out>, effectTransform=0x0, wasDirtyParentSceneTransform=false, drawItem=true) at graphicsview/qgraphicsscene.cpp:4909
#27 0x00007f0d3a205f42 in QGraphicsScenePrivate::drawSubtreeRecursive (this=<value optimized out>, item=0xa53180, painter=0x7ffff3de2f90, viewTransform=0x7ffff3de2d20, exposedRegion=0x14ab860, widget=0xb43e00, parentOpacity=<value optimized out>, effectTransform=0x0) at graphicsview/qgraphicsscene.cpp:4817
#28 0x00007f0d3a206784 in QGraphicsScenePrivate::drawItems (this=0x821230, painter=0x7ffff3de2f90, viewTransform=0x7ffff3de2d20, exposedRegion=0x14ab860, widget=0xb43e00) at graphicsview/qgraphicsscene.cpp:4699
#29 0x00007f0d3a2222e3 in QGraphicsView::paintEvent (this=<value optimized out>, event=<value optimized out>) at graphicsview/qgraphicsview.cpp:3467
#30 0x00007f0d39c00c2e in QWidget::event (this=0x13611c0, event=0x7ffff3de38c0) at kernel/qwidget.cpp:8333
#31 0x00007f0d39fcc5e6 in QFrame::event (this=0x13611c0, e=0x7ffff3de38c0) at widgets/qframe.cpp:557
#32 0x00007f0d3a21e87b in QGraphicsView::viewportEvent (this=0x13611c0, event=0x7ffff3de38c0) at graphicsview/qgraphicsview.cpp:2862
#33 0x00007f0d3a843507 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0xb43e00, event=0x7ffff3de38c0) at kernel/qcoreapplication.cpp:847
#34 0x00007f0d39baafac in QApplicationPrivate::notify_helper (this=0x6ae3b0, receiver=0xb43e00, e=0x7ffff3de38c0) at kernel/qapplication.cpp:4392
#35 0x00007f0d39bb0aed in QApplication::notify (this=0x698940, receiver=0xb43e00, e=0x7ffff3de38c0) at kernel/qapplication.cpp:4277
#36 0x00007f0d3b54a2c6 in KApplication::notify (this=0x698940, receiver=0xb43e00, event=0x7ffff3de38c0) at ../../kdeui/kernel/kapplication.cpp:311
#37 0x00007f0d3a843cdc in QCoreApplication::notifyInternal (this=0x698940, receiver=0xb43e00, event=0x7ffff3de38c0) at kernel/qcoreapplication.cpp:732
#38 0x00007f0d39c0767d in sendSpontaneousEvent (this=0x14bf360, pdev=<value optimized out>, rgn=..., offset=<value optimized out>, flags=<value optimized out>, sharedPainter=0x0, backingStore=0x1351b20) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#39 QWidgetPrivate::drawWidget (this=0x14bf360, pdev=<value optimized out>, rgn=..., offset=<value optimized out>, flags=<value optimized out>, sharedPainter=0x0, backingStore=0x1351b20) at kernel/qwidget.cpp:5420
#40 0x00007f0d39c08328 in QWidgetPrivate::paintSiblingsRecursive (this=<value optimized out>, pdev=<value optimized out>, siblings=..., index=2, rgn=<value optimized out>, offset=<value optimized out>, flags=4, sharedPainter=0x0, backingStore=0x1351b20) at kernel/qwidget.cpp:5627
#41 0x00007f0d39c073da in QWidgetPrivate::drawWidget (this=0x14ab3d0, pdev=<value optimized out>, rgn=..., offset=<value optimized out>, flags=<value optimized out>, sharedPainter=0x0, backingStore=0x1351b20) at kernel/qwidget.cpp:5473
#42 0x00007f0d39ddb408 in QWidgetBackingStore::sync (this=0x1351b20) at painting/qbackingstore.cpp:1328
#43 0x00007f0d39bfa730 in QWidgetPrivate::syncBackingStore (this=0x14ab3d0) at kernel/qwidget.cpp:1805
#44 0x00007f0d39c012f5 in QWidget::event (this=0x13611c0, event=0x1244990) at kernel/qwidget.cpp:8480
#45 0x00007f0d39fcc5e6 in QFrame::event (this=0x13611c0, e=0x1244990) at widgets/qframe.cpp:557
#46 0x00007f0d3a05a71b in QAbstractScrollArea::event (this=0x13611c0, e=0x1244990) at widgets/qabstractscrollarea.cpp:996
#47 0x00007f0d3d7eba00 in PanelView::event (this=0x13611c0, event=0x1244990) at ../../../../plasma/desktop/shell/panelview.cpp:1505
#48 0x00007f0d39baafdc in QApplicationPrivate::notify_helper (this=0x6ae3b0, receiver=0x13611c0, e=0x1244990) at kernel/qapplication.cpp:4396
#49 0x00007f0d39bb0aed in QApplication::notify (this=0x698940, receiver=0x13611c0, e=0x1244990) at kernel/qapplication.cpp:4277
#50 0x00007f0d3b54a2c6 in KApplication::notify (this=0x698940, receiver=0x13611c0, event=0x1244990) at ../../kdeui/kernel/kapplication.cpp:311
#51 0x00007f0d3a843cdc in QCoreApplication::notifyInternal (this=0x698940, receiver=0x13611c0, event=0x1244990) at kernel/qcoreapplication.cpp:732
#52 0x00007f0d3a846c22 in sendEvent (receiver=0x13611c0, event_type=<value optimized out>, data=0x60c530) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#53 QCoreApplicationPrivate::sendPostedEvents (receiver=0x13611c0, event_type=<value optimized out>, data=0x60c530) at kernel/qcoreapplication.cpp:1373
#54 0x00007f0d3a20880a in dispatchPendingUpdateRequests (this=0x821230) at ../../include/QtGui/private/../../../src/gui/graphicsview/qgraphicsview_p.h:189
#55 QGraphicsScenePrivate::_q_processDirtyItems (this=0x821230) at graphicsview/qgraphicsscene.cpp:510
#56 0x00007f0d3a208d92 in QGraphicsScene::qt_metacall (this=0x6f5060, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x2c1f9c0) at .moc/release-shared/moc_qgraphicsscene.cpp:130
#57 0x00007f0d3d0264d5 in Plasma::Corona::qt_metacall (this=0x7f0d1c1435aa, _c=4091410116, _id=0, _a=0x13) at ./corona.moc:109
#58 0x00007f0d3d7d9b45 in DesktopCorona::qt_metacall (this=0x7f0d1c1435aa, _c=4091410116, _id=0, _a=0x13) at ./desktopcorona.moc:101
#59 0x00007f0d3a855bde in QObject::event (this=0x6f5060, e=0x7f0d1c1435aa) at kernel/qobject.cpp:1219
#60 0x00007f0d3a202020 in QGraphicsScene::event (this=0x6f5060, event=0x18535d0) at graphicsview/qgraphicsscene.cpp:3548
#61 0x00007f0d39baafdc in QApplicationPrivate::notify_helper (this=0x6ae3b0, receiver=0x6f5060, e=0x18535d0) at kernel/qapplication.cpp:4396
#62 0x00007f0d39bb0aed in QApplication::notify (this=0x698940, receiver=0x6f5060, e=0x18535d0) at kernel/qapplication.cpp:4277
#63 0x00007f0d3b54a2c6 in KApplication::notify (this=0x698940, receiver=0x6f5060, event=0x18535d0) at ../../kdeui/kernel/kapplication.cpp:311
#64 0x00007f0d3a843cdc in QCoreApplication::notifyInternal (this=0x698940, receiver=0x6f5060, event=0x18535d0) at kernel/qcoreapplication.cpp:732
#65 0x00007f0d3a846c22 in sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x60c530) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#66 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x60c530) at kernel/qcoreapplication.cpp:1373
#67 0x00007f0d3a870653 in sendPostedEvents (s=0x6b1b00) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#68 postEventSourceDispatch (s=0x6b1b00) at kernel/qeventdispatcher_glib.cpp:277
#69 0x00007f0d322aa342 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#70 0x00007f0d322ae2a8 in ?? () from /lib/libglib-2.0.so.0
#71 0x00007f0d322ae45c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#72 0x00007f0d3a870193 in QEventDispatcherGlib::processEvents (this=0x60bc20, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#73 0x00007f0d39c5da4e in QGuiEventDispatcherGlib::processEvents (this=0x7f0d1c1435aa, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#74 0x00007f0d3a842a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#75 0x00007f0d3a842dec in QEventLoop::exec (this=0x7ffff3de5950, flags=) at kernel/qeventloop.cpp:201
#76 0x00007f0d3a846ebb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#77 0x00007f0d3d7e1cf3 in kdemain (argc=<value optimized out>, argv=<value optimized out>) at ../../../../plasma/desktop/shell/main.cpp:118
#78 0x00007f0d3d43bd8e in __libc_start_main (main=<value optimized out>, argc=<value optimized out>, ubp_av=<value optimized out>, init=<value optimized out>, fini=<value optimized out>, rtld_fini=<value optimized out>, stack_end=0x7ffff3de5d28) at libc-start.c:226
#79 0x0000000000400669 in _start ()

Reported using DrKonqi
Comment 1 Christoph Feck 2011-03-09 01:08:58 UTC
The crash happens in libfreetype. Please report to libfreetype developers via http://savannah.nongnu.org/bugs/?group=freetype
Comment 2 Martin Koller 2011-08-04 12:51:51 UTC
*** Bug 278597 has been marked as a duplicate of this bug. ***