Bug 503708

Summary: Segfault when opening tex file
Product: [Applications] kile Reporter: beerbaron
Component: generalAssignee: Michel Ludwig <michel.ludwig>
Status: RESOLVED WORKSFORME    
Severity: crash CC: christoph
Priority: NOR Keywords: drkonqi
Version First Reported In: 2.9.93   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description beerbaron 2025-05-03 11:47:22 UTC
Application: kile (2.9.93)

Qt Version: 5.15.12
Frameworks Version: 5.115.0
Operating System: Linux 6.12.8-lp155.4.g4810a19-default x86_64
Windowing System: X11
Distribution: "openSUSE Leap 15.6"
DrKonqi: 5.27.11 [KCrashBackend]

-- Information about the crash:
- An included tex file was open in editor
- Pressed compile
- Messagebox: This is not a main document. Continue? -> no
- Open main.tex
- Segfault crash

The reporter is unsure if this crash is reproducible.

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

[KCrash Handler]
#4  QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> >::operator->() const (this=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:118
#5  qGetPtrHelper<QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> > >(QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> >&) (ptr=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qglobal.h:1151
#6  QAction::d_func() (this=<optimized out>) at kernel/qaction.h:63
#7  QAction::setEnabled(bool) (this=0x0, b=b@entry=true) at kernel/qaction.cpp:1016
#8  0x00007f3032fa93c3 in Kile::enableGUI(bool) (this=this@entry=0x55bd04a75470, enable=enable@entry=true) at /usr/src/debug/kile-2.9.93-bp156.7.6.x86_64/src/kile.cpp:1797
#9  0x00007f3032faa17d in Kile::updateMenu() (this=this@entry=0x55bd04a75470) at /usr/src/debug/kile-2.9.93-bp156.7.6.x86_64/src/kile.cpp:1986
#10 0x00007f3032faa442 in Kile::updateModeStatus() (this=0x55bd04a75470) at /usr/src/debug/kile-2.9.93-bp156.7.6.x86_64/src/kile.cpp:1470
#11 0x00007f302ff1522b in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7fff85230ad0, r=0x55bd04a75470, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#12 doActivate<false>(QObject*, int, void**) (sender=0x55bd04cdbc00, signal_index=5, argv=0x7fff85230ad0) at kernel/qobject.cpp:3925
#13 0x00007f302ff0e5f2 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=sender@entry=0x55bd04cdbc00, m=m@entry=0x7f30331c6380 <KileView::Manager::staticMetaObject>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7fff85230ad0) at kernel/qobject.cpp:3985
#14 0x00007f3032e78dd2 in KileView::Manager::currentViewChanged(QWidget*) (this=this@entry=0x55bd04cdbc00, _t1=<optimized out>, _t1@entry=0x55bd0917bed0) at /usr/src/debug/kile-2.9.93-bp156.7.6.x86_64/build/src/kdeinit_kile_autogen/EWIEGA46WW/moc_kileviewmanager.cpp:733
#15 0x00007f303302f538 in KileView::Manager::currentTabChanged(int) (this=0x55bd04cdbc00, index=<optimized out>) at /usr/src/debug/kile-2.9.93-bp156.7.6.x86_64/src/kileviewmanager.cpp:342
#16 0x00007f302ff1522b in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7fff85230c10, r=0x55bd04cdbc00, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#17 doActivate<false>(QObject*, int, void**) (sender=0x55bd05ffacd0, signal_index=7, argv=0x7fff85230c10) at kernel/qobject.cpp:3925
#18 0x00007f302ff0e5f2 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=sender@entry=0x55bd05ffacd0, m=m@entry=0x7f303109b0c0 <QTabBar::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fff85230c10) at kernel/qobject.cpp:3985
#19 0x00007f3030d5017e in QTabBar::currentChanged(int) (this=this@entry=0x55bd05ffacd0, _t1=<optimized out>, _t1@entry=1) at .moc/moc_qtabbar.cpp:338
#20 0x00007f3030d54aed in QTabBar::setCurrentIndex(int) (this=0x55bd05ffacd0, index=1) at widgets/qtabbar.cpp:1457
#21 0x00007f3033030b61 in KileView::Manager::switchToTextView(KTextEditor::View*, bool) (this=0x55bd04cdbc00, view=0x55bd0917bed0, requestFocus=<optimized out>) at /usr/src/debug/kile-2.9.93-bp156.7.6.x86_64/src/kileviewmanager.cpp:685
#22 0x00007f30330329f9 in KileView::Manager::switchToTextView(KTextEditor::Document*, bool) (this=0x55bd04cdbc00, doc=<optimized out>, requestFocus=<optimized out>) at /usr/src/debug/kile-2.9.93-bp156.7.6.x86_64/src/kileviewmanager.cpp:672
#23 0x00007f3033032a8c in KileView::Manager::switchToTextView(QUrl const&, bool) (this=<optimized out>, url=..., requestFocus=requestFocus@entry=false) at /usr/src/debug/kile-2.9.93-bp156.7.6.x86_64/src/kileviewmanager.cpp:662
#24 0x00007f3032fcfe73 in KileDocument::Manager::fileOpen(QUrl const&, QString const&, int) (this=this@entry=0x55bd04bb19a0, url=..., encoding=..., index=index@entry=-1) at /usr/src/debug/kile-2.9.93-bp156.7.6.x86_64/src/kiledocmanager.cpp:982
#25 0x00007f3032fd593f in KileDocument::Manager::fileOpen() (this=0x55bd04bb19a0) at /usr/src/debug/kile-2.9.93-bp156.7.6.x86_64/src/kiledocmanager.cpp:837
#26 0x00007f302ff1522b in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7fff85230fc0, r=0x55bd04bb19a0, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#27 doActivate<false>(QObject*, int, void**) (sender=0x55bd061bbf40, signal_index=4, argv=0x7fff85230fc0) at kernel/qobject.cpp:3925
#28 0x00007f302ff0e5f2 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=sender@entry=0x55bd061bbf40, m=m@entry=0x7f3031089cc0 <QAction::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7fff85230fc0) at kernel/qobject.cpp:3985
#29 0x00007f3030b992c2 in QAction::triggered(bool) (this=this@entry=0x55bd061bbf40, _t1=<optimized out>) at .moc/moc_qaction.cpp:376
#30 0x00007f3030b9b90c in QAction::activate(QAction::ActionEvent) (this=0x55bd061bbf40, event=<optimized out>) at kernel/qaction.cpp:1161
#31 0x00007f3030c8d9fb in QAbstractButtonPrivate::click() (this=0x55bd063f7d10) at widgets/qabstractbutton.cpp:399
#32 0x00007f3030c8dc5d in QAbstractButton::mouseReleaseEvent(QMouseEvent*) (this=0x55bd063f7860, e=0x7fff85231530) at widgets/qabstractbutton.cpp:1045
#33 0x00007f3030d8431a in QToolButton::mouseReleaseEvent(QMouseEvent*) (this=<optimized out>, e=<optimized out>) at widgets/qtoolbutton.cpp:622
#34 0x00007f3030be00d8 in QWidget::event(QEvent*) (this=0x55bd063f7860, event=0x7fff85231530) at kernel/qwidget.cpp:9045
#35 0x00007f3030c8f57b in QAbstractButton::event(QEvent*) (this=this@entry=0x55bd063f7860, e=e@entry=0x7fff85231530) at widgets/qabstractbutton.cpp:1002
#36 0x00007f3030d843b4 in QToolButton::event(QEvent*) (this=0x55bd063f7860, event=0x7fff85231530) at widgets/qtoolbutton.cpp:1020
#37 0x00007f3030b9f87c in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=this@entry=0x55bd04968750, receiver=receiver@entry=0x55bd063f7860, e=e@entry=0x7fff85231530) at kernel/qapplication.cpp:3640
#38 0x00007f3030ba6bb7 in QApplication::notify(QObject*, QEvent*) (this=<optimized out>, receiver=0x55bd063f7860, e=0x7fff85231530) at kernel/qapplication.cpp:3084
#39 0x00007f302fed7d53 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x55bd063f7860, event=0x7fff85231530) at kernel/qcoreapplication.cpp:1064
#40 0x00007f302fed7f3e in QCoreApplication::sendSpontaneousEvent(QObject*, QEvent*) (receiver=receiver@entry=0x55bd063f7860, event=event@entry=0x7fff85231530) at kernel/qcoreapplication.cpp:1474
#41 0x00007f3030ba5bbf in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) (receiver=receiver@entry=0x55bd063f7860, event=event@entry=0x7fff85231530, alienWidget=0x55bd063f7860, nativeWidget=0x55bd04a75470, buttonDown=buttonDown@entry=0x7f30310c1330 <qt_button_down>, lastMouseReceiver=..., spontaneous=true, onlyDispatchEnterLeave=false) at kernel/qapplication.cpp:2622
#42 0x00007f3030bfa8da in QWidgetWindow::handleMouseEvent(QMouseEvent*) (this=this@entry=0x55bd052f45e0, event=event@entry=0x7fff85231980) at kernel/qwidgetwindow.cpp:684
#43 0x00007f3030bfda4d in QWidgetWindow::event(QEvent*) (this=0x55bd052f45e0, event=0x7fff85231980) at kernel/qwidgetwindow.cpp:300
#44 0x00007f3030b9f87c in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=this@entry=0x55bd04968750, receiver=receiver@entry=0x55bd052f45e0, e=e@entry=0x7fff85231980) at kernel/qapplication.cpp:3640
#45 0x00007f3030ba663f in QApplication::notify(QObject*, QEvent*) (this=<optimized out>, receiver=0x55bd052f45e0, e=0x7fff85231980) at kernel/qapplication.cpp:3164
#46 0x00007f302fed7d53 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x55bd052f45e0, event=0x7fff85231980) at kernel/qcoreapplication.cpp:1064
#47 0x00007f302fed7f3e in QCoreApplication::sendSpontaneousEvent(QObject*, QEvent*) (receiver=receiver@entry=0x55bd052f45e0, event=event@entry=0x7fff85231980) at kernel/qcoreapplication.cpp:1474
#48 0x00007f303036881b in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) (e=0x55bd06567930) at kernel/qguiapplication.cpp:2285
#49 0x00007f3030369ac5 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) (e=e@entry=0x55bd06567930) at kernel/qguiapplication.cpp:2005
#50 0x00007f303034010b in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) (flags=flags@entry=...) at kernel/qwindowsysteminterface.cpp:1169
#51 0x00007f302a4ebdfa in xcbSourceDispatch(GSource*, GSourceFunc, gpointer) (source=<optimized out>) at qxcbeventdispatcher.cpp:105
#52 0x00007f302cb15fac in  () at /usr/lib64/libglib-2.0.so.0
#53 0x00007f302cb17bd0 in  () at /usr/lib64/libglib-2.0.so.0
#54 0x00007f302cb181cc in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#55 0x00007f302ff3a17c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x55bd04a4bc40, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#56 0x00007f302fed65ba in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fff85231d20, flags=..., flags@entry=...) at kernel/qeventloop.cpp:235
#57 0x00007f302fedfdf7 in QCoreApplication::exec() () at kernel/qcoreapplication.cpp:1375
#58 0x00007f303035d4bc in QGuiApplication::exec() () at kernel/qguiapplication.cpp:1870
#59 0x00007f3030b9f7d5 in QApplication::exec() () at kernel/qapplication.cpp:2832
#60 0x00007f303304ce91 in kdemain(int, char**) (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kile-2.9.93-bp156.7.6.x86_64/src/main.cpp:203
#61 0x00007f3032a40eec in __libc_start_call_main () at /lib64/libc.so.6
#62 0x00007f3032a40fb5 in __libc_start_main_impl () at /lib64/libc.so.6
#63 0x000055bcd15d77c1 in _start () at ../sysdeps/x86_64/start.S:115
[Inferior 1 (process 21297) detached]

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

Reported using DrKonqi
Comment 1 Christoph Cullmann 2025-05-03 16:58:22 UTC
Could you try

	kile-2.9.94

build with Qt6? Doens't crash for me.
Comment 2 Bug Janitor Service 2025-05-18 03:46:57 UTC
๐Ÿ›๐Ÿงน โš ๏ธ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Bug Janitor Service 2025-06-02 03:47:30 UTC
๐Ÿ›๐Ÿงน This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.