Bug 476993 - KBibTex crash when trying to save a element with a crossref
Summary: KBibTex crash when trying to save a element with a crossref
Status: RESOLVED WORKSFORME
Alias: None
Product: KBibTeX
Classification: Applications
Component: General (other bugs)
Version First Reported In: unspecified
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: Thomas Fischer
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2023-11-14 14:21 UTC by Dennis
Modified: 2023-12-18 03:45 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dennis 2023-11-14 14:21:21 UTC
Application: kbibtex (0.10.0)

Qt Version: 5.15.11
Frameworks Version: 5.111.0
Operating System: Linux 6.1.60-1-lts x86_64
Windowing System: Wayland
Distribution: "Arch Linux"
DrKonqi: 5.27.9 [KCrashBackend]

-- Information about the crash:
KBibTex crash when trying to save a element with a crossref, it happens quite offent but not always.

The crash can be reproduced sometimes.

-- Backtrace:
Application: KBibTeX (kbibtex), signal: Segmentation fault

[KCrash Handler]
#4  0x00007fd660eaeb42 in __cxxabiv1::__dynamic_cast(void const*, __cxxabiv1::__class_type_info const*, __cxxabiv1::__class_type_info const*, ptrdiff_t) (src_ptr=0x556173986b10, src_type=0x5561718eb300 <typeinfo for Element>, dst_type=0x7fd663088248 <typeinfo for Entry>, src2dst=0) at /usr/src/debug/gcc/gcc/libstdc++-v3/libsupc++/dyncast.cc:58
#5  0x00007fd66337d0e0 in FieldInput::selectCrossRef() () at /usr/lib/libkbibtexgui.so.0
#6  0x00007fd6614d1097 in  () at /usr/lib/libQt5Core.so.5
#7  0x00007fd66225c677 in QAbstractButton::clicked(bool) () at /usr/lib/libQt5Widgets.so.5
#8  0x00007fd66225ef2a in  () at /usr/lib/libQt5Widgets.so.5
#9  0x00007fd66226042c in  () at /usr/lib/libQt5Widgets.so.5
#10 0x00007fd6622605d0 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () at /usr/lib/libQt5Widgets.so.5
#11 0x00007fd6621af1a1 in QWidget::event(QEvent*) () at /usr/lib/libQt5Widgets.so.5
#12 0x00007fd6621788ff in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#13 0x00007fd66217ddaf in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#14 0x00007fd66149c168 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#15 0x00007fd66217c0ea in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () at /usr/lib/libQt5Widgets.so.5
#16 0x00007fd6621cce85 in  () at /usr/lib/libQt5Widgets.so.5
#17 0x00007fd6621cebd7 in  () at /usr/lib/libQt5Widgets.so.5
#18 0x00007fd6621788ff in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#19 0x00007fd66149c168 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#20 0x00007fd66194194c in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () at /usr/lib/libQt5Gui.so.5
#21 0x00007fd66192a6e5 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Gui.so.5
#22 0x00007fd651ae5ce5 in  () at /usr/lib/libQt5WaylandClient.so.5
#23 0x00007fd656e3af69 in  () at /usr/lib/libglib-2.0.so.0
#24 0x00007fd656e99327 in  () at /usr/lib/libglib-2.0.so.0
#25 0x00007fd656e39162 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#26 0x00007fd6614eaf7c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#27 0x00007fd66149ae74 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#28 0x00007fd66237473b in QDialog::exec() () at /usr/lib/libQt5Widgets.so.5
#29 0x00007fd6633891ce in FileView::editElement(QSharedPointer<Element>) () at /usr/lib/libkbibtexgui.so.0
#30 0x00007fd5d3f3aeeb in  () at /usr/lib/qt/plugins/kbibtexpart.so
#31 0x00007fd6614d1097 in  () at /usr/lib/libQt5Core.so.5
#32 0x00007fd66335519a in FileView::elementExecuted(QSharedPointer<Element>) () at /usr/lib/libkbibtexgui.so.0
#33 0x00007fd66338501b in FileView::itemActivated(QModelIndex const&) () at /usr/lib/libkbibtexgui.so.0
#34 0x00007fd6614d1097 in  () at /usr/lib/libQt5Core.so.5
#35 0x00007fd6623e372a in QAbstractItemView::doubleClicked(QModelIndex const&) () at /usr/lib/libQt5Widgets.so.5
#36 0x00007fd66244c805 in QTreeView::mouseDoubleClickEvent(QMouseEvent*) () at /usr/lib/libQt5Widgets.so.5
#37 0x00007fd6621aef2b in QWidget::event(QEvent*) () at /usr/lib/libQt5Widgets.so.5
#38 0x00007fd66225d9d3 in QFrame::event(QEvent*) () at /usr/lib/libQt5Widgets.so.5
#39 0x00007fd661499142 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#40 0x00007fd6621788ef in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#41 0x00007fd66217ddaf in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#42 0x00007fd66149c168 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#43 0x00007fd66217c0ea in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () at /usr/lib/libQt5Widgets.so.5
#44 0x00007fd6621cce85 in  () at /usr/lib/libQt5Widgets.so.5
#45 0x00007fd6621cebd7 in  () at /usr/lib/libQt5Widgets.so.5
#46 0x00007fd6621788ff in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#47 0x00007fd66149c168 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#48 0x00007fd6619418d6 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () at /usr/lib/libQt5Gui.so.5
#49 0x00007fd66192a6e5 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Gui.so.5
#50 0x00007fd651ae5ce5 in  () at /usr/lib/libQt5WaylandClient.so.5
#51 0x00007fd656e3af69 in  () at /usr/lib/libglib-2.0.so.0
#52 0x00007fd656e99327 in  () at /usr/lib/libglib-2.0.so.0
#53 0x00007fd656e39162 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#54 0x00007fd6614eaf7c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#55 0x00007fd66149ae74 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#56 0x00007fd66149c313 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#57 0x00005561718a6ada in  ()
#58 0x00007fd660c45cd0 in  () at /usr/lib/libc.so.6
#59 0x00007fd660c45d8a in __libc_start_main () at /usr/lib/libc.so.6
#60 0x00005561718a7715 in  ()
[Inferior 1 (process 1914457) detached]

Reported using DrKonqi
Comment 1 Thomas Fischer 2023-11-18 16:28:01 UTC
> -- Information about the crash:
> KBibTex crash when trying to save a element with a crossref, it happens
> quite offent but not always.
> 
> The crash can be reproduced sometimes.
I have been neither able to reproduce this bug. You DrKonqi backtrace is lacking some details, so it may help if you could look into this ArchLinux wiki page how to get better information next time KBibTeX crashes.
https://wiki.archlinux.org/title/Debugging/Getting_traces
Also, it would help if you could identify a reproducible way to trigger a crash.
Comment 2 Bug Janitor Service 2023-12-03 03:45:48 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Bug Janitor Service 2023-12-18 03:45:49 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!