https://bugs.kde.org/show_bug.cgi?id=448641
Bug ID: 448641 Summary: Kile crashes when autocompleting an environment Product: kile Version: 2.9.93 Platform: Archlinux Packages OS: Linux Status: REPORTED Severity: crash Priority: NOR Component: editor Assignee: michel.lud...@kdemail.net Reporter: kishor...@gmail.com Target Milestone: --- SUMMARY Kile crashes when I try to autocomplete a 'split' environment inside an 'align' environment. (See attached .tex file) STEPS TO REPRODUCE 1. In Settings > Configure Kile > Kile > Complete > Completion Properties, make sure 'close environments' is enabled. 2. Create 'align' environment `\begin{align}<press enter>\end{align}` 3. Inside the environment, type `\begin{split}` 4. Press enter (to autocomplete `\end{split}`) OBSERVED RESULT Kile crashes EXPECTED RESULT Environment should be autocompleted. SOFTWARE/OS VERSIONS Operating System: Arch Linux KDE Plasma Version: 5.23.90 KDE Frameworks Version: 5.90.0 Qt Version: 5.15.2 Kernel Version: 5.16.0-arch1-1 (64-bit) Graphics Platform: X11 Processors: 8 × AMD Ryzen 5 3500U with Radeon Vega Mobile Gfx Memory: 21.5 GiB of RAM Graphics Processor: AMD Radeon Vega 8 Graphics BACKTRACE Application: Kile (kile), signal: Aborted [KCrash Handler] #4 0x00007f385a1ccd22 in raise () from /usr/lib/libc.so.6 #5 0x00007f385a1b6862 in abort () from /usr/lib/libc.so.6 #6 0x00007f385770cee4 in QMessageLogger::fatal(char const*, ...) const () from /usr/lib/libQt5Core.so.5 #7 0x00007f385770cf44 in qt_assert(char const*, char const*, int) () from /usr/lib/libQt5Core.so.5 #8 0x00007f38593e88cd in Kate::TextBlock::wrapLine (this=0x55b004ebf5f0, position=..., fixStartLinesStartIndex=fixStartLinesStartIndex@entry=12) at /home/kishore/build/devel/ktexteditor-git/src/ktexteditor/src/buffer/katetextblock.cpp:84 #9 0x00007f3859414eb9 in Kate::TextBuffer::wrapLine (this=this@entry=0x55b004d5acf0, position=...) at /home/kishore/build/devel/ktexteditor-git/src/ktexteditor/src/buffer/katetextbuffer.cpp:247 #10 0x00007f38594978b9 in KateBuffer::wrapLine (this=0x55b004d5acf0, position=...) at /home/kishore/build/devel/ktexteditor-git/src/ktexteditor/src/document/katebuffer.cpp:265 #11 0x00007f385947cfd4 in KTextEditor::DocumentPrivate::editWrapLine (newLineAdded=0x0, newLine=<optimized out>, col=17, line=793, this=0x55b0044f4b50) at /home/kishore/build/devel/ktexteditor-git/src/ktexteditor/src/document/katedocument.cpp:1420 #12 KTextEditor::DocumentPrivate::editWrapLine (this=0x55b0044f4b50, line=793, col=17, newLine=<optimized out>, newLineAdded=0x0) at /home/kishore/build/devel/ktexteditor-git/src/ktexteditor/src/document/katedocument.cpp:1394 #13 0x00007f3859483c1b in KTextEditor::DocumentPrivate::insertText (this=this@entry=0x55b0044f4b50, position=..., text=..., block=block@entry=false) at /home/kishore/build/devel/ktexteditor-git/src/ktexteditor/src/document/katedocument.cpp:763 #14 0x00007f385a513402 in KileDocument::EditorExtension::eventInsertEnvironment (this=0x55b002b82520, view=0x55b004e4e9c0) at /home/kishore/build/build/kile/src/kile-2.9.93/src/editorextension.cpp:3332 #15 0x00007f38578f79fa in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5 #16 0x00007f385836c195 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5 #17 0x00007f3858371257 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5 #18 0x00007f38578f89ba in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5 #19 0x00007f38583c240b in ?? () from /usr/lib/libQt5Widgets.so.5 #20 0x00007f385836c1a6 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5 #21 0x00007f38578f89ba in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5 #22 0x00007f3857cc8bc4 in QGuiApplicationPrivate::processKeyEvent(QWindowSystemInterfacePrivate::KeyEvent*) () from /usr/lib/libQt5Gui.so.5 #23 0x00007f3851c1fcd9 in ?? () from /usr/lib/qt/plugins/platforminputcontexts/libibusplatforminputcontextplugin.so #24 0x00007f38579295d3 in ?? () from /usr/lib/libQt5Core.so.5 #25 0x00007f3858905794 in QDBusPendingCallWatcher::finished(QDBusPendingCallWatcher*) () from /usr/lib/libQt5DBus.so.5 #26 0x00007f385791c6c6 in QObject::event(QEvent*) () from /usr/lib/libQt5Core.so.5 #27 0x00007f385836c1a6 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5 #28 0x00007f38578f89ba in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5 #29 0x00007f38578f94b9 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQt5Core.so.5 #30 0x00007f385793fd88 in ?? () from /usr/lib/libQt5Core.so.5 #31 0x00007f3855498fd3 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #32 0x00007f38554ef049 in ?? () from /usr/lib/libglib-2.0.so.0 #33 0x00007f3855496545 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #34 0x00007f3857943c8a in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5 #35 0x00007f38578f0bab in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5 #36 0x00007f38578fc3e7 in QCoreApplication::exec() () from /usr/lib/libQt5Core.so.5 #37 0x00007f385a5f0b99 in kdemain (argc=<optimized out>, argv=<optimized out>) at /home/kishore/build/build/kile/src/kile-2.9.93/src/main.cpp:203 #38 0x00007f385a1b7b25 in __libc_start_main () from /usr/lib/libc.so.6 #39 0x000055b00185c05e in _start () [Inferior 1 (process 362052) detached] -- You are receiving this mail because: You are watching all bug changes.