Bug 269077

Summary: KDE Crash Upon Logout from VNC Session
Product: [Unmaintained] ksmserver Reporter: Bill Wayson <bill_wayson>
Component: generalAssignee: Lubos Lunak <l.lunak>
Status: RESOLVED WORKSFORME    
Severity: crash CC: bill_wayson, chololennon, mail2005, rainer.emrich, servizioclienti, stephan.binder, valerio.granato
Priority: NOR    
Version First Reported In: 0.4   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi

Description Bill Wayson 2011-03-21 20:05:19 UTC
Application: ksmserver (0.4)
KDE Platform Version: 4.6.00 (4.6.0) "release 6"
Qt Version: 4.7.1
Operating System: Linux 2.6.37.1-1.2-desktop x86_64
Distribution: "openSUSE 11.4 (x86_64)"

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

I was connected via TightVNC and had just logged off the remote system.

The crash can be reproduced every time.

-- Backtrace:
Application: The KDE Session Manager (kdeinit4), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f7150ace760 (LWP 9669))]

Thread 2 (Thread 0x7f7139a91700 (LWP 9673)):
#0  0x00007f714e1d68fe in __lll_lock_wait_private () from /lib64/libc.so.6
#1  0x00007f714e16ff2e in _L_lock_9927 () from /lib64/libc.so.6
#2  0x00007f714e16e2d1 in free () from /lib64/libc.so.6
#3  0x00007f714b02de08 in ?? () from /lib64/libglib-2.0.so.0
#4  0x00007f714f7b1cda in QEventDispatcherGlib::~QEventDispatcherGlib (this=0x708cf0, __in_chrg=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:373
#5  0x00007f714f7b1e29 in QEventDispatcherGlib::~QEventDispatcherGlib (this=0x708cf0, __in_chrg=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:401
#6  0x00007f714f69cda4 in QThreadPrivate::finish (arg=0x7f714fab9f80) at thread/qthread_unix.cpp:321
#7  0x00007f714f69da66 in ~__pthread_cleanup_class (arg=0x7f714fab9f80) at /usr/include/pthread.h:535
#8  QThreadPrivate::start (arg=0x7f714fab9f80) at thread/qthread_unix.cpp:243
#9  0x00007f714f40ea3f in start_thread () from /lib64/libpthread.so.0
#10 0x00007f714e1c967d in clone () from /lib64/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f7150ace760 (LWP 9669)):
[KCrash Handler]
#6  0x00007f714e16ba05 in _int_malloc () from /lib64/libc.so.6
#7  0x00007f714e16dd99 in malloc () from /lib64/libc.so.6
#8  0x00007f714e9f1877 in QImageData::create (size=<value optimized out>, format=QImage::Format_ARGB32_Premultiplied, numColors=0) at image/qimage.cpp:243
#9  0x00007f714e9f2a7b in QImage::QImage (this=0x7fff7f755600, width=393, height=198, format=QImage::Format_ARGB32_Premultiplied) at image/qimage.cpp:843
#10 0x00007f714ea7bc6b in QPainterPrivate::draw_helper (this=0x80c050, originalPath=..., op=QPainterPrivate::StrokeAndFillDraw) at painting/qpainter.cpp:451
#11 0x00007f714d29af88 in QSvgPath::draw (this=0x850570, p=0x7fff7f755b50, states=...) at qsvggraphics.cpp:173
#12 0x00007f714d2bb3b2 in QSvgG::draw (this=0x84ff30, p=0x7fff7f755b50, states=...) at qsvgstructure.cpp:75
#13 0x00007f714d2c1edb in QSvgTinyDocument::draw (this=0x7a5120, p=0x7fff7f755b50, id=<value optimized out>, bounds=<value optimized out>) at qsvgtinydocument.cpp:308
#14 0x00007f714657d0f2 in Plasma::SvgPrivate::findInCache (this=0x7888e0, elementId=<value optimized out>, s=<value optimized out>) at /usr/src/debug/kdelibs-4.6.0/plasma/svg.cpp:363
#15 0x00007f714657d599 in Plasma::Svg::paint (this=<value optimized out>, painter=0x7fff7f7565e0, rect=..., elementID=<value optimized out>) at /usr/src/debug/kdelibs-4.6.0/plasma/svg.cpp:671
#16 0x00007f714651c0cd in Plasma::FrameSvgPrivate::generateFrameBackground (this=0x787370, frame=0x7889c0) at /usr/src/debug/kdelibs-4.6.0/plasma/framesvg.cpp:796
#17 0x00007f714651ed43 in Plasma::FrameSvgPrivate::generateBackground (this=0x787370, frame=0x7889c0) at /usr/src/debug/kdelibs-4.6.0/plasma/framesvg.cpp:679
#18 0x00007f714651f820 in Plasma::FrameSvg::paintFrame (this=0x758400, painter=0x7fff7f756c80, pos=...) at /usr/src/debug/kdelibs-4.6.0/plasma/framesvg.cpp:529
#19 0x00007f713fe53158 in KSMShutdownDlg::paintEvent (this=0x787b00, e=<value optimized out>) at /usr/src/debug/kdebase-workspace-4.6.0/ksmserver/shutdowndlg.cpp:584
#20 0x00007f714e9874ea in QWidget::event (this=0x787b00, event=0x7fff7f7574d0) at kernel/qwidget.cpp:8346
#21 0x00007f714e935d14 in QApplicationPrivate::notify_helper (this=0x6ad250, receiver=0x787b00, e=0x7fff7f7574d0) at kernel/qapplication.cpp:4445
#22 0x00007f714e93e22a in QApplication::notify (this=<value optimized out>, receiver=0x787b00, e=0x7fff7f7574d0) at kernel/qapplication.cpp:4324
#23 0x00007f715042a9e6 in KApplication::notify (this=0x69dfb0, receiver=0x787b00, event=0x7fff7f7574d0) at /usr/src/debug/kdelibs-4.6.0/kdeui/kernel/kapplication.cpp:311
#24 0x00007f714f786bfc in QCoreApplication::notifyInternal (this=0x69dfb0, receiver=0x787b00, event=0x7fff7f7574d0) at kernel/qcoreapplication.cpp:732
#25 0x00007f714e9843b2 in sendSpontaneousEvent (this=0x787ba0, pdev=0x787418, rgn=..., offset=..., flags=5, sharedPainter=0x0, backingStore=0x7870f0) at ../../src/corelib/kernel/qcoreapplication.h:218
#26 QWidgetPrivate::drawWidget (this=0x787ba0, pdev=0x787418, rgn=..., offset=..., flags=5, sharedPainter=0x0, backingStore=0x7870f0) at kernel/qwidget.cpp:5433
#27 0x00007f714eb47191 in QWidgetBackingStore::sync (this=0x7870f0) at painting/qbackingstore.cpp:1333
#28 0x00007f714eb47479 in QWidgetBackingStore::sync (this=0x7870f0, exposedWidget=0x787b00, exposedRegion=...) at painting/qbackingstore.cpp:1130
#29 0x00007f714e9b2b20 in QETWidget::translatePaintEvent (this=0x787b00, event=<value optimized out>) at kernel/qapplication_x11.cpp:5152
#30 0x00007f714e9b38ab in QApplication::x11ProcessEvent (this=0x69dfb0, event=0x7fff7f7582c0) at kernel/qapplication_x11.cpp:3464
#31 0x00007f714e9db0f2 in x11EventSourceDispatch (s=0x6a5b10, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#32 0x00007f714b031bd3 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#33 0x00007f714b0323b0 in ?? () from /lib64/libglib-2.0.so.0
#34 0x00007f714b032650 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#35 0x00007f714f7b191f in QEventDispatcherGlib::processEvents (this=0x6ad9f0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#36 0x00007f714e9dad8e in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#37 0x00007f714f786052 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#38 0x00007f714f786265 in QEventLoop::exec (this=0x7fff7f7585e0, flags=...) at kernel/qeventloop.cpp:201
#39 0x00007f714ede832e in QDialog::exec (this=0x787b00) at dialogs/qdialog.cpp:552
#40 0x00007f713fe56962 in KSMShutdownDlg::confirmShutdown (maysd=<value optimized out>, choose=true, sdtype=@0x7fff7f7586ac, bootOption=...) at /usr/src/debug/kdebase-workspace-4.6.0/ksmserver/shutdowndlg.cpp:703
#41 0x00007f713fe618ee in KSMServer::shutdown (this=0x746cf0, confirm=<value optimized out>, sdtype=KWorkSpace::ShutdownTypeNone, sdmode=KWorkSpace::ShutdownModeInteractive) at /usr/src/debug/kdebase-workspace-4.6.0/ksmserver/shutdown.cpp:157
#42 0x00007f714def3154 in _SmsProcessMessage (iceConn=0x7858f0, clientData=0x65ef80, opcode=<value optimized out>, length=1, swap=<value optimized out>) at sm_process.c:657
#43 0x00007f714dce1fb6 in IceProcessMessages (iceConn=0x7858f0, replyWait=0x0, replyReadyRet=0x0) at process.c:333
#44 0x00007f713fe50345 in KSMServer::processData (this=0x746cf0) at /usr/src/debug/kdebase-workspace-4.6.0/ksmserver/server.cpp:774
#45 0x00007f713fe505e6 in KSMServer::qt_metacall (this=0x746cf0, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0x7fff7f758af0) at /usr/src/debug/kdebase-workspace-4.6.0/build/ksmserver/server.moc:138
#46 0x00007f714f79bdef in QMetaObject::activate (sender=0x779d60, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff7f758af0) at kernel/qobject.cpp:3272
#47 0x00007f714f7e3ebe in QSocketNotifier::activated (this=<value optimized out>, _t1=36) at .moc/release-shared/moc_qsocketnotifier.cpp:89
#48 0x00007f714f7a199b in QSocketNotifier::event (this=0x779d60, e=0x7fff7f7591a0) at kernel/qsocketnotifier.cpp:317
#49 0x00007f714e935d14 in QApplicationPrivate::notify_helper (this=0x6ad250, receiver=0x779d60, e=0x7fff7f7591a0) at kernel/qapplication.cpp:4445
#50 0x00007f714e93e22a in QApplication::notify (this=<value optimized out>, receiver=0x779d60, e=0x7fff7f7591a0) at kernel/qapplication.cpp:4324
#51 0x00007f715042a9e6 in KApplication::notify (this=0x69dfb0, receiver=0x779d60, event=0x7fff7f7591a0) at /usr/src/debug/kdelibs-4.6.0/kdeui/kernel/kapplication.cpp:311
#52 0x00007f714f786bfc in QCoreApplication::notifyInternal (this=0x69dfb0, receiver=0x779d60, event=0x7fff7f7591a0) at kernel/qcoreapplication.cpp:732
#53 0x00007f714f7b12f9 in sendEvent (source=0x6a5980) at kernel/qcoreapplication.h:215
#54 socketNotifierSourceDispatch (source=0x6a5980) at kernel/qeventdispatcher_glib.cpp:110
#55 0x00007f714b031bd3 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#56 0x00007f714b0323b0 in ?? () from /lib64/libglib-2.0.so.0
#57 0x00007f714b032650 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#58 0x00007f714f7b191f in QEventDispatcherGlib::processEvents (this=0x6ad9f0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#59 0x00007f714e9dad8e in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#60 0x00007f714f786052 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#61 0x00007f714f786265 in QEventLoop::exec (this=0x7fff7f7593f0, flags=...) at kernel/qeventloop.cpp:201
#62 0x00007f714f78a6ab in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#63 0x00007f713fe4bb36 in kdemain (argc=6956528, argv=0x7fff7f759500) at /usr/src/debug/kdebase-workspace-4.6.0/ksmserver/main.cpp:311
#64 0x00000000004075e9 in _start ()

Reported using DrKonqi
Comment 1 Bill Wayson 2011-07-05 17:27:17 UTC
Created attachment 61631 [details]
New crash information added by DrKonqi

ksmserver (0.4) on KDE Platform 4.6.00 (4.6.0) "release 6" using Qt 4.7.1

- What I was doing when the application crashed:

I had just selected "Leave" from the KDE Desktop "right-mouse-button-click" context menu (with the intention of logging out) while connected to the PC via a TightVNC VNC session.

-- Backtrace (Reduced):
#8  0x00007f9613ea4877 in QImageData::create (size=<value optimized out>, format=QImage::Format_ARGB32_Premultiplied, numColors=0) at image/qimage.cpp:243
#9  0x00007f9613ea5a7b in QImage::QImage (this=0x7fffc4dd2110, width=393, height=198, format=QImage::Format_ARGB32_Premultiplied) at image/qimage.cpp:843
#10 0x00007f9613f2ec6b in QPainterPrivate::draw_helper (this=0x7fd240, originalPath=..., op=QPainterPrivate::StrokeAndFillDraw) at painting/qpainter.cpp:451
#11 0x00007f961274df88 in QSvgPath::draw (this=0x8bb3d0, p=0x7fffc4dd2660, states=...) at qsvggraphics.cpp:173
#12 0x00007f961276e3b2 in QSvgG::draw (this=0x8bad90, p=0x7fffc4dd2660, states=...) at qsvgstructure.cpp:75
Comment 2 Valerio Granato 2011-08-25 16:55:19 UTC
Created attachment 63143 [details]
New crash information added by DrKonqi

ksmserver (0.4) on KDE Platform 4.6.00 (4.6.0) "release 6" using Qt 4.7.1

- What I was doing when the application crashed:

Nothing.
Simply login, logout (using 'logoff' icon) and crash.

-- Backtrace (Reduced):
#8  0x00007fe885aa1877 in QImageData::create (size=<value optimized out>, format=QImage::Format_ARGB32_Premultiplied, numColors=0) at image/qimage.cpp:243
#9  0x00007fe885aa2a7b in QImage::QImage (this=0x7fff09b73a10, width=301, height=106, format=QImage::Format_ARGB32_Premultiplied) at image/qimage.cpp:843
#10 0x00007fe885b2bc6b in QPainterPrivate::draw_helper (this=0x8df560, originalPath=..., op=QPainterPrivate::StrokeAndFillDraw) at painting/qpainter.cpp:451
#11 0x00007fe88434af88 in QSvgPath::draw (this=0x8680c0, p=0x7fff09b73f60, states=...) at qsvggraphics.cpp:173
#12 0x00007fe88436b3b2 in QSvgG::draw (this=0x867a80, p=0x7fff09b73f60, states=...) at qsvgstructure.cpp:75
Comment 3 LiveNet Internet Company 2011-08-26 07:23:08 UTC
Created attachment 63150 [details]
New crash information added by DrKonqi

ksmserver (0.4) on KDE Platform 4.6.00 (4.6.0) "release 6" using Qt 4.7.1

- What I was doing when the application crashed:

kdeinit crashed on logoff.
The problemi started upgrading from openSuSE 11.3 to 11.4 using zypper dup.

- Custom settings of the application:

I connect to kde using tightvnc.
The server is a Xen DomU.

-- Backtrace (Reduced):
#8  0x00007fe3a1ac1877 in QImageData::create (size=<value optimized out>, format=QImage::Format_ARGB32_Premultiplied, numColors=0) at image/qimage.cpp:243
#9  0x00007fe3a1ac2a7b in QImage::QImage (this=0x7ffff9ee0cf0, width=301, height=106, format=QImage::Format_ARGB32_Premultiplied) at image/qimage.cpp:843
#10 0x00007fe3a1b4bc6b in QPainterPrivate::draw_helper (this=0x7d8420, originalPath=..., op=QPainterPrivate::StrokeAndFillDraw) at painting/qpainter.cpp:451
#11 0x00007fe3a036af88 in QSvgPath::draw (this=0x89b400, p=0x7ffff9ee1240, states=...) at qsvggraphics.cpp:173
#12 0x00007fe3a038b3b2 in QSvgG::draw (this=0x89adc0, p=0x7ffff9ee1240, states=...) at qsvgstructure.cpp:75
Comment 4 chololennon 2011-09-05 13:20:45 UTC
Created attachment 63400 [details]
New crash information added by DrKonqi

ksmserver (0.4) on KDE Platform 4.6.00 (4.6.0) "release 6" using Qt 4.7.1

- What I was doing when the application crashed:I was closing my VNC remote session with the kmenu option "logout"

-- Backtrace (Reduced):
#8  0x00007fc1224fc877 in QImageData::create (size=<value optimized out>, format=QImage::Format_ARGB32_Premultiplied, numColors=0) at image/qimage.cpp:243
#9  0x00007fc1224fda7b in QImage::QImage (this=0x7fff45aa6b30, width=301, height=106, format=QImage::Format_ARGB32_Premultiplied) at image/qimage.cpp:843
#10 0x00007fc122586c6b in QPainterPrivate::draw_helper (this=0x9054d0, originalPath=..., op=QPainterPrivate::StrokeAndFillDraw) at painting/qpainter.cpp:451
#11 0x00007fc120da5f88 in QSvgPath::draw (this=0x88b810, p=0x7fff45aa7080, states=...) at qsvggraphics.cpp:173
#12 0x00007fc120dc63b2 in QSvgG::draw (this=0x88b1d0, p=0x7fff45aa7080, states=...) at qsvgstructure.cpp:75
Comment 5 chololennon 2011-09-15 13:54:11 UTC
I found a workaround (or a simple way to avoid it): 

1- Go to Configure Desktop (Personal Settings) / Startup and shutdown / Session Management. 

2- Uncheck the option "Confirm logout"
Comment 6 Rainer Emrich 2011-12-15 10:20:19 UTC
Created attachment 66772 [details]
New crash information added by DrKonqi

ksmserver (0.4) on KDE Platform 4.6.00 (4.6.0) "release 6" using Qt 4.7.1

- What I was doing when the application crashed:

attached to the remote system through UltraVNC. Leaving the session produces the crash.

-- Backtrace (Reduced):
#9  0xb64a19a7 in QImageData::create (size=..., format=QImage::Format_ARGB32_Premultiplied, numColors=0) at image/qimage.cpp:243
#10 0xb64a2c29 in QImage::QImage (this=0xbf84f994, width=393, height=198, format=QImage::Format_ARGB32_Premultiplied) at image/qimage.cpp:843
#11 0xb653cc18 in QPainterPrivate::draw_helper (this=0x82225b0, originalPath=..., op=QPainterPrivate::StrokeAndFillDraw) at painting/qpainter.cpp:451
#12 0xb653f181 in QPainter::drawPath (this=0xbf84fd48, path=...) at painting/qpainter.cpp:3383
#13 0xb5de02ce in QSvgPath::draw (this=0x81c7760, p=0xbf84fd48, states=...) at qsvggraphics.cpp:173
Comment 7 Jekyll Wu 2012-07-05 18:16:16 UTC
*** Bug 281721 has been marked as a duplicate of this bug. ***
Comment 8 Jekyll Wu 2012-07-05 18:30:18 UTC
*** Bug 277709 has been marked as a duplicate of this bug. ***
Comment 9 Andrew Crouthamel 2018-10-29 22:25:16 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 10 Bug Janitor Service 2018-11-13 14:31:24 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 11 Bug Janitor Service 2018-11-29 04:49:42 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!