Re: Segfault on session switch

Alain Laporte <[email protected]>
Newsgroups gmane.comp.kde.devel.kwrite
Message-ID <CAKscb0T6tTGXY1Qbdt5U4D55JmYhfgKiC=nc+ufZXQbXE0xWZA@mail.gmail.com>
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 <[email protected]>
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.
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.