Bug 436837 - Kile crashes when generating new document
Summary: Kile crashes when generating new document
Status: REPORTED
Alias: None
Product: kile
Classification: Applications
Component: general (show other bugs)
Version: 2.9.93
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Michel Ludwig
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2021-05-09 20:45 UTC by shadow53
Modified: 2021-05-09 20:45 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description shadow53 2021-05-09 20:45:44 UTC
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: "openSUSE Tumbleweed"

-- 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 -> Configure Kile
    2.1. Enable auto-inserting $ under LaTeX -> General
    2.2. Set auto-indent to 4 spaces in LaTeX -> Environments
    2.3. Change font in Editor -> Appearance from Hack to Fira Code Retina
    2.4. Enable static word wrap and set to 120 characters in Editor -> Editing
3. Click the "New" button in the toolbar, select "Book". "Show Quick start wizard" 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<QObjectData, QScopedPointerDeleter<QObjectData> >::operator-> (this=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:118
#5  qGetPtrHelper<QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> > > (ptr=...) at ../../include/QtCore/../../src/corelib/global/qglobal.h:1135
#6  QAction::d_func (this=<optimized out>) 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<false> (sender=0x563bd188b8c0, signal_index=5, argv=argv@entry=0x7fffdc663a40) at kernel/qobject.cpp:3886
#13 0x00007f4e69634f60 in QMetaObject::activate (sender=sender@entry=0x563bd188b8c0, m=<optimized out>, 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=<optimized out>) at /usr/src/debug/kile-2.9.93-2.9.x86_64/src/kileviewmanager.cpp:342
#16 0x00007f4e6c29572b in KileView::Manager::createTextView (index=<optimized out>, info=<optimized out>, this=0x563bd188b8c0) at /usr/src/debug/kile-2.9.93-2.9.x86_64/src/kileviewmanager.cpp:442
#17 KileDocument::Manager::loadText (this=<optimized out>, type=<optimized out>, url=..., encoding=..., create=<optimized out>, 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&, KileDocument::Type, QString const&, QUrl const&) [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=<optimized out>) 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<false> (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 <QAction::staticMetaObject>, 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=<optimized out>) at .moc/moc_qaction.cpp:376
#25 0x00007f4e6a1c5e28 in QAction::activate (this=0x563bd2bb3e40, event=<optimized out>) 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=<optimized out>) 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=<optimized out>, 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=<optimized out>, 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=<optimized out>) 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=<optimized out>, argv=<optimized out>) 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