Summary: | Konqueror crahes upon selection of "vi mode" as soon as I select the X button. | ||
---|---|---|---|
Product: | [Applications] konqueror | Reporter: | iwm |
Component: | general | Assignee: | Konqueror Developers <konq-bugs> |
Status: | CONFIRMED --- | ||
Severity: | crash | CC: | stefano.crocco |
Priority: | NOR | Keywords: | drkonqi |
Version: | 23.08.4 | ||
Target Milestone: | --- | ||
Platform: | Manjaro | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
iwm
2024-03-05 05:07:23 UTC
I can't reproduce this bug using Frameworks 5.115.0. Just to be clear, when you say "I select the X button", which button are you referring to? The x key on the keyboard, the X button on the title bar which closes the window, or something else? As soon as I select Esc and enter q! in vi mode...it crashes.
> On 03/05/2024 12:46 PM MST Stefano Crocco <bugzilla_noreply@kde.org> wrote:
>
>
> https://bugs.kde.org/show_bug.cgi?id=482436
>
> Stefano Crocco <stefano.crocco@alice.it> changed:
>
> What |Removed |Added
> ----------------------------------------------------------------------------
> CC| |stefano.crocco@alice.it
>
> --- Comment #1 from Stefano Crocco <stefano.crocco@alice.it> ---
> I can't reproduce this bug using Frameworks 5.115.0. Just to be clear, when you
> say "I select the X button", which button are you referring to? The x key on
> the keyboard, the X button on the title bar which closes the window, or
> something else?
>
> --
> You are receiving this mail because:
> You reported the bug.
(In reply to iwm from comment #2) > As soon as I select Esc and enter q! in vi mode...it crashes. Ok, now I can reproduce it. I'll investigate it as soon as I have time Thank you...very annoying.
> On 03/06/2024 1:45 PM MST Stefano Crocco <bugzilla_noreply@kde.org> wrote:
>
>
> https://bugs.kde.org/show_bug.cgi?id=482436
>
> Stefano Crocco <stefano.crocco@alice.it> changed:
>
> What |Removed |Added
> ----------------------------------------------------------------------------
> Status|REPORTED |CONFIRMED
> Ever confirmed|0 |1
>
> --- Comment #3 from Stefano Crocco <stefano.crocco@alice.it> ---
> (In reply to iwm from comment #2)
> > As soon as I select Esc and enter q! in vi mode...it crashes.
>
> Ok, now I can reproduce it. I'll investigate it as soon as I have time
>
> --
> You are receiving this mail because:
> You reported the bug.
Here's a more complete backtrace (for Konqueror 24.02 and KTextEditor 6.0.0): #0 KateVi::AppCommands::closeCurrentDocument() at /usr/src/debug/kde-frameworks/ktexteditor-6.0.0/ktexteditor-6.0.0/src/vimode/appcommands.cpp:302 #1 QObject::event() at /var/tmp/portage/dev-qt/qtbase-6.6.2/work/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qobject.cpp:1.437 #2 QApplicationPrivate::notify_helper() at /var/tmp/portage/dev-qt/qtbase-6.6.2/work/qtbase-everywhere-src-6.6.2/src/widgets/kernel/qapplication.cpp:3.296 #3 QCoreApplication::notifyInternal2() at /var/tmp/portage/dev-qt/qtbase-6.6.2/work/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qcoreapplication.cpp:1.121 #4 QCoreApplication::sendEvent() at /var/tmp/portage/dev-qt/qtbase-6.6.2/work/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qcoreapplication.cpp:1.539 #5 QCoreApplicationPrivate::sendPostedEvents() at /var/tmp/portage/dev-qt/qtbase-6.6.2/work/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qcoreapplication.cpp:1.901 #6 QCoreApplication::sendPostedEvents() at /var/tmp/portage/dev-qt/qtbase-6.6.2/work/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qcoreapplication.cpp:1.760 #7 postEventSourceDispatch() at /var/tmp/portage/dev-qt/qtbase-6.6.2/work/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qeventdispatcher_glib.cpp:243 #8 g_main_dispatch() at /usr/lib64/libglib-2.0.so.0 #9 g_main_context_iterate_unlocked.isra() at /usr/lib64/libglib-2.0.so.0 #10 g_main_context_iteration() at /usr/lib64/libglib-2.0.so.0 #11 QEventDispatcherGlib::processEvents() at /var/tmp/portage/dev-qt/qtbase-6.6.2/work/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qeventdispatcher_glib.cpp:393 #12 QEventLoop::exec() at /var/tmp/portage/dev-qt/qtbase-6.6.2/work/qtbase-everywhere-src-6.6.2/src/corelib/global/qflags.h:34 #13 QCoreApplication::exec() at /var/tmp/portage/dev-qt/qtbase-6.6.2/work/qtbase-everywhere-src-6.6.2/src/corelib/global/qflags.h:74 #14 KonquerorApplication::startFirstInstance() at /home/stefano/documenti/programmi/konqueror-development/konqueror/src/konqapplication.cpp:272 #15 KonquerorApplication::start() at /home/stefano/documenti/programmi/konqueror-development/konqueror/src/konqapplication.cpp:335 #16 main() at /home/stefano/documenti/programmi/konqueror-development/konqueror/src/konqmain.cpp:18 As far as I can tell, the crash happens inside KTextEditor, because it tries to access the active view without checking whether it's valid or not. Here, the view is invalid and so the program crashes. I don't know whether this is caused by Konqueror doing something wrong with the Kate part or whether the bug is caused by the part itself. I'll try asking the part's developers for more informations. The crash has been fixed in version 6.1 of the KDE Frameworks, but I don't know if the fix will be ported back to version 5. In any case, the fix they applied make the :q command do nothing in Konqueror, rather than closing the view as one could expect. Is this acceptable to you? ":q command do nothing in Konqueror, rather than closing the view as one could expect. Is this acceptable to you?" I would rather see the view closed...if possible. > On 04/21/2024 10:55 AM MDT Stefano Crocco <bugzilla_noreply@kde.org> wrote: > > > https://bugs.kde.org/show_bug.cgi?id=482436 > > --- Comment #6 from Stefano Crocco <stefano.crocco@alice.it> --- > The crash has been fixed in version 6.1 of the KDE Frameworks, but I don't know > if the fix will be ported back to version 5. In any case, the fix they applied > make the :q command do nothing in Konqueror, rather than closing the view as > one could expect. Is this acceptable to you? > > -- > You are receiving this mail because: > You reported the bug. <pre>Sent by: Wm Loftin - iWm@wglware.com</pre> |