Bug 417547 - Crash when select text
Summary: Crash when select text
Status: RESOLVED UPSTREAM
Alias: None
Product: kate
Classification: Applications
Component: kwrite (show other bugs)
Version: 18.12.3
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2020-02-13 10:14 UTC by Alexander
Modified: 2020-03-06 12:52 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander 2020-02-13 10:14:48 UTC
Application: kwrite (18.12.3)

Qt Version: 5.9.7
Frameworks Version: 5.55.0
Operating System: Linux 5.3.6-2.gd6c109d-default x86_64
Distribution: "openSUSE Leap 15.1"

-- Information about the crash:
- What I was doing when the application crashed:

In file about 1GB size, when selecting text from near file to end it's crashes

-- Backtrace:
Application: KWrite (kwrite), signal: Aborted
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fe7a0091900 (LWP 26730))]

Thread 4 (Thread 0x7fe77559b700 (LWP 26733)):
#0  0x00007fe79714a8ad in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fe7764709ab in ?? () from /usr/lib64/dri/i965_dri.so
#2  0x00007fe7764706b7 in ?? () from /usr/lib64/dri/i965_dri.so
#3  0x00007fe797144569 in start_thread () from /lib64/libpthread.so.0
#4  0x00007fe79c0cb9ef in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7fe781aef700 (LWP 26732)):
#0  0x00007fe79c0bcc98 in read () from /lib64/libc.so.6
#1  0x00007fe795607c80 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fe7955c2cb8 in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fe7955c3150 in ?? () from /usr/lib64/libglib-2.0.so.0
#4  0x00007fe7955c32bc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#5  0x00007fe79ca067fb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#6  0x00007fe79c9ab79a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#7  0x00007fe79c7c9d4a in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#8  0x00007fe7988379e5 in ?? () from /usr/lib64/libQt5DBus.so.5
#9  0x00007fe79c7cec8d in ?? () from /usr/lib64/libQt5Core.so.5
#10 0x00007fe797144569 in start_thread () from /lib64/libpthread.so.0
#11 0x00007fe79c0cb9ef in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7fe78a3cb700 (LWP 26731)):
#0  0x00007fe79c0c119b in poll () from /lib64/libc.so.6
#1  0x00007fe7931ec307 in ?? () from /usr/lib64/libxcb.so.1
#2  0x00007fe7931edf3a in xcb_wait_for_event () from /usr/lib64/libxcb.so.1
#3  0x00007fe78d183969 in ?? () from /usr/lib64/libQt5XcbQpa.so.5
#4  0x00007fe79c7cec8d in ?? () from /usr/lib64/libQt5Core.so.5
#5  0x00007fe797144569 in start_thread () from /lib64/libpthread.so.0
#6  0x00007fe79c0cb9ef in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7fe7a0091900 (LWP 26730)):
[KCrash Handler]
#6  0x00007fe79c009160 in raise () from /lib64/libc.so.6
#7  0x00007fe79c00a741 in abort () from /lib64/libc.so.6
#8  0x00007fe79c420e83 in ?? () from /usr/lib64/libstdc++.so.6
#9  0x00007fe79c426dd8 in ?? () from /usr/lib64/libstdc++.so.6
#10 0x00007fe79c426e23 in std::terminate() () from /usr/lib64/libstdc++.so.6
#11 0x00007fe79c427053 in __cxa_throw () from /usr/lib64/libstdc++.so.6
#12 0x00007fe79c7b4d62 in qBadAlloc() () from /usr/lib64/libQt5Core.so.5
#13 0x00007fe79c84786a in QString::reallocData(unsigned int, bool) () from /usr/lib64/libQt5Core.so.5
#14 0x00007fe79c847fc9 in QString::append(QString const&) () from /usr/lib64/libQt5Core.so.5
#15 0x00007fe79fa3c627 in KTextEditor::DocumentPrivate::text(KTextEditor::Range const&, bool) const () from /usr/lib64/libKF5TextEditor.so.5
#16 0x00007fe79fabfb77 in KTextEditor::ViewPrivate::selectionText() const () from /usr/lib64/libKF5TextEditor.so.5
#17 0x00007fe79fad259b in ?? () from /usr/lib64/libKF5TextEditor.so.5
#18 0x00007fe79d794b88 in QWidget::event(QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#19 0x00007fe79d7563dc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#20 0x00007fe79d75f1e2 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#21 0x00007fe79c9ad768 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
#22 0x00007fe79d7b2305 in ?? () from /usr/lib64/libQt5Widgets.so.5
#23 0x00007fe79d7563dc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#24 0x00007fe79d75dca4 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#25 0x00007fe79c9ad768 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
#26 0x00007fe79cf7fa00 in QGuiApplicationPrivate::processKeyEvent(QWindowSystemInterfacePrivate::KeyEvent*) () from /usr/lib64/libQt5Gui.so.5
#27 0x00007fe79cf84955 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib64/libQt5Gui.so.5
#28 0x00007fe79cf5bbfb in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Gui.so.5
#29 0x00007fe78d1e6af0 in ?? () from /usr/lib64/libQt5XcbQpa.so.5
#30 0x00007fe7955c2e87 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#31 0x00007fe7955c3230 in ?? () from /usr/lib64/libglib-2.0.so.0
#32 0x00007fe7955c32bc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#33 0x00007fe79ca067df in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#34 0x00007fe79c9ab79a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#35 0x00007fe79c9b4844 in QCoreApplication::exec() () from /usr/lib64/libQt5Core.so.5
#36 0x000055582970164b in main ()
[Inferior 1 (process 26730) detached]

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

Possible duplicates by query: bug 394178, bug 393853.

Reported using DrKonqi
Comment 1 Christoph Feck 2020-03-06 12:52:33 UTC
Qt is limited to 2 GB size (1 G of UFT-16 symbols).