Bug 251069 - plasma-mediacenter crash starting
Summary: plasma-mediacenter crash starting
Status: RESOLVED FIXED
Alias: None
Product: plasma4
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-13 12:22 UTC by LucaTringali
Modified: 2010-11-15 19:42 UTC (History)
2 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 LucaTringali 2010-09-13 12:22:50 UTC
Application: plasma-mediacenter (0.1)
KDE Platform Version: 4.5.1 (KDE 4.5.1)
Qt Version: 4.7.0
Operating System: Linux 2.6.31-11-rt i686
Distribution: Ubuntu 10.04.1 LTS

-- Information about the crash:
- What I was doing when the application crashed:
I had just compiled the svn code of plasma-mediacenter
in this way:

svn co svn://anonsvn.kde.org/home/kde/trunk/playground/base/plasma/MediaCenterComponents/
cmake .. -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix`
make
sudo make install

then, when I try to run plasma-mediacenter it doesn't start, crashing immediately.

This is the console:

luca@TRINGALINVENT:~/Progetti/plasmamediacenter/MediaCenterComponents/build$ plasma-mediacenter 
trying to create local folder /home/luca/.kde/share/apps/desktoptheme/Elegance/wallpapers: Permesso negato
QInotifyFileSystemWatcherEngine::addPaths: inotify_add_watch failed: Nessun file o directory
QFileSystemWatcher: failed to add paths: /home/luca/.config/ibus/bus
Bus::open: Can not get ibus-daemon's address. 
IBusInputContext::createInputContext: no connection to ibus-daemon 
plasma-mediacenter(21280)/kdecore (services) KServiceFactory::findServiceByDesktopPath: "" not found
plasma-mediacenter(21280)/kdecore (services) KServiceFactory::findServiceByDesktopPath: "" not found
plasma-mediacenter(21280)/libplasma Plasma::FrameSvg::resizeFrame: Invalid size QSizeF(0, 0) 
plasma-mediacenter(21280)/kdecore (services) KServiceFactory::findServiceByDesktopPath: "" not found
plasma-mediacenter(21280)/libplasma Plasma::FrameSvg::resizeFrame: Invalid size QSizeF(0, 0) 
plasma-mediacenter(21280)/kdecore (services) KServiceFactory::findServiceByDesktopPath: "" not found
plasma-mediacenter(21280)/libplasma Plasma::FrameSvg::resizeFrame: Invalid size QSizeF(0, 0) 
plasma-mediacenter(21280)/kdecore (services) KServiceFactory::findServiceByDesktopPath: "" not found
plasma-mediacenter(21280)/libplasma Plasma::FrameSvg::resizeFrame: Invalid size QSizeF(0, 0) 
plasma-mediacenter(21280)/kdecore (services) KServiceFactory::findServiceByDesktopPath: "" not found
plasma-mediacenter(21280)/libplasma Plasma::FrameSvg::resizeFrame: Invalid size QSizeF(0, 0) 
plasma-mediacenter(21280)/kdecore (services) KServiceFactory::findServiceByDesktopPath: "" not found
plasma-mediacenter(21280)/libplasma Plasma::FrameSvg::resizeFrame: Invalid size QSizeF(0, 0) 
KCrash: Application 'plasma-mediacenter' crashing...
KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi from kdeinit
sock_file=/home/luca/.kde/socket-TRINGALINVENT/kdeinit4__0
QSocketNotifier: Invalid socket 13 and type 'Read', disabling...
[1]   Exit 253                plasma-mediacenter

[2]+  Fermato                 plasma-mediacenter
luca@TRINGALINVENT:~/Progetti/plasmamediacenter/MediaCenterComponents/build$

The crash can be reproduced every time.

-- Backtrace:
Application: Plasma Mediacenter Shell (plasma-mediacenter), signal: Segmentation fault
[Current thread is 1 (Thread 0xb66b5950 (LWP 21280))]

Thread 2 (Thread 0xae5bbb70 (LWP 21284)):
#0  0x00c3c422 in __kernel_vsyscall ()
#1  0x08dc3b86 in *__GI___poll (fds=0x8e59ff4, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0x035784eb in g_poll () from /lib/libglib-2.0.so.0
#3  0x0356b0ac in ?? () from /lib/libglib-2.0.so.0
#4  0x0356b4b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#5  0x01c4d82f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0x01c1da99 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#7  0x01c1df1a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#8  0x01b1ac5e in QThread::exec() () from /usr/lib/libQtCore.so.4
#9  0x01bfc9ab in ?? () from /usr/lib/libQtCore.so.4
#10 0x01b1df39 in ?? () from /usr/lib/libQtCore.so.4
#11 0x001ea96e in start_thread (arg=0xae5bbb70) at pthread_create.c:300
#12 0x08dd1a4e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb66b5950 (LWP 21280)):
[KCrash Handler]
#7  0x0082ae69 in MediaCenter::Browser::setGestureType (this=0x0, type=257) at /home/luca/Progetti/plasmamediacenter/MediaCenterComponents/libs/mediacenter/browser.cpp:80
#8  0x0804df08 in MainWindow::loadMediaCenter (this=0x9313658) at /home/luca/Progetti/plasmamediacenter/MediaCenterComponents/shells/plasmediacenter/mainwindow.cpp:131
#9  0x0804d767 in main (argc=1, argv=0xbf8b2244) at /home/luca/Progetti/plasmamediacenter/MediaCenterComponents/shells/plasmediacenter/main.cpp:59

Reported using DrKonqi
Comment 1 Aaron J. Seigo 2010-09-18 23:55:39 UTC
SVN commit 1176855 by aseigo:

prevent crashes in case of a bad install, or if the browser widget is changed to something else in the future; warn about this case if/when it happens as well
BUG:251069


 M  +9 -1      mainwindow.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1176855
Comment 2 Aaron J. Seigo 2010-09-18 23:55:59 UTC
your install was broken (probably didn't run buildsycoca4 after installation?)
Comment 3 LucaTringali 2010-09-19 00:19:33 UTC
Actually it works, thanks for the reply.

Luca Tringali

>----Messaggio originale----
>Da: aseigo@kde.org
>Data: 18/09/2010 23.55
>A: <TRINGALINVENT@libero.it>
>Ogg: [Bug 251069] plasma-mediacenter crash starting
>
>https://bugs.kde.org/show_bug.cgi?id=251069
>
>
>Aaron J. Seigo <aseigo@kde.org> changed:
>
>           What    |Removed                     |Added
>----------------------------------------------------------------------------
>             Status|UNCONFIRMED                 |RESOLVED
>         Resolution|                            |FIXED
>
>
>
>
>--- Comment #1 from Aaron J. Seigo <aseigo kde org>  2010-09-18 23:55:39 ---
>SVN commit 1176855 by aseigo:
>
>prevent crashes in case of a bad install, or if the browser widget is changed
>to something else in the future; warn about this case if/when it happens as
>well
>BUG:251069
>
>
> M  +9 -1      mainwindow.cpp  
>
>
>WebSVN link: http://websvn.kde.org/?view=rev&revision=1176855
>
>-- 
>Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
>------- You are receiving this mail because: -------
>You reported the bug.
>
Comment 4 Dario Andres 2010-11-15 19:42:32 UTC
[Comment from a bug triager]
As the bug was caused by a bad installation, but a workaround was also introduced, let's consider this bug as FIXED.
Thanks