Bug 407027

Summary: Tellico crashes when adding multiple ebooks to the collection
Product: [Applications] tellico Reporter: phob0ss13
Component: generalAssignee: Robby Stephenson <robby>
Status: RESOLVED WORKSFORME    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version First Reported In: 3.1.2   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description phob0ss13 2019-04-28 19:44:46 UTC
Application: tellico (3.1.2)

Qt Version: 5.11.3
Frameworks Version: 5.55.0
Operating System: Linux 5.0.9-200.fc29.x86_64 x86_64
Distribution: "Fedora release 29 (Twenty Nine)"

-- Information about the crash:
- What I was doing when the application crashed:
selected several (~15) pdf files
drag'n'dropped them onto Tellico window
selected to merge with the existing collection
caught a crash

-- Backtrace:
Application: Tellico (tellico), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fdab4807600 (LWP 21092))]

Thread 5 (Thread 0x7fda9db92700 (LWP 21130)):
#0  0x00007fdab8dd4f54 in read () at /lib64/libc.so.6
#1  0x00007fdab4e25355 in pa_read () at /usr/lib64/pulseaudio/libpulsecommon-12.2.so
#2  0x00007fdab59c5826 in pa_mainloop_prepare () at /lib64/libpulse.so.0
#3  0x00007fdab59c6294 in pa_mainloop_iterate () at /lib64/libpulse.so.0
#4  0x00007fdab59c6350 in pa_mainloop_run () at /lib64/libpulse.so.0
#5  0x00007fdab59d45bd in thread () at /lib64/libpulse.so.0
#6  0x00007fdab4e5506c in internal_thread_func () at /usr/lib64/pulseaudio/libpulsecommon-12.2.so
#7  0x00007fdab84ad58e in start_thread () at /lib64/libpthread.so.0
#8  0x00007fdab8de4683 in clone () at /lib64/libc.so.6

Thread 4 (Thread 0x7fda9f55e700 (LWP 21095)):
#0  0x00007fdab84b372c in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007fda9f7b88bb in  () at /usr/lib64/dri/i965_dri.so
#2  0x00007fda9f7b85fb in  () at /usr/lib64/dri/i965_dri.so
#3  0x00007fdab84ad58e in start_thread () at /lib64/libpthread.so.0
#4  0x00007fdab8de4683 in clone () at /lib64/libc.so.6

Thread 3 (Thread 0x7fdaa5f69700 (LWP 21094)):
#0  0x00007fdab8dd93f1 in poll () at /lib64/libc.so.6
#1  0x00007fdab5a903a6 in  () at /lib64/libglib-2.0.so.0
#2  0x00007fdab5a904d0 in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#3  0x00007fdab94865ab in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#4  0x00007fdab9434e0b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#5  0x00007fdab929ce86 in QThread::exec() () at /lib64/libQt5Core.so.5
#6  0x00007fdaba9def89 in  () at /lib64/libQt5DBus.so.5
#7  0x00007fdab92a62fb in  () at /lib64/libQt5Core.so.5
#8  0x00007fdab84ad58e in start_thread () at /lib64/libpthread.so.0
#9  0x00007fdab8de4683 in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7fdaa7604700 (LWP 21093)):
#0  0x00007fdab8dd93f1 in poll () at /lib64/libc.so.6
#1  0x00007fdab806039f in  () at /lib64/libxcb.so.1
#2  0x00007fdab806201a in xcb_wait_for_event () at /lib64/libxcb.so.1
#3  0x00007fdaa76e4bf9 in  () at /lib64/libQt5XcbQpa.so.5
#4  0x00007fdab92a62fb in  () at /lib64/libQt5Core.so.5
#5  0x00007fdab84ad58e in start_thread () at /lib64/libpthread.so.0
#6  0x00007fdab8de4683 in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7fdab4807600 (LWP 21092)):
[KCrash Handler]
#6  0x00007fdab84afd54 in pthread_mutex_lock () at /lib64/libpthread.so.0
#7  0x00007fdabb8666f0 in XMP_AutoMutex::XMP_AutoMutex(pthread_mutex_t*) () at /lib64/libexempi.so.3
#8  0x00007fdabb864bd1 in XMP_HomeGrownLock::AcquireForWrite() () at /lib64/libexempi.so.3
#9  0x00007fdabb864cf9 in XMP_ReadWriteLock::Acquire(bool) () at /lib64/libexempi.so.3
#10 0x00007fdabb865ba9 in XMP_NamespaceTable::Define(char const*, char const*, char const**, unsigned int*) () at /lib64/libexempi.so.3
#11 0x00007fdab86da5b4 in  () at /lib64/libexpat.so.1
#12 0x00007fdab86dd555 in  () at /lib64/libexpat.so.1
#13 0x00007fdab86e0911 in  () at /lib64/libexpat.so.1
#14 0x00007fdab86e1780 in  () at /lib64/libexpat.so.1
#15 0x00007fdab86df1db in  () at /lib64/libexpat.so.1
#16 0x00007fdab86e0129 in  () at /lib64/libexpat.so.1
#17 0x00007fdab86e3e9a in XML_ParseBuffer () at /lib64/libexpat.so.1
#18 0x00007fdabb86b221 in ExpatAdapter::ParseBuffer(void const*, unsigned long, bool) () at /lib64/libexempi.so.3
#19 0x00007fdabb89b0e9 in  () at /lib64/libexempi.so.3
#20 0x00007fdabb89b89e in XMPMeta::ProcessXMLBuffer(char const*, unsigned int, bool) () at /lib64/libexempi.so.3
#21 0x00007fdabb8a097c in XMPMeta::ParseFromBuffer(char const*, unsigned int, unsigned int) () at /lib64/libexempi.so.3
#22 0x00007fdabb88ee09 in WXMPMeta_ParseFromBuffer_1 () at /lib64/libexempi.so.3
#23 0x00007fdabb8590c0 in TXMPMeta<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::ParseFromBuffer(char const*, unsigned int, unsigned int) () at /lib64/libexempi.so.3
#24 0x00007fdabb8da5cb in Scanner_MetaHandler::CacheFileData() () at /lib64/libexempi.so.3
#25 0x00007fdabb8a8ae2 in  () at /lib64/libexempi.so.3
#26 0x00007fdabb8a8e2f in XMPFiles::OpenFile(char const*, unsigned int, unsigned int) () at /lib64/libexempi.so.3
#27 0x00007fdabb8a60c7 in WXMPFiles_OpenFile_1 () at /lib64/libexempi.so.3
#28 0x00007fdabb85cbd0 in TXMPFiles<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::OpenFile(char const*, unsigned int, unsigned int) () at /lib64/libexempi.so.3
#29 0x00007fdabb854e21 in xmp_files_open_new () at /lib64/libexempi.so.3
#30 0x00005592714c3c14 in  ()
#31 0x00005592714a465e in  ()
#32 0x0000559271321f18 in  ()
#33 0x0000559271337eb3 in  ()
#34 0x00005592714d5ead in  ()
#35 0x00005592714d61ee in  ()
#36 0x00007fdab9435d0e in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () at /lib64/libQt5Core.so.5
#37 0x00007fdab9df6275 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#38 0x00007fdab9dfe89c in QApplication::notify(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#39 0x00007fdab9435ec6 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib64/libQt5Core.so.5
#40 0x00007fdab9e52052 in  () at /lib64/libQt5Widgets.so.5
#41 0x00007fdab9e52cfe in  () at /lib64/libQt5Widgets.so.5
#42 0x00007fdab9df6285 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#43 0x00007fdab9dfd9a0 in QApplication::notify(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#44 0x00007fdab9435ec6 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib64/libQt5Core.so.5
#45 0x00007fdab97d9eec in QGuiApplicationPrivate::processDrop(QWindow*, QMimeData const*, QPoint const&, QFlags<Qt::DropAction>) () at /lib64/libQt5Gui.so.5
#46 0x00007fdab97b44ff in QWindowSystemInterface::handleDrop(QWindow*, QMimeData const*, QPoint const&, QFlags<Qt::DropAction>) () at /lib64/libQt5Gui.so.5
#47 0x00007fdaa7713989 in  () at /lib64/libQt5XcbQpa.so.5
#48 0x00007fdaa76ff033 in QXcbWindow::handleClientMessageEvent(xcb_client_message_event_t const*) () at /lib64/libQt5XcbQpa.so.5
#49 0x00007fdaa76e6b23 in QXcbConnection::handleXcbEvent(xcb_generic_event_t*) () at /lib64/libQt5XcbQpa.so.5
#50 0x00007fdaa76e6e73 in QXcbConnection::processXcbEvents() () at /lib64/libQt5XcbQpa.so.5
#51 0x00007fdab945eda6 in QObject::event(QEvent*) () at /lib64/libQt5Core.so.5
#52 0x00007fdab9df6285 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#53 0x00007fdab9dfd9a0 in QApplication::notify(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#54 0x00007fdab9435ec6 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib64/libQt5Core.so.5
#55 0x00007fdab943909b in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /lib64/libQt5Core.so.5
#56 0x00007fdab9486807 in  () at /lib64/libQt5Core.so.5
#57 0x00007fdab5a9006d in g_main_context_dispatch () at /lib64/libglib-2.0.so.0
#58 0x00007fdab5a90438 in  () at /lib64/libglib-2.0.so.0
#59 0x00007fdab5a904d0 in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#60 0x00007fdab9486593 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#61 0x00007fdaa7778855 in  () at /lib64/libQt5XcbQpa.so.5
#62 0x00007fdab9434e0b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#63 0x00007fdab943ced6 in QCoreApplication::exec() () at /lib64/libQt5Core.so.5
#64 0x000055927129ca79 in  ()
#65 0x00007fdab8d0b413 in __libc_start_main () at /lib64/libc.so.6
#66 0x000055927129e0ae in _start ()
[Inferior 1 (process 21092) detached]

Reported using DrKonqi
Comment 1 Robby Stephenson 2019-05-13 13:48:00 UTC
Can you add what version of libexempi you have? For Fedora 29, I'm assuming 2.4.5?

Are you able to test those same PDF files to see if any one of them, in particular, causes a crash? One by one perhaps? Or does the crash only occur when many (~15) are drag-n-dropped?

Thanks for the bug report!
Comment 2 Christoph Feck 2019-05-30 20:06:04 UTC
If you can provide the information requested in comment #1, please add it.
Comment 3 Christoph Feck 2019-06-14 15:27:49 UTC
To further investigate this issue, KDE developers need the information requested in comment #1. If you can provide it, or need help with finding that information, please add a comment.
Comment 4 Bug Janitor Service 2019-06-29 04:33:11 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 5 Bug Janitor Service 2019-07-14 04:33:12 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!