Bug 321629 - Application: KDE Daemon (kdeinit4) crashes with Segmentation fault
Summary: Application: KDE Daemon (kdeinit4) crashes with Segmentation fault
Status: CLOSED FIXED
Alias: None
Product: kded-appmenu
Classification: Plasma
Component: Titlebar menu button/popup (show other bugs)
Version: 4.10.4
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Cédric Bellegarde
URL:
Keywords:
: 321663 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-06-26 12:18 UTC by Rahul Prabhakar
Modified: 2017-06-05 14:09 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 4.11.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rahul Prabhakar 2013-06-26 12:18:53 UTC
Application: kded4 (4.10.4)
KDE Platform Version: 4.10.4
Qt Version: 4.8.4
Operating System: Linux 3.8.0-25-generic x86_64
Distribution: Ubuntu 13.04

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

After autologin to Kubuntu 13.04 i launched Muon Update Manager and clicked on check for updates. While the application was checking for updates KDE Daemon crashed and restarted. 

Crash report assistant showed segmentation fault.

I have following kubuntu ppa enabled 

http://ppa.launchpad.net/kubuntu-ppa/ppa/ubuntu raring main

Request to refer to debug report attached which was generated after downloading debug symbols.

-- Backtrace:
Application: KDE Daemon (kdeinit4), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f34f30f67c0 (LWP 1978))]

Thread 3 (Thread 0x7f34cf2e3700 (LWP 2053)):
#0  0x00007f34edaea359 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f34edaea5e9 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f34edaab30e in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f34f1d95036 in QEventDispatcherGlib::processEvents (this=0x7f34c40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f34f1d6538f in QEventLoop::processEvents (this=this@entry=0x7f34cf2e2d90, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f34f1d65618 in QEventLoop::exec (this=this@entry=0x7f34cf2e2d90, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f34f1c67410 in QThread::exec (this=this@entry=0xd3f2c0) at thread/qthread.cpp:542
#7  0x00007f34f1d46edf in QInotifyFileSystemWatcherEngine::run (this=0xd3f2c0) at io/qfilesystemwatcher_inotify.cpp:256
#8  0x00007f34f1c69bec in QThreadPrivate::start (arg=0xd3f2c0) at thread/qthread_unix.cpp:338
#9  0x00007f34ee17ff8e in start_thread (arg=0x7f34cf2e3700) at pthread_create.c:311
#10 0x00007f34f096fe1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7f34bdad9700 (LWP 2308)):
#0  0x00007f34f09633cd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f34edaab1dc in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f34edaab304 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f34f1d95036 in QEventDispatcherGlib::processEvents (this=0x7f34b80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f34f1d6538f in QEventLoop::processEvents (this=this@entry=0x7f34bdad8d90, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f34f1d65618 in QEventLoop::exec (this=this@entry=0x7f34bdad8d90, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f34f1c67410 in QThread::exec (this=this@entry=0xde6370) at thread/qthread.cpp:542
#7  0x00007f34f1d46edf in QInotifyFileSystemWatcherEngine::run (this=0xde6370) at io/qfilesystemwatcher_inotify.cpp:256
#8  0x00007f34f1c69bec in QThreadPrivate::start (arg=0xde6370) at thread/qthread_unix.cpp:338
#9  0x00007f34ee17ff8e in start_thread (arg=0x7f34bdad9700) at pthread_create.c:311
#10 0x00007f34f096fe1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7f34f30f67c0 (LWP 1978)):
[KCrash Handler]
#6  QGraphicsProxyWidget::widget (this=0xd33010) at graphicsview/qgraphicsproxywidget.cpp:738
#7  0x00007f34e7095695 in Plasma::ToolButton::nativeWidget (this=<optimized out>) at ../../plasma/widgets/toolbutton.cpp:303
#8  0x00007f34e70956c8 in Plasma::ToolButton::setDown (this=<optimized out>, down=down@entry=false) at ../../plasma/widgets/toolbutton.cpp:283
#9  0x00007f34be18a084 in MenuWidget::slotMenuAboutToHide (this=0xf04ae0) at ../../appmenu/menuwidget.cpp:198
#10 0x00007f34f1d7b0ef in QMetaObject::activate (sender=sender@entry=0xddaba0, m=m@entry=0x7f34f1bbdc80 <QMenu::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x0) at kernel/qobject.cpp:3539
#11 0x00007f34f1545683 in QMenu::aboutToHide (this=this@entry=0xddaba0) at .moc/release-shared/moc_qmenu.cpp:171
#12 0x00007f34f154b212 in QMenu::hideEvent (this=0xddaba0) at widgets/qmenu.cpp:2195
#13 0x00007f34f1159c87 in QWidget::event (this=this@entry=0xddaba0, event=event@entry=0x7fff3fc4aed0) at kernel/qwidget.cpp:8597
#14 0x00007f34f154c3db in QMenu::event (this=0xddaba0, e=0x7fff3fc4aed0) at widgets/qmenu.cpp:2481
#15 0x00007f34f110c8ec in QApplicationPrivate::notify_helper (this=this@entry=0xb4eac0, receiver=receiver@entry=0xddaba0, e=e@entry=0x7fff3fc4aed0) at kernel/qapplication.cpp:4567
#16 0x00007f34f110f25b in QApplication::notify (this=this@entry=0x7fff3fc4bcb0, receiver=receiver@entry=0xddaba0, e=e@entry=0x7fff3fc4aed0) at kernel/qapplication.cpp:4428
#17 0x00007f34f2ae9af6 in KApplication::notify (this=0x7fff3fc4bcb0, receiver=0xddaba0, event=0x7fff3fc4aed0) at ../../kdeui/kernel/kapplication.cpp:311
#18 0x00007f34f1d6663e in QCoreApplication::notifyInternal (this=0x7fff3fc4bcb0, receiver=receiver@entry=0xddaba0, event=event@entry=0x7fff3fc4aed0) at kernel/qcoreapplication.cpp:946
#19 0x00007f34f115acdb in sendEvent (event=0x7fff3fc4aed0, receiver=0xddaba0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#20 QWidgetPrivate::hide_helper (this=this@entry=0xd7bb40) at kernel/qwidget.cpp:7641
#21 0x00007f34f115d488 in QWidget::setVisible (this=0xddaba0, visible=<optimized out>) at kernel/qwidget.cpp:7814
#22 0x00007f34f1158e7b in hide (this=0xddaba0) at ../../include/QtGui/../../src/gui/kernel/qwidget.h:498
#23 QWidgetPrivate::close_helper (this=0xd7bb40, mode=mode@entry=QWidgetPrivate::CloseWithEvent) at kernel/qwidget.cpp:7949
#24 0x00007f34f1158fde in QWidget::close (this=<optimized out>) at kernel/qwidget.cpp:8010
#25 0x00007f34f115cf1f in QWidgetPrivate::show_helper (this=this@entry=0xdc69c0) at kernel/qwidget.cpp:7521
#26 0x00007f34f115d2a2 in QWidget::setVisible (this=0xd92cb0, visible=<optimized out>) at kernel/qwidget.cpp:7777
#27 0x00007f34f16ed47c in show (this=0xd92cb0) at ../../include/QtGui/../../src/gui/kernel/qwidget.h:494
#28 QGraphicsProxyWidgetPrivate::setWidget_helper (this=0xfc6560, newWidget=newWidget@entry=0xd92cb0, autoShow=autoShow@entry=true) at graphicsview/qgraphicsproxywidget.cpp:683
#29 0x00007f34f16ed7ce in QGraphicsProxyWidget::setWidget (this=this@entry=0x129d2c0, widget=widget@entry=0xd92cb0) at graphicsview/qgraphicsproxywidget.cpp:593
#30 0x00007f34e70953df in Plasma::ToolButton::ToolButton (this=0x129d2c0, parent=<optimized out>) at ../../plasma/widgets/toolbutton.cpp:169
#31 0x00007f34be189a3e in MenuButton::MenuButton (this=0x129d2c0, parent=<optimized out>) at ../../appmenu/menubutton.cpp:37
#32 0x00007f34be189fcc in MenuWidget::createButton (this=this@entry=0xf04ae0, action=action@entry=0xfa2880) at ../../appmenu/menuwidget.cpp:278
#33 0x00007f34be18a515 in MenuWidget::initLayout (this=this@entry=0xf04ae0) at ../../appmenu/menuwidget.cpp:90
#34 0x00007f34be18a71a in slotUpdateActions (this=0xf04ae0) at ../../appmenu/menuwidget.cpp:233
#35 MenuWidget::slotUpdateActions (this=0xf04ae0) at ../../appmenu/menuwidget.cpp:219
#36 0x00007f34be18166b in setMenu (menu=0xfc7b70, this=<optimized out>) at ../../appmenu/menubar.h:51
#37 AppMenuModule::showMenuBar (this=this@entry=0x105fee0, menu=0xfc7b70) at ../../appmenu/appmenu.cpp:355
#38 0x00007f34be181d7c in AppMenuModule::slotActiveWindowChanged (this=0x105fee0, id=31457299) at ../../appmenu/appmenu.cpp:237
#39 0x00007f34f1d7b0ef in QMetaObject::activate (sender=sender@entry=0xaf9920, m=m@entry=0x7f34f2efa220 <KWindowSystem::staticMetaObject>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7fff3fc4b530) at kernel/qobject.cpp:3539
#40 0x00007f34f2c0ca62 in KWindowSystem::activeWindowChanged (this=this@entry=0xaf9920, _t1=31457549) at ./kwindowsystem.moc:157
#41 0x00007f34f2c0f8ea in KWindowSystemPrivate::x11Event (this=0x10636d0, ev=0x7fff3fc4b660) at ../../kdeui/windowmanagement/kwindowsystem_x11.cpp:197
#42 0x00007f34f2b0e97d in publicX11Event (e=0x7fff3fc4b660, this=<optimized out>) at ../../kdeui/kernel/ksystemeventfilter.cpp:43
#43 KSystemEventFilterPrivate::filterEvent (this=0xddac90, message=0x7fff3fc4b660) at ../../kdeui/kernel/ksystemeventfilter.cpp:102
#44 0x00007f34f1d5911e in QAbstractEventDispatcher::filterEvent (this=0xd33010, message=0x0, message@entry=0x7fff3fc4b660) at kernel/qabstracteventdispatcher.cpp:539
#45 0x00007f34f11b2028 in x11EventSourceDispatch (s=0xb50190, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:143
#46 0x00007f34edaaaf05 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#47 0x00007f34edaab248 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#48 0x00007f34edaab304 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#49 0x00007f34f1d95016 in QEventDispatcherGlib::processEvents (this=0xaa5670, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#50 0x00007f34f11b21ae in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#51 0x00007f34f1d6538f in QEventLoop::processEvents (this=this@entry=0x7fff3fc4ba30, flags=...) at kernel/qeventloop.cpp:149
#52 0x00007f34f1d65618 in QEventLoop::exec (this=this@entry=0x7fff3fc4ba30, flags=...) at kernel/qeventloop.cpp:204
#53 0x00007f34f1d6acf6 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#54 0x00007f34f110affc in QApplication::exec () at kernel/qapplication.cpp:3828
#55 0x00007f34dda87050 in kdemain (argc=1, argv=0xb260d0) at ../../kded/kded.cpp:925
#56 0x00000000004084ea in launch (argc=argc@entry=1, _name=_name@entry=0x40b167 "kded4", args=args@entry=0x0, cwd=cwd@entry=0x0, envc=envc@entry=0, envs=<optimized out>, envs@entry=0x0, reset_env=reset_env@entry=false, tty=tty@entry=0x0, avoid_loops=avoid_loops@entry=false, startup_id_str=startup_id_str@entry=0x40aff6 "0") at ../../kinit/kinit.cpp:738
#57 0x0000000000405b69 in main (argc=4, argv=<optimized out>, envp=0x7fff3fc4c6b0) at ../../kinit/kinit.cpp:1853

Reported using DrKonqi
Comment 1 Cédric Bellegarde 2013-07-01 07:09:40 UTC
*** Bug 321663 has been marked as a duplicate of this bug. ***
Comment 2 Cédric Bellegarde 2013-07-16 11:57:31 UTC
Git commit 3775bc604db62970f04dbf9a72979d037792c70e by Cédric Bellegarde.
Committed on 16/07/2013 at 11:56.
Pushed by cedric into branch 'master'.

M  +16   -8    appmenu/menuwidget.cpp

http://commits.kde.org/kde-workspace/3775bc604db62970f04dbf9a72979d037792c70e
Comment 3 Christophe Marin 2013-07-17 18:01:17 UTC
the fix is only needed in master ? not KDE/4.11 ?
Comment 4 Christophe Marin 2013-07-17 18:02:03 UTC
I gave you permissions to close bugs when you commit btw :)
Comment 5 Cédric Bellegarde 2013-07-18 13:32:14 UTC
Git commit 468f3e90ff2a322879fd25eaa1a3075c00e6b1ce by Cédric Bellegarde.
Committed on 18/07/2013 at 13:31.
Pushed by cedric into branch 'KDE/4.11'.

M  +16   -8    appmenu/menuwidget.cpp

http://commits.kde.org/kde-workspace/468f3e90ff2a322879fd25eaa1a3075c00e6b1ce
Comment 6 Rahul Prabhakar 2013-07-19 18:43:20 UTC
Upon receiving latest updates this bug is appears to be Fixed.  As of now i have KDE 4.10.5 installed.

I have following kubuntu ppa enabled 

http://ppa.launchpad.net/kubuntu-ppa/ppa/ubuntu raring main

Do i need to modify bug status or should i wait until KDE 4.11.0 ?
Comment 7 Christoph Feck 2013-08-11 11:28:09 UTC
Rahul, this bug has been in 4.11. If not, please reopen.