Bug 383341 - ksmserver crashes when closing long-running Eclipse instances
Summary: ksmserver crashes when closing long-running Eclipse instances
Status: RESOLVED WORKSFORME
Alias: None
Product: ksmserver
Classification: Plasma
Component: general (show other bugs)
Version: 5.8.7
Platform: Debian testing Linux
: NOR crash
Target Milestone: ---
Assignee: Lubos Lunak
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-10 04:53 UTC by Kai Wb.
Modified: 2020-12-17 14:06 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
KCrash report for the (7.19 KB, text/plain)
2017-08-10 04:53 UTC, Kai Wb.
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kai Wb. 2017-08-10 04:53:29 UTC
Created attachment 107185 [details]
KCrash report for the

When I close a long-running eclipse instance I can reliably see the crash shown in the attached KCrash report, which obviously takes the whole session with it.
This has been happening for a while over different versions (well before the Debian Stretch release, but I just now got around to install all required debugging symbols) of Plasma, Qt, Eclipse and OpenJDK and since I'm only seeing this once a day, it hasn't been too annoying.

According to the backtrace it seems to be a double free or memory corruption error.

Let me know if you need anything else.
Comment 1 Christoph Feck 2017-08-13 11:32:34 UTC
Thread 1 (Thread 0x7fbef8a14e00 (LWP 1387)):
[KCrash Handler]
#4  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#5  0x00007fbef84373fa in __GI_abort () at abort.c:89
#6  0x00007fbef8473bd0 in __libc_message (do_abort=do_abort@entry=2, fmt=fmt@entry=0x7fbef8568d58 "*** Error in `%s': %s: 0x%s ***\n") at ../sysdeps/posix/libc_fatal.c:175
#7  0x00007fbef8479f96 in malloc_printerr (action=3, str=0x7fbef8568e20 "double free or corruption (out)", ptr=<optimized out>, ar_ptr=<optimized out>) at malloc.c:5049
#8  0x00007fbef847a7de in _int_free (av=0x7fbef879cb00 <main_arena>, p=0x559843595e10, have_lock=0) at malloc.c:3905
#9  0x00007fbef87b1d77 in QTypedArrayData<unsigned short>::deallocate (data=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qarraydata.h:228
#10 QString::~QString (this=0x5598435ca2d0, __in_chrg=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1078
#11 QList<QString>::node_destruct (this=<optimized out>, to=0x5598435ca2d0, from=0x5598435ca2d0) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:492
#12 QList<QString>::dealloc (data=0x5598435ca2c0, this=0x7fffffe3d460) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:861
#13 0x00007fbef87b4d68 in QList<QString>::~QList (this=this@entry=0x7fffffe3d460, __in_chrg=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:823
#14 0x00007fbef87c77fa in QStringList::~QStringList (this=0x7fffffe3d460, __in_chrg=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qstringlist.h:100
#15 KSMServer::<lambda(int)>::operator() (exitCode=2, __closure=0x5598435bd580) at ./ksmserver/startup.cpp:692
#16 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<int>, void, KSMServer::slotAutoStart()::<lambda(int)> >::call (arg=<optimized out>, f=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:135
#17 QtPrivate::Functor<KSMServer::slotAutoStart()::<lambda(int)>, 1>::call<QtPrivate::List<int>, void> (arg=<optimized out>, f=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:192
#18 QtPrivate::QFunctorSlotObject<KSMServer::slotAutoStart()::<lambda(int)>, 1, QtPrivate::List<int>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=<optimized out>, this_=0x5598435bd570, r=<optimized out>, a=<optimized out>, ret=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:169
#19 0x00007fbef38c11ae in QtPrivate::QSlotObjectBase::call (a=0x7fffffe3d600, r=0x5598435bde30, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:101
#20 QMetaObject::activate (sender=sender@entry=0x5598435bde30, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7fffffe3d600) at kernel/qobject.cpp:3723
#21 0x00007fbef38c1737 in QMetaObject::activate (sender=sender@entry=0x5598435bde30, m=m@entry=0x7fbef3adb1e0 <QProcess::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7fffffe3d600) at kernel/qobject.cpp:3602
#22 0x00007fbef37c8e31 in QProcess::finished (this=this@entry=0x5598435bde30, _t1=<optimized out>) at .moc/moc_qprocess.cpp:325
#23 0x00007fbef37d0e3f in QProcessPrivate::_q_processDied (this=this@entry=0x5598435c32c0) at io/qprocess.cpp:1178
#24 0x00007fbef382b117 in QProcessPrivate::waitForFinished (this=this@entry=0x5598435c32c0, msecs=msecs@entry=30000) at io/qprocess_unix.cpp:895
#25 0x00007fbef37caf0b in QProcess::waitForFinished (this=this@entry=0x5598435bde30, msecs=msecs@entry=30000) at io/qprocess.cpp:1922
#26 0x00007fbef37cb695 in QProcess::~QProcess (this=0x5598435bde30, __in_chrg=<optimized out>) at io/qprocess.cpp:1261
#27 0x00007fbef4e9f779 in KProcess::~KProcess() () from /usr/lib/x86_64-linux-gnu/libKF5CoreAddons.so.5
#28 0x00007fbef38bf671 in QObjectPrivate::deleteChildren (this=this@entry=0x559843578950) at kernel/qobject.cpp:1970
#29 0x00007fbef38c882f in QObject::~QObject (this=<optimized out>, __in_chrg=<optimized out>) at kernel/qobject.cpp:1041
#30 0x00007fbef87bba99 in KSMServer::~KSMServer (this=0x559843578310, __in_chrg=<optimized out>) at ./ksmserver/server.cpp:733
#31 0x00007fbef87b80cc in sighandler (sig=<optimized out>) at ./ksmserver/server.cpp:539
#32 <signal handler called>
#33 0x00007fbef84e263d in poll () at ../sysdeps/unix/syscall-template.S:84
#34 0x00007fbeec6e5c16 in g_main_context_poll (priority=<optimized out>, n_fds=15, fds=0x559843538fa0, timeout=<optimized out>, context=0x7fbedc0016f0) at ././glib/gmain.c:4271
#35 g_main_context_iterate (context=context@entry=0x7fbedc0016f0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ././glib/gmain.c:3967
#36 0x00007fbeec6e5d2c in g_main_context_iteration (context=0x7fbedc0016f0, may_block=may_block@entry=1) at ././glib/gmain.c:4033
#37 0x00007fbef38e93bf in QEventDispatcherGlib::processEvents (this=0x559843556470, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#38 0x00007fbef389383a in QEventLoop::exec (this=this@entry=0x7fffffe3e120, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#39 0x00007fbef389bedc in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1261
#40 0x00007fbef87b4659 in kdemain (argc=<optimized out>, argv=<optimized out>) at ./ksmserver/main.cpp:350
#41 0x00007fbef84232b1 in __libc_start_main (main=0x5598424d7840 <main>, argc=1, argv=0x7fffffe3e398, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffe3e388) at ../csu/libc-start.c:291
#42 0x00005598424d787a in _start ()
Comment 2 Justin Zobel 2020-12-17 05:29:30 UTC
Thank you for the crash report.

As it has been a while since this was reported, can you please test and confirm if this issue is still occurring or if this bug report can be marked as resolved.

I have set the bug status to "needsinfo" pending your response, please change back to "reported" or "resolved/worksforme" when you respond, thank you.
Comment 3 Kai Wb. 2020-12-17 14:06:53 UTC
Works in the meantime again and I dropped Eclipse anyway.