Bug 497321 - Krusader crashes on quit from editor with :wq
Summary: Krusader crashes on quit from editor with :wq
Status: CONFIRMED
Alias: None
Product: krusader
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Krusader Bugs Distribution List
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2024-12-11 11:18 UTC by Vladimir Eremeev
Modified: 2024-12-14 12:18 UTC (History)
2 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 Vladimir Eremeev 2024-12-11 11:18:08 UTC
Application: krusader (2.8.1 "A New Day")

Qt Version: 5.15.13
Frameworks Version: 5.115.0
Operating System: Linux 6.8.0-50-generic x86_64
Windowing System: X11
Distribution: Ubuntu 24.04.1 LTS
DrKonqi: 5.27.11 [KCrashBackend]

-- Information about the crash:
Configure embedded text editor to work in Vi mode.
Open a file in the embedded text editor.
Make edits.
Save and quit like with Vim by pressing `:wq`

The crash can be reproduced every time.

-- Backtrace:
Application: Krusader (krusader), signal: Segmentation fault

[KCrash Handler]
#4  0x0000777f8d8c00ef in ?? () from /lib/x86_64-linux-gnu/libKF5TextEditor.so.5
#5  0x0000777fc2706343 in QObject::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x0000777fc336bd45 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#7  0x0000777fc26d8118 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x0000777fc26db94b in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x0000777fc2735c0f in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x0000777fc0f145b5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x0000777fc0f73717 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#12 0x0000777fc0f13a53 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#13 0x0000777fc2735279 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#14 0x0000777fc26d6a7b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#15 0x0000777fc26df3e8 in QCoreApplication::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#16 0x00005cee8e74c283 in ?? ()
#17 0x0000777fc1c2a1ca in __libc_start_call_main (main=main@entry=0x5cee8e748ae0, argc=argc@entry=3, argv=argv@entry=0x7ffdc2890a38) at ../sysdeps/nptl/libc_start_call_main.h:58
#18 0x0000777fc1c2a28b in __libc_start_main_impl (main=0x5cee8e748ae0, argc=3, argv=0x7ffdc2890a38, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffdc2890a28) at ../csu/libc-start.c:360
#19 0x00005cee8e74dae5 in ?? ()
[Inferior 1 (process 2802) detached]

Reported using DrKonqi
Comment 1 Alex Bikadorov 2024-12-14 12:18:05 UTC
With Krusader master (the KF6 port) there is no crash for ":wq" and ":q" but instead nothing happens. So, something doesn't work.

The "Vi mode" is an inbuild functionality of KParts. It is also included in Kate and KWrite but there the quit commands work as expected.
Maybe some signal/slot connection is missing.