Summary: | plasma crashes when drag&drop menu button | ||
---|---|---|---|
Product: | [Unmaintained] plasma4 | Reporter: | Nicolas L. <kde> |
Component: | widget-kickoff | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | achat, andresbajotierra, aseigo, hhielscher, mail |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Mandriva RPMs | ||
OS: | Unspecified | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Nicolas L.
2009-03-09 00:48:02 UTC
hmmmm... the backtrace says; #12 0xb668e1c5 in qt_assert (assertion=0xa84cf51a "! d->switcher", file=0xa84d0604 "/home/neoclust/rpm/BUILD/kdebase-workspace-4.2.1/plasma/applets/kickoff/simpleapplet/simpleapplet.cpp", line=332) but 1. there is no Q_ASSERT at line 332 in http://websvn.kde.org/*checkout*/tags/KDE/4.2.1/kdebase/workspace/plasma/applets/kickoff/simpleapplet/simpleapplet.cpp (neither at 4.2.0 or trunk). 2. there is a Q_ASSERT(! d->switcher) at line 253 but if this one asserts, then the Applet::init() method got called more then one time... happy to read you :) in fact our assert is a little after the "normal one" because we have a little patch to add our icon. This is the Q_ASSERT from : Q_ASSERT(! d->switcher); d->switcher = new QAction(i18n("Switch to Kickoff Menu Style"), this); d->actions.append(d->switcher); connect(d->switcher, SIGNAL(triggered(bool)), this, SLOT(switchMenuStyle())); this issue appear with the kickoff applet too uh... are there other patches in e.g. plasma? I ask cause if Applet::init() can be called more then once, then it's a serious issue affecting probably a lot of applets (leading to crashes, duplicated kaction-items and lot of other wired things) cause I remember a lot of code within uinit()-methods being not ready for that. the only "home made patches" are related to the icon and top tile http://svn.mandriva.com/cgi-bin/viewvc.cgi/packages/cooker/kdebase4-workspace/current/SOURCES/kdebase-workspace-4.2.1-mandriva-menu-button.patch?revision=353266&view=markup http://svn.mandriva.com/cgi-bin/viewvc.cgi/packages/cooker/kdebase4-workspace/current/SOURCES/kdebase-workspace-4.2.1-mandriva-menu-toptile.patch?revision=346834&view=markup This is what I got Application: Plasma Workspace (plasma), signal SIGSEGV [Current thread is 0 (LWP 22093)] Thread 4 (Thread 0xe828bb90 (LWP 22094)): #0 0xf7fc3425 in __kernel_vsyscall () #1 0xf5028fb5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/cmov/libpthread.so.0 #2 0xf7ecef2d in pthread_cond_wait () from /lib/i686/cmov/libc.so.6 #3 0xf6805822 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4 #4 0xf52d3fd2 in ?? () from /usr/lib/libQtNetwork.so.4 #5 0xf680480e in ?? () from /usr/lib/libQtCore.so.4 #6 0xf50254e5 in start_thread () from /lib/i686/cmov/libpthread.so.0 #7 0xf7ec010e in clone () from /lib/i686/cmov/libc.so.6 Thread 3 (Thread 0xe73cab90 (LWP 22096)): #0 0xf7fc3425 in __kernel_vsyscall () #1 0xf5028fb5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/cmov/libpthread.so.0 #2 0xf7ecef2d in pthread_cond_wait () from /lib/i686/cmov/libc.so.6 #3 0xf6805822 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4 #4 0xe870fc2a in ?? () from /usr/lib/kde4/plasma_wallpaper_image.so #5 0x0881f278 in ?? () #6 0x0881f274 in ?? () #7 0xffffffff in ?? () #8 0xe73ca220 in ?? () #9 0xe73ca2e0 in ?? () #10 0xe8715540 in ?? () from /usr/lib/kde4/plasma_wallpaper_image.so #11 0xf79ef968 in vtable for KSvgRenderer () from /usr/lib/libkdeui.so.5 #12 0xe8715636 in ?? () from /usr/lib/kde4/plasma_wallpaper_image.so #13 0xf7e509af in posix_memalign () from /lib/i686/cmov/libc.so.6 #14 0xf680480e in ?? () from /usr/lib/libQtCore.so.4 #15 0xf50254e5 in start_thread () from /lib/i686/cmov/libpthread.so.0 #16 0xf7ec010e in clone () from /lib/i686/cmov/libc.so.6 Thread 2 (Thread 0xe5b07b90 (LWP 22598)): #0 0xf7fc3425 in __kernel_vsyscall () #1 0xf7eb85b1 in select () from /lib/i686/cmov/libc.so.6 #2 0xf68d5920 in ?? () from /usr/lib/libQtCore.so.4 #3 0xf680480e in ?? () from /usr/lib/libQtCore.so.4 #4 0xf50254e5 in start_thread () from /lib/i686/cmov/libpthread.so.0 #5 0xf7ec010e in clone () from /lib/i686/cmov/libc.so.6 Thread 1 (Thread 0xf3c5e710 (LWP 22093)): #0 0xf7fc3425 in __kernel_vsyscall () #1 0xf7e7c386 in nanosleep () from /lib/i686/cmov/libc.so.6 #2 0xf7e7c19e in sleep () from /lib/i686/cmov/libc.so.6 #3 0xf78bc738 in ?? () from /usr/lib/libkdeui.so.5 #4 0x00000000 in ?? () Is this still valid on current and 4.3 versions ? yes, this was already reasolved in void Containment::addApplet(Applet *applet, const QPointF &pos, bool delayInit) here's the commit: http://websvn.kde.org/trunk/KDE/kdelibs/plasma/containment.cpp?view=diff&r1=908500&r2=908501 and patch file: http://websvn.kde.org/trunk/KDE/kdelibs/plasma/containment.cpp?r1=908500&r2=908501&view=patch it was not backported to 4.2. |