https://bugs.kde.org/show_bug.cgi?id=381193

            Bug ID: 381193
           Summary: Digikam crashes after uploading photos from smartphone
                    via USB
           Product: digikam
           Version: 5.2.0
          Platform: Compiled Sources
                OS: Linux
            Status: UNCONFIRMED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: digikam-de...@kde.org
          Reporter: andrea.malfa...@poste.it
  Target Milestone: ---

Application: digikam (5.2.0)
 (Compiled from sources)
Qt Version: 5.6.1
Frameworks Version: 5.26.0
Operating System: Linux 4.4.70-18.9-default x86_64
Distribution: "openSUSE Leap 42.2"

-- Information about the crash:
Whenever it ends to upload a selection of pictures from my Samsung Galaxy A5,
Digikam crashes with a segmentation fault. The problem has never occurred
before I upgraded my OS to openSUSE Leap 42.2

The crash can be reproduced every time.

-- Backtrace:
Application: digiKam (digikam), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f34c46f29c0 (LWP 8433))]

Thread 18 (Thread 0x7f343589a700 (LWP 8521)):
#0  0x00007f34b6e6f7b9 in g_mutex_lock () at /usr/lib64/libglib-2.0.so.0
#1  0x00007f34b6e2def6 in g_main_context_dispatch () at
/usr/lib64/libglib-2.0.so.0
#2  0x00007f34b6e2e388 in  () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f34b6e2e42c in g_main_context_iteration () at
/usr/lib64/libglib-2.0.so.0
#4  0x00007f34c05f932b in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
at /usr/lib64/libQt5Core.so.5
#5  0x00007f34c05a6fdb in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at
/usr/lib64/libQt5Core.so.5
#6  0x00007f34c3056eda in  () at /usr/lib64/libdigikamcore.so.5.2.0
#7  0x00007f34c03e381e in  () at /usr/lib64/libQt5Core.so.5
#8  0x00007f34c03e69e9 in  () at /usr/lib64/libQt5Core.so.5
#9  0x00007f34bc1e1744 in start_thread () at /lib64/libpthread.so.0
#10 0x00007f34bfaddd3d in clone () at /lib64/libc.so.6

Thread 17 (Thread 0x7f33dbfff700 (LWP 8520)):
#0  0x00007f34bfad549d in poll () at /lib64/libc.so.6
#1  0x00007f34b6e2e314 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f34b6e2e42c in g_main_context_iteration () at
/usr/lib64/libglib-2.0.so.0
#3  0x00007f34c05f932b in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
at /usr/lib64/libQt5Core.so.5
#4  0x00007f34c05a6fdb in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at
/usr/lib64/libQt5Core.so.5
#5  0x00007f34c3056eda in  () at /usr/lib64/libdigikamcore.so.5.2.0
#6  0x00007f34c03e381e in  () at /usr/lib64/libQt5Core.so.5
#7  0x00007f34c03e69e9 in  () at /usr/lib64/libQt5Core.so.5
#8  0x00007f34bc1e1744 in start_thread () at /lib64/libpthread.so.0
#9  0x00007f34bfaddd3d in clone () at /lib64/libc.so.6

Thread 16 (Thread 0x7f33d1ffb700 (LWP 8519)):
[KCrash Handler]
#6  0x00007f34ba30a3ee in  () at /usr/lib64/libjpeg.so.8
#7  0x00007f34c3008d45 in  () at /usr/lib64/libdigikamcore.so.5.2.0
#8  0x00007f34c3002c0b in
Digikam::JPEGUtils::JpegRotator::performJpegTransform(Digikam::MetaEngineRotation::TransformationAction,
QString const&, QString const&) () at /usr/lib64/libdigikamcore.so.5.2.0
#9  0x00007f34c3006169 in
Digikam::JPEGUtils::JpegRotator::exifTransform(Digikam::MetaEngineRotation
const&) () at /usr/lib64/libdigikamcore.so.5.2.0
#10 0x00007f34c3007b37 in
Digikam::JPEGUtils::JpegRotator::exifTransform(Digikam::MetaEngineRotation::TransformationAction)
() at /usr/lib64/libdigikamcore.so.5.2.0
#11 0x00007f34c3ed8578 in  () at /usr/lib64/libdigikamgui.so.5.2.0
#12 0x00007f34c3eda7f6 in  () at /usr/lib64/libdigikamgui.so.5.2.0
#13 0x00007f34c05d4166 in QObject::event(QEvent*) () at
/usr/lib64/libQt5Core.so.5
#14 0x00007f34c12afe3c in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() at /usr/lib64/libQt5Widgets.so.5
#15 0x00007f34c12b449a in QApplication::notify(QObject*, QEvent*) () at
/usr/lib64/libQt5Widgets.so.5
#16 0x00007f34c05a8fc5 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() at /usr/lib64/libQt5Core.so.5
#17 0x00007f34c05aadaa in QCoreApplicationPrivate::sendPostedEvents(QObject*,
int, QThreadData*) () at /usr/lib64/libQt5Core.so.5
#18 0x00007f34c05f9c83 in  () at /usr/lib64/libQt5Core.so.5
#19 0x00007f34b6e2e134 in g_main_context_dispatch () at
/usr/lib64/libglib-2.0.so.0
#20 0x00007f34b6e2e388 in  () at /usr/lib64/libglib-2.0.so.0
#21 0x00007f34b6e2e42c in g_main_context_iteration () at
/usr/lib64/libglib-2.0.so.0
#22 0x00007f34c05f930c in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
at /usr/lib64/libQt5Core.so.5
#23 0x00007f34c05a6fdb in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at
/usr/lib64/libQt5Core.so.5
#24 0x00007f34c3056eda in  () at /usr/lib64/libdigikamcore.so.5.2.0
#25 0x00007f34c03e381e in  () at /usr/lib64/libQt5Core.so.5
#26 0x00007f34c03e69e9 in  () at /usr/lib64/libQt5Core.so.5
#27 0x00007f34bc1e1744 in start_thread () at /lib64/libpthread.so.0
#28 0x00007f34bfaddd3d in clone () at /lib64/libc.so.6

Thread 15 (Thread 0x7f33d17fa700 (LWP 8518)):
#0  0x00007f34bfad151d in read () at /lib64/libc.so.6
#1  0x00007f34b6e6e670 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f34b6e2de49 in g_main_context_check () at
/usr/lib64/libglib-2.0.so.0
#3  0x00007f34b6e2e2a8 in  () at /usr/lib64/libglib-2.0.so.0
#4  0x00007f34b6e2e42c in g_main_context_iteration () at
/usr/lib64/libglib-2.0.so.0
#5  0x00007f34c05f932b in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
at /usr/lib64/libQt5Core.so.5
#6  0x00007f34c05a6fdb in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at
/usr/lib64/libQt5Core.so.5
#7  0x00007f34c3056eda in  () at /usr/lib64/libdigikamcore.so.5.2.0
#8  0x00007f34c03e381e in  () at /usr/lib64/libQt5Core.so.5
#9  0x00007f34c03e69e9 in  () at /usr/lib64/libQt5Core.so.5
#10 0x00007f34bc1e1744 in start_thread () at /lib64/libpthread.so.0
#11 0x00007f34bfaddd3d in clone () at /lib64/libc.so.6

Thread 14 (Thread 0x7f33db7fe700 (LWP 8516)):
#0  0x00007f34bfad6d3d in fdatasync () at /lib64/libc.so.6
#1  0x00007f34a7cc9dd3 in  () at /usr/lib64/libsqlite3.so.0
#2  0x00007f34a7caf59f in  () at /usr/lib64/libsqlite3.so.0
#3  0x00007f34a7cdde44 in  () at /usr/lib64/libsqlite3.so.0
#4  0x00007f34a7ce1479 in  () at /usr/lib64/libsqlite3.so.0
#5  0x00007f34a7d017de in  () at /usr/lib64/libsqlite3.so.0
#6  0x00007f34a7d0651f in sqlite3_step () at /usr/lib64/libsqlite3.so.0
#7  0x00007f3483dfb226 in  () at
/usr/lib64/qt5/plugins/sqldrivers/libqsqlite.so
#8  0x00007f3483dfc40f in  () at
/usr/lib64/qt5/plugins/sqldrivers/libqsqlite.so
#9  0x00007f34c25225f2 in QSqlQuery::exec() () at /usr/lib64/libQt5Sql.so.5
#10 0x00007f34c2df17d6 in
Digikam::BdEngineBackend::exec(Digikam::DbEngineSqlQuery&) () at
/usr/lib64/libdigikamcore.so.5.2.0
#11 0x00007f34c2df2075 in Digikam::BdEngineBackend::execQuery(QString const&,
QVariant const&, QVariant const&, QVariant const&, QVariant const&) () at
/usr/lib64/libdigikamcore.so.5.2.0
#12 0x00007f34c2df20c9 in Digikam::BdEngineBackend::execSql(QString const&,
QVariant const&, QVariant const&, QVariant const&, QVariant const&,
QList<QVariant>*, QVariant*) () at /usr/lib64/libdigikamcore.so.5.2.0
#13 0x00007f34c2dfab94 in
Digikam::ThumbsDb::insertThumbnail(Digikam::ThumbsDbInfo const&, QVariant*) ()
at /usr/lib64/libdigikamcore.so.5.2.0
#14 0x00007f34c3030351 in
Digikam::ThumbnailCreator::storeInDatabase(Digikam::ThumbnailInfo const&,
Digikam::ThumbnailImage const&) const () at /usr/lib64/libdigikamcore.so.5.2.0
#15 0x00007f34c3032015 in
Digikam::ThumbnailCreator::load(Digikam::ThumbnailIdentifier const&, QRect
const&, bool) const () at /usr/lib64/libdigikamcore.so.5.2.0
#16 0x00007f34c3032512 in
Digikam::ThumbnailCreator::load(Digikam::ThumbnailIdentifier const&) const ()
at /usr/lib64/libdigikamcore.so.5.2.0
#17 0x00007f34c303e1fe in  () at /usr/lib64/libdigikamcore.so.5.2.0
#18 0x00007f34c3016baa in Digikam::LoadSaveThread::run() () at
/usr/lib64/libdigikamcore.so.5.2.0
#19 0x00007f34c305893e in Digikam::DynamicThread::DynamicThreadPriv::run() ()
at /usr/lib64/libdigikamcore.so.5.2.0
#20 0x00007f34c03e381e in  () at /usr/lib64/libQt5Core.so.5
#21 0x00007f34c03e69e9 in  () at /usr/lib64/libQt5Core.so.5
#22 0x00007f34bc1e1744 in start_thread () at /lib64/libpthread.so.0
#23 0x00007f34bfaddd3d in clone () at /lib64/libc.so.6

Thread 13 (Thread 0x7f33b87f8700 (LWP 8501)):
#0  0x00007f34bfad549d in poll () at /lib64/libc.so.6
#1  0x00007f34a5ce4848 in  () at /usr/lib64/libusb-1.0.so.0
#2  0x00007f34bc1e1744 in start_thread () at /lib64/libpthread.so.0
#3  0x00007f34bfaddd3d in clone () at /lib64/libc.so.6

Thread 12 (Thread 0x7f33b7ff7700 (LWP 8497)):
#0  0x00007f34bc1e60bf in pthread_cond_wait@@GLIBC_2.3.2 () at
/lib64/libpthread.so.0
#1  0x00007f34c03e765b in QWaitCondition::wait(QMutex*, unsigned long) () at
/usr/lib64/libQt5Core.so.5
#2  0x00007f34c3f1f682 in Digikam::CameraController::run() () at
/usr/lib64/libdigikamgui.so.5.2.0
#3  0x00007f34c03e69e9 in  () at /usr/lib64/libQt5Core.so.5
#4  0x00007f34bc1e1744 in start_thread () at /lib64/libpthread.so.0
#5  0x00007f34bfaddd3d in clone () at /lib64/libc.so.6

Thread 11 (Thread 0x7f342ffff700 (LWP 8449)):
#0  0x00007f34bc1e60bf in pthread_cond_wait@@GLIBC_2.3.2 () at
/lib64/libpthread.so.0
#1  0x00007f34b4d486e3 in  () at /usr/lib64/libQt5WebKit.so.5
#2  0x00007f34b506a341 in  () at /usr/lib64/libQt5WebKit.so.5
#3  0x00007f34bc1e1744 in start_thread () at /lib64/libpthread.so.0
#4  0x00007f34bfaddd3d in clone () at /lib64/libc.so.6

Thread 10 (Thread 0x7f3436ffd700 (LWP 8448)):
#0  0x00007f34bc1e60bf in pthread_cond_wait@@GLIBC_2.3.2 () at
/lib64/libpthread.so.0
#1  0x00007f34b4d486e3 in  () at /usr/lib64/libQt5WebKit.so.5
#2  0x00007f34b506a341 in  () at /usr/lib64/libQt5WebKit.so.5
#3  0x00007f34bc1e1744 in start_thread () at /lib64/libpthread.so.0
#4  0x00007f34bfaddd3d in clone () at /lib64/libc.so.6

Thread 9 (Thread 0x7f34377fe700 (LWP 8447)):
#0  0x00007f34bc1e60bf in pthread_cond_wait@@GLIBC_2.3.2 () at
/lib64/libpthread.so.0
#1  0x00007f34b4d486e3 in  () at /usr/lib64/libQt5WebKit.so.5
#2  0x00007f34b506a341 in  () at /usr/lib64/libQt5WebKit.so.5
#3  0x00007f34bc1e1744 in start_thread () at /lib64/libpthread.so.0
#4  0x00007f34bfaddd3d in clone () at /lib64/libc.so.6

Thread 8 (Thread 0x7f3437fff700 (LWP 8446)):
#0  0x00007f34bc1e60bf in pthread_cond_wait@@GLIBC_2.3.2 () at
/lib64/libpthread.so.0
#1  0x00007f34b4d4770d in  () at /usr/lib64/libQt5WebKit.so.5
#2  0x00007f34b506a341 in  () at /usr/lib64/libQt5WebKit.so.5
#3  0x00007f34bc1e1744 in start_thread () at /lib64/libpthread.so.0
#4  0x00007f34bfaddd3d in clone () at /lib64/libc.so.6

Thread 7 (Thread 0x7f343d417700 (LWP 8445)):
#0  0x00007f34c03df40a in QMutex::lock() () at /usr/lib64/libQt5Core.so.5
#1  0x00007f34c05f9255 in  () at /usr/lib64/libQt5Core.so.5
#2  0x00007f34b6e2d95d in g_main_context_prepare () at
/usr/lib64/libglib-2.0.so.0
#3  0x00007f34b6e2e230 in  () at /usr/lib64/libglib-2.0.so.0
#4  0x00007f34b6e2e42c in g_main_context_iteration () at
/usr/lib64/libglib-2.0.so.0
#5  0x00007f34c05f932b in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
at /usr/lib64/libQt5Core.so.5
#6  0x00007f34c05a6fdb in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at
/usr/lib64/libQt5Core.so.5
#7  0x00007f34c03e1f1a in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#8  0x00007f34c03e69e9 in  () at /usr/lib64/libQt5Core.so.5
#9  0x00007f34bc1e1744 in start_thread () at /lib64/libpthread.so.0
#10 0x00007f34bfaddd3d in clone () at /lib64/libc.so.6

Thread 6 (Thread 0x7f347e37f700 (LWP 8442)):
#0  0x00007f34bc1e60bf in pthread_cond_wait@@GLIBC_2.3.2 () at
/lib64/libpthread.so.0
#1  0x00007f34b503b873 in  () at /usr/lib64/libQt5WebKit.so.5
#2  0x00007f34b503b899 in  () at /usr/lib64/libQt5WebKit.so.5
#3  0x00007f34bc1e1744 in start_thread () at /lib64/libpthread.so.0
#4  0x00007f34bfaddd3d in clone () at /lib64/libc.so.6

Thread 5 (Thread 0x7f34908b3700 (LWP 8439)):
#0  0x00007f34bc1e60bf in pthread_cond_wait@@GLIBC_2.3.2 () at
/lib64/libpthread.so.0
#1  0x00007f34c03e765b in QWaitCondition::wait(QMutex*, unsigned long) () at
/usr/lib64/libQt5Core.so.5
#2  0x00007f34c30573c9 in  () at /usr/lib64/libdigikamcore.so.5.2.0
#3  0x00007f34c03e69e9 in  () at /usr/lib64/libQt5Core.so.5
#4  0x00007f34bc1e1744 in start_thread () at /lib64/libpthread.so.0
#5  0x00007f34bfaddd3d in clone () at /lib64/libc.so.6

Thread 4 (Thread 0x7f34910b4700 (LWP 8437)):
#0  0x00007f34bc1e60bf in pthread_cond_wait@@GLIBC_2.3.2 () at
/lib64/libpthread.so.0
#1  0x00007f34c03e765b in QWaitCondition::wait(QMutex*, unsigned long) () at
/usr/lib64/libQt5Core.so.5
#2  0x00007f34c3c640d0 in Digikam::ScanController::run() () at
/usr/lib64/libdigikamgui.so.5.2.0
#3  0x00007f34c03e69e9 in  () at /usr/lib64/libQt5Core.so.5
#4  0x00007f34bc1e1744 in start_thread () at /lib64/libpthread.so.0
#5  0x00007f34bfaddd3d in clone () at /lib64/libc.so.6

Thread 3 (Thread 0x7f34918b5700 (LWP 8436)):
#0  0x00007f34bfad549d in poll () at /lib64/libc.so.6
#1  0x00007f34b6e2e314 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f34b6e2e42c in g_main_context_iteration () at
/usr/lib64/libglib-2.0.so.0
#3  0x00007f34c05f932b in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
at /usr/lib64/libQt5Core.so.5
#4  0x00007f34c05a6fdb in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at
/usr/lib64/libQt5Core.so.5
#5  0x00007f34c03e1f1a in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#6  0x00007f34bc40d1d5 in  () at /usr/lib64/libQt5DBus.so.5
#7  0x00007f34c03e69e9 in  () at /usr/lib64/libQt5Core.so.5
#8  0x00007f34bc1e1744 in start_thread () at /lib64/libpthread.so.0
#9  0x00007f34bfaddd3d in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7f3499654700 (LWP 8435)):
#0  0x00007f34bfad549d in poll () at /lib64/libc.so.6
#1  0x00007f34b13863e2 in  () at /usr/lib64/libxcb.so.1
#2  0x00007f34b1387fcf in xcb_wait_for_event () at /usr/lib64/libxcb.so.1
#3  0x00007f349b136839 in  () at /usr/lib64/libQt5XcbQpa.so.5
#4  0x00007f34c03e69e9 in  () at /usr/lib64/libQt5Core.so.5
#5  0x00007f34bc1e1744 in start_thread () at /lib64/libpthread.so.0
#6  0x00007f34bfaddd3d in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7f34c46f29c0 (LWP 8433)):
#0  0x00007f34bc1e60bf in pthread_cond_wait@@GLIBC_2.3.2 () at
/lib64/libpthread.so.0
#1  0x00007f34b1386629 in  () at /usr/lib64/libxcb.so.1
#2  0x00007f34b1387d1f in  () at /usr/lib64/libxcb.so.1
#3  0x00007f34b1387e32 in xcb_wait_for_reply () at /usr/lib64/libxcb.so.1
#4  0x00007f349b1308fa in QXcbConnection::sync() () at
/usr/lib64/libQt5XcbQpa.so.5
#5  0x00007f349b14fcee in  () at /usr/lib64/libQt5XcbQpa.so.5
#6  0x00007f349b14fe54 in  () at /usr/lib64/libQt5XcbQpa.so.5
#7  0x00007f34c0c6fded in QBackingStore::beginPaint(QRegion const&) () at
/usr/lib64/libQt5Gui.so.5
#8  0x00007f34c12bc11e in  () at /usr/lib64/libQt5Widgets.so.5
#9  0x00007f34c12bd4b9 in  () at /usr/lib64/libQt5Widgets.so.5
#10 0x00007f34c12dce0f in QWidgetPrivate::syncBackingStore() () at
/usr/lib64/libQt5Widgets.so.5
#11 0x00007f34c12f15f5 in QWidget::event(QEvent*) () at
/usr/lib64/libQt5Widgets.so.5
#12 0x00007f34c14020cb in QMainWindow::event(QEvent*) () at
/usr/lib64/libQt5Widgets.so.5
#13 0x00007f34bd5b54f7 in KMainWindow::event(QEvent*) () at
/usr/lib64/libKF5XmlGui.so.5
#14 0x00007f34bd5f1865 in KXmlGuiWindow::event(QEvent*) () at
/usr/lib64/libKF5XmlGui.so.5
#15 0x00007f34c12afe3c in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() at /usr/lib64/libQt5Widgets.so.5
#16 0x00007f34c12b449a in QApplication::notify(QObject*, QEvent*) () at
/usr/lib64/libQt5Widgets.so.5
#17 0x00007f34c05a8fc5 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() at /usr/lib64/libQt5Core.so.5
#18 0x00007f34c05aadaa in QCoreApplicationPrivate::sendPostedEvents(QObject*,
int, QThreadData*) () at /usr/lib64/libQt5Core.so.5
#19 0x00007f34c05f9c83 in  () at /usr/lib64/libQt5Core.so.5
#20 0x00007f34b6e2e134 in g_main_context_dispatch () at
/usr/lib64/libglib-2.0.so.0
#21 0x00007f34b6e2e388 in  () at /usr/lib64/libglib-2.0.so.0
#22 0x00007f34b6e2e42c in g_main_context_iteration () at
/usr/lib64/libglib-2.0.so.0
#23 0x00007f34c05f930c in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
at /usr/lib64/libQt5Core.so.5
#24 0x00007f34c05a6fdb in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at
/usr/lib64/libQt5Core.so.5
#25 0x00007f34c05aeec6 in QCoreApplication::exec() () at
/usr/lib64/libQt5Core.so.5
#26 0x0000000000408946 in main(int, char**) (argc=3, argv=<optimized out>) at
/usr/src/debug/digikam-5.2.0/core/app/main/main.cpp:238

Reported using DrKonqi

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to