[linux] kdevelop crashing after replacing libKDevPlatformXXX.so.10.0.0 ?!

René J.V. Bertin rjvbertin at gmail.com
Sat Jan 14 09:57:15 UTC 2017


Hi,

Probably not strictly a KDevelop question, but about something I'm only seeing with KDevelop on Linux at the moment:
when I update a single library, libKDevPlatformInterfaces.so.10.0.0 or libKDevPlatformVcs.so.10.0.0, running KDevelop processes crash immediately.

We're not talking here about installing a newer version, but the same version with only minor changes like an additional qDebug() statement or a (disabled) ASSERT replaced by a proper runtime check. IOW, nothing that changes the ABI. It also happens when I simply rewrite the library, by copying it once more from the build into the install directory.

That doesn't fit with what I know about shared libraries and files on Unix in general: removing a file that's open in one or more processes only changes the visible dir. entry (the file itself is "erased" only when the last process exits that had it open).

Does `make install` change anything in the shared libraries built by the preceding make run?

A backtrace:

#6  0x00007f5b2cf8eea7 in KDevelop::ICore::self () at /opt/local/var/lnxports/build/_opt_local_site-ports_kf5_kdevplatform5/kf5-kdevplatform-devel/work/kf5-kdevplatform-5/interfaces/icore.cpp:41
#7  0x00007f5b29c629ff in currentSession () at /opt/local/var/lnxports/build/_opt_local_site-ports_kf5_kdevplatform5/kf5-kdevplatform-devel/work/kf5-kdevplatform-5/debugger/variable/variablecollection.cpp:53
#8  currentSessionState () at /opt/local/var/lnxports/build/_opt_local_site-ports_kf5_kdevplatform5/kf5-kdevplatform-devel/work/kf5-kdevplatform-5/debugger/variable/variablecollection.cpp:58
#9  hasStartedSession () at /opt/local/var/lnxports/build/_opt_local_site-ports_kf5_kdevplatform5/kf5-kdevplatform-devel/work/kf5-kdevplatform-5/debugger/variable/variablecollection.cpp:64
#10 KDevelop::VariableProvider::textHint (this=0x2acb370, view=0x40ffbb0, cursor=...) at /opt/local/var/lnxports/build/_opt_local_site-ports_kf5_kdevplatform5/kf5-kdevplatform-devel/work/kf5-kdevplatform-5/debugger/variable/variablecollection.cpp:510
#11 0x00007f5b2788ec1a in textHintTimeout (this=0x40e0d90) at /opt/local/var/lnxports/build/_opt_local_site-ports_kf5_KF5-Frameworks/kf5-ktexteditor/work/ktexteditor-5.29.0/src/view/kateviewinternal.cpp:3103
#12 KateViewInternal::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=0x40e0d90, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /opt/local/var/lnxports/build/_opt_local_site-ports_kf5_KF5-Frameworks/kf5-ktexteditor/work/build/src/moc_kateviewinternal.cpp:200
#13 0x00007f5b2b18fec9 in QMetaObject::activate (sender=sender at entry=0x40e0fa8, signalOffset=<optimized out>, local_signal_index=local_signal_index at entry=0, argv=argv at entry=0x0) at /opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.7.1/qtbase/src/corelib/kernel/qobject.cpp:3740
#14 0x00007f5b2b1907d7 in QMetaObject::activate (sender=sender at entry=0x40e0fa8, m=m at entry=0x7f5b2b5ae720 <QTimer::staticMetaObject>, local_signal_index=local_signal_index at entry=0, argv=argv at entry=0x0) at /opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.7.1/qtbase/src/corelib/kernel/qobject.cpp:3602
#15 0x00007f5b2b205c60 in QTimer::timeout (this=this at entry=0x40e0fa8) at .moc/moc_qtimer.cpp:198
#16 0x00007f5b2b19c2e8 in QTimer::timerEvent (this=0x40e0fa8, e=<optimized out>) at /opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.7.1/qtbase/src/corelib/kernel/qtimer.cpp:254
#17 0x00007f5b2b190feb in QObject::event (this=0x40e0fa8, e=<optimized out>) at /opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.7.1/qtbase/src/corelib/kernel/qobject.cpp:1285
#18 0x00007f5b2bece52c in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x40e0fa8, e=0x7ffd4b7f4ee0) at /opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.7.1/qtbase/src/widgets/kernel/qapplication.cpp:3799
#19 0x00007f5b2bed56e1 in QApplication::notify (this=0x7ffd4b7f5340, receiver=0x40e0fa8, e=0x7ffd4b7f4ee0) at /opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.7.1/qtbase/src/widgets/kernel/qapplication.cpp:3556
#20 0x00007f5b2b1650a8 in QCoreApplication::notifyInternal2 (receiver=0x40e0fa8, event=event at entry=0x7ffd4b7f4ee0) at /opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.7.1/qtbase/src/corelib/kernel/qcoreapplication.cpp:995
#21 0x00007f5b2b1b647e in sendEvent (event=0x7ffd4b7f4ee0, receiver=<optimized out>) at /opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.7.1/qtbase/include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#22 QTimerInfoList::activateTimers (this=0x21a8a70) at /opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.7.1/qtbase/src/corelib/kernel/qtimerinfo_unix.cpp:644
#23 0x00007f5b2b1b69a1 in timerSourceDispatch (source=<optimized out>) at /opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.7.1/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:182
#24 0x00007f5b2271ce04 in g_main_dispatch (context=0x7f5b08003000) at /build/buildd/glib2.0-2.40.2/./glib/gmain.c:3064
#25 g_main_context_dispatch (context=context at entry=0x7f5b08003000) at /build/buildd/glib2.0-2.40.2/./glib/gmain.c:3663
#26 0x00007f5b2271d048 in g_main_context_iterate (context=context at entry=0x7f5b08003000, block=block at entry=1, dispatch=dispatch at entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.40.2/./glib/gmain.c:3734
#27 0x00007f5b2271d0ec in g_main_context_iteration (context=0x7f5b08003000, may_block=may_block at entry=1) at /build/buildd/glib2.0-2.40.2/./glib/gmain.c:3795
#28 0x00007f5b2b1b745f in QEventDispatcherGlib::processEvents (this=0x21ae240, flags=...) at /opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.7.1/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:423
#29 0x00007f5b2b16320a in QEventLoop::exec (this=this at entry=0x7ffd4b7f5110, flags=..., flags at entry=...) at /opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.7.1/qtbase/src/corelib/kernel/qeventloop.cpp:212
#30 0x00007f5b2b16b56d in QCoreApplication::exec () at /opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.7.1/qtbase/src/corelib/kernel/qcoreapplication.cpp:1268
#31 0x00007f5b2b6c63cc in QGuiApplication::exec () at /opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.7.1/qtbase/src/gui/kernel/qguiapplication.cpp:1637
#32 0x00007f5b2bece485 in QApplication::exec () at /opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.7.1/qtbase/src/widgets/kernel/qapplication.cpp:2975
#33 0x000000000040b991 in main (argc=<optimized out>, argv=<optimized out>) at /opt/local/var/lnxports/build/_opt_local_site-ports_kf5_kdevelop5/kf5-kdevelop-devel/work/kf5-kdevelop-5/app/main.cpp:893



More information about the KDevelop-devel mailing list