Bug 323145 - Crash when kquitapp plasma-desktop
Summary: Crash when kquitapp plasma-desktop
Status: RESOLVED UNMAINTAINED
Alias: None
Product: plasma4
Classification: Plasma
Component: general (show other bugs)
Version: 4.10.5
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-03 17:22 UTC by maxime.haselbauer
Modified: 2018-06-08 19:02 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (8.42 KB, text/plain)
2013-08-10 07:21 UTC, maxime.haselbauer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description maxime.haselbauer 2013-08-03 17:22:31 UTC
Application: plasma-desktop (4.10.5)
KDE Platform Version: 4.10.5
Qt Version: 4.8.2
Operating System: Linux 3.2.0-51-generic i686
Distribution: Ubuntu 12.04.2 LTS

-- Information about the crash:
- What I was doing when the application crashed:
I have a problem with a widget that does not come back to its place when I shutdown /restart computer . The widget is Konsole Widget
see http://kde-apps.org/content/show.php/Konsole+Widget?content=142753
What I did:
I removed the widgets of the desktop (only removed, not uninstall)
then kquitapp plasma-desktop
plasma-desktop & 
several times. It worked fine
Now I add the widgets to the desktop
kquitapp plasms-desktop
It produces this crash and the widgets does not remains at the same place with same size

- Unusual behavior I noticed:
I have tried to create a new user, but I cannot login under KDE with that new user. At login the screen become black then come back to the login screen
The time clocked is changed to UTC time and I cannot put it back to GMT+2 it will say
"Authentifizierung nicht möglich, Aktion kann nicht ausgeführt werden: 6, "
- Custom settings of the application:
I am using Kubuntu 12.04 with KDE 4.10.4 32 bit

The crash can be reproduced every time.

-- Backtrace:
Application: Plasma-Desktop-Umgebung (plasma-desktop), signal: Segmentation fault
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0xb7727740 (LWP 3042))]

Thread 7 (Thread 0xaff57b40 (LWP 3044)):
#0  0x00c45416 in __kernel_vsyscall ()
#1  0x0234e96b in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0x0020c6ec in __pthread_cond_wait (cond=0x20b4890, mutex=0x20b4878) at forward.c:139
#3  0x01fb0029 in ?? () from /usr/lib/i386-linux-gnu/libQtScript.so.4
#4  0x01fb006f in ?? () from /usr/lib/i386-linux-gnu/libQtScript.so.4
#5  0x0234ad4c in start_thread (arg=0xaff57b40) at pthread_create.c:308
#6  0x001fedde in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 6 (Thread 0xaec9ab40 (LWP 3046)):
#0  0x00c45416 in __kernel_vsyscall ()
#1  0x02350cc5 in sem_wait@@GLIBC_2.1 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/sem_wait.S:80
#2  0xa020b960 in PyThread_acquire_lock () from /usr/lib/libpython2.7.so.1.0
#3  0xa01c091b in new_threadstate () from /usr/lib/libpython2.7.so.1.0
#4  0xa01c22a6 in PyGILState_Ensure () from /usr/lib/libpython2.7.so.1.0
#5  0x9fec3ba6 in qtcore_MsgHandler (type=QtWarningMsg, msg=0xae3a5078 "QSocketNotifier: Invalid socket 16 and type 'Read', disabling...") at /build/buildd/python-qt4-4.9.1/sip/QtCore/qglobal.sip:262
#6  0x04d3f5e9 in qt_message_output (msgType=QtWarningMsg, buf=0xae3a5078 "QSocketNotifier: Invalid socket 16 and type 'Read', disabling...") at global/qglobal.cpp:2211
#7  0x04d3fb1b in qt_message (msgType=QtWarningMsg, msg=0x4f447d8 "QSocketNotifier: Invalid socket %d and type '%s', disabling...", ap=0xaec9a064 "\020") at global/qglobal.cpp:2330
#8  0x04d40148 in qWarning (msg=0x4f447d8 "QSocketNotifier: Invalid socket %d and type '%s', disabling...") at global/qglobal.cpp:2412
#9  0x04e924fa in socketNotifierSourceCheck (source=0xae302000) at kernel/qeventdispatcher_glib.cpp:90
#10 0x07275b7b in g_main_context_check () from /lib/i386-linux-gnu/libglib-2.0.so.0
#11 0x07276042 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#12 0x07276201 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#13 0x04e92d87 in QEventDispatcherGlib::processEvents (this=0xae300468, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#14 0x04e5e6ad in QEventLoop::processEvents (this=0xaec9a240, flags=...) at kernel/qeventloop.cpp:149
#15 0x04e5e949 in QEventLoop::exec (this=0xaec9a240, flags=...) at kernel/qeventloop.cpp:204
#16 0x04d47a1c in QThread::exec (this=0x8ea0058) at thread/qthread.cpp:501
#17 0x04e3bcfd in QInotifyFileSystemWatcherEngine::run (this=0x8ea0058) at io/qfilesystemwatcher_inotify.cpp:248
#18 0x04d4aeb0 in QThreadPrivate::start (arg=0x8ea0058) at thread/qthread_unix.cpp:307
#19 0x0234ad4c in start_thread (arg=0xaec9ab40) at pthread_create.c:308
#20 0x001fedde in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 5 (Thread 0xae1d2b40 (LWP 3047)):
#0  0x00c45416 in __kernel_vsyscall ()
#1  0x02350cc5 in sem_wait@@GLIBC_2.1 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/sem_wait.S:80
#2  0xa020b960 in PyThread_acquire_lock () from /usr/lib/libpython2.7.so.1.0
#3  0xa01c091b in new_threadstate () from /usr/lib/libpython2.7.so.1.0
#4  0xa01c22a6 in PyGILState_Ensure () from /usr/lib/libpython2.7.so.1.0
#5  0x9fec3ba6 in qtcore_MsgHandler (type=QtWarningMsg, msg=0xad805710 "QSocketNotifier: Invalid socket 19 and type 'Read', disabling...") at /build/buildd/python-qt4-4.9.1/sip/QtCore/qglobal.sip:262
#6  0x04d3f5e9 in qt_message_output (msgType=QtWarningMsg, buf=0xad805710 "QSocketNotifier: Invalid socket 19 and type 'Read', disabling...") at global/qglobal.cpp:2211
#7  0x04d3fb1b in qt_message (msgType=QtWarningMsg, msg=0x4f447d8 "QSocketNotifier: Invalid socket %d and type '%s', disabling...", ap=0xae1d2064 "\023") at global/qglobal.cpp:2330
#8  0x04d40148 in qWarning (msg=0x4f447d8 "QSocketNotifier: Invalid socket %d and type '%s', disabling...") at global/qglobal.cpp:2412
#9  0x04e924fa in socketNotifierSourceCheck (source=0xad802000) at kernel/qeventdispatcher_glib.cpp:90
#10 0x07275b7b in g_main_context_check () from /lib/i386-linux-gnu/libglib-2.0.so.0
#11 0x07276042 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#12 0x07276201 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#13 0x04e92d87 in QEventDispatcherGlib::processEvents (this=0xad800468, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#14 0x04e5e6ad in QEventLoop::processEvents (this=0xae1d2240, flags=...) at kernel/qeventloop.cpp:149
#15 0x04e5e949 in QEventLoop::exec (this=0xae1d2240, flags=...) at kernel/qeventloop.cpp:204
#16 0x04d47a1c in QThread::exec (this=0x872a0d0) at thread/qthread.cpp:501
#17 0x04e3bcfd in QInotifyFileSystemWatcherEngine::run (this=0x872a0d0) at io/qfilesystemwatcher_inotify.cpp:248
#18 0x04d4aeb0 in QThreadPrivate::start (arg=0x872a0d0) at thread/qthread_unix.cpp:307
#19 0x0234ad4c in start_thread (arg=0xae1d2b40) at pthread_create.c:308
#20 0x001fedde in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 4 (Thread 0xacdffb40 (LWP 3049)):
#0  0x0234cdc8 in __pthread_mutex_lock (mutex=0xace08438) at pthread_mutex_lock.c:92
#1  0x0020c904 in pthread_mutex_lock (mutex=0xace08438) at forward.c:182
#2  0x072b53d0 in g_mutex_lock () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x0727608c in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x0727656b in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0x0701a1ba in ?? () from /usr/lib/i386-linux-gnu/libgio-2.0.so.0
#6  0x072996b3 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#7  0x0234ad4c in start_thread (arg=0xacdffb40) at pthread_create.c:308
#8  0x001fedde in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 3 (Thread 0xa9afcb40 (LWP 3053)):
#0  0x00c45416 in __kernel_vsyscall ()
#1  0x0234e96b in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0x0020c6ec in __pthread_cond_wait (cond=0x8f1abc8, mutex=0x8f1abb0) at forward.c:139
#3  0x04d4b420 in wait (time=4294967295, this=0x8f1abb0) at thread/qwaitcondition_unix.cpp:86
#4  QWaitCondition::wait (this=0x8f18a28, mutex=0x8edee10, time=4294967295) at thread/qwaitcondition_unix.cpp:158
#5  0x003e9acc in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x8f18a10, th=0x8af6440) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0x003ec95b in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x8ee9768, th=0x8af6440) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0x003e963a in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x8f18a10, th=0x8af6440) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0x003eca5c in ThreadWeaver::WorkingHardState::applyForWork (this=0x8ee9768, th=0x8af6440) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0x003e9533 in ThreadWeaver::WeaverImpl::applyForWork (this=0x8f18a10, th=0x8af6440, previous=0x93f23e0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0x003eb4e4 in ThreadWeaver::ThreadRunHelper::run (this=0xa9afc2a4, parent=0x8f18a10, th=0x8af6440) at ../../../threadweaver/Weaver/Thread.cpp:87
#11 0x003eb59a in ThreadWeaver::Thread::run (this=0x8af6440) at ../../../threadweaver/Weaver/Thread.cpp:142
#12 0x04d4aeb0 in QThreadPrivate::start (arg=0x8af6440) at thread/qthread_unix.cpp:307
#13 0x0234ad4c in start_thread (arg=0xa9afcb40) at pthread_create.c:308
#14 0x001fedde in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xa6afab40 (LWP 3055)):
#0  0x001ee48c in read () at ../sysdeps/unix/syscall-template.S:82
#1  0x072b46ae in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#2  0x07275bd2 in g_main_context_check () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x07276042 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x07276201 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0x04e92de7 in QEventDispatcherGlib::processEvents (this=0xace083a8, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x04e5e6ad in QEventLoop::processEvents (this=0xa6afa270, flags=...) at kernel/qeventloop.cpp:149
#7  0x04e5e949 in QEventLoop::exec (this=0xa6afa270, flags=...) at kernel/qeventloop.cpp:204
#8  0x04d47a1c in QThread::exec (this=0xae390600) at thread/qthread.cpp:501
#9  0x04d47b0b in QThread::run (this=0xae390600) at thread/qthread.cpp:568
#10 0x04d4aeb0 in QThreadPrivate::start (arg=0xae390600) at thread/qthread_unix.cpp:307
#11 0x0234ad4c in start_thread (arg=0xa6afab40) at pthread_create.c:308
#12 0x001fedde in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb7727740 (LWP 3042)):
[KCrash Handler]
#7  0xa01c091b in new_threadstate () from /usr/lib/libpython2.7.so.1.0
#8  0xa01c22a6 in PyGILState_Ensure () from /usr/lib/libpython2.7.so.1.0
#9  0x9fec3ba6 in qtcore_MsgHandler (type=QtDebugMsg, msg=0xb319c00 "plasma-desktop(3042)/kio (Slave) KIO::Slave::kill: killing slave pid 3058 ( \"trash://\" )") at /build/buildd/python-qt4-4.9.1/sip/QtCore/qglobal.sip:262
#10 0x04d3f5e9 in qt_message_output (msgType=QtDebugMsg, buf=0xb319c00 "plasma-desktop(3042)/kio (Slave) KIO::Slave::kill: killing slave pid 3058 ( \"trash://\" )") at global/qglobal.cpp:2211
#11 0x042051db in KLineEndStrippingDebugStream::writeData (this=0x8555084, data=0x95c8948 "plasma-desktop(3042)/kio (Slave) KIO::Slave::kill: killing slave pid 3058 ( \"trash://\" ) ", len=89) at ../../kdecore/io/kdebug.cpp:186
#12 0x04de9009 in QIODevice::write (this=0x8555084, data=0x95c8948 "plasma-desktop(3042)/kio (Slave) KIO::Slave::kill: killing slave pid 3058 ( \"trash://\" ) ", maxSize=89) at io/qiodevice.cpp:1371
#13 0x04df5e2d in write (data=..., this=<optimized out>) at ../../include/QtCore/../../src/corelib/io/qiodevice.h:127
#14 QTextStreamPrivate::flushWriteBuffer (this=0xd13a580) at io/qtextstream.cpp:681
#15 0x04dff97e in QTextStream::~QTextStream (this=0x8ebaa48, __in_chrg=<optimized out>) at io/qtextstream.cpp:1149
#16 0x007f6ecb in ~Stream (this=0x8ebaa48, __in_chrg=<optimized out>) at /usr/include/qt4/QtCore/qdebug.h:64
#17 ~QDebug (this=0xbff21bd4, __in_chrg=<optimized out>) at /usr/include/qt4/QtCore/qdebug.h:88
#18 QDebug::~QDebug (this=0xbff21bd4, __in_chrg=<optimized out>) at /usr/include/qt4/QtCore/qdebug.h:81
#19 0x008e9e8e in KIO::Slave::kill (this=0x996adf0) at ../../kio/kio/slave.cpp:365
#20 0x008e6118 in KIO::SchedulerPrivate::~SchedulerPrivate (this=0x8eb2e40, __in_chrg=<optimized out>) at ../../kio/kio/scheduler.cpp:675
#21 0x008de4c9 in destroy () at ../../kio/kio/scheduler.cpp:752
#22 0x008247c9 in KCleanUpGlobalStatic::~KCleanUpGlobalStatic (this=0xa232b0, __in_chrg=<optimized out>) at ../../kdecore/kernel/kglobal.h:62
#23 0x00142f51 in __run_exit_handlers (status=0, listp=0x2b53e4, run_list_atexit=true) at exit.c:78
#24 0x00142fdd in __GI_exit (status=0) at exit.c:100
#25 0x001294db in __libc_start_main (main=0x80484f0 <main(int, char**)>, argc=1, ubp_av=0xbff21d94, init=0x80485e0 <__libc_csu_init>, fini=0x8048650 <__libc_csu_fini>, rtld_fini=0xfcb280 <_dl_fini>, stack_end=0xbff21d8c) at libc-start.c:258
#26 0x08048531 in _start ()

Reported using DrKonqi
Comment 1 maxime.haselbauer 2013-08-10 07:21:17 UTC
Created attachment 81625 [details]
New crash information added by DrKonqi

plasmoidviewer (1.0) on KDE Platform 4.10.5 using Qt 4.8.2

- What I was doing when the application crashed:
I launch the widget with plasmoidviewer
When I click the cross to quit the plasmoidviewer it raises a Crash

Here is the output
max@inspiron:~$ plasmoidviewer KonsoleWidget
plasmoidviewer(5920)/kdecore (KSycoca) KSycocaPrivate::openDatabase: Trying to open ksycoca from "/var/tmp/kdecache-max/ksycoca4"
plasmoidviewer(5920)/libplasma Plasma::Corona::Corona: !!{} STARTUP TIME 25573533 Corona ctor start
plasmoidviewer(5920)/kdecore (services) KServiceFactory::findServiceByDesktopPath: "" not found
plasmoidviewer(5920)/libplasma Plasma::AppletPrivate::init: Check your constructor!  You probably want to be passing in a Service::Ptr  or a QVariantList with a valid storageid as arg[0].
plasmoidviewer(5920)/libplasma Plasma::PluginLoader::loadApplet: we have a script using the "python" API
plasmoidviewer(5920)/python (plugin) KPythonPluginFactory::KPythonPluginFactory: KPythonPluginFactory::KPythonPluginFactory()
plasmoidviewer(5920)/python (plugin) KPythonPluginFactory::initialize: Initializing Python interpreter.
plasmoidviewer(5920)/python (plugin) KPythonPluginFactory::initialize: Succesfully initialized Python interpreter.
plasmoidviewer(5920)/python (plugin) KPythonPluginFactory::create: KPythonPluginFactory::create iface:  Plasma::AppletScript
plasmoidviewer(5920)/python (plugin) KPythonPluginFactory::create: keyword to be used for finding the plugin code:  "plasma_scriptengine_python/pyappletscript.py"
plasmoidviewer(5920)/python (plugin) KPythonPluginFactory::create: Path to plugin code is:  "/usr/share/kde4/apps/plasma_scriptengine_python/pyappletscript.py"
plasmoidviewer(5920)/python (plugin) KPythonPluginFactory::create: Returning result qobject
plasmoidviewer(5920)/libplasma Plasma::AppletPrivate::setupScriptSupport: setting up script support, package is in "/home/max/.kde/share/apps/plasma/plasmoids/KonsoleWidget/" which is a "Plasmoid" package , main script is "/home/max/.kde/share/apps/plasma/plasmoids/KonsoleWidget/contents/code/main.py"
plasmoidviewer(5920)/kdecore (services) KServiceFactory::findServiceByDesktopPath: "" not found
plasmoidviewer(5920)/libplasma Plasma::AppletPrivate::init: Check your constructor!  You probably want to be passing in a Service::Ptr  or a QVariantList with a valid storageid as arg[0].
0 Test
0 plasmoidviewer(5920)/kdecore (KLibrary) findLibraryInternal: plugins should not have a 'lib' prefix: "libkonsolepart.so"
0 plasmoidviewer(5920)/konsole Konsole::Session::run: Attempted to re-run an already running session. 
0 plasmoidviewer(5920)/kparts KParts::Part::slotWidgetDestroyed: deleting part ""
KCrash: Application 'plasmoidviewer' crashing...
KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi from kdeinit
sock_file=/home/max/.kde/socket-inspiron/kdeinit4__0

-- Backtrace (Reduced):
#7  0x060d391b in new_threadstate () from /usr/lib/libpython2.7.so.1.0
#8  0x060d52a6 in PyGILState_Ensure () from /usr/lib/libpython2.7.so.1.0
#9  0x075f5ba6 in qtcore_MsgHandler (type=QtDebugMsg, msg=0x91278d8 "plasmoidviewer(5920)/python (plugin) KPythonPluginFactory::~KPythonPluginFactory: KPythonPluginFactory::~KPythonPluginFactory()") at /build/buildd/python-qt4-4.9.1/sip/QtCore/qglobal.sip:262
[...]
#11 0x008031db in KLineEndStrippingDebugStream::writeData (this=0x89a8054, data=0x908cee0 "plasmoidviewer(5920)/python (plugin) KPythonPluginFactory::~KPythonPluginFactory: KPythonPluginFactory::~KPythonPluginFactory() ", len=128) at ../../kdecore/io/kdebug.cpp:186
#12 0x01bbe009 in QIODevice::write (this=0x89a8054, data=0x908cee0 "plasmoidviewer(5920)/python (plugin) KPythonPluginFactory::~KPythonPluginFactory: KPythonPluginFactory::~KPythonPluginFactory() ", maxSize=128) at io/qiodevice.cpp:1371
Comment 2 Nate Graham 2018-06-08 19:02:20 UTC
Hello!

This bug report was filed for KDE Plasma 4, which reached end-of-support status in August 2015. KDE Plasma 5's desktop shell has been almost completely rewritten for better performance and usability, so it is likely that this bug is already resolved in Plasma 5.

Accordingly, we hope you understand why we must close this bug report. If the issue described  here is still present in KDE Plasma 5.12 or later, please feel free to open a new ticket in the "plasmashell" product after reading https://community.kde.org/Get_Involved/Bug_Reporting

If you would like to get involved in KDE's bug triaging effort so that future mass bug closes like this are less likely, please read https://community.kde.org/Get_Involved#Bug_Triaging

Thanks for your understanding!

Nate Graham