Bug 448308 - Crash if katefilebrowserplugin is enabled
Summary: Crash if katefilebrowserplugin is enabled
Status: RESOLVED DUPLICATE of bug 459682
Alias: None
Product: kate
Classification: Applications
Component: application (show other bugs)
Version: 21.12.1
Platform: Appimage Linux
: NOR crash
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
: 447511 (view as bug list)
Depends on:
Blocks:
 
Reported: 2022-01-12 11:11 UTC by Pozsgay Máté
Modified: 2023-03-07 13:29 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pozsgay Máté 2022-01-12 11:11:54 UTC
SUMMARY
As soon as the FileBrowser plugin enabled Kate crashes in the AppImage distribution:
/tmp/.mount_kate-2mnvpnF/AppRun.wrapped: symbol lookup error: /tmp/.mount_kate-2mnvpnF/usr/plugins/ktexteditor/katefilebrowserplugin.so: undefined symbol: _ZN13KBookmarkMenuC1EP16KBookmarkManagerP14KBookmarkOwnerP5QMenu


STEPS TO REPRODUCE
1. Download AppImage version, add execution permission, and start.
2. If the plugin is already enabled in your settings Kate crashes as soon as the session is loaded
3. If not enabled, then turn it on at Settings -> Configure Kate -> Plugins -> Filesystem Browser plugin. As soon as you enable it crashes

OBSERVED RESULT
Crash

EXPECTED RESULT
Do not crash :)

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Ubuntu 30.04.3 LTS
OS / AppImage
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.68.0 / 5.89.0
Qt Version: 5.12.8 / 5.15.2

ADDITIONAL INFORMATION
Maybe this is just a symptom of a more generic packaging problem, because the SQL extension also crashes:
Cannot mix incompatible Qt library (5.12.8) with this library (5.15.2)
Comment 1 Pozsgay Máté 2022-01-13 21:08:11 UTC
*** Bug 447511 has been marked as a duplicate of this bug. ***
Comment 2 Pozsgay Máté 2022-01-13 21:12:48 UTC
You can work around the startup crash by disabling the affected plugins by editing the session file ~/.local/share/kate/anonymous.katesession
Set the following lines to false:
katefilebrowserplugin=false
katesqlplugin=false

Repeat these steps for all of your sessions: ~/.local/share/kate/sessions/, and do not enable file browser and SQL plugins.
Comment 3 Pozsgay Máté 2022-07-11 12:35:13 UTC
Updated to Ubuntu 22.04, the problem no longer reproducable.
Comment 4 Waqar Ahmed 2022-08-12 12:33:35 UTC
Marking as fixed. This is a packaging issue though
Comment 5 Martinus 2023-03-07 13:29:56 UTC

*** This bug has been marked as a duplicate of bug 459682 ***