Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backtraces #28

Closed
stefonarch opened this issue Jan 29, 2025 · 30 comments
Closed

Backtraces #28

stefonarch opened this issue Jan 29, 2025 · 30 comments

Comments

@stefonarch
Copy link

stefonarch commented Jan 29, 2025

#0 0x00007ed28035b1a9 in ?? () from /usr/lib/libQt6Gui.so.6
[Current thread is 1 (Thread 0x7ed27fa86e00 (LWP 991033))]
(gdb) where
#0 0x00007ed28035b1a9 in ??? () at /usr/lib/libQt6Gui.so.6
#1 0x00007ed28036564f in ??? () at /usr/lib/libQt6Gui.so.6
#2 0x00007ed28030a715 in QPixmapIconEngine::scaledPixmap(QSize const&, QIcon::Mode, QIcon::State, double) ()
at /usr/lib/libQt6Gui.so.6
#3 0x00007ed280308d69 in QPixmapIconEngine::paint(QPainter*, QRect const&, QIcon::Mode, QIcon::State) ()
at /usr/lib/libQt6Gui.so.6
#4 0x00007ed280302cd6 in QIcon::paint(QPainter*, QRect const&, QFlagsQt::AlignmentFlag, QIcon::Mode, QIcon::State) const () at /usr/lib/libQt6Gui.so.6
#5 0x00007ed280d758a9 in QCommonStyle::drawControl(QStyle::ControlElement, QStyleOption const*, QPainter*, QWidget const*) const () at /usr/lib/libQt6Widgets.so.6
#6 0x00007ed280e15f7c in QFusionStyle::drawControl(QStyle::ControlElement, QStyleOption const*, QPainter*, QWidget const*) const () at /usr/lib/libQt6Widgets.so.6
#7 0x00007ed28102b698 in QStyledItemDelegate::paint(QPainter*, QStyleOptionViewItem const&, QModelIndex const&) const () at /usr/lib/libQt6Widgets.so.6
#8 0x00007ed281039abe in QListView::paintEvent(QPaintEvent*) () at /usr/lib/libQt6Widgets.so.6
#9 0x00007ed280d4f585 in QWidget::event(QEvent*) () at /usr/lib/libQt6Widgets.so.6
#10 0x00007ed280dee138 in QFrame::event(QEvent*) () at /usr/lib/libQt6Widgets.so.6
#11 0x00007ed27fd54a08 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) ()
at /usr/lib/libQt6Core.so.6
#12 0x00007ed280cfe77a in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt6Widgets.so.6
#13 0x00007ed27fd57ac8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt6Core.so.6
#14 0x00007ed280d40b46 in QWidgetPrivate::sendPaintEvent(QRegion const&) () at /usr/lib/libQt6Widgets.so.6
#15 0x00007ed280d4300b in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, QFlagsQWidgetPrivate::DrawWidgetFlag, QPainter*, QWidgetRepaintManager*) () at /usr/lib/libQt6Widgets.so.6
#16 0x00007ed280d6505e in QWidgetRepaintManager::paintAndFlush() () at /usr/lib/libQt6Widgets.so.6
#17 0x00007ed280d657d5 in QWidgetRepaintManager::sync(QWidget*, QRegion const&) () at /usr/lib/libQt6Widgets.so.6
#18 0x00007ed280d6c01f in ??? () at /usr/lib/libQt6Widgets.so.6
#19 0x00007ed280cfe78a in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt6Widgets.so.6
#20 0x00007ed27fd57ac8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt6Core.so.6
#21 0x00007ed280396e20 in QGuiApplicationPrivate::processExposeEvent(QWindowSystemInterfacePrivate::ExposeEvent*)
() at /usr/lib/libQt6Gui.so.6
#22 0x00007ed280402b44 in QWindowSystemInterface::sendWindowSystemEvents(QFlagsQEventLoop::ProcessEventsFlag) ()
at /usr/lib/libQt6Gui.so.6
#23 0x00007ed280402d37 in QWindowSystemInterface::flushWindowSystemEvents(QFlagsQEventLoop::ProcessEventsFlag) ()
at /usr/lib/libQt6Gui.so.6
#24 0x00007ed27fda2d9a in QObject::event(QEvent*) () at /usr/lib/libQt6Core.so.6
#25 0x00007ed280cfe78a in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt6Widgets.so.6
#26 0x00007ed27fd57ac8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt6Core.so.6
#27 0x00007ed27fd58555 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) ()


(gdb) where
#0 0x000077d9760a5334 in ??? () at /usr/lib/libc.so.6
#1 0x000077d97604c120 in raise () at /usr/lib/libc.so.6
#2 0x000077d9760334c3 in abort () at /usr/lib/libc.so.6
#3 0x000077d976034354 in ??? () at /usr/lib/libc.so.6
#4 0x000077d9760af6a5 in ??? () at /usr/lib/libc.so.6
#5 0x000077d9760b40a4 in malloc () at /usr/lib/libc.so.6
#6 0x000077d976868308 in QArrayData::allocate2(QArrayData**, long long, QArrayData::AllocationOption) ()
at /usr/lib/libQt6Core.so.6
#7 0x000077d976a1b354 in ??? () at /usr/lib/libQt6Core.so.6
#8 0x000077d9767959e3 in ??? () at /usr/lib/libQt6Core.so.6
#9 0x000077d97682fd19 in QString::fromLocal8Bit(QByteArrayView) () at /usr/lib/libQt6Core.so.6
#10 0x000077d9767197e3 in ??? () at /usr/lib/libQt6Core.so.6
#11 0x000077d976719859 in ??? () at /usr/lib/libQt6Core.so.6
#12 0x000077d97671016c in ??? () at /usr/lib/libQt6Core.so.6
#13 0x000077d976710395 in QFileInfo::canonicalFilePath() const () at /usr/lib/libQt6Core.so.6
#14 0x0000600a4a3c773d in ThumbsViewer::thumbnailFileName(QString const&) const ()
#15 0x0000600a4a3ca436 in ThumbsViewer::locateThumbnail(QString const&) const ()
#16 0x0000600a4a3cd498 in ThumbsViewer::loadThumb(int, bool) ()
#17 0x0000600a4a3ce520 in ThumbsViewer::loadThumbsRange() ()
#18 0x0000600a4a3ce779 in ThumbsViewer::loadVisibleThumbs(int) [clone .part.0] ()
#19 0x0000600a4a3d5191 in ThumbsViewer::reLoad() ()
#20 0x0000600a4a3b4997 in Phototonic::reloadThumbs() ()
#21 0x000077d9767a2d9a in QObject::event(QEvent*) () at /usr/lib/libQt6Core.so.6
#22 0x000077d9776fe78a in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt6Widgets.so.6
#23 0x000077d976757ac8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt6Core.so.6
#24 0x000077d976758555 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) ()
at /usr/lib/libQt6Core.so.6
#25 0x000077d9769c4f7c in ??? () at /usr/lib/libQt6Core.so.6
#26 0x000077d975d79559 in ??? () at /usr/lib/libglib-2.0.so.0
#27 0x000077d975ddc257 in ??? () at /usr/lib/libglib-2.0.so.0
#28 0x000077d975d78a55 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#29 0x000077d9769c22fd in QEventDispatcherGlib::processEvents(QFlagsQEventLoop::ProcessEventsFlag) ()
at /usr/lib/libQt6Core.so.6
#30 0x000077d976761ee6 in QEventLoop::exec(QFlagsQEventLoop::ProcessEventsFlag) () at /usr/lib/libQt6Core.so.6
#31 0x000077d976758f4f in QCoreApplication::exec() () at /usr/lib/libQt6Core.so.6
#32 0x0000600a4a39d8c4 in main ()

@luebking

This comment has been minimized.

@stefonarch

This comment has been minimized.

luebking added a commit that referenced this issue Jan 29, 2025
@luebking

This comment has been minimized.

@stefonarch

This comment has been minimized.

@stefonarch

This comment has been minimized.

@luebking

This comment has been minimized.

@luebking

This comment has been minimized.

@luebking

This comment has been minimized.

@stefonarch

This comment has been minimized.

@stefonarch

This comment has been minimized.

@luebking

This comment has been minimized.

@stefonarch

This comment has been minimized.

luebking added a commit that referenced this issue Jan 31, 2025
also remove dead code and handle idempotent dir moves correctly

mention in #28
luebking added a commit that referenced this issue Jan 31, 2025
also stall copy dialog for 500ms

that thing isn't very usefull anyway

mention #28
@stefonarch
Copy link
Author

FYI with 191ff66 it segfaults at start with a useless backtrace

@luebking

This comment has been minimized.

@stefonarch

This comment has been minimized.

luebking added a commit that referenced this issue Jan 31, 2025
imageViewer doesn't yet exist and it's also not required for the context
mention in #28
@stefonarch

This comment has been minimized.

luebking added a commit that referenced this issue Feb 2, 2025
mention in #28

also don't brick strings together
@stefonarch

This comment has been minimized.

@luebking

This comment has been minimized.

@stefonarch
Copy link
Author

Tried to repeat (basically searching for duplicates and filtering them for _1 , no crash until now, but it's not possible to filter the duplicates afaik (many are like 1234.jpg and123_1.jpg).
First time I trashed all duplicates, not realising that both were shown ;)

@stefonarch
Copy link
Author

stefonarch commented Feb 2, 2025

Oops, I've one year (12 folders) where i can repeat crashing by searching for duplicates:

(gdb) where
#0  0x00007dea1676192b in ??? () at /usr/lib/libQt6Gui.so.6
#1  0x00007dea1671b734 in ??? () at /usr/lib/libQt6Gui.so.6
#2  0x00007dea1614697d in ??? () at /usr/lib/libQt6Gui.so.6
#3  0x00007dea16123211 in QImage::convertToFormat_helper(QImage::Format, QFlags<Qt::ImageConversionFlag>) const () at /usr/lib/libQt6Gui.so.6                                                                   
#4  0x00005eb148453750 in ThumbsViewer::findDupes(bool) ()
#5  0x00005eb14845481d in ThumbsViewer::loadDuplicates() ()
#6  0x00005eb148436402 in Phototonic::reloadThumbs() ()
#7  0x00007dea15ba2e4a in QObject::event(QEvent*) () at /usr/lib/libQt6Core.so.6
#8  0x00007dea16aff08a in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
    at /usr/lib/libQt6Widgets.so.6
#9  0x00007dea15b55880 in QCoreApplication::notifyInternal2(QObject*, QEvent*) ()
    at /usr/lib/libQt6Core.so.6
#10 0x00007dea15b55c5c in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) ()
    at /usr/lib/libQt6Core.so.6
#11 0x00007dea15dc791c in ??? () at /usr/lib/libQt6Core.so.6
#12 0x00007dea151db559 in ??? () at /usr/lib/libglib-2.0.so.0
#13 0x00007dea1523e257 in ??? () at /usr/lib/libglib-2.0.so.0
#14 0x00007dea151daa55 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#15 0x00007dea15dc4b2d in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
    at /usr/lib/libQt6Core.so.6
#16 0x00007dea15b603e6 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
    at /usr/lib/libQt6Core.so.6
#17 0x00007dea15b58f56 in QCoreApplication::exec() () at /usr/lib/libQt6Core.so.6
#18 0x00005eb14841f334 in main ()
(gdb) 

There are some jpg.xmp files in there.

@stefonarch
Copy link
Author

Looks like removing those avoids crashing.

@luebking

This comment has been minimized.

@luebking

This comment has been minimized.

@stefonarch

This comment has been minimized.

@luebking

This comment has been minimized.

luebking added a commit that referenced this issue Feb 6, 2025
@stefonarch

This comment has been minimized.

@luebking

This comment has been minimized.

@stefonarch
Copy link
Author

Tag filtering, tried to reproduce, nothing.

@luebking
Copy link
Owner

I'm setting it outdated since whatever has triggered this segfault isn't gonna happen again after switching to filtering in the listview - much fun testing, btw ;)

@luebking
Copy link
Owner

I'm closing this one for maintainance reasons.
If you hit a new crash, please open an new issue for it so other users (and I…) can keep track of what's actually still an open issue ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants