Bug 463912

Summary: Tellico crashes trying to open saved file
Product: [Applications] tellico Reporter: Chris Tree <christree4207>
Component: generalAssignee: Robby Stephenson <robby>
Status: RESOLVED WORKSFORME    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version First Reported In: 3.4.4   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Chris Tree 2023-01-06 07:56:40 UTC
Application: tellico (3.4.4)

Qt Version: 5.15.7
Frameworks Version: 5.101.0
Operating System: Linux 6.0.16-300.fc37.x86_64 x86_64
Windowing System: Wayland
Distribution: Fedora Linux 37 (KDE Plasma)
DrKonqi: 5.26.4 [KCrashBackend]

-- Information about the crash:
I have changed my system and I was attempting access the my saved Tellico files which go back many years, yet Tellico crashes everytime I attempt to access the file.

The crash can be reproduced every time.

-- Backtrace:
Application: Tellico (tellico), signal: Segmentation fault

[KCrash Handler]
#4  0x000055ada4c459df in Tellico::ImageFactory::addImageImpl(QUrl const&, bool, QUrl const&, bool) ()
#5  0x000055ada4c9781a in Tellico::Import::SAX::CollectionHandler::end(QStringRef const&, QStringRef const&) ()
#6  0x000055ada4c8c77d in Tellico::Import::TellicoImporter::loadXMLData(QByteArray const&, bool) ()
#7  0x000055ada4c8ddcd in Tellico::Import::TellicoImporter::collection() ()
#8  0x000055ada4b69dce in Tellico::MainWindow::openURL(QUrl const&) ()
#9  0x000055ada4b6a63b in Tellico::MainWindow::slotFileOpen(QUrl const&) ()
#10 0x000055ada4af970b in Tellico::MainWindow::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) [clone .part.0] ()
#11 0x00007fefc14dbdaf in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#12 0x00007fefc23a82f6 in QAction::triggered(bool) () from /lib64/libQt5Widgets.so.5
#13 0x00007fefc23aafb3 in QAction::activate(QAction::ActionEvent) () from /lib64/libQt5Widgets.so.5
#14 0x00007fefc2534f42 in QMenuPrivate::activateCausedStack(QVector<QPointer<QWidget> > const&, QAction*, QAction::ActionEvent, bool) () from /lib64/libQt5Widgets.so.5
#15 0x00007fefc253ce1c in QMenuPrivate::activateAction(QAction*, QAction::ActionEvent, bool) () from /lib64/libQt5Widgets.so.5
#16 0x00007fefc23f1818 in QWidget::event(QEvent*) () from /lib64/libQt5Widgets.so.5
#17 0x00007fefc23aed12 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#18 0x00007fefc23b7382 in QApplication::notify(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#19 0x00007fefc14a8278 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#20 0x00007fefc23b5482 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () from /lib64/libQt5Widgets.so.5
#21 0x00007fefc240afd5 in QWidgetWindow::handleMouseEvent(QMouseEvent*) () from /lib64/libQt5Widgets.so.5
#22 0x00007fefc240df40 in QWidgetWindow::event(QEvent*) () from /lib64/libQt5Widgets.so.5
#23 0x00007fefc23aed12 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#24 0x00007fefc14a8278 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#25 0x00007fefc196ae7d in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /lib64/libQt5Gui.so.5
#26 0x00007fefc194a02c in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Gui.so.5
#27 0x00007fefb77ba3f4 in userEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQt5WaylandClient.so.5
#28 0x00007fefb6719cbf in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#29 0x00007fefb676f598 in g_main_context_iterate.constprop () from /lib64/libglib-2.0.so.0
#30 0x00007fefb6716f40 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#31 0x00007fefc14f938a in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#32 0x00007fefc14a6cca in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#33 0x00007fefc14aed92 in QCoreApplication::exec() () from /lib64/libQt5Core.so.5
#34 0x000055ada4ae99fa in main ()
[Inferior 1 (process 40408) detached]

Reported using DrKonqi
Comment 1 Robby Stephenson 2023-01-06 12:35:55 UTC
> I have changed my system and I was attempting access the my saved Tellico
> files which go back many years, yet Tellico crashes everytime I attempt to
> access the file.
> 
> The crash can be reproduced every time.

Thanks, I'll take a look at the backtrace. Any chance you could email me one of your files privately? robby at periapsis.org
Comment 2 Chris Tree 2023-01-06 21:41:53 UTC
Hi, I must apologise for bothering you, I discovered it was my own doing, related to the options for how a file is stored, I tried the different options several more times and now have Tellico working as intended.
Comment 3 Robby Stephenson 2023-01-08 00:36:46 UTC
(In reply to Chris Tree from comment #2)
> Hi, I must apologise for bothering you, I discovered it was my own doing,
> related to the options for how a file is stored, I tried the different
> options several more times and now have Tellico working as intended.

Well, in all fairness, no matter how you stored them, Tellico shouldn't crash like that. Do you recall what the settings were when the crash was occurring or how the images were stored? Thanks for following up