Bug 285130 - Crash after logout KDE using vncviewer and vnc4server with xdmcp (Kubuntu 11.10)
Summary: Crash after logout KDE using vncviewer and vnc4server with xdmcp (Kubuntu 11.10)
Status: RESOLVED WORKSFORME
Alias: None
Product: ksmserver
Classification: Unmaintained
Component: general (other bugs)
Version First Reported In: 0.4
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Lubos Lunak
URL:
Keywords:
: 291456 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-10-27 20:11 UTC by Len7hir
Modified: 2018-11-30 03:50 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
New crash information added by DrKonqi (8.01 KB, text/plain)
2013-12-27 13:14 UTC, ray
Details
New crash information added by DrKonqi (8.74 KB, text/plain)
2014-01-18 19:49 UTC, boynagar
Details
New crash information added by DrKonqi (8.75 KB, text/plain)
2014-01-27 17:45 UTC, David Lopez
Details
New crash information added by DrKonqi (9.64 KB, text/plain)
2014-03-27 13:33 UTC, David Lopez
Details
New crash information added by DrKonqi (10.77 KB, text/plain)
2014-04-06 14:03 UTC, Ales Kastner
Details
New crash information added by DrKonqi (8.87 KB, text/plain)
2014-05-07 10:10 UTC, Roberto gabrielli
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Len7hir 2011-10-27 20:11:31 UTC
Application: ksmserver (0.4)
KDE Platform Version: 4.7.2 (4.7.2)
Qt Version: 4.7.4
Operating System: Linux 3.0.0-12-generic x86_64
Distribution: Ubuntu 11.10

-- Information about the crash:
Kubuntu 11.10 over vnc4server + enabled Xdmcp in KDM.
Always when click logout in KDE menu in vncviewer - KDE and Nepomuk is going to crash (not logout :P)

-- Backtrace:
Application: Menedżer sesji KDE (kdeinit4), signal: Aborted
[Current thread is 1 (Thread 0x7f1bfdd3a780 (LWP 30122))]

Thread 2 (Thread 0x7f1be58f2700 (LWP 30123)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007f1bfb53e9df in _L_lock_10501 () from /lib/x86_64-linux-gnu/libc.so.6
#2  0x00007f1bfb53cd71 in __GI___libc_free (mem=0x7f1bfb85a1c0) at malloc.c:3736
#3  0x00007f1bf87914e1 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f1bfc9dcc37 in QEventDispatcherGlib::~QEventDispatcherGlib (this=0x1d98240, __in_chrg=<optimized out>) at kernel/qeventdispatcher_glib.cpp:373
#5  0x00007f1bfc9dce49 in QEventDispatcherGlib::~QEventDispatcherGlib (this=0x1d98240, __in_chrg=<optimized out>) at kernel/qeventdispatcher_glib.cpp:401
#6  0x00007f1bfc8c9e34 in QThreadPrivate::finish (arg=0x7f1bfcce5580) at thread/qthread_unix.cpp:367
#7  0x00007f1bfc8cad0d in ~__pthread_cleanup_class (this=<synthetic pointer>, __in_chrg=<optimized out>) at /usr/include/pthread.h:545
#8  ~__pthread_cleanup_class (this=<synthetic pointer>, __in_chrg=<optimized out>) at thread/qthread_unix.cpp:824
#9  QThreadPrivate::start (arg=0x7f1bfcce5580) at thread/qthread_unix.cpp:290
#10 0x00007f1bf905fefc in start_thread (arg=0x7f1be58f2700) at pthread_create.c:304
#11 0x00007f1bfb5a189d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f1bfdd3a780 (LWP 30122)):
[KCrash Handler]
#6  0x00007f1bfb4f63a5 in __GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00007f1bfb4f9b0b in __GI_abort () at abort.c:92
#8  0x00007f1bfb52e113 in __libc_message (do_abort=2, fmt=0x7f1bfb61f0d8 "*** glibc detected *** %s: %s: 0x%s ***\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:189
#9  0x00007f1bfb538a96 in malloc_printerr (action=3, str=0x7f1bfb61f278 "double free or corruption (!prev)", ptr=<optimized out>) at malloc.c:6283
#10 0x00007f1bfb53cd7c in __GI___libc_free (mem=<optimized out>) at malloc.c:3738
#11 0x00007f1bfbe1e1e5 in QImageData::~QImageData (this=0x1efdea0, __in_chrg=<optimized out>) at image/qimage.cpp:264
#12 0x00007f1bfbe1e273 in QImage::~QImage (this=0x7fffb55ff520, __in_chrg=<optimized out>) at image/qimage.cpp:1321
#13 0x00007f1beb00722a in CurtainEffect::nextFrame (this=0x1e8b460) at ../../ksmserver/curtaineffect.cpp:50
#14 0x00007f1beb007250 in CurtainEffect::start (this=0x1e8b460) at ../../ksmserver/curtaineffect.cpp:43
#15 0x00007f1beaff5e10 in KSMShutdownFeedback::qt_metacall (this=0x1eb6830, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=<optimized out>) at ./shutdowndlg.moc:74
#16 0x00007f1bfc9c4eba in QMetaObject::activate (sender=0x1ead900, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3278
#17 0x00007f1bfc9ccf7f in QSingleShotTimer::timerEvent (this=0x1ead900) at kernel/qtimer.cpp:308
#18 0x00007f1bfc9c8789 in QObject::event (this=0x1ead900, e=<optimized out>) at kernel/qobject.cpp:1181
#19 0x00007f1bfbd62424 in notify_helper (e=0x7fffb55ffba0, receiver=0x1ead900, this=0x1d33c30) at kernel/qapplication.cpp:4486
#20 QApplicationPrivate::notify_helper (this=0x1d33c30, receiver=0x1ead900, e=0x7fffb55ffba0) at kernel/qapplication.cpp:4458
#21 0x00007f1bfbd67291 in QApplication::notify (this=0x1d34280, receiver=0x1ead900, e=0x7fffb55ffba0) at kernel/qapplication.cpp:4365
#22 0x00007f1bfd71f126 in KApplication::notify (this=0x1d34280, receiver=0x1ead900, event=0x7fffb55ffba0) at ../../kdeui/kernel/kapplication.cpp:311
#23 0x00007f1bfc9b1afc in QCoreApplication::notifyInternal (this=0x1d34280, receiver=0x1ead900, event=0x7fffb55ffba0) at kernel/qcoreapplication.cpp:787
#24 0x00007f1bfc9ded62 in sendEvent (event=0x7fffb55ffba0, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#25 QTimerInfoList::activateTimers (this=0x1d310d0) at kernel/qeventdispatcher_unix.cpp:603
#26 0x00007f1bfc9dc514 in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:184
#27 0x00007f1bf8795a5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x00007f1bf8796258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x00007f1bf8796429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007f1bfc9dced6 in QEventDispatcherGlib::processEvents (this=0x1d33bd0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#31 0x00007f1bfbe0a07e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#32 0x00007f1bfc9b0cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#33 0x00007f1bfc9b0ef7 in QEventLoop::exec (this=0x7fffb55ffe30, flags=...) at kernel/qeventloop.cpp:201
#34 0x00007f1bfc219216 in QDialog::exec (this=0x1e97c40) at dialogs/qdialog.cpp:552
#35 0x00007f1beaff89b2 in KSMShutdownDlg::confirmShutdown (maysd=<optimized out>, choose=false, sdtype=@0x7fffb55ffedc, bootOption=...) at ../../ksmserver/shutdowndlg.cpp:703
#36 0x00007f1beb00428f in KSMServer::shutdown (this=0x1e8a3f0, confirm=<optimized out>, sdtype=KWorkSpace::ShutdownTypeNone, sdmode=KWorkSpace::ShutdownModeInteractive) at ../../ksmserver/shutdown.cpp:157
#37 0x00007f1beb007b22 in KSMServerInterfaceAdaptor::qt_metacall (this=0x1e71440, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0x7fffb5600230) at ksmserverinterfaceadaptor.moc:128
#38 0x00007f1bf9f860e9 in QDBusConnectionPrivate::deliverCall (this=0x1d91880, object=0x1e71440, msg=..., metaTypes=..., slotIdx=9) at qdbusintegrator.cpp:942
#39 0x00007f1bf9f8719b in QDBusConnectionPrivate::activateCall (this=0x1d91880, object=0x1e71440, flags=273, msg=...) at qdbusintegrator.cpp:845
#40 0x00007f1bf9f87b22 in QDBusConnectionPrivate::activateObject (this=0x1d91880, node=..., msg=..., pathStartPos=<optimized out>) at qdbusintegrator.cpp:1410
#41 0x00007f1bf9f87bf8 in QDBusActivateObjectEvent::placeMetaCall (this=0x1e94690) at qdbusintegrator.cpp:1524
#42 0x00007f1bfc9c8a5e in QObject::event (this=0x1e8a3f0, e=<optimized out>) at kernel/qobject.cpp:1217
#43 0x00007f1bfbd62424 in notify_helper (e=0x1e94690, receiver=0x1e8a3f0, this=0x1d33c30) at kernel/qapplication.cpp:4486
#44 QApplicationPrivate::notify_helper (this=0x1d33c30, receiver=0x1e8a3f0, e=0x1e94690) at kernel/qapplication.cpp:4458
#45 0x00007f1bfbd67291 in QApplication::notify (this=0x1d34280, receiver=0x1e8a3f0, e=0x1e94690) at kernel/qapplication.cpp:4365
#46 0x00007f1bfd71f126 in KApplication::notify (this=0x1d34280, receiver=0x1e8a3f0, event=0x1e94690) at ../../kdeui/kernel/kapplication.cpp:311
#47 0x00007f1bfc9b1afc in QCoreApplication::notifyInternal (this=0x1d34280, receiver=0x1e8a3f0, event=0x1e94690) at kernel/qcoreapplication.cpp:787
#48 0x00007f1bfc9b551f in sendEvent (event=0x1e94690, receiver=0x1e8a3f0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#49 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x1c7c5e0) at kernel/qcoreapplication.cpp:1428
#50 0x00007f1bfc9dca73 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#51 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:277
#52 0x00007f1bf8795a5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#53 0x00007f1bf8796258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#54 0x00007f1bf8796429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#55 0x00007f1bfc9dced6 in QEventDispatcherGlib::processEvents (this=0x1d33bd0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#56 0x00007f1bfbe0a07e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#57 0x00007f1bfc9b0cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#58 0x00007f1bfc9b0ef7 in QEventLoop::exec (this=0x7fffb5600c90, flags=...) at kernel/qeventloop.cpp:201
#59 0x00007f1bfc9b5789 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#60 0x00007f1beafedaaa in kdemain (argc=1, argv=<optimized out>) at ../../ksmserver/main.cpp:311
#61 0x0000000000408547 in launch (argc=1, _name=0x1ce9a58 "ksmserver", args=<optimized out>, cwd=0x1ce9a62 "/home/remote", envc=<optimized out>, envs=<optimized out>, reset_env=true, tty=0x1ce9e71 "", avoid_loops=false, startup_id_str=0x1ce9e7a "") at ../../kinit/kinit.cpp:746
#62 0x0000000000409886 in handle_launcher_request (sock=5, who=<optimized out>) at ../../kinit/kinit.cpp:1238
#63 0x0000000000409e62 in handle_requests (waitForPid=0) at ../../kinit/kinit.cpp:1422
#64 0x0000000000405227 in main (argc=4, argv=0x7fff00000001, envp=0x7fffb56023e0) at ../../kinit/kinit.cpp:1919

Possible duplicates by query: bug 283789, bug 275298, bug 257248, bug 257160, bug 250470.

Reported using DrKonqi
Comment 1 Jekyll Wu 2012-07-05 18:20:09 UTC
*** Bug 291456 has been marked as a duplicate of this bug. ***
Comment 2 ray 2013-12-27 13:14:53 UTC
Created attachment 84296 [details]
New crash information added by DrKonqi

ksmserver (0.4) on KDE Platform 4.12.0 using Qt 4.8.5

- What I was doing when the application crashed:
Selected "Leave/logout" from -KDE in a tightVNC sessioon.
The same or similar crash occurs when trying to log out of a KDE-4.12.0 session via VNC. Other DEs e.g. IceWM, Openbox (no KDE), or Xfce permit a normal logout.

-- Backtrace (Reduced):
#11 0x00007f1456271bc5 in QImageData::~QImageData (this=0x1e7fb60, __in_chrg=<optimized out>) at image/qimage.cpp:226
#12 0x00007f1456271c4b in QImage::~QImage (this=0x7fffaa18aff0, __in_chrg=<optimized out>) at image/qimage.cpp:1283
#13 0x00007f14421be444 in CurtainEffect::nextFrame (this=this@entry=0x1b84c50) at /usr/src/debug/kde-workspace-4.11.4/ksmserver/curtaineffect.cpp:62
#14 0x00007f14421be4b0 in CurtainEffect::start (this=0x1b84c50) at /usr/src/debug/kde-workspace-4.11.4/ksmserver/curtaineffect.cpp:44
[...]
#16 0x00007f145705dc0a in timeout (this=0x1d4b1b0) at .moc/release-shared/qtimer.moc:96
Comment 3 boynagar 2014-01-18 19:49:44 UTC
Created attachment 84718 [details]
New crash information added by DrKonqi

ksmserver (0.4) on KDE Platform 4.11.4 using Qt 4.8.5

- What I was doing when the application crashed:

Trying to log out from session while connected via UltraVNC

-- Backtrace (Reduced):
#11 0x00007fbc8bb40bc5 in QImageData::~QImageData (this=0x16e8ec0, __in_chrg=<optimized out>) at image/qimage.cpp:226
#12 0x00007fbc8bb40c4b in QImage::~QImage (this=0x7fff772bbf70, __in_chrg=<optimized out>) at image/qimage.cpp:1283
#13 0x00007fbc77af4444 in CurtainEffect::nextFrame (this=this@entry=0x1653240) at /usr/src/debug/kde-workspace-4.11.4/ksmserver/curtaineffect.cpp:62
#14 0x00007fbc77af44b0 in CurtainEffect::start (this=0x1653240) at /usr/src/debug/kde-workspace-4.11.4/ksmserver/curtaineffect.cpp:44
[...]
#16 0x00007fbc8c92cc0a in timeout (this=0x1673510) at .moc/release-shared/qtimer.moc:96
Comment 4 David Lopez 2014-01-27 17:45:00 UTC
Created attachment 84858 [details]
New crash information added by DrKonqi

ksmserver (0.4) on KDE Platform 4.11.4 using Qt 4.8.5

- What I was doing when the application crashed:
I tried to log out of KDE session.

- Custom settings of the application:
Connected via VNC (Xvnc server).

-- Backtrace (Reduced):
#11 0x00007f7fbd21fbc5 in QImageData::~QImageData (this=0x27c6800, __in_chrg=<optimized out>) at image/qimage.cpp:226
#12 0x00007f7fbd21fc4b in QImage::~QImage (this=0x7ffff21e3e00, __in_chrg=<optimized out>) at image/qimage.cpp:1283
#13 0x00007f7fa91d0444 in CurtainEffect::nextFrame (this=this@entry=0x23ed920) at /usr/src/debug/kde-workspace-4.11.4/ksmserver/curtaineffect.cpp:62
#14 0x00007f7fa91d04b0 in CurtainEffect::start (this=0x23ed920) at /usr/src/debug/kde-workspace-4.11.4/ksmserver/curtaineffect.cpp:44
[...]
#16 0x00007f7fbe00bc0a in timeout (this=0x25ac990) at .moc/release-shared/qtimer.moc:96
Comment 5 David Lopez 2014-03-27 13:33:54 UTC
Created attachment 85785 [details]
New crash information added by DrKonqi

ksmserver (0.4) on KDE Platform 4.11.5 using Qt 4.8.5

- What I was doing when the application crashed:
Being connected through VNC I just used the VNC client function "send ctrl-alt-del" and got the crash
- Custom settings of the application:
I was connected through VNC

-- Backtrace (Reduced):
#11 0x00007fdf102e3bc5 in QImageData::~QImageData (this=0x17de850, __in_chrg=<optimized out>) at image/qimage.cpp:226
#12 0x00007fdf102e3c4b in QImage::~QImage (this=0x7fff5a15fcd0, __in_chrg=<optimized out>) at image/qimage.cpp:1283
#13 0x00007fdefc2943e4 in CurtainEffect::nextFrame (this=this@entry=0x13f46c0) at /usr/src/debug/kde-workspace-4.11.6/ksmserver/curtaineffect.cpp:62
#14 0x00007fdefc294450 in CurtainEffect::start (this=0x13f46c0) at /usr/src/debug/kde-workspace-4.11.6/ksmserver/curtaineffect.cpp:44
[...]
#16 0x00007fdf110cfc0a in timeout (this=0x14c0c60) at .moc/release-shared/qtimer.moc:96
Comment 6 Ales Kastner 2014-04-06 14:03:47 UTC
Created attachment 85978 [details]
New crash information added by DrKonqi

ksmserver (0.4) on KDE Platform 4.11.5 using Qt 4.8.5

- What I was doing when the application crashed:
logout from user account in (orig.) VNC Viewer
no application was running

-- Backtrace (Reduced):
#11 0x00007feb5652fbc5 in QImageData::~QImageData (this=0x1bfd260, __in_chrg=<optimized out>) at image/qimage.cpp:226
#12 0x00007feb5652fc4b in QImage::~QImage (this=0x7fffb17d8120, __in_chrg=<optimized out>) at image/qimage.cpp:1283
#13 0x00007feb422d63e4 in CurtainEffect::nextFrame (this=this@entry=0x1de8e00) at /usr/src/debug/kde-workspace-4.11.6/ksmserver/curtaineffect.cpp:62
#14 0x00007feb422d6450 in CurtainEffect::start (this=0x1de8e00) at /usr/src/debug/kde-workspace-4.11.6/ksmserver/curtaineffect.cpp:44
[...]
#16 0x00007feb5731bc0a in timeout (this=0x1b9cbf0) at .moc/release-shared/qtimer.moc:96
Comment 7 Roberto gabrielli 2014-05-07 10:10:33 UTC
Created attachment 86506 [details]
New crash information added by DrKonqi

ksmserver (0.4) on KDE Platform 4.11.5 using Qt 4.8.5

I was using from a Windows PC the latest version of REAL VNC Viewer without encryption. The problem occours when I select to Log off because I want to completely close the X11 session. If I only close the VNC Viewer this doesn't happen.
Hope this can help

-- Backtrace (Reduced):
#10 0x00007f6fd683ebc5 in QImageData::~QImageData (this=0x17cb060, __in_chrg=<optimized out>) at image/qimage.cpp:226
#11 0x00007f6fd683ec4b in QImage::~QImage (this=0x7fff3b9ff500, __in_chrg=<optimized out>) at image/qimage.cpp:1283
#12 0x00007f6fc27ee3e4 in CurtainEffect::nextFrame (this=this@entry=0x15f9190) at /usr/src/debug/kde-workspace-4.11.6/ksmserver/curtaineffect.cpp:62
#13 0x00007f6fc27ee450 in CurtainEffect::start (this=0x15f9190) at /usr/src/debug/kde-workspace-4.11.6/ksmserver/curtaineffect.cpp:44
[...]
#15 0x00007f6fd762ac0a in timeout (this=0x1735260) at .moc/release-shared/qtimer.moc:96
Comment 8 Andrew Crouthamel 2018-10-31 03:55:26 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 9 Bug Janitor Service 2018-11-15 10:36:45 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 10 Bug Janitor Service 2018-11-30 03:50:01 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!