Segfault on session switch

Alain Laporte alain.laporte12345 at gmail.com
Tue Jun 28 06:53:13 BST 2022


I have found how to load symbols. Crash happens in the LSPClientPlugin =>

(gdb) bt
#0  0x00007f68ff441a28 in QLoggingCategory::categoryName (this=<error
reading variable: Cannot access memory at address 0x7ffd9d1ffff8>) at
/usr/include/x86_64-linux-gnu/qt5/QtCore/qloggingcategory.h:71
#1  0x00007f68ff458f91 in myCategoryFilter (category=0x7f6932d37d90
<LOG_KWINDOWSYSTEM()::category>) at
/home/alaporte/projects/kde/src/kde/applications/kate/addons/lspclient/lspclientplugin.cpp:60

#2  0x00007f68ff459003 in myCategoryFilter (category=0x7f6932d37d90
<LOG_KWINDOWSYSTEM()::category>) at
/home/alaporte/projects/kde/src/kde/applications/kate/addons/lspclient/lspclientplugin.cpp:64

#3  0x00007f68ff459003 in myCategoryFilter (category=0x7f6932d37d90
<LOG_KWINDOWSYSTEM()::category>) at
/home/alaporte/projects/kde/src/kde/applications/kate/addons/lspclient/lspclientplugin.cpp:64

#4  0x00007f68ff459003 in myCategoryFilter (category=0x7f6932d37d90
<LOG_KWINDOWSYSTEM()::category>) at
/home/alaporte/projects/kde/src/kde/applications/kate/addons/lspclient/lspclientplugin.cpp:64

#5  0x00007f68ff459003 in myCategoryFilter (category=0x7f6932d37d90
<LOG_KWINDOWSYSTEM()::category>) at
/home/alaporte/projects/kde/src/kde/applications/kate/addons/lspclient/lspclientplugin.cpp:64

#6  0x00007f68ff459003 in myCategoryFilter (category=0x7f6932d37d90
<LOG_KWINDOWSYSTEM()::category>) at
/home/alaporte/projects/kde/src/kde/applications/kate/addons/lspclient/lspclientplugin.cpp:64

#7  0x00007f68ff459003 in myCategoryFilter (category=0x7f6932d37d90
<LOG_KWINDOWSYSTEM()::category>) at
/home/alaporte/projects/kde/src/kde/applications/kate/addons/lspclient/lspclientplugin.cpp:64

#8  0x00007f68ff459003 in myCategoryFilter (category=0x7f6932d37d90
<LOG_KWINDOWSYSTEM()::category>) at
/home/alaporte/projects/kde/src/kde/applications/kate/addons/lspclient/lspclientplugin.cpp:64

#9  0x00007f68ff459003 in myCategoryFilter (category=0x7f6932d37d90
<LOG_KWINDOWSYSTEM()::category>) at
/home/alaporte/projects/kde/src/kde/applications/kate/addons/lspclient/lspclientplugin.cpp:64

#10 0x00007f68ff459003 in myCategoryFilter (category=0x7f6932d37d90
<LOG_KWINDOWSYSTEM()::category>) at
/home/alaporte/projects/kde/src/kde/applications/kate/addons/lspclient/lspclientplugin.cpp:64

#11 0x00007f68ff459003 in myCategoryFilter (category=0x7f6932d37d90
<LOG_KWINDOWSYSTEM()::category>) at
/home/alaporte/projects/kde/src/kde/applications/kate/addons/lspclient/lspclientplugin.cpp:64

#12 0x00007f68ff459003 in myCategoryFilter (category=0x7f6932d37d90
<LOG_KWINDOWSYSTEM()::category>) at
/home/alaporte/projects/kde/src/kde/applications/kate/addons/lspclient/lspclientplugin.cpp:64

#13 0x00007f68ff459003 in myCategoryFilter (category=0x7f6932d37d90
<LOG_KWINDOWSYSTEM()::category>) at
/home/alaporte/projects/kde/src/kde/applications/kate/addons/lspclient/lspclientplugin.cpp:64

#14 0x00007f68ff459003 in myCategoryFilter (category=0x7f6932d37d90
<LOG_KWINDOWSYSTEM()::category>) at
/home/alaporte/projects/kde/src/kde/applications/kate/addons/lspclient/lspclientplugin.cpp:64

#15 0x00007f68ff459003 in myCategoryFilter (category=0x7f6932d37d90
<LOG_KWINDOWSYSTEM()::category>) at
/home/alaporte/projects/kde/src/kde/applications/kate/addons/lspclient/lspclientplugin.cpp:64

#16 0x00007f68ff459003 in myCategoryFilter (category=0x7f6932d37d90
<LOG_KWINDOWSYSTEM()::category>) at
/home/alaporte/projects/kde/src/kde/applications/kate/addons/lspclient/lspclientplugin.cpp
:64

Alain.


Le lun. 27 juin 2022 à 23:07, Alain Laporte <alain.laporte12345 at gmail.com>
a écrit :

> Hi,
>
> On the master (all dependencies are also on the master), Kate segfault on
> session switch:
> * start Kate
> * open a session
> * go in Sessions/All Sessions to choose a new session
>
> I have generated a core dump, but GDB can't find symbols...  Where symbols
> are located?
>
> Do you reproduce the segfault?
>
> Alain.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kwrite-devel/attachments/20220628/8352b9dd/attachment.htm>


More information about the KWrite-Devel mailing list