Application: kate (3.13.0) KDE Platform Version: 4.13.0 Qt Version: 4.8.6 Operating System: Linux 3.13.0-24-generic x86_64 Distribution: Ubuntu 14.04 LTS -- Information about the crash: - What I was doing when the application crashed: I was trying to select a very large number of lines : on the file it crashed, its always after 3510 lines. Kate crash when I try to select the 3511th The crash can be reproduced every time. -- Backtrace: Application: Kate (kate), signal: Aborted Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [Current thread is 1 (Thread 0x7f603922a7c0 (LWP 14357))] Thread 3 (Thread 0x7f601cfcf700 (LWP 14360)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x00007f6025f83ffb in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4 #2 0x00007f6025f84039 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4 #3 0x00007f6036183182 in start_thread (arg=0x7f601cfcf700) at pthread_create.c:312 #4 0x00007f6038b7330d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 2 (Thread 0x7f5f98d46700 (LWP 14381)): #0 0x00007f6035ce562a in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #1 0x00007f6035ce59b9 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007f6035ca30f0 in g_main_context_acquire () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007f6035ca3ea5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #4 0x00007f6035ca40ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #5 0x00007f6036a837be in QEventDispatcherGlib::processEvents (this=0x7f5f8c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436 #6 0x00007f6036a550af in QEventLoop::processEvents (this=this@entry=0x7f5f98d45de0, flags=...) at kernel/qeventloop.cpp:149 #7 0x00007f6036a553a5 in QEventLoop::exec (this=this@entry=0x7f5f98d45de0, flags=...) at kernel/qeventloop.cpp:204 #8 0x00007f6036951c5f in QThread::exec (this=this@entry=0x28d1650) at thread/qthread.cpp:537 #9 0x00007f6036a36823 in QInotifyFileSystemWatcherEngine::run (this=0x28d1650) at io/qfilesystemwatcher_inotify.cpp:265 #10 0x00007f603695432f in QThreadPrivate::start (arg=0x28d1650) at thread/qthread_unix.cpp:349 #11 0x00007f6036183182 in start_thread (arg=0x7f5f98d46700) at pthread_create.c:312 #12 0x00007f6038b7330d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 1 (Thread 0x7f603922a7c0 (LWP 14357)): [KCrash Handler] #6 0x00007f6038aaef79 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56 #7 0x00007f6038ab2388 in __GI_abort () at abort.c:89 #8 0x00007f6038aa7e36 in __assert_fail_base (fmt=0x7f6038bf9718 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=assertion@entry=0x7f603464e390 "!xcb_xlib_threads_sequence_lost", file=file@entry=0x7f603464e1db "../../src/xcb_io.c", line=line@entry=274, function=function@entry=0x7f603464e696 <__PRETTY_FUNCTION__.14364> "poll_for_event") at assert.c:92 #9 0x00007f6038aa7ee2 in __GI___assert_fail (assertion=assertion@entry=0x7f603464e390 "!xcb_xlib_threads_sequence_lost", file=file@entry=0x7f603464e1db "../../src/xcb_io.c", line=line@entry=274, function=function@entry=0x7f603464e696 <__PRETTY_FUNCTION__.14364> "poll_for_event") at assert.c:101 #10 0x00007f60345dec69 in poll_for_event (dpy=dpy@entry=0x1336e90) at ../../src/xcb_io.c:271 #11 0x00007f60345decfc in poll_for_response (dpy=dpy@entry=0x1336e90) at ../../src/xcb_io.c:289 #12 0x00007f60345defcd in _XEventsQueued (dpy=dpy@entry=0x1336e90, mode=mode@entry=2) at ../../src/xcb_io.c:363 #13 0x00007f60345d10db in XEventsQueued (dpy=0x1336e90, mode=2) at ../../src/Pending.c:43 #14 0x00007f6038030687 in x11EventSourcePrepare (s=0x1301200, timeout=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:77 #15 0x00007f6035ca368d in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #16 0x00007f6035ca3f03 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #17 0x00007f6035ca40ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #18 0x00007f6036a837a1 in QEventDispatcherGlib::processEvents (this=0x12f1ef0, flags=...) at kernel/qeventdispatcher_glib.cpp:434 #19 0x00007f6038030bb6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204 #20 0x00007f6036a550af in QEventLoop::processEvents (this=this@entry=0x7fffb707e310, flags=...) at kernel/qeventloop.cpp:149 #21 0x00007f6036a553a5 in QEventLoop::exec (this=this@entry=0x7fffb707e310, flags=...) at kernel/qeventloop.cpp:204 #22 0x00007f6036a5ab79 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225 #23 0x00007f6037f8d37c in QApplication::exec () at kernel/qapplication.cpp:3828 #24 0x00007f6038e44d15 in kdemain (argc=<optimized out>, argv=<optimized out>) at ../../../kate/app/katemain.cpp:381 #25 0x00007f6038a99ec5 in __libc_start_main (main=0x4006d0 <main(int, char**)>, argc=1, argv=0x7fffb707e6d8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffb707e6c8) at libc-start.c:287 #26 0x00000000004006fe in _start () Possible duplicates by query: bug 333329, bug 315521, bug 311955, bug 303176, bug 301141. Reported using DrKonqi
Looks like an X issue, something along the lines that it tries to get the selected text in the clipboard or similar. Not sure. We probably can't do anything about it in Kate. Are there other users who experience this issue?
Is this actually reproducible? How do you select the lines? I just tried Ctrl+A on a file with over 320,000 lines, then Ctrl+C, unselect and Ctrl+V, and it worked fine (line count was doubled).
I selected the text using shift + pagedown. The bug was 100% reproductible at the time I did this bug report. I can't reproduce the bug on my current setup: Kate (4.13.2) works fine here with other big files (> 100 000 lines).
Thanks for the feedback, let's close this then. If you see this again, please reopen or add a comment.