[KPhotoAlbum] Import crash

Robert Krawitz rlk at alum.mit.edu
Mon May 15 14:06:04 BST 2017


On Mon, 15 May 2017 09:02:05 -0400 (EDT), Robert Krawitz wrote:
> I'm trying to import a huge number of photos (as a way of syncing up
> two image stores), and kpa crashed.  "Huge number" in this case means
> 90,000; I tried a similar exercise with a much smaller number with no
> trouble.  I don't have a directly useful stack trace, but it looks
> like a stack overflow; the number of stack frames is itself telling.
> This is suggesting to me that something in the importer is recursing
> when it should be iterating.

I should note that this happens a while after clicking "Next" the
first time in the import dialog.  The process has been running with
100% CPU, suggesting that it is not I/O bound.

> I can rebuild with debugging turned on.
>
> #19392 0x00000000005e000f in  ()
> #19393 0x00000000005e000f in  ()
> #19394 0x00000000005e000f in  ()
> #19395 0x00000000005e000f in  ()
> #19396 0x00000000005e000f in  ()
> #19397 0x00000000005e000f in  ()
> #19398 0x00000000005e000f in  ()
> #19399 0x00000000005e000f in  ()
> #19400 0x00000000005e000f in  ()
> #19401 0x00000000005e000f in  ()
> #19402 0x00000000005e000f in  ()
> #19403 0x00000000005e09fe in  ()
> #19404 0x00000000005e199d in  ()
> #19405 0x00000000005d3e0e in  ()
> #19406 0x00000000005d4119 in  ()
> #19407 0x00000000005d4355 in  ()
> #19408 0x00007fffef3050d5 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib64/libQt5Core.so.5
> #19409 0x00007ffff280fd52 in QAction::triggered(bool) ()
>     at /usr/lib64/libQt5Widgets.so.5
> #19410 0x00007ffff28124bd in QAction::activate(QAction::ActionEvent) ()
>     at /usr/lib64/libQt5Widgets.so.5
> #19411 0x00007ffff2972492 in  () at /usr/lib64/libQt5Widgets.so.5
> #19412 0x00007ffff2978654 in  () at /usr/lib64/libQt5Widgets.so.5
> #19413 0x00007ffff29794ab in QMenu::mouseReleaseEvent(QMouseEvent*) ()
>     at /usr/lib64/libQt5Widgets.so.5
> #19414 0x00007ffff285a07a in QWidget::event(QEvent*) ()
>     at /usr/lib64/libQt5Widgets.so.5
> #19415 0x00007ffff297b70b in QMenu::event(QEvent*) ()
>     at /usr/lib64/libQt5Widgets.so.5
> #19416 0x00007ffff28161bc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
> #19417 0x00007ffff281d7d5 in QApplication::notify(QObject*, QEvent*) ()
>     at /usr/lib64/libQt5Widgets.so.5
>
> #19418 0x00007fffef2dd245 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
> #19419 0x00007ffff281c5eb in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) ()
>     at /usr/lib64/libQt5Widgets.so.5
> #19420 0x00007ffff287325c in  () at /usr/lib64/libQt5Widgets.so.5
> #19421 0x00007ffff2875a83 in  () at /usr/lib64/libQt5Widgets.so.5
> #19422 0x00007ffff28161bc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
> #19423 0x00007ffff281d0f0 in QApplication::notify(QObject*, QEvent*) ()
>     at /usr/lib64/libQt5Widgets.so.5
> #19424 0x00007fffef2dd245 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
> #19425 0x00007fffef82ed1b in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () at /usr/lib64/libQt5Gui.so.5
> #19426 0x00007fffef830895 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) ()
>     at /usr/lib64/libQt5Gui.so.5
> #19427 0x00007fffef8103fb in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Gui.so.5
> ---Type <return> to continue, or q <return> to quit---
> #19428 0x00007fffde18dda0 in  () at /usr/lib64/libQt5XcbQpa.so.5
> #19429 0x00007fffe9497134 in g_main_context_dispatch ()
>     at /usr/lib64/libglib-2.0.so.0
> #19430 0x00007fffe9497388 in  () at /usr/lib64/libglib-2.0.so.0
> #19431 0x00007fffe949742c in g_main_context_iteration ()
>     at /usr/lib64/libglib-2.0.so.0
> #19432 0x00007fffef32b88c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
> #19433 0x00007fffef2db6ab in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
> #19434 0x00007fffef2e3344 in QCoreApplication::exec() ()
>     at /usr/lib64/libQt5Core.so.5
> #19435 0x0000000000460367 in  ()
> #19436 0x00007fffee4576e5 in __libc_start_main () at /lib64/libc.so.6
> #19437 0x0000000000461979 in _start ()


-- 
Robert Krawitz                                     <rlk at alum.mit.edu>

***  MIT Engineers   A Proud Tradition   http://mitathletics.com  ***
Member of the League for Programming Freedom  --  http://ProgFree.org
Project lead for Gutenprint   --    http://gimp-print.sourceforge.net

"Linux doesn't dictate how I work, I dictate how Linux works."
--Eric Crampton



More information about the Kphotoalbum mailing list