<div dir="ltr">I confirm your commit fix the segfault.<br clear="all"><div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><br>Alain.</div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le mar. 28 juin 2022 à 11:56, Christoph Cullmann (<a href="http://cullmann.io">cullmann.io</a>) <<a href="mailto:christoph@cullmann.io">christoph@cullmann.io</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 2022-06-28 11:18, Christoph Cullmann (<a rel="noreferrer">cullmann.io</a>) wrote:<br>
> On 2022-06-28 08:54, Waqar Ahmed wrote:<br>
>> can confirm it's crashing.<br>
>> <br>
>> Also, not entirely sure about that change. It doesn't crash if the old<br>
>> filter is reinstalled in the destructor<br>
>> <br>
>> On Tue, Jun 28, 2022 at 11:07 AM Alain Laporte<br>
>> <<a>alain.laporte12345@gmail.com</a>> wrote:<br>
>>> <br>
>>> Segfault happens in a code added by this commit => <br>
>>> <a rel="noreferrer">https://invent.kde.org/utilities/kate/-/commit/d6d831d5e2394a57207054660b504c5be7a29343</a><br>
>>> <br>
>>> No more information for now.<br>
>>> <br>
>>> Alain.<br>
> <br>
> Good catch :(<br>
> <br>
> The problem was that the old env var setting has zero effect.<br>
> <br>
> But yeah, I guess the plugin load/unload leads to this issue.<br>
<br>
Hi,<br>
could you retry with<br>
<br>
<a rel="noreferrer">https://invent.kde.org/utilities/kate/commit/600a996b9abe677bfe34b8f8b14ca593fcf543da</a><br>
<br>
Thanks!<br>
<br>
> <br>
> Greetings<br>
> Christoph<br>
> <br>
>>> <br>
>>> <br>
>>> Le mar. 28 juin 2022 à 07:53, Alain Laporte <br>
>>> <<a>alain.laporte12345@gmail.com</a>> a écrit :<br>
>>>> <br>
>>>> I have found how to load symbols. Crash happens in the <br>
>>>> LSPClientPlugin =><br>
>>>> <br>
>>>> (gdb) bt<br>
>>>> #0 0x00007f68ff441a28 in QLoggingCategory::categoryName <br>
>>>> (this=<error reading variable: Cannot access memory at address <br>
>>>> 0x7ffd9d1ffff8>) at <br>
>>>> /usr/include/x86_64-linux-gnu/qt5/QtCore/qloggingcategory.h:71<br>
>>>> #1 0x00007f68ff458f91 in myCategoryFilter (category=0x7f6932d37d90 <br>
>>>> <LOG_KWINDOWSYSTEM()::category>) at <br>
>>>> /home/alaporte/projects/kde/src/kde/applications/kate/addons/lspclient/lspclientplugin.cpp:60<br>
>>>> #2 0x00007f68ff459003 in myCategoryFilter (category=0x7f6932d37d90 <br>
>>>> <LOG_KWINDOWSYSTEM()::category>) at <br>
>>>> /home/alaporte/projects/kde/src/kde/applications/kate/addons/lspclient/lspclientplugin.cpp:64<br>
>>>> #3 0x00007f68ff459003 in myCategoryFilter (category=0x7f6932d37d90 <br>
>>>> <LOG_KWINDOWSYSTEM()::category>) at <br>
>>>> /home/alaporte/projects/kde/src/kde/applications/kate/addons/lspclient/lspclientplugin.cpp:64<br>
>>>> #4 0x00007f68ff459003 in myCategoryFilter (category=0x7f6932d37d90 <br>
>>>> <LOG_KWINDOWSYSTEM()::category>) at <br>
>>>> /home/alaporte/projects/kde/src/kde/applications/kate/addons/lspclient/lspclientplugin.cpp:64<br>
>>>> #5 0x00007f68ff459003 in myCategoryFilter (category=0x7f6932d37d90 <br>
>>>> <LOG_KWINDOWSYSTEM()::category>) at <br>
>>>> /home/alaporte/projects/kde/src/kde/applications/kate/addons/lspclient/lspclientplugin.cpp:64<br>
>>>> #6 0x00007f68ff459003 in myCategoryFilter (category=0x7f6932d37d90 <br>
>>>> <LOG_KWINDOWSYSTEM()::category>) at <br>
>>>> /home/alaporte/projects/kde/src/kde/applications/kate/addons/lspclient/lspclientplugin.cpp:64<br>
>>>> #7 0x00007f68ff459003 in myCategoryFilter (category=0x7f6932d37d90 <br>
>>>> <LOG_KWINDOWSYSTEM()::category>) at <br>
>>>> /home/alaporte/projects/kde/src/kde/applications/kate/addons/lspclient/lspclientplugin.cpp:64<br>
>>>> #8 0x00007f68ff459003 in myCategoryFilter (category=0x7f6932d37d90 <br>
>>>> <LOG_KWINDOWSYSTEM()::category>) at <br>
>>>> /home/alaporte/projects/kde/src/kde/applications/kate/addons/lspclient/lspclientplugin.cpp:64<br>
>>>> #9 0x00007f68ff459003 in myCategoryFilter (category=0x7f6932d37d90 <br>
>>>> <LOG_KWINDOWSYSTEM()::category>) at <br>
>>>> /home/alaporte/projects/kde/src/kde/applications/kate/addons/lspclient/lspclientplugin.cpp:64<br>
>>>> #10 0x00007f68ff459003 in myCategoryFilter (category=0x7f6932d37d90 <br>
>>>> <LOG_KWINDOWSYSTEM()::category>) at <br>
>>>> /home/alaporte/projects/kde/src/kde/applications/kate/addons/lspclient/lspclientplugin.cpp:64<br>
>>>> #11 0x00007f68ff459003 in myCategoryFilter (category=0x7f6932d37d90 <br>
>>>> <LOG_KWINDOWSYSTEM()::category>) at <br>
>>>> /home/alaporte/projects/kde/src/kde/applications/kate/addons/lspclient/lspclientplugin.cpp:64<br>
>>>> #12 0x00007f68ff459003 in myCategoryFilter (category=0x7f6932d37d90 <br>
>>>> <LOG_KWINDOWSYSTEM()::category>) at <br>
>>>> /home/alaporte/projects/kde/src/kde/applications/kate/addons/lspclient/lspclientplugin.cpp:64<br>
>>>> #13 0x00007f68ff459003 in myCategoryFilter (category=0x7f6932d37d90 <br>
>>>> <LOG_KWINDOWSYSTEM()::category>) at <br>
>>>> /home/alaporte/projects/kde/src/kde/applications/kate/addons/lspclient/lspclientplugin.cpp:64<br>
>>>> #14 0x00007f68ff459003 in myCategoryFilter (category=0x7f6932d37d90 <br>
>>>> <LOG_KWINDOWSYSTEM()::category>) at <br>
>>>> /home/alaporte/projects/kde/src/kde/applications/kate/addons/lspclient/lspclientplugin.cpp:64<br>
>>>> #15 0x00007f68ff459003 in myCategoryFilter (category=0x7f6932d37d90 <br>
>>>> <LOG_KWINDOWSYSTEM()::category>) at <br>
>>>> /home/alaporte/projects/kde/src/kde/applications/kate/addons/lspclient/lspclientplugin.cpp:64<br>
>>>> #16 0x00007f68ff459003 in myCategoryFilter (category=0x7f6932d37d90 <br>
>>>> <LOG_KWINDOWSYSTEM()::category>) at <br>
>>>> /home/alaporte/projects/kde/src/kde/applications/kate/addons/lspclient/lspclientplugin.cpp:64<br>
>>>> <br>
>>>> Alain.<br>
>>>> <br>
>>>> <br>
>>>> Le lun. 27 juin 2022 à 23:07, Alain Laporte <br>
>>>> <<a>alain.laporte12345@gmail.com</a>> a écrit :<br>
>>>>> <br>
>>>>> Hi,<br>
>>>>> <br>
>>>>> On the master (all dependencies are also on the master), Kate <br>
>>>>> segfault on session switch:<br>
>>>>> * start Kate<br>
>>>>> * open a session<br>
>>>>> * go in Sessions/All Sessions to choose a new session<br>
>>>>> <br>
>>>>> I have generated a core dump, but GDB can't find symbols... Where <br>
>>>>> symbols are located?<br>
>>>>> <br>
>>>>> Do you reproduce the segfault?<br>
>>>>> <br>
>>>>> Alain.<br>
<br>
-- <br>
Ignorance is bliss...<br>
<a rel="noreferrer">https://cullmann.io</a> | <a rel="noreferrer">https://kate-editor.org</a><br>
</blockquote></div>