<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>436837</bug_id>
          
          <creation_ts>2021-05-09 20:45:44 +0000</creation_ts>
          <short_desc>Kile crashes when generating new document</short_desc>
          <delta_ts>2021-05-09 20:45:44 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>kile</product>
          <component>general</component>
          <version>2.9.93</version>
          <rep_platform>openSUSE</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>UNCONFIRMED</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>drkonqi</keywords>
          <priority>NOR</priority>
          <bug_severity>crash</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter>shadow53</reporter>
          <assigned_to name="Michel Ludwig">michel.ludwig</assigned_to>
          
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2031325</commentid>
    <comment_count>0</comment_count>
    <who name="">shadow53</who>
    <bug_when>2021-05-09 20:45:44 +0000</bug_when>
    <thetext>Application: kile (2.9.93)

Qt Version: 5.15.2
Frameworks Version: 5.81.0
Operating System: Linux 5.12.0-2-default x86_64
Windowing System: X11
Drkonqi Version: 5.21.4
Distribution: &quot;openSUSE Tumbleweed&quot;

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

I opened Kile for the first time on my openSUSE Tumbleweed system and used the new file wizard to create a new book document, then Kile crashed.  tried to replicate the crash, but failed to do so.

The (more or less) exact order of things that I did:

1. Install Kile and texlive packages; open Kile
2. Settings -&gt; Configure Kile
    2.1. Enable auto-inserting $ under LaTeX -&gt; General
    2.2. Set auto-indent to 4 spaces in LaTeX -&gt; Environments
    2.3. Change font in Editor -&gt; Appearance from Hack to Fira Code Retina
    2.4. Enable static word wrap and set to 120 characters in Editor -&gt; Editing
3. Click the &quot;New&quot; button in the toolbar, select &quot;Book&quot;. &quot;Show Quick start wizard&quot; is unchecked.
4. Kile crashes

The crash does not seem to be reproducible.

-- Backtrace:
Application: Kile (kile), signal: Segmentation fault

[KCrash Handler]
#4  0x00007f4e6a1c5ea5 in QScopedPointer&lt;QObjectData, QScopedPointerDeleter&lt;QObjectData&gt; &gt;::operator-&gt; (this=&lt;optimized out&gt;) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:118
#5  qGetPtrHelper&lt;QScopedPointer&lt;QObjectData, QScopedPointerDeleter&lt;QObjectData&gt; &gt; &gt; (ptr=...) at ../../include/QtCore/../../src/corelib/global/qglobal.h:1135
#6  QAction::d_func (this=&lt;optimized out&gt;) at kernel/qaction.h:63
#7  QAction::setEnabled (this=0x0, b=b@entry=true) at kernel/qaction.cpp:1016
#8  0x00007f4e6c275712 in Kile::enableGUI (this=0x563bd16f3b50, enable=248) at /usr/src/debug/kile-2.9.93-2.9.x86_64/src/kile.cpp:1797
#9  0x00007f4e6c27211f in Kile::updateMenu (this=0x563bd16f3b50) at /usr/src/debug/kile-2.9.93-2.9.x86_64/src/kile.cpp:1986
#10 Kile::updateModeStatus (this=0x563bd16f3b50) at /usr/src/debug/kile-2.9.93-2.9.x86_64/src/kile.cpp:1470
#11 0x00007f4e6963bc17 in QtPrivate::QSlotObjectBase::call (a=0x7fffdc663a40, r=0x563bd16f3b50, this=0x7f4e5c00f040) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#12 doActivate&lt;false&gt; (sender=0x563bd188b8c0, signal_index=5, argv=argv@entry=0x7fffdc663a40) at kernel/qobject.cpp:3886
#13 0x00007f4e69634f60 in QMetaObject::activate (sender=sender@entry=0x563bd188b8c0, m=&lt;optimized out&gt;, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7fffdc663a40) at kernel/qobject.cpp:3946
#14 0x00007f4e6c2d51ad in KileView::Manager::currentViewChanged (_t1=0x563bd2ebd040, this=0x563bd188b8c0) at /usr/src/debug/kile-2.9.93-2.9.x86_64/build/src/kdeinit_kile_autogen/EWIEGA46WW/moc_kileviewmanager.cpp:733
#15 KileView::Manager::currentTabChanged (this=0x563bd188b8c0, index=&lt;optimized out&gt;) at /usr/src/debug/kile-2.9.93-2.9.x86_64/src/kileviewmanager.cpp:342
#16 0x00007f4e6c29572b in KileView::Manager::createTextView (index=&lt;optimized out&gt;, info=&lt;optimized out&gt;, this=0x563bd188b8c0) at /usr/src/debug/kile-2.9.93-2.9.x86_64/src/kileviewmanager.cpp:442
#17 KileDocument::Manager::loadText (this=&lt;optimized out&gt;, type=&lt;optimized out&gt;, url=..., encoding=..., create=&lt;optimized out&gt;, mode=..., highlight=..., text=..., index=-1, baseDirectory=...) at /usr/src/debug/kile-2.9.93-2.9.x86_64/src/kiledocmanager.cpp:654
#18 0x00007f4e6c34bb29 in KileDocument::Manager::createDocumentWithText(QString const&amp;, KileDocument::Type, QString const&amp;, QUrl const&amp;) [clone .constprop.0] (this=this@entry=0x563bd16f5180, text=..., type=type@entry=KileDocument::LaTeX, baseDirectory=...) at /usr/src/debug/kile-2.9.93-2.9.x86_64/src/kiledocmanager.cpp:700
#19 0x00007f4e6c2932fb in KileDocument::Manager::loadTemplate (this=0x563bd16f5180, sel=&lt;optimized out&gt;) at /usr/src/debug/kile-2.9.93-2.9.x86_64/src/kiledocmanager.cpp:695
#20 0x00007f4e6c2983a6 in KileDocument::Manager::fileNew (this=0x563bd16f5180, type=KileDocument::LaTeX) at /usr/src/debug/kile-2.9.93-2.9.x86_64/src/kiledocmanager.cpp:774
#21 0x00007f4e6963bc17 in QtPrivate::QSlotObjectBase::call (a=0x7fffdc663f10, r=0x563bd16f5180, this=0x563bd2bb4b20) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#22 doActivate&lt;false&gt; (sender=0x563bd2bb3e40, signal_index=4, argv=argv@entry=0x7fffdc663f10) at kernel/qobject.cpp:3886
#23 0x00007f4e69634f60 in QMetaObject::activate (sender=sender@entry=0x563bd2bb3e40, m=m@entry=0x7f4e6a6e40a0 &lt;QAction::staticMetaObject&gt;, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7fffdc663f10) at kernel/qobject.cpp:3946
#24 0x00007f4e6a1c31d2 in QAction::triggered (this=this@entry=0x563bd2bb3e40, _t1=&lt;optimized out&gt;) at .moc/moc_qaction.cpp:376
#25 0x00007f4e6a1c5e28 in QAction::activate (this=0x563bd2bb3e40, event=&lt;optimized out&gt;) at kernel/qaction.cpp:1161
#26 0x00007f4e6a34c4e2 in QMenuPrivate::activateCausedStack (this=this@entry=0x563bd2cf4000, causedStack=..., action=action@entry=0x563bd2bb3e40, action_e=action_e@entry=QAction::Trigger, self=self@entry=true) at widgets/qmenu.cpp:1384
#27 0x00007f4e6a354341 in QMenuPrivate::activateAction (this=0x563bd2cf4000, action=0x563bd2bb3e40, action_e=QAction::Trigger, self=&lt;optimized out&gt;) at widgets/qmenu.cpp:1461
#28 0x00007f4e6a20bb4e in QWidget::event (this=0x563bd2cd8830, event=0x7fffdc664510) at kernel/qwidget.cpp:9019
#29 0x00007f4e6a1c9aff in QApplicationPrivate::notify_helper (this=this@entry=0x563bd1360960, receiver=receiver@entry=0x563bd2cd8830, e=e@entry=0x7fffdc664510) at kernel/qapplication.cpp:3632
#30 0x00007f4e6a1d10cb in QApplication::notify (this=0x7fffdc664240, receiver=0x563bd2cd8830, e=0x7fffdc664510) at kernel/qapplication.cpp:3076
#31 0x00007f4e6960513a in QCoreApplication::notifyInternal2 (receiver=0x563bd2cd8830, event=0x7fffdc664510) at kernel/qcoreapplication.cpp:1063
#32 0x00007f4e6a1d0103 in QApplicationPrivate::sendMouseEvent (receiver=0x563bd2cd8830, event=event@entry=0x7fffdc664510, alienWidget=0x0, nativeWidget=0x563bd2cd8830, buttonDown=&lt;optimized out&gt;, lastMouseReceiver=..., spontaneous=true, onlyDispatchEnterLeave=false) at kernel/qapplication.cpp:2614
#33 0x00007f4e6a225bee in QWidgetWindow::handleMouseEvent (this=0x7f4e5c04f830, event=0x7fffdc6647d0) at kernel/qwidgetwindow.cpp:580
#34 0x00007f4e6a228505 in QWidgetWindow::event (this=0x7f4e5c04f830, event=0x7fffdc6647d0) at kernel/qwidgetwindow.cpp:300
#35 0x00007f4e6a1c9aff in QApplicationPrivate::notify_helper (this=&lt;optimized out&gt;, receiver=0x7f4e5c04f830, e=0x7fffdc6647d0) at kernel/qapplication.cpp:3632
#36 0x00007f4e6960513a in QCoreApplication::notifyInternal2 (receiver=0x7f4e5c04f830, event=0x7fffdc6647d0) at kernel/qcoreapplication.cpp:1063
#37 0x00007f4e69a72ff3 in QGuiApplicationPrivate::processMouseEvent (e=0x563bd2e92d80) at kernel/qguiapplication.cpp:2282
#38 0x00007f4e69a48c5c in QWindowSystemInterface::sendWindowSystemEvents (flags=flags@entry=...) at kernel/qwindowsysteminterface.cpp:1169
#39 0x00007f4e63a64c9a in xcbSourceDispatch (source=&lt;optimized out&gt;) at qxcbeventdispatcher.cpp:105
#40 0x00007f4e66e898b7 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#41 0x00007f4e66e89c38 in ?? () from /usr/lib64/libglib-2.0.so.0
#42 0x00007f4e66e89cef in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#43 0x00007f4e6965cd30 in QEventDispatcherGlib::processEvents (this=0x563bd14c0650, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#44 0x00007f4e69603b7b in QEventLoop::exec (this=this@entry=0x7fffdc664b00, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#45 0x00007f4e6960bdb0 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#46 0x00007f4e69a66a9c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1867
#47 0x00007f4e6a1c9a75 in QApplication::exec () at kernel/qapplication.cpp:2824
#48 0x00007f4e6c2ece80 in kdemain (argc=&lt;optimized out&gt;, argv=&lt;optimized out&gt;) at /usr/src/debug/kile-2.9.93-2.9.x86_64/src/main.cpp:203
#49 0x00007f4e6bf29b25 in __libc_start_main () from /lib64/libc.so.6
#50 0x0000563bd104d08e in _start () at ../sysdeps/x86_64/start.S:120
[Inferior 1 (process 6459) detached]

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

Possible duplicates by query: bug 433942, bug 428069, bug 426162, bug 426090, bug 423368.

Reported using DrKonqi</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>