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

            Bug ID: 480417
           Summary: Kate  Crash while open or saving file 700 mb
    Classification: Applications
           Product: kate
           Version: 23.08.4
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: kwrite-bugs-n...@kde.org
          Reporter: dolbydigi...@live.ru
  Target Milestone: ---

Application: kate (23.08.4)

Qt Version: 5.15.12
Frameworks Version: 5.114.0
Operating System: Linux 6.7.1-arch1-1 x86_64
Windowing System: Wayland
Distribution: Arch Linux
DrKonqi: 5.27.10 [KCrashBackend]

-- Information about the crash:
Very often, when copying part or all of the text to the clipboard 
Number of rows 85000 or higher.
ram 20gb .

The crash can be reproduced every time.

-- Backtrace:
Application: Kate (kate), signal: Aborted
Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = <optimized
out>}
[KCrash Handler]
#6  __pthread_kill_implementation (threadid=<optimized out>,
signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
#7  0x00007b85d12aa8a3 in __pthread_kill_internal (signo=6, threadid=<optimized
out>) at pthread_kill.c:78
#8  0x00007b85d125a668 in __GI_raise (sig=sig@entry=6) at
../sysdeps/posix/raise.c:26
#9  0x00007b85d12424b8 in __GI_abort () at abort.c:79
#10 0x00007b85d149ca6f in __gnu_cxx::__verbose_terminate_handler () at
/usr/src/debug/gcc/gcc/libstdc++-v3/libsupc++/vterminate.cc:95
#11 0x00007b85d14b011c in __cxxabiv1::__terminate (handler=<optimized out>) at
/usr/src/debug/gcc/gcc/libstdc++-v3/libsupc++/eh_terminate.cc:48
#12 0x00007b85d14b0189 in std::terminate () at
/usr/src/debug/gcc/gcc/libstdc++-v3/libsupc++/eh_terminate.cc:58
#13 0x00007b85d14b03ed in __cxxabiv1::__cxa_throw (obj=<optimized out>,
tinfo=0x7b85d166ab28 <typeinfo for std::bad_alloc>, dest=0x7b85d14ae680
<std::bad_alloc::~bad_alloc()>) at
/usr/src/debug/gcc/gcc/libstdc++-v3/libsupc++/eh_throw.cc:98
#14 0x00007b85d189fcdf in qBadAlloc () at global/qglobal.cpp:3372
#15 0x00007b85d18a515c in QByteArray::QByteArray (this=0x7fff91aa0000,
size=<optimized out>, this=<optimized out>, size=<optimized out>) at
text/qbytearray.cpp:1764
#16 0x00007b85d1aee77d in QUtf8::convertFromUnicode (uc=0x7b84bee00028,
len=757961925) at codecs/qutfcodec.cpp:376
#17 0x00007b85d1971129 in qt_convert_to_utf8 (str=...) at text/qstring.cpp:5384
#18 QString::toUtf8_helper (str=<optimized out>) at text/qstring.cpp:5376
#19 0x00007b85d1ac077d in QString::toUtf8() && (this=0x7fff91aa0010,
this=<optimized out>) at
../../include/QtCore/../../src/corelib/text/qstring.h:686
#20 QMimeDataPrivate::retrieveTypedData (this=<optimized out>, format=...,
type=type@entry=QMetaType::QByteArray) at kernel/qmimedata.cpp:210
#21 0x00007b85d1ac1571 in QMimeData::data (this=this@entry=0x55b923ab70f0,
mimeType=...) at kernel/qmimedata.cpp:573
#22 0x00007b85cc73958f in QtWaylandClient::QWaylandClipboard::setMimeData
(this=0x55b8b91976c0, data=0x55b923ab70f0, mode=QClipboard::Selection) at
/usr/src/debug/qt5-wayland/qtwayland/src/client/qwaylandclipboard.cpp:110
#23 0x00007b85d0fb7994 in operator() (__closure=0x55b914a95c10) at
/usr/src/debug/ktexteditor5/ktexteditor-5.114.0/src/view/kateview.cpp:683
#24 QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void,
KTextEditor::ViewPrivate::setupActions()::<lambda()> >::call (arg=<optimized
out>, f=...) at /usr/include/qt/QtCore/qobjectdefs_impl.h:146
#25 QtPrivate::Functor<KTextEditor::ViewPrivate::setupActions()::<lambda()>,
0>::call<QtPrivate::List<>, void> (arg=<optimized out>, f=...) at
/usr/include/qt/QtCore/qobjectdefs_impl.h:256
#26
QtPrivate::QFunctorSlotObject<KTextEditor::ViewPrivate::setupActions()::<lambda()>,
0, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *,
void **, bool *) (which=<optimized out>, this_=0x55b914a95c00, r=<optimized
out>, a=<optimized out>, ret=<optimized out>) at
/usr/include/qt/QtCore/qobjectdefs_impl.h:443
#27 0x00007b85d1ad0e27 in QtPrivate::QSlotObjectBase::call (a=0x7fff91aa0250,
r=<optimized out>, this=0x55b914a95c00, this=<optimized out>, r=<optimized
out>, a=<optimized out>) at
../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#28 doActivate<false> (sender=0x55b8b957b150, signal_index=4,
argv=0x7fff91aa0250) at kernel/qobject.cpp:3925
#29 0x00007b85d276bbb7 in QAction::triggered (this=this@entry=0x55b8b957b150,
_t1=<optimized out>) at .moc/moc_qaction.cpp:376
#30 0x00007b85d277160b in QAction::activate (this=0x55b8b957b150,
event=<optimized out>) at kernel/qaction.cpp:1161
#31 0x00007b85d27716de in QAction::event (e=<optimized out>, this=<optimized
out>) at kernel/qaction.cpp:1086
#32 QAction::event (this=<optimized out>, e=<optimized out>) at
kernel/qaction.cpp:1075
#33 0x00007b85d27788ff in QApplicationPrivate::notify_helper (this=<optimized
out>, receiver=0x55b8b957b150, e=0x7fff91aa03e0) at
kernel/qapplication.cpp:3640
#34 0x00007b85d1a9bef8 in QCoreApplication::notifyInternal2
(receiver=0x55b8b957b150, event=0x7fff91aa03e0) at
kernel/qcoreapplication.cpp:1064
#35 0x00007b85d1a9bf63 in QCoreApplication::sendEvent (receiver=<optimized
out>, event=<optimized out>) at kernel/qcoreapplication.cpp:1462
#36 0x00007b85d1f77036 in QShortcutMap::dispatchEvent
(this=this@entry=0x55b8b9181e58, e=e@entry=0x7fff91aa04a0) at
kernel/qshortcutmap.cpp:675
#37 0x00007b85d1f77425 in QShortcutMap::tryShortcut (this=0x55b8b9181e58,
e=0x7fff91aa04a0) at kernel/qshortcutmap.cpp:343
#38 0x00007b85d1f2be28 in QWindowSystemInterface::handleShortcutEvent
(window=<optimized out>, timestamp=205384, keyCode=65, modifiers=...,
nativeScanCode=38, nativeVirtualKey=97, nativeModifiers=20, text=...,
autorepeat=false, count=1) at kernel/qwindowsysteminterface.cpp:477
#39 0x00007b85d1f45542 in QGuiApplicationPrivate::processKeyEvent
(e=0x55b914da1780) at kernel/qguiapplication.cpp:2398
#40 0x00007b85d1f2a6f5 in QWindowSystemInterface::sendWindowSystemEvents
(flags=...) at kernel/qwindowsysteminterface.cpp:1169
#41 0x00007b85cc75acf5 in userEventSourceDispatch(_GSource*, int (*)(void*),
void*) () at /usr/lib/libQt5WaylandClient.so.5
#42 0x00007b85cf30df69 in g_main_dispatch (context=0x7b85c4000ec0) at
../glib/glib/gmain.c:3476
#43 0x00007b85cf36c3a7 in g_main_context_dispatch_unlocked
(context=0x7b85c4000ec0) at ../glib/glib/gmain.c:4284
#44 g_main_context_iterate_unlocked.isra.0
(context=context@entry=0x7b85c4000ec0, block=block@entry=1,
dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4349
#45 0x00007b85cf30c162 in g_main_context_iteration (context=0x7b85c4000ec0,
may_block=1) at ../glib/glib/gmain.c:4414
#46 0x00007b85d1aead0c in QEventDispatcherGlib::processEvents
(this=0x55b8b91d9a50, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#47 0x00007b85d1a9ac04 in QEventLoop::exec (this=this@entry=0x7fff91aa0850,
flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:69
#48 0x00007b85d1a9c0a3 in QCoreApplication::exec () at
../../include/QtCore/../../src/corelib/global/qflags.h:121
#49 0x00007b85d1f3bf12 in QGuiApplication::exec () at
kernel/qguiapplication.cpp:1870
#50 0x00007b85d2776cda in QApplication::exec () at kernel/qapplication.cpp:2832
#51 0x000055b8b7e3260e in main (argc=<optimized out>, argv=<optimized out>) at
/usr/src/debug/kate/kate-23.08.4/apps/kate/main.cpp:609
[Inferior 1 (process 2166) detached]

The reporter indicates this bug may be a duplicate of or related to bug 479073.

Reported using DrKonqi

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

Reply via email to