https://bugs.kde.org/show_bug.cgi?id=482084

            Bug ID: 482084
           Summary: Rainbow Parentheses plugin - memory access issues
    Classification: Applications
           Product: kate
           Version: 24.02.0
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: kwrite-bugs-n...@kde.org
          Reporter: luc...@bluewin.ch
  Target Milestone: ---

Application: kate (24.02.0)

Qt Version: 6.6.2
Frameworks Version: 6.0.0
Operating System: Linux 6.7.6-arch1-1 x86_64
Windowing System: Wayland
Distribution: EndeavourOS
DrKonqi: 6.0.0 [CoredumpBackend]

-- Information about the crash:
seems that the function existingColoredBracketForPos generate an memory error.
When I disable the plugin Kate works as expected.

Kate 24.02.0 with plasma 6.0

The crash can be reproduced every time.

-- Backtrace (Reduced):
#5 
QExplicitlySharedDataPointer<KTextEditor::Attribute>::QExplicitlySharedDataPointer
(o=..., this=0x7ffce9bc1d30) at /usr/include/qt6/QtCore/qshareddata.h:158
#8  RainbowParenPluginView::rehighlight (this=0x623b63be12b0, view=<optimized
out>) at
/usr/src/debug/kate/kate-24.02.0/addons/rainbow-parens/rainbowparens_plugin.cpp:417
#9  0x00007b0db6f90ca9 in QtPrivate::QSlotObjectBase::call (a=0x7ffce9bc1fd0,
r=0x623b63be12b0, this=0x623b63be1880, this=<optimized out>, r=<optimized out>,
a=<optimized out>) at
/usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qobjectdefs_impl.h:433
#10 doActivate<false> (sender=0x623b63be1320, signal_index=3,
argv=0x7ffce9bc1fd0) at
/usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qobject.cpp:4039
#11 0x00007b0db6f98d64 in QTimer::timeout (_t1=..., this=0x623b63be1320) at
/usr/src/debug/qt6-base/build/src/corelib/Core_autogen/include/moc_qtimer.cpp:272


Reported using DrKonqi

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to