https://bugs.kde.org/show_bug.cgi?id=351199

--- Comment #9 from Gandalf Lechner <gandalflech...@gmail.com> ---
Since I really miss kbibtex, I now started experimenting with gdb (which I have
no experience with) to produce more information on this crash.

As before, kbibtex starts fine, but crashes once I click "new" or "open". In
gdb, it says

Thread 1 "kbibtex" received signal SIGSEGV, Segmentation fault.
0x00007ffff7b4a036 in FilterBar::comboboxStatusChanged (this=0x14cac80)
    at /home/gandalf/down/git/kbibtex/src/gui/widgets/filterbar.cpp:275
275        
d->buttonSearchPDFfiles->setEnabled(d->comboBoxField->currentIndex() == 0);


The kbibtex window does however not close, it stays there but is completely
unresponsive. 

Then I read somewhere that I should type "thread apply all backtrace" into gdb,
which produces further output that I paste below. Is this useful information or
should I try something else?



Thread 2 (Thread 0x7fffe4929700 (LWP 1010)):
#0  0x00007ffff312be8d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fffecb89c62 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007fffecb8b8d7 in xcb_wait_for_event ()
   from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007fffe6a38629 in QXcbEventReader::run (this=0x790970)
    at qxcbconnection.cpp:1253
#4  0x00007ffff382184e in QThreadPrivate::start (arg=0x790970)
    at thread/qthread_unix.cpp:331
#5  0x00007fffef71e6fa in start_thread (arg=0x7fffe4929700) at
pthread_create.c:333
#6  0x00007ffff3137b5d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7fffe6f868c0 (LWP 1002)):
#0  0x00007ffff7b4a036 in FilterBar::comboboxStatusChanged (this=0x14cac80)
    at /home/gandalf/down/git/kbibtex/src/gui/widgets/filterbar.cpp:275
#1  0x00007ffff7b8258f in FilterBar::qt_static_metacall (_o=0x14cac80, 
    _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0x7fffffffbf20)
    at /home/gandalf/down/git/kbibtex/build/src/gui/moc_filterbar.cpp:99
#2  0x00007ffff3a30fca in QMetaObject::activate (sender=sender@entry=0x150fad0, 
    signalOffset=<optimised out>,
local_signal_index=local_signal_index@entry=5, 
    argv=argv@entry=0x7fffffffbf20) at kernel/qobject.cpp:3713
#3  0x00007ffff3a317d7 in QMetaObject::activate (sender=sender@entry=0x150fad0, 
    m=m@entry=0x7ffff4a88980 <QComboBox::staticMetaObject>, 
    local_signal_index=local_signal_index@entry=5,
argv=argv@entry=0x7fffffffbf20)
    at kernel/qobject.cpp:3578
#4  0x00007ffff4695381 in QComboBox::currentIndexChanged
(this=this@entry=0x150fad0, 
    _t1=1) at .moc/moc_qcombobox.cpp:481
#5  0x00007ffff46977e1 in QComboBoxPrivate::_q_emitCurrentIndexChanged (
    this=this@entry=0x153be20, index=...) at widgets/qcombobox.cpp:1302
#6  0x00007ffff4699e0d in QComboBoxPrivate::setCurrentIndex (
    this=this@entry=0x153be20, mi=...) at widgets/qcombobox.cpp:2107
#7  0x00007ffff469a03f in QComboBox::setCurrentIndex (this=<optimised out>,
index=1)
    at widgets/qcombobox.cpp:2069
#8  0x00007ffff7b4b5b1 in FilterBar::FilterBarPrivate::setupGUI
(this=0x11e3290)
    at /home/gandalf/down/git/kbibtex/src/gui/widgets/filterbar.cpp:129
#9  0x00007ffff7b4a492 in FilterBar::FilterBarPrivate::FilterBarPrivate (
    this=0x11e3290, parent=0x14cac80)
    at /home/gandalf/down/git/kbibtex/src/gui/widgets/filterbar.cpp:56
#10 0x00007ffff7b49ddb in FilterBar::FilterBar (this=0x14cac80,
parent=0x87ff50)
    at /home/gandalf/down/git/kbibtex/src/gui/widgets/filterbar.cpp:243
#11 0x00007ffff7b18444 in PartWidget::Private::Private (this=0x10ea670, 
    parent=0x87ff50) at
/home/gandalf/down/git/kbibtex/src/gui/file/partwidget.cpp:40
#12 0x00007ffff7b180a3 in PartWidget::PartWidget (this=0x87ff50,
parent=0x846070)
    at /home/gandalf/down/git/kbibtex/src/gui/file/partwidget.cpp:55
#13 0x00007fffd5d3a486 in KBibTeXPart::KBibTeXPartPrivate::KBibTeXPartPrivate (
    this=0x11552d0, parentWidget=0x846070, parent=0xb03190)
    at /home/gandalf/down/git/kbibtex/src/parts/part.cpp:147
#14 0x00007fffd5d356a9 in KBibTeXPart::KBibTeXPart (this=0xb03190, 
    parentWidget=0x846070, parent=0x846070, args=..., __in_chrg=<optimised
out>, 
    __vtt_parm=<optimised out>)
    at /home/gandalf/down/git/kbibtex/src/parts/part.cpp:730
#15 0x00007fffd5d44e61 in KPluginFactory::createPartInstance<KBibTeXPart> (
    parentWidget=0x846070, parent=0x846070, args=...)
    at /usr/include/KF5/KCoreAddons/kpluginfactory.h:483
#16 0x00007ffff3c91490 in KPluginFactory::create(char const*, QWidget*,
QObject*, QList<QVariant> const&, QString const&) ()
   from /usr/lib/x86_64-linux-gnu/libKF5CoreAddons.so.5
#17 0x000000000049cdff in KPluginFactory::create<KParts::ReadWritePart> (
    this=0x88a850, parentWidget=0x846070, parent=0x846070, keyword=...,
args=...)
    at /usr/include/KF5/KCoreAddons/kpluginfactory.h:519
#18 0x000000000049c525 in KService::createInstance<KParts::ReadWritePart> (
    this=0x1419820, parentWidget=0x846070, parent=0x846070, args=..., 
---Type <return> to continue, or q <return> to quit---
    error=0x7fffffffc660) at /usr/include/KF5/KService/kservice.h:526
#19 0x000000000049a7d7 in OpenFileInfo::OpenFileInfoPrivate::createPart (
    this=0x1089840, newWidgetParent=0x846070, newServicePtr=...)
    at /home/gandalf/down/git/kbibtex/src/program/openfileinfo.cpp:116
#20 0x0000000000498080 in OpenFileInfo::part (this=0x9376a0, parent=0x846070, 
    servicePtr=...) at
/home/gandalf/down/git/kbibtex/src/program/openfileinfo.cpp:252
#21 0x000000000046bcc1 in MDIWidget::setFile (this=0x846070,
openFileInfo=0x9376a0, 
    servicePtr=...) at
/home/gandalf/down/git/kbibtex/src/program/mdiwidget.cpp:243
#22 0x0000000000464a1c in QtPrivate::FunctorCall<QtPrivate::IndexesList<0, 1>,
QtPrivate::List<OpenFileInfo*, QExplicitlySharedDataPointer<KService> >, void,
void (MDIWidget::*)(OpenFileInfo*,
QExplicitlySharedDataPointer<KService>)>::call (f=
    (void (MDIWidget::*)(MDIWidget * const, OpenFileInfo *,
QExplicitlySharedDataPointer<KService>)) 0x46bc3c
<MDIWidget::setFile(OpenFileInfo*, QExplicitlySharedDataPointer<KService>)>,
o=0x846070, arg=0x7fffffffcaa0)
    at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:501
#23 0x0000000000464318 in QtPrivate::FunctionPointer<void
(MDIWidget::*)(OpenFileInfo*,
QExplicitlySharedDataPointer<KService>)>::call<QtPrivate::List<OpenFileInfo*,
QExplicitlySharedDataPointer<KService> >, void> (f=
    (void (MDIWidget::*)(MDIWidget * const, OpenFileInfo *,
QExplicitlySharedDataPointer<KService>)) 0x46bc3c
<MDIWidget::setFile(OpenFileInfo*, QExplicitlySharedDataPointer<KService>)>,
o=0x846070, arg=0x7fffffffcaa0)
    at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:520
#24 0x0000000000463449 in QtPrivate::QSlotObject<void
(MDIWidget::*)(OpenFileInfo*, QExplicitlySharedDataPointer<KService>),
QtPrivate::List<OpenFileInfo*, QExplicitlySharedDataPointer<KService> >,
void>::impl (which=1, this_=0xff74c0, r=0x846070, 
    a=0x7fffffffcaa0, ret=0x0)
    at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:143
#25 0x00007ffff3a30e4f in QtPrivate::QSlotObjectBase::call (a=0x7fffffffcaa0, 
    r=0x846070, this=<optimised out>)
    at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:124
#26 QMetaObject::activate (sender=0x821060, signalOffset=<optimised out>, 
    local_signal_index=<optimised out>, argv=<optimised out>)
    at kernel/qobject.cpp:3698
#27 0x00000000004a16f2 in OpenFileInfoManager::currentChanged (this=0x821060, 
    _t1=0x9376a0, _t2=...)
    at
/home/gandalf/down/git/kbibtex/build/src/program/moc_openfileinfo.cpp:272
#28 0x0000000000499a54 in OpenFileInfoManager::setCurrentFile (this=0x821060, 
    openFileInfo=0x9376a0, servicePtr=...)
    at /home/gandalf/down/git/kbibtex/src/program/openfileinfo.cpp:624
#29 0x000000000045bb3e in KBibTeXMainWindow::newDocument (this=0x8802d0)
    at /home/gandalf/down/git/kbibtex/src/program/mainwindow.cpp:310
#30 0x00000000004a07f9 in KBibTeXMainWindow::qt_static_metacall (_o=0x8802d0, 
    _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x7fffffffccb0)
    at /home/gandalf/down/git/kbibtex/build/src/program/moc_mainwindow.cpp:110
#31 0x00007ffff3a30fca in QMetaObject::activate (sender=0x846070, 
    signalOffset=<optimised out>, local_signal_index=<optimised out>, 
    argv=<optimised out>) at kernel/qobject.cpp:3713
#32 0x00000000004a10af in MDIWidget::documentNew (this=0x846070)
    at /home/gandalf/down/git/kbibtex/build/src/program/moc_mdiwidget.cpp:248
#33 0x00000000004a0aaf in MDIWidget::qt_static_metacall (_o=0x846070, 
    _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0x7fffffffcea0)
    at /home/gandalf/down/git/kbibtex/build/src/program/moc_mdiwidget.cpp:118
#34 0x00007ffff3a30fca in QMetaObject::activate (sender=sender@entry=0x88cba0, 
    signalOffset=<optimised out>,
local_signal_index=local_signal_index@entry=2, 
    argv=argv@entry=0x7fffffffcea0) at kernel/qobject.cpp:3713
#35 0x00007ffff3a317d7 in QMetaObject::activate (sender=sender@entry=0x88cba0, 
    m=m@entry=0x7ffff4aa4a40 <QAbstractButton::staticMetaObject>, 
    local_signal_index=local_signal_index@entry=2,
argv=argv@entry=0x7fffffffcea0)
    at kernel/qobject.cpp:3578
#36 0x00007ffff491d1b2 in QAbstractButton::clicked (this=this@entry=0x88cba0, 
    _t1=false) at .moc/moc_qabstractbutton.cpp:303
#37 0x00007ffff467ff04 in QAbstractButtonPrivate::emitClicked (this=0x8b3ba0)
    at widgets/qabstractbutton.cpp:534
---Type <return> to continue, or q <return> to quit---
#38 0x00007ffff4681519 in QAbstractButtonPrivate::click (this=0x8b3ba0)
    at widgets/qabstractbutton.cpp:527
#39 0x00007ffff4681694 in QAbstractButton::mouseReleaseEvent (this=0x88cba0, e=
    0x7fffffffd370) at widgets/qabstractbutton.cpp:1132
#40 0x00007ffff45c5f88 in QWidget::event (this=0x88cba0, event=0x7fffffffd370)
    at kernel/qwidget.cpp:9044
#41 0x00007ffff458305c in QApplicationPrivate::notify_helper (
    this=this@entry=0x7700f0, receiver=receiver@entry=0x88cba0, 
    e=e@entry=0x7fffffffd370) at kernel/qapplication.cpp:3716
#42 0x00007ffff4588c19 in QApplication::notify (this=<optimised out>, 
    receiver=0x88cba0, e=0x7fffffffd370) at kernel/qapplication.cpp:3276
#43 0x00007ffff3a0262b in QCoreApplication::notifyInternal
(this=0x7fffffffdc20, 
    receiver=receiver@entry=0x88cba0, event=event@entry=0x7fffffffd370)
    at kernel/qcoreapplication.cpp:965
#44 0x00007ffff4587b32 in QCoreApplication::sendSpontaneousEvent (
    event=0x7fffffffd370, receiver=0x88cba0)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:227
#45 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x88cba0, 
    event=event@entry=0x7fffffffd370, alienWidget=alienWidget@entry=0x88cba0, 
    nativeWidget=0x846070, 
    buttonDown=buttonDown@entry=0x7ffff4ab3b20 <qt_button_down>, 
    lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:2770
#46 0x00007ffff45e057b in QWidgetWindow::handleMouseEvent
(this=this@entry=0xd456e0, 
    event=event@entry=0x7fffffffd780) at kernel/qwidgetwindow.cpp:555
#47 0x00007ffff45e2b3b in QWidgetWindow::event (this=0xd456e0,
event=0x7fffffffd780)
    at kernel/qwidgetwindow.cpp:210
#48 0x00007ffff458305c in QApplicationPrivate::notify_helper (
    this=this@entry=0x7700f0, receiver=receiver@entry=0xd456e0, 
    e=e@entry=0x7fffffffd780) at kernel/qapplication.cpp:3716
#49 0x00007ffff4588516 in QApplication::notify (this=0x7fffffffdc20, 
    receiver=0xd456e0, e=0x7fffffffd780) at kernel/qapplication.cpp:3499
#50 0x00007ffff3a0262b in QCoreApplication::notifyInternal
(this=0x7fffffffdc20, 
    receiver=receiver@entry=0xd456e0, event=event@entry=0x7fffffffd780)
    at kernel/qcoreapplication.cpp:965
#51 0x00007ffff3fd2521 in QCoreApplication::sendSpontaneousEvent (
    event=0x7fffffffd780, receiver=0xd456e0)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:227
#52 QGuiApplicationPrivate::processMouseEvent (e=0x14ca740)
    at kernel/qguiapplication.cpp:1804
#53 0x00007ffff3fd41e5 in QGuiApplicationPrivate::processWindowSystemEvent (
    e=e@entry=0x14ca740) at kernel/qguiapplication.cpp:1596
#54 0x00007ffff3fb7f38 in QWindowSystemInterface::sendWindowSystemEvents
(flags=...)
    at kernel/qwindowsysteminterface.cpp:625
#55 0x00007fffe6a69f10 in userEventSourceDispatch (source=<optimised out>)
    at eventdispatchers/qeventdispatcher_glib.cpp:70
#56 0x00007fffef1fd127 in g_main_context_dispatch ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#57 0x00007fffef1fd380 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#58 0x00007fffef1fd42c in g_main_context_iteration ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#59 0x00007ffff3a58a7f in QEventDispatcherGlib::processEvents (this=0x7bbcb0, 
    flags=...) at kernel/qeventdispatcher_glib.cpp:418
#60 0x00007ffff39ffdea in QEventLoop::exec (this=this@entry=0x7fffffffdb00,
flags=..., 
    flags@entry=...) at kernel/qeventloop.cpp:204
#61 0x00007ffff3a07e8c in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1229
#62 0x0000000000459aa0 in main (argc=1, argv=0x7fffffffdd58)
    at /home/gandalf/down/git/kbibtex/src/program/program.cpp:116

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to