Segfault on session switch
Alain Laporte
alain.laporte12345 at gmail.com
Tue Jun 28 07:06:40 BST 2022
Segfault happens in a code added by this commit =>
https://invent.kde.org/utilities/kate/-/commit/d6d831d5e2394a57207054660b504c5be7a29343
No more information for now.
Alain.
Le mar. 28 juin 2022 à 07:53, Alain Laporte <alain.laporte12345 at gmail.com>
a écrit :
> 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/7f052101/attachment-0001.htm>
More information about the KWrite-Devel
mailing list