Application: kbibtex (0.9) Qt Version: 5.12.3 Frameworks Version: 5.60.0 Operating System: Linux 4.19.66-gentoo x86_64 Distribution (Platform): Gentoo Packages -- Information about the crash: - What I was doing when the application crashed: I closed KBibTeX rght after I had saved the entries to file. KBibTeX had been open for a few days. -- Backtrace: Application: KBibTeX (kbibtex), signal: Segmentation fault Using host libthread_db library "/lib64/libthread_db.so.1". [Current thread is 1 (Thread 0x7f0ade2a3880 (LWP 25711))] Thread 4 (Thread 0x7f0ad0c88700 (LWP 26021)): #0 0x00007f0ae3bc111c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00007f0ad0f0a14b in ?? () from /usr/lib64/dri/i965_dri.so #2 0x00007f0ad0f09d77 in ?? () from /usr/lib64/dri/i965_dri.so #3 0x00007f0ae3bba408 in start_thread () from /lib64/libpthread.so.0 #4 0x00007f0ae52d9adf in clone () from /lib64/libc.so.6 Thread 3 (Thread 0x7f0ad9b5b700 (LWP 25734)): #0 0x00007f0ae37b0637 in ?? () from /usr/lib64/libglib-2.0.so.0 #1 0x00007f0ae37b2c03 in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0 #2 0x00007f0ae37b36cb in ?? () from /usr/lib64/libglib-2.0.so.0 #3 0x00007f0ae37b38bc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0 #4 0x00007f0ae584bafb in QEventDispatcherGlib::processEvents (this=0x7f0acc000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:424 #5 0x00007f0ae57f993b in QEventLoop::exec (this=this@entry=0x7f0ad9b5acf0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140 #6 0x00007f0ae566c3d6 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:120 #7 0x00007f0ae4c5c565 in ?? () from /usr/lib64/libQt5DBus.so.5 #8 0x00007f0ae566d602 in QThreadPrivate::start (arg=0x7f0ae4cdcd80) at thread/qthread_unix.cpp:361 #9 0x00007f0ae3bba408 in start_thread () from /lib64/libpthread.so.0 #10 0x00007f0ae52d9adf in clone () from /lib64/libc.so.6 Thread 2 (Thread 0x7f0adbfa6700 (LWP 25725)): #0 0x00007f0ae52cda53 in poll () from /lib64/libc.so.6 #1 0x00007f0ae22f87f7 in ?? () from /usr/lib64/libxcb.so.1 #2 0x00007f0ae22fa42a in xcb_wait_for_event () from /usr/lib64/libxcb.so.1 #3 0x00007f0addcf30b8 in QXcbEventQueue::run (this=0x55edaa8d2ed0) at qxcbeventqueue.cpp:228 #4 0x00007f0ae566d602 in QThreadPrivate::start (arg=0x55edaa8d2ed0) at thread/qthread_unix.cpp:361 #5 0x00007f0ae3bba408 in start_thread () from /lib64/libpthread.so.0 #6 0x00007f0ae52d9adf in clone () from /lib64/libc.so.6 Thread 1 (Thread 0x7f0ade2a3880 (LWP 25711)): [KCrash Handler] #6 0x00007f0ae6be5a30 in QHash<QString, QVariant>::findNode (this=this@entry=0x55edb2dc7790, akey=..., ahp=ahp@entry=0x0) at /usr/include/qt5/QtCore/qhash.h:928 #7 0x00007f0ae6bdfe04 in QHash<QString, QVariant>::contains (akey=..., this=0x55edb2dc7790) at /usr/include/qt5/QtCore/qhash.h:906 #8 File::property (this=0x55edab6918d0, key=...) at /var/tmp/portage/app-text/kbibtex-0.9/work/kbibtex-0.9/src/data/file.cpp:340 #9 0x00007f0ae7251cab in FieldLineEdit::FieldLineEditPrivate::updateURL (text=..., this=0x55edad658d50) at /var/tmp/portage/app-text/kbibtex-0.9/work/kbibtex-0.9/src/gui/field/fieldlineedit.cpp:436 #10 FieldLineEdit::FieldLineEditPrivate::textChanged (text=..., this=0x55edad658d50) at /var/tmp/portage/app-text/kbibtex-0.9/work/kbibtex-0.9/src/gui/field/fieldlineedit.cpp:449 #11 FieldLineEdit::slotTextChanged (this=<optimized out>, text=...) at /var/tmp/portage/app-text/kbibtex-0.9/work/kbibtex-0.9/src/gui/field/fieldlineedit.cpp:524 #12 0x00007f0ae5822f2f in QtPrivate::QSlotObjectBase::call (a=0x7ffd8bce35d0, r=0x55edad648300, this=0x55edad65c200) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:394 #13 QMetaObject::activate (sender=0x55edad648300, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at kernel/qobject.cpp:3776 #14 0x00007f0ae7246912 in MenuLineEdit::textChanged (this=this@entry=0x55edad648300, _t1=...) at src/gui/kbibtexgui_autogen/IMAN36LHMA/moc_menulineedit.cpp:143 #15 0x00007f0ae7295287 in MenuLineEdit::slotTextChanged (this=0x55edad648300) at /var/tmp/portage/app-text/kbibtex-0.9/work/kbibtex-0.9/src/gui/widgets/menulineedit.cpp:315 #16 0x00007f0ae5822f2f in QtPrivate::QSlotObjectBase::call (a=0x7ffd8bce36c0, r=0x55edad648300, this=0x55edad6585b0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:394 #17 QMetaObject::activate (sender=0x55edad63c610, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at kernel/qobject.cpp:3776 #18 0x00007f0ae63706ed in QTextEdit::qt_static_metacall (_o=0x55edad63c610, _c=<optimized out>, _id=<optimized out>, _a=0x7ffd8bce3800) at .moc/moc_qtextedit.cpp:325 #19 0x00007f0ae5822dee in QMetaObject::activate (sender=0x55edad64eb80, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at kernel/qobject.cpp:3795 #20 0x00007f0ae6395935 in QWidgetTextControl::qt_static_metacall (_o=_o@entry=0x55edad64eb80, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=_id@entry=0, _a=_a@entry=0x7ffd8bce3970) at .moc/moc_qwidgettextcontrol_p.cpp:256 #21 0x00007f0ae6395bfb in QWidgetTextControl::qt_metacall (this=0x55edad64eb80, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7ffd8bce3970) at .moc/moc_qwidgettextcontrol_p.cpp:471 #22 0x00007f0ae5822eaf in QMetaObject::activate (sender=0x55edad64ebd0, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at kernel/qobject.cpp:3812 #23 0x00007f0ae5d5be1c in QTextDocumentPrivate::finishEdit (this=0x55edad64ec30) at text/qtextdocument_p.cpp:1246 #24 0x00007f0ae5d5c1b1 in QTextDocumentPrivate::endEditBlock (this=<optimized out>) at text/qtextdocument_p.cpp:1201 #25 QTextDocumentPrivate::endEditBlock (this=<optimized out>) at text/qtextdocument_p.cpp:1184 #26 0x00007f0ae5d97441 in QSyntaxHighlighter::setDocument (this=this@entry=0x55edb2d7d110, doc=doc@entry=0x0) at text/qsyntaxhighlighter.cpp:341 #27 0x00007f0ae5d97659 in QSyntaxHighlighter::~QSyntaxHighlighter (this=0x55edb2d7d110, __in_chrg=<optimized out>) at text/qsyntaxhighlighter.cpp:323 #28 0x00007f0ae3cbfe69 in Sonnet::Highlighter::~Highlighter (this=0x55edb2d7d110, __in_chrg=<optimized out>) at /var/tmp/portage/kde-frameworks/sonnet-5.60.0/work/sonnet-5.60.0/src/ui/highlighter.cpp:173 #29 0x00007f0ae5828e8c in QObjectPrivate::deleteChildren (this=this@entry=0x55edb2dc7150) at kernel/qobject.cpp:2010 #30 0x00007f0ae5829c84 in QObject::~QObject (this=<optimized out>, __in_chrg=<optimized out>) at kernel/qobject.cpp:1032 #31 0x00007f0ae6a66cf3 in KTextDecorator::~KTextDecorator (this=0x55edabad8430, __in_chrg=<optimized out>) at /var/tmp/portage/kde-frameworks/ktextwidgets-5.60.0/work/ktextwidgets-5.60.0/src/widgets/ktextedit.cpp:55 #32 KTextDecorator::~KTextDecorator (this=0x55edabad8430, __in_chrg=<optimized out>) at /var/tmp/portage/kde-frameworks/ktextwidgets-5.60.0/work/ktextwidgets-5.60.0/src/widgets/ktextedit.cpp:55 #33 0x00007f0ae6a6252b in KTextEdit::Private::~Private (this=0x55edad651680, __in_chrg=<optimized out>) at /var/tmp/portage/kde-frameworks/ktextwidgets-5.60.0/work/ktextwidgets-5.60.0/src/widgets/ktextedit.cpp:89 #34 KTextEdit::~KTextEdit (this=0x55edad63c610, __in_chrg=<optimized out>) at /var/tmp/portage/kde-frameworks/ktextwidgets-5.60.0/work/ktextwidgets-5.60.0/src/widgets/ktextedit.cpp:338 #35 0x00007f0ae6a625e9 in KTextEdit::~KTextEdit (this=0x55edad63c610, __in_chrg=<optimized out>) at /var/tmp/portage/kde-frameworks/ktextwidgets-5.60.0/work/ktextwidgets-5.60.0/src/widgets/ktextedit.cpp:336 #36 0x00007f0ae5828e8c in QObjectPrivate::deleteChildren (this=this@entry=0x55edad648350) at kernel/qobject.cpp:2010 #37 0x00007f0ae61ef656 in QWidget::~QWidget (this=0x55edad648300, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1708 #38 0x00007f0ae7253819 in FieldLineEdit::~FieldLineEdit (this=0x55edad648300, __in_chrg=<optimized out>) at /var/tmp/portage/app-text/kbibtex-0.9/work/kbibtex-0.9/src/gui/field/fieldlineedit.cpp:463 #39 0x00007f0ae724eb22 in FieldInput::~FieldInput (this=0x55edad647f20, __in_chrg=<optimized out>) at /var/tmp/portage/app-text/kbibtex-0.9/work/kbibtex-0.9/src/gui/field/fieldinput.cpp:310 #40 0x00007f0ae724eb59 in FieldInput::~FieldInput (this=0x55edad647f20, __in_chrg=<optimized out>) at /var/tmp/portage/app-text/kbibtex-0.9/work/kbibtex-0.9/src/gui/field/fieldinput.cpp:308 #41 0x00007f0ae5828e8c in QObjectPrivate::deleteChildren (this=this@entry=0x55edad5ef2e0) at kernel/qobject.cpp:2010 #42 0x00007f0ae61ef656 in QWidget::~QWidget (this=0x55edad5ef150, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1708 #43 0x00007f0ae7286af9 in EntryConfiguredWidget::~EntryConfiguredWidget (this=0x55edad5ef150, __in_chrg=<optimized out>) at /var/tmp/portage/app-text/kbibtex-0.9/work/kbibtex-0.9/src/gui/element/elementwidgets.cpp:100 #44 0x00007f0ae5828e8c in QObjectPrivate::deleteChildren (this=this@entry=0x55edac322ce0) at kernel/qobject.cpp:2010 #45 0x00007f0ae61ef656 in QWidget::~QWidget (this=0x55edacf6a010, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1708 #46 0x00007f0ae63542d9 in QStackedWidget::~QStackedWidget (this=0x55edacf6a010, __in_chrg=<optimized out>) at widgets/qstackedwidget.cpp:145 #47 0x00007f0ae5828e8c in QObjectPrivate::deleteChildren (this=this@entry=0x55edacf3dd40) at kernel/qobject.cpp:2010 #48 0x00007f0ae61ef656 in QWidget::~QWidget (this=0x55edacf69f60, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1708 #49 0x00007f0ae724b7ba in HidingTabWidget::~HidingTabWidget (this=0x55edacf69f60, __in_chrg=<optimized out>) at /usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/include/g++-v8/bits/atomic_base.h:303 #50 HidingTabWidget::~HidingTabWidget (this=0x55edacf69f60, __in_chrg=<optimized out>) at src/gui/kbibtexgui_autogen/IMAN36LHMA/../../../../../kbibtex-0.9/src/gui/widgets/hidingtabwidget.h:32 #51 0x00007f0ae5828e8c in QObjectPrivate::deleteChildren (this=this@entry=0x55edace4c130) at kernel/qobject.cpp:2010 #52 0x00007f0ae61ef656 in QWidget::~QWidget (this=0x55edac6cad30, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1708 #53 0x00007f0ae727b596 in ElementEditor::~ElementEditor (this=0x55edac6cad30, __in_chrg=<optimized out>) at /var/tmp/portage/app-text/kbibtex-0.9/work/kbibtex-0.9/src/gui/element/elementeditor.h:38 #54 0x00007f0ae727b699 in ElementEditor::~ElementEditor (this=0x55edac6cad30, __in_chrg=<optimized out>) at /var/tmp/portage/app-text/kbibtex-0.9/work/kbibtex-0.9/src/gui/element/elementeditor.cpp:500 #55 0x00007f0ae5828e8c in QObjectPrivate::deleteChildren (this=this@entry=0x55edaca43ff0) at kernel/qobject.cpp:2010 #56 0x00007f0ae61ef656 in QWidget::~QWidget (this=0x55edacfa7bb0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1708 #57 0x00007f0ae72675e9 in ElementEditorDialog::~ElementEditorDialog (this=0x55edacfa7bb0, __in_chrg=<optimized out>) at /var/tmp/portage/app-text/kbibtex-0.9/work/kbibtex-0.9/src/gui/file/fileview.cpp:52 #58 ElementEditorDialog::~ElementEditorDialog (this=0x55edacfa7bb0, __in_chrg=<optimized out>) at /var/tmp/portage/app-text/kbibtex-0.9/work/kbibtex-0.9/src/gui/file/fileview.cpp:52 #59 0x00007f0ae5828e8c in QObjectPrivate::deleteChildren (this=this@entry=0x55edac752a70) at kernel/qobject.cpp:2010 #60 0x00007f0ae61ef656 in QWidget::~QWidget (this=0x55edac753220, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1708 #61 0x00007f0ae724c9ff in FileView::~FileView (this=0x55edac753220, __in_chrg=<optimized out>) at /usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/include/g++-v8/bits/atomic_base.h:303 #62 FileView::~FileView (this=0x55edac753220, __in_chrg=<optimized out>) at src/gui/kbibtexgui_autogen/O3FNYGJQRT/../../../../../kbibtex-0.9/src/gui/file/fileview.h:39 #63 0x00007f0ae5828e8c in QObjectPrivate::deleteChildren (this=this@entry=0x55edac74b340) at kernel/qobject.cpp:2010 #64 0x00007f0ae61ef656 in QWidget::~QWidget (this=0x55edac74b300, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1708 #65 0x00007f0ae7267aa9 in PartWidget::~PartWidget (this=0x55edac74b300, __in_chrg=<optimized out>) at /var/tmp/portage/app-text/kbibtex-0.9/work/kbibtex-0.9/src/gui/file/partwidget.cpp:59 #66 0x00007f0ae6fe5517 in KParts::Part::~Part (this=0x55edac74a630, __vtt_parm=0x7f0ad0e0ce98 <VTT for KBibTeXPart+24>, __in_chrg=<optimized out>) at /usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/include/g++-v8/bits/atomic_base.h:390 #67 0x00007f0ad0df8f69 in KBibTeXPart::~KBibTeXPart (this=0x55edac74a630, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /usr/include/qt5/QtCore/qhash.h:585 #68 0x00007f0ad0df8fb9 in KBibTeXPart::~KBibTeXPart (this=0x55edac74a630, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /var/tmp/portage/app-text/kbibtex-0.9/work/kbibtex-0.9/src/parts/part.cpp:769 #69 0x00007f0ae58239c8 in QObject::event (this=0x55edac74a630, e=<optimized out>) at kernel/qobject.cpp:1251 #70 0x00007f0ae61b4501 in QApplicationPrivate::notify_helper (this=this@entry=0x55edaa8b1e10, receiver=receiver@entry=0x55edac74a630, e=e@entry=0x55edb2dd99f0) at kernel/qapplication.cpp:3736 #71 0x00007f0ae61bb938 in QApplication::notify (this=0x7ffd8bce4970, receiver=0x55edac74a630, e=0x55edb2dd99f0) at kernel/qapplication.cpp:3483 #72 0x00007f0ae57fa962 in QCoreApplication::notifyInternal2 (receiver=0x55edac74a630, event=0x55edb2dd99f0) at kernel/qcoreapplication.cpp:1060 #73 0x00007f0ae57fdabf in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x55edaa8aa1e0) at kernel/qcoreapplication.cpp:1799 #74 0x00007f0ae584bd43 in postEventSourceDispatch (s=0x55edaa91a260) at kernel/qeventdispatcher_glib.cpp:276 #75 0x00007f0ae37b358e in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0 #76 0x00007f0ae37b3828 in ?? () from /usr/lib64/libglib-2.0.so.0 #77 0x00007f0ae37b38bc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0 #78 0x00007f0ae584bae3 in QEventDispatcherGlib::processEvents (this=0x55edaa8ff1e0, flags=...) at kernel/qeventdispatcher_glib.cpp:422 #79 0x00007f0ae57f993b in QEventLoop::exec (this=this@entry=0x7ffd8bce4880, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140 #80 0x00007f0ae58015b2 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:120 #81 0x000055edaa6e6d72 in main (argc=<optimized out>, argv=<optimized out>) at /var/tmp/portage/app-text/kbibtex-0.9/work/kbibtex-0.9/src/program/program.cpp:124 [Inferior 1 (process 25711) detached] The reporter indicates this bug may be a duplicate of or related to bug 393335. Possible duplicates by query: bug 393335. Reported using DrKonqi
I have not been able to reproduce this crash. Any ideas how to reproduce this crash without keeping KBibTeX a few days open? Also, to get more details, I recommend to launch KBibTeX from the command line and append the output of the last 20 lines or so. For example, File::property mentioned in the crash report prints out a warning if it thinks there is something wrong.
(In reply to Thomas Fischer from comment #1) > […] Any ideas how to reproduce > this crash without keeping KBibTeX a few days open? No, I cannot reproduce it willingly either. Every so often (every month?), I get a crash like this. > Also, to get more details, I recommend to launch KBibTeX from the command > line and append the output of the last 20 lines or so. For example, > File::property mentioned in the crash report prints out a warning if it > thinks there is something wrong. Is that debug output also available in the logs? (It is a bit inconvenient to start from a console and keep that console around for multiple days.)
(In reply to Erik Quaeghebeur from comment #2) > Is that debug output also available in the logs? (It is a bit inconvenient > to start from a console and keep that console around for multiple days.) One way to mitigate this is to create a small shell script which launches KBibTeX and redirects the program's output into (temporary) logfiles: #!/usr/bin/env bash /usr/bin/kbibtex >/tmp/kbibtex.log 2>&1 Store this script at one of the usual places, make it executable, and add this script to your preferred application launcher. Use this new "application" by default instead of the regular application entry for KBibTeX. Whenever KBibTeX crashes, the logfile will contain the latest console output which then can be attached to the bug report.
Any news on this bug? Have you tested running this script? (In reply to Thomas Fischer from comment #3) > (In reply to Erik Quaeghebeur from comment #2) > > Is that debug output also available in the logs? (It is a bit inconvenient > > to start from a console and keep that console around for multiple days.) > One way to mitigate this is to create a small shell script which launches > KBibTeX and redirects the program's output into (temporary) logfiles:
(In reply to Thomas Fischer from comment #4) > Any news on this bug? Have you tested running this script? I haven't been running KBibTeX as much the last period and have had no more crashes.
(In reply to Erik Quaeghebeur from comment #5) > (In reply to Thomas Fischer from comment #4) > > Any news on this bug? Have you tested running this script? > I haven't been running KBibTeX as much the last period and have had no more > crashes. Any news here?
(In reply to Thomas Fischer from comment #6) > > Any news here? No more crashes in the meantime.