<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>343243</bug_id>
          
          <creation_ts>2015-01-24 15:24:59 +0000</creation_ts>
          <short_desc>Crashed while selecting &apos;Print Assistant&apos;</short_desc>
          <delta_ts>2021-05-10 14:59:59 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>digikam</product>
          <component>Database-Sqlite</component>
          <version>4.0.0</version>
          <rep_platform>Ubuntu</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>drkonqi</keywords>
          <priority>NOR</priority>
          <bug_severity>crash</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter>ponchorat1968</reporter>
          <assigned_to name="Digikam Developers">digikam-bugs-null</assigned_to>
          <cc>caulier.gilles</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin>7.3.0</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1494015</commentid>
    <comment_count>0</comment_count>
    <who name="">ponchorat1968</who>
    <bug_when>2015-01-24 15:24:59 +0000</bug_when>
    <thetext>Application: digikam (4.0.0)
KDE Platform Version: 4.14.2
Qt Version: 4.8.6
Operating System: Linux 3.13.0-44-generic x86_64
Distribution: Ubuntu 14.04.1 LTS

-- Information about the crash:
- What I was doing when the application crashed:

I had sleected an image I wanted to print then selected &apos;Print Assistant&apos; when Digi-Cam crashed.

-- Backtrace:
Application: digiKam (digikam), signal: Segmentation fault
Using host libthread_db library &quot;/lib/x86_64-linux-gnu/libthread_db.so.1&quot;.
[Current thread is 1 (Thread 0x7f44ae2a0ac0 (LWP 19862))]

Thread 6 (Thread 0x7f448a779700 (LWP 19864)):
#0  0x00007f44a73f2cbd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f448efe6248 in ?? () from /lib/x86_64-linux-gnu/libusb-1.0.so.0
#2  0x00007f44a38db182 in start_thread (arg=0x7f448a779700) at pthread_create.c:312
#3  0x00007f44a740000d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 5 (Thread 0x7f4483e5c700 (LWP 19865)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f44a90d9816 in wait (time=18446744073709551615, this=0x112de90) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x112dda0, mutex=mutex@entry=0x112dd98, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00000000005e3d9e in Digikam::ScanController::run (this=0x1057b50) at /build/buildd/digikam-4.0.0/core/digikam/database/scancontroller.cpp:725
#4  0x00007f44a90d932f in QThreadPrivate::start (arg=0x1057b50) at thread/qthread_unix.cpp:349
#5  0x00007f44a38db182 in start_thread (arg=0x7f4483e5c700) at pthread_create.c:312
#6  0x00007f44a740000d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 4 (Thread 0x7f448365b700 (LWP 19866)):
#0  0x00007f44a044761d in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f44a0447979 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f44a0405ed5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f44a04060ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f44a92087be in QEventDispatcherGlib::processEvents (this=0x7f44740008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#5  0x00007f44a91da0af in QEventLoop::processEvents (this=this@entry=0x7f448365aae0, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f44a91da3a5 in QEventLoop::exec (this=this@entry=0x7f448365aae0, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f44a90d6c5f in QThread::exec (this=this@entry=0x10fc880) at thread/qthread.cpp:537
#8  0x00007f44a91bb823 in QInotifyFileSystemWatcherEngine::run (this=0x10fc880) at io/qfilesystemwatcher_inotify.cpp:265
#9  0x00007f44a90d932f in QThreadPrivate::start (arg=0x10fc880) at thread/qthread_unix.cpp:349
#10 0x00007f44a38db182 in start_thread (arg=0x7f448365b700) at pthread_create.c:312
#11 0x00007f44a740000d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7f4482e5a700 (LWP 19869)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f44a90d9816 in wait (time=18446744073709551615, this=0x182ce30) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x182cbc0, mutex=mutex@entry=0x182cbb8, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f44ab9198aa in Digikam::ParkingThread::run (this=0x182cba0) at /build/buildd/digikam-4.0.0/core/libs/threads/threadmanager.cpp:119
#4  0x00007f44a90d932f in QThreadPrivate::start (arg=0x182cba0) at thread/qthread_unix.cpp:349
#5  0x00007f44a38db182 in start_thread (arg=0x7f4482e5a700) at pthread_create.c:312
#6  0x00007f44a740000d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7f447115c700 (LWP 19870)):
#0  0x00007f44a38dd4af in __GI___pthread_mutex_lock (mutex=0x7f446c000a60) at ../nptl/pthread_mutex_lock.c:94
#1  0x00007f44a0447981 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f44a0405557 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f44a0405f03 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f44a04060ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f44a92087be in QEventDispatcherGlib::processEvents (this=0x7f446c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#6  0x00007f44a91da0af in QEventLoop::processEvents (this=this@entry=0x7f447115bae0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f44a91da3a5 in QEventLoop::exec (this=this@entry=0x7f447115bae0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f44a90d6c5f in QThread::exec (this=this@entry=0x1a2d3f0) at thread/qthread.cpp:537
#9  0x00007f44a91bb823 in QInotifyFileSystemWatcherEngine::run (this=0x1a2d3f0) at io/qfilesystemwatcher_inotify.cpp:265
#10 0x00007f44a90d932f in QThreadPrivate::start (arg=0x1a2d3f0) at thread/qthread_unix.cpp:349
#11 0x00007f44a38db182 in start_thread (arg=0x7f447115c700) at pthread_create.c:312
#12 0x00007f44a740000d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7f44ae2a0ac0 (LWP 19862)):
[KCrash Handler]
#6  0x00000000056efc70 in ?? ()
#7  0x00007f44932e7dac in sqlite3MemCompare (pMem1=pMem1@entry=0x7fff30ca66c0, pMem2=&lt;optimized out&gt;, pColl=0x19f5568) at sqlite3.c:60484
#8  0x00007f44932e7f63 in sqlite3VdbeRecordCompare (nKey1=24, pKey1=0x7f447c04788e, pPKey2=pPKey2@entry=0x7fff30ca69c0) at sqlite3.c:64162
#9  0x00007f44932fc579 in sqlite3BtreeMovetoUnpacked (pCur=0x572c5b0, pIdxKey=0x7fff30ca69c0, intKey=0, biasRight=&lt;optimized out&gt;, pRes=0x7fff30ca69b0) at sqlite3.c:55077
#10 0x00007f44933249c5 in sqlite3VdbeExec (p=p@entry=0x571a9c8) at sqlite3.c:70168
#11 0x00007f449332ced7 in sqlite3Step (p=0x571a9c8) at sqlite3.c:64828
#12 sqlite3_step (pStmt=&lt;optimized out&gt;) at sqlite3.c:64894
#13 0x00007f448245511c in QSQLiteResultPrivate::fetchNext (this=this@entry=0x5724650, values=..., idx=idx@entry=0, initialFetch=initialFetch@entry=true) at ../../../sql/drivers/sqlite/qsql_sqlite.cpp:235
#14 0x00007f4482455e48 in QSQLiteResult::exec (this=0x400efd0) at ../../../sql/drivers/sqlite/qsql_sqlite.cpp:447
#15 0x00007f44adecfb7d in QSqlQuery::exec (this=this@entry=0x7fff30ca6ef8) at kernel/qsqlquery.cpp:949
#16 0x00007f44ab8d2a46 in Digikam::DatabaseCoreBackend::exec (this=0x101c450, query=...) at /build/buildd/digikam-4.0.0/core/libs/database/core/databasecorebackend.cpp:1415
#17 0x00007f44ab8d2acc in Digikam::DatabaseCoreBackend::execQuery (this=this@entry=0x101c450, query=..., boundValue1=...) at /build/buildd/digikam-4.0.0/core/libs/database/core/databasecorebackend.cpp:1057
#18 0x00007f44ab8d3b70 in Digikam::DatabaseCoreBackend::execQuery (this=this@entry=0x101c450, sql=..., boundValue1=...) at /build/buildd/digikam-4.0.0/core/libs/database/core/databasecorebackend.cpp:1006
#19 0x00007f44ab8d3bb9 in Digikam::DatabaseCoreBackend::execSql (this=0x101c450, sql=..., boundValue1=..., values=values@entry=0x7fff30ca6f40, lastInsertId=lastInsertId@entry=0x0) at /build/buildd/digikam-4.0.0/core/libs/database/core/databasecorebackend.cpp:903
#20 0x00007f44ab294e2e in Digikam::AlbumDB::getSetting (this=this@entry=0x101c0f0, keyword=...) at /build/buildd/digikam-4.0.0/core/libs/database/albumdb.cpp:972
#21 0x00007f44ab29575c in Digikam::AlbumDB::getFilterSettings (this=0x101c0f0, imageFilter=imageFilter@entry=0x7fff30ca7180, videoFilter=videoFilter@entry=0x0, audioFilter=audioFilter@entry=0x0) at /build/buildd/digikam-4.0.0/core/libs/database/albumdb.cpp:1017
#22 0x00000000006581a0 in Digikam::AlbumSettings::getRawFileFilter (this=this@entry=0x110ed00) at /build/buildd/digikam-4.0.0/core/digikam/utils/albumsettings.cpp:962
#23 0x000000000053dc62 in Digikam::KipiInterface::hostSetting (this=this@entry=0x22434a0, settingName=...) at /build/buildd/digikam-4.0.0/core/utilities/kipiiface/kipiinterface.cpp:363
#24 0x000000000053e847 in Digikam::KipiInterface::currentSelection (this=0x22434a0) at /build/buildd/digikam-4.0.0/core/utilities/kipiiface/kipiinterface.cpp:126
#25 0x00007f440d34eeee in KIPIPrintImagesPlugin::Plugin_PrintImages::slotPrintImagesActivate (this=&lt;optimized out&gt;) at /build/buildd/digikam-4.0.0/extra/kipi-plugins/printimages/plugin/plugin_printimages.cpp:132
#26 0x00007f44a91ef87a in QMetaObject::activate (sender=sender@entry=0x33c83f0, m=m@entry=0x7f44a8da3de0 &lt;QAction::staticMetaObject&gt;, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7fff30ca7500) at kernel/qobject.cpp:3539
#27 0x00007f44a82f3a62 in QAction::triggered (this=this@entry=0x33c83f0, _t1=false) at .moc/release-shared/moc_qaction.cpp:276
#28 0x00007f44a82f5433 in QAction::activate (this=this@entry=0x33c83f0, event=event@entry=QAction::Trigger) at kernel/qaction.cpp:1257
#29 0x00007f44a8723489 in QMenuPrivate::activateCausedStack (this=this@entry=0x36f3c50, causedStack=..., action=action@entry=0x33c83f0, action_e=action_e@entry=QAction::Trigger, self=self@entry=true) at widgets/qmenu.cpp:1038
#30 0x00007f44a87279b9 in QMenuPrivate::activateAction (this=0x36f3c50, action=0x33c83f0, action_e=action_e@entry=QAction::Trigger, self=self@entry=true) at widgets/qmenu.cpp:1130
#31 0x00007f44a872b385 in QMenu::mouseReleaseEvent (this=this@entry=0x1108840, e=e@entry=0x7fff30ca7c30) at widgets/qmenu.cpp:2372
#32 0x00007f44a9cdc615 in KMenu::mouseReleaseEvent (this=0x1108840, e=0x7fff30ca7c30) at ../../kdeui/widgets/kmenu.cpp:464
#33 0x00007f44a834950a in QWidget::event (this=this@entry=0x1108840, event=event@entry=0x7fff30ca7c30) at kernel/qwidget.cpp:8376
#34 0x00007f44a872b7bb in QMenu::event (this=0x1108840, e=0x7fff30ca7c30) at widgets/qmenu.cpp:2481
#35 0x00007f44a82f9e2c in QApplicationPrivate::notify_helper (this=this@entry=0xfb50c0, receiver=receiver@entry=0x1108840, e=e@entry=0x7fff30ca7c30) at kernel/qapplication.cpp:4567
#36 0x00007f44a83005dd in QApplication::notify (this=this@entry=0x7fff30ca8870, receiver=receiver@entry=0x1108840, e=e@entry=0x7fff30ca7c30) at kernel/qapplication.cpp:4110
#37 0x00007f44a9c25cca in KApplication::notify (this=0x7fff30ca8870, receiver=0x1108840, event=0x7fff30ca7c30) at ../../kdeui/kernel/kapplication.cpp:311
#38 0x00007f44a91db4dd in QCoreApplication::notifyInternal (this=0x7fff30ca8870, receiver=receiver@entry=0x1108840, event=event@entry=0x7fff30ca7c30) at kernel/qcoreapplication.cpp:953
#39 0x00007f44a82ffd93 in sendEvent (event=&lt;optimized out&gt;, receiver=&lt;optimized out&gt;) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#40 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x1108840, event=event@entry=0x7fff30ca7c30, alienWidget=alienWidget@entry=0x0, nativeWidget=nativeWidget@entry=0x1108840, buttonDown=buttonDown@entry=0x7f44a8ddf318 &lt;qt_button_down&gt;, lastMouseReceiver=..., spontaneous=spontaneous@entry=true) at kernel/qapplication.cpp:3178
#41 0x00007f44a8374cfc in QETWidget::translateMouseEvent (this=this@entry=0x1108840, event=event@entry=0x7fff30ca7f80) at kernel/qapplication_x11.cpp:4568
#42 0x00007f44a8374269 in QApplication::x11ProcessEvent (this=0x7fff30ca8870, event=event@entry=0x7fff30ca7f80) at kernel/qapplication_x11.cpp:3627
#43 0x00007f44a839bb02 in x11EventSourceDispatch (s=0xfb5810, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#44 0x00007f44a0405e04 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#45 0x00007f44a0406048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#46 0x00007f44a04060ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#47 0x00007f44a92087be in QEventDispatcherGlib::processEvents (this=0xecf0d0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#48 0x00007f44a839bbb6 in QGuiEventDispatcherGlib::processEvents (this=&lt;optimized out&gt;, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#49 0x00007f44a91da0af in QEventLoop::processEvents (this=this@entry=0x7fff30ca8350, flags=...) at kernel/qeventloop.cpp:149
#50 0x00007f44a91da3a5 in QEventLoop::exec (this=this@entry=0x7fff30ca8350, flags=...) at kernel/qeventloop.cpp:204
#51 0x00007f44a91dfb79 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#52 0x00007f44a82f837c in QApplication::exec () at kernel/qapplication.cpp:3828
#53 0x00000000004948f0 in main (argc=&lt;optimized out&gt;, argv=&lt;optimized out&gt;) at /build/buildd/digikam-4.0.0/core/digikam/main/main.cpp:236

Possible duplicates by query: bug 343014, bug 342802, bug 342143, bug 341529, bug 341424.

Reported using DrKonqi</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1494028</commentid>
    <comment_count>1</comment_count>
    <who name="">caulier.gilles</who>
    <bug_when>2015-01-24 16:07:44 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 329697 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2031480</commentid>
    <comment_count>2</comment_count>
    <who name="">caulier.gilles</who>
    <bug_when>2021-05-10 14:59:59 +0000</bug_when>
    <thetext>Fixed with #329697</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>