Bug 162750

Summary: plasma crash on startup
Product: [Unmaintained] plasma4 Reporter: David Palacio <dpalacio>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: CLOSED WORKSFORME    
Severity: crash CC: yoann.fagault
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description David Palacio 2008-05-28 16:48:10 UTC
Version:           4.0.80 (using Devel)
Installed from:    Compiled sources
OS:                Linux

Plasma randomly crashes on startup. Debian's experimental packages, 4.0.80 beta1.

Backtrace:
==========

Aplicación: Área de trabajo de Plasma (plasma), señal SIGSEGV
[Thread debugging using libthread_db enabled]
[New Thread 0x7fc7321cb7c0 (LWP 3589)]
[New Thread 0x419e5950 (LWP 3590)]
[KCrash handler]
#5  KCatalog::language (this=0x6e0065006e006f)
    at /usr/include/qt4/QtCore/qbytearray.h:372
#6  0x00007fc730fccf3c in KLocalePrivate::translate_priv (this=0x1f34730, 
    msgctxt=0x7fc730be4800 "QLibrary", 
    msgid=0x7fc730bd3c80 "The file '%1' is not a valid Qt plugin.", 
    msgid_plural=0x0, n=0, language=0x419e3aa0, translation=0x419e3ab0)
    at /tmp/buildd/kde4libs-4.0.80/kdecore/localization/klocale.cpp:730
#7  0x00007fc730fcdd5a in KLocale::translateQt (this=0x1f7cf90, 
    context=0x7fc730be4800 "QLibrary", 
    sourceText=0x7fc730bd3c80 "The file '%1' is not a valid Qt plugin.", 
    comment=0x0)
    at /tmp/buildd/kde4libs-4.0.80/kdecore/localization/klocale.cpp:827
#8  0x00007fc7314c602d in KDETranslator::translate (
    this=<value optimized out>, context=0x7fc730be4800 "QLibrary", 
    sourceText=0x7fc730bd3c80 "The file '%1' is not a valid Qt plugin.", 
    message=0x0)
    at /tmp/buildd/kde4libs-4.0.80/kdeui/kernel/kapplication.cpp:467
#9  0x00007fc730b64989 in QTranslator::translate (this=0x6e0065006e006f, 
    context=0x1f4f0e4 "", sourceText=0x5 <Address 0x5 out of bounds>, 
    comment=0x3e9e16 <Address 0x3e9e16 out of bounds>, n=1)
    at kernel/qtranslator.cpp:787
#10 0x00007fc730b4aca0 in QCoreApplication::translate (
    context=0x7fc730be4800 "QLibrary", 
    sourceText=0x7fc730bd3c80 "The file '%1' is not a valid Qt plugin.", 
    comment=0x0, encoding=QCoreApplication::CodecForTr, n=-1)
    at kernel/qcoreapplication.cpp:1553
#11 0x00007fc730b4b1cf in QCoreApplication::translate (
    context=0x6e0065006e006f <Address 0x6e0065006e006f out of bounds>, 
    sourceText=0x1f4f0e4 "", comment=0x5 <Address 0x5 out of bounds>, 
    encoding=4103702) at kernel/qcoreapplication.cpp:1496
#12 0x00007fc730b4ea10 in QMetaObject::tr (this=<value optimized out>, 
    s=0x1f4f0e4 "", c=0x5 <Address 0x5 out of bounds>)
    at kernel/qmetaobject.cpp:232
#13 0x00007fc730b3b18c in QLibraryPrivate::isPlugin (this=0x1f3b900, 
    settings=0x419e4450) at plugin/qlibrary.h:66
#14 0x00007fc730b347fc in QFactoryLoader::update (this=<value optimized out>)
    at plugin/qfactoryloader.cpp:125
#15 0x00007fc730b3698f in QFactoryLoader (this=0x2082710, 
    iid=0x7fc730402700 "com.trolltech.Qt.QImageIOHandlerFactoryInterface", 
    suffix=@0x419e4890, cs=Qt::CaseSensitive) at plugin/qfactoryloader.cpp:95
#16 0x00007fc72ff212d9 in loader () at image/qimagereader.cpp:145
#17 0x00007fc72ff22231 in createReadHandlerHelper (device=0x2066b60, 
    format=@0x2082120) at image/qimagereader.cpp:202
#18 0x00007fc72ff23513 in QImageReaderPrivate::initHandler (this=0x2082120)
    at image/qimagereader.cpp:516
#19 0x00007fc72ff23e7a in QImageReader::read (this=0x419e4d70, 
    image=0x6e0065006e006f) at image/qimagereader.cpp:970
#20 0x00007fc72ff2411c in QImageReader::read (this=0x419e4d70)
    at image/qimagereader.cpp:940
#21 0x00007fc72ff162d5 in QImage::load (this=0x419e4ef0, 
    fileName=@0x419e4fd0, format=<value optimized out>)
    at image/qimage.cpp:4463
#22 0x00007fc72ff16536 in QImage (this=0x419e4ef0, fileName=@0x419e4fd0, 
    format=0x0) at image/qimage.cpp:979
#23 0x00007fc724ec421b in RenderThread::run (this=0x2004928)
    at /tmp/buildd/kdebase-workspace-4.0.80/plasma/containments/desktop/renderthread.cpp:117
#24 0x00007fc730a67c15 in QThreadPrivate::start (arg=0x2004928)
    at thread/qthread_unix.cpp:190
#25 0x00007fc72ba18017 in start_thread () from /lib/libpthread.so.0
#26 0x00007fc731d0454d in clone () from /lib/libc.so.6
#27 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fc7321cb7c0 (LWP 3589)):
#0  0x00007fc72ba1c889 in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/libpthread.so.0
#1  0x00007fc730a6703b in QMutexPrivate::wait (this=0x1f2cde0, timeout=-1)
    at thread/qmutex_unix.cpp:85
#2  0x00007fc730a62a4b in QMutex::lock (this=0x1f2cba0)
    at thread/qmutex.cpp:164
#3  0x00007fc730b369da in QFactoryLoader (this=0x2245bb0, 
    iid=0x7fc730402700 "com.trolltech.Qt.QImageIOHandlerFactoryInterface", 
    suffix=@0x7fff3a3c74e0, cs=Qt::CaseSensitive)
    at ../../include/QtCore/../../src/corelib/thread/qmutex.h:122
#4  0x00007fc72ff212d9 in loader () at image/qimagereader.cpp:145
#5  0x00007fc72ff22231 in createReadHandlerHelper (device=0x2293080, 
    format=@0x228e830) at image/qimagereader.cpp:202
#6  0x00007fc72ff23513 in QImageReaderPrivate::initHandler (this=0x228e830)
    at image/qimagereader.cpp:516
#7  0x00007fc72ff23e7a in QImageReader::read (this=0x7fff3a3c79c0, image=0x80)
    at image/qimagereader.cpp:970
#8  0x00007fc72ff2411c in QImageReader::read (this=0x7fff3a3c79c0)
    at image/qimagereader.cpp:940
#9  0x00007fc72ff162d5 in QImage::load (this=0x2253a90, 
    fileName=@0x7fff3a3c7b30, format=<value optimized out>)
    at image/qimage.cpp:4463
#10 0x00007fc72ff16536 in QImage (this=0x2253a90, fileName=@0x7fff3a3c7b30, 
    format=0x2253688 "PNG") at image/qimage.cpp:979
#11 0x00007fc731487258 in KIconLoader::loadIcon (this=0x1f7f430, 
    _name=<value optimized out>, group=KIconLoader::Desktop, size=64, 
    state=0, overlays=@0x1f3a208, path_store=0x0, canReturnNull=false)
    at /tmp/buildd/kde4libs-4.0.80/kdeui/icons/kiconloader.cpp:1095
#12 0x00007fc73147dde7 in KIconEngine::actualSize (this=0x1f82490, 
    size=<value optimized out>, mode=<value optimized out>, 
    state=<value optimized out>)
    at /tmp/buildd/kde4libs-4.0.80/kdeui/icons/kiconengine.cpp:80
#13 0x00007fc72ff0b0ce in QIcon::actualSize (this=<value optimized out>, 
    size=@0x80, mode=QIcon::Disabled, state=4294967295) at image/qicon.cpp:691
#14 0x00007fc72fefb55a in QWidgetPrivate::setWindowIcon_sys (this=0x221b450, 
    forceReset=false) at kernel/qwidget_x11.cpp:1201
#15 0x00007fc72fecbe10 in QWidget::create (this=0x220e830, window=0, 
    initializeWindow=<value optimized out>, 
    destroyOldWindow=<value optimized out>) at kernel/qwidget.cpp:1262
#16 0x00007fc72feccc1b in QWidget::winId (this=0x220e830)
    at kernel/qwidget.cpp:1966
#17 0x00007fc731f95cfd in DesktopView::setIsDesktop (this=0x220e830, 
    isDesktop=<value optimized out>)
    at /tmp/buildd/kdebase-workspace-4.0.80/plasma/plasma/desktopview.cpp:115
#18 0x00007fc731f99f9e in PlasmaApp::createView (this=0x1ef9fc0, 
    containment=0x2004830)
    at /tmp/buildd/kdebase-workspace-4.0.80/plasma/plasma/plasmaapp.cpp:450
#19 0x00007fc731f9a532 in PlasmaApp::qt_metacall (this=0x1ef9fc0, 
    _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, 
    _a=0x7fff3a3c86f0)
    at /tmp/buildd/kdebase-workspace-4.0.80/obj-x86_64-linux-gnu/plasma/plasma/plasmaapp.moc:80
#20 0x00007fc730b5ccd6 in QMetaObject::activate (sender=0x1fe5f60, 
    from_signal_index=<value optimized out>, to_signal_index=21, 
    argv=0xffffffffffffffff) at kernel/qobject.cpp:3010
#21 0x00007fc73195356f in Plasma::Corona::containmentAdded (this=0x1f2ce24, 
    _t1=0x2004830)
    at /tmp/buildd/kdebase-workspace-4.0.80/obj-x86_64-linux-gnu/libs/plasma/corona.moc:114
#22 0x00007fc731954890 in Plasma::Corona::loadLayout (this=0x1fe5f60, 
    configName=<value optimized out>)
    at /tmp/buildd/kdebase-workspace-4.0.80/libs/plasma/corona.cpp:298
#23 0x00007fc731f98c1a in PlasmaApp::corona (this=0x1ef9fc0)
    at /tmp/buildd/kdebase-workspace-4.0.80/plasma/plasma/plasmaapp.cpp:357
#24 0x00007fc731f9aaf0 in PlasmaApp (this=0x1ef9fc0, 
    display=<value optimized out>, visual=<value optimized out>, 
    colormap=<value optimized out>)
    at /tmp/buildd/kdebase-workspace-4.0.80/plasma/plasma/plasmaapp.cpp:213
#25 0x00007fc731f9ba22 in PlasmaApp::self ()
    at /tmp/buildd/kdebase-workspace-4.0.80/plasma/plasma/plasmaapp.cpp:109
#26 0x00007fc731f98317 in kdemain (argc=1, argv=0x7fff3a3c8e98)
    at /tmp/buildd/kdebase-workspace-4.0.80/plasma/plasma/main.cpp:51
#27 0x00007fc731c5d1c4 in __libc_start_main () from /lib/libc.so.6
#28 0x0000000000400629 in _start ()
#0  0x00007fc72ba1c889 in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/libpthread.so.0
Comment 1 Anne-Marie Mahfouf 2008-05-28 18:38:15 UTC
1) did you try renaming plasmarc and plasma-appletsrc in $KDEHOME/share/config?
2) are you running KDE in another language than English?

Thanks in advance!
Comment 2 David Palacio 2008-05-28 19:01:44 UTC
1) To test a default desktop? It seems to not crash anymore.
I have no applets other than the default ones (panel with launcher, task manager, disp. notifier, systray, clock) with a Aya theme and custom size.

2) Spanish
Comment 3 Anne-Marie Mahfouf 2008-05-28 19:45:40 UTC
I am tempted to close this if it doe snot crash on a clean config start. What do you think David? And thanks for the prompt answer!
Comment 4 David Palacio 2008-05-28 19:54:21 UTC
Well, most configs won't be clean defaults. It should be considered.
Comment 5 Christophe Marin 2008-06-18 10:12:10 UTC
*** Bug 164366 has been marked as a duplicate of this bug. ***
Comment 6 Alex Merry 2008-07-05 13:14:05 UTC
This looks like a bad build to me.  Have you seen this with any stable packages or the 4.1 betas?  If not, we can probably close it as WORKSFORME.
Comment 7 Thomas Georgiou 2008-07-05 17:43:17 UTC
Please reopen if you can trigger this bug with the 4.1 betas