Bug 200530 - digikam crashes just after a fresh compile.
Summary: digikam crashes just after a fresh compile.
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Portability-Compilation (show other bugs)
Version: 0.10.0
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-17 11:10 UTC by Tomaz Canabrava
Modified: 2019-08-19 07:42 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 6.3.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomaz Canabrava 2009-07-17 11:10:45 UTC
Application that crashed: digikam
Version of the application: 1.0.0-beta3 (rev.: 998219)
KDE Version: 4.3.60 (KDE 4.3.60 (KDE 4.4 >= 20090706))
Qt Version: 4.5.2
Operating System: Linux 2.6.30-ARCH x86_64

What I was doing when the application crashed:
Compiled the program without errors,
opened and the configuration wizzard appeared
configured on the wizard 
Digikam Started looking for my images using a small dialog, and then it just
crashed.


 -- Backtrace:
Application: digiKam (digikam), signal: Aborted
[Current thread is 0 (LWP 31692)]

Thread 2 (Thread 0x7fed72734910 (LWP 31696)):
[KCrash Handler]
#5  0x00007fed816a6f15 in raise () from /lib/libc.so.6
#6  0x00007fed816a8340 in abort () from /lib/libc.so.6
#7  0x00007fed816e094d in __libc_message () from /lib/libc.so.6
#8  0x00007fed816e5dd6 in malloc_printerr () from /lib/libc.so.6
#9  0x00007fed86cfc19d in QSqlResult::~QSqlResult () from /usr/lib/libQtSql.so.4
#10 0x00007fed71d2dbe6 in ?? () from /usr/lib/qt/plugins/sqldrivers/libqsqlite.so
#11 0x00007fed86cefc9e in QSqlQuery::~QSqlQuery () from /usr/lib/libQtSql.so.4
#12 0x00007fed85cffdd0 in Digikam::DatabaseCoreBackend::execSql (this=0x28ee070, sql=<value optimized out>, boundValue1=<value optimized out>, boundValue2=<value optimized out>, 
    values=0x7fed72733140, lastInsertId=0x7fed72733000) at /data/Projetos/kdesvn/extragear/graphics/digikam/libs/database/databasecorebackend.cpp:307
#13 0x00007fed858c69e2 in Digikam::AlbumDB::getIdenticalFiles (this=0x28ed8a0, fileSize=<value optimized out>, uniqueHash=<value optimized out>, sourceId=<value optimized out>)
    at /data/Projetos/kdesvn/extragear/graphics/digikam/libs/database/albumdb.cpp:1614
#14 0x00007fed85923ee3 in Digikam::ImageScanner::scanFromIdenticalFile (this=<value optimized out>) at /data/Projetos/kdesvn/extragear/graphics/digikam/libs/database/imagescanner.cpp:203
#15 0x00007fed85925cba in Digikam::ImageScanner::newFile (this=0x7fed727332c0, albumId=329) at /data/Projetos/kdesvn/extragear/graphics/digikam/libs/database/imagescanner.cpp:91
#16 0x00007fed858d93db in Digikam::CollectionScanner::scanNewFile (this=0x7fed72733fe0, info=@0x36336d8, albumId=329)
    at /data/Projetos/kdesvn/extragear/graphics/digikam/libs/database/collectionscanner.cpp:700
#17 0x00007fed858dab59 in Digikam::CollectionScanner::scanAlbum (this=<value optimized out>, location=<value optimized out>, album=<value optimized out>)
    at /data/Projetos/kdesvn/extragear/graphics/digikam/libs/database/collectionscanner.cpp:625
#18 0x00007fed858daa7b in Digikam::CollectionScanner::scanAlbum (this=<value optimized out>, location=<value optimized out>, album=<value optimized out>)
    at /data/Projetos/kdesvn/extragear/graphics/digikam/libs/database/collectionscanner.cpp:636
#19 0x00007fed858daa7b in Digikam::CollectionScanner::scanAlbum (this=<value optimized out>, location=<value optimized out>, album=<value optimized out>)
    at /data/Projetos/kdesvn/extragear/graphics/digikam/libs/database/collectionscanner.cpp:636
#20 0x00007fed858daa7b in Digikam::CollectionScanner::scanAlbum (this=<value optimized out>, location=<value optimized out>, album=<value optimized out>)
    at /data/Projetos/kdesvn/extragear/graphics/digikam/libs/database/collectionscanner.cpp:636
#21 0x00007fed858db1d7 in Digikam::CollectionScanner::scanAlbumRoot (this=0x7fed72733fe0, location=@0x2a0e950)
    at /data/Projetos/kdesvn/extragear/graphics/digikam/libs/database/collectionscanner.cpp:447
#22 0x00007fed858db55d in Digikam::CollectionScanner::completeScan (this=0x7fed72733fe0) at /data/Projetos/kdesvn/extragear/graphics/digikam/libs/database/collectionscanner.cpp:224
#23 0x00000000006bca0f in Digikam::ScanController::run (this=0x2903c30) at /data/Projetos/kdesvn/extragear/graphics/digikam/digikam/scancontroller.cpp:506
#24 0x00007fed823e7285 in ?? () from /usr/lib/libQtCore.so.4
#25 0x00007fed8217457a in start_thread () from /lib/libpthread.so.0
#26 0x00007fed8174016d in clone () from /lib/libc.so.6
#27 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fed88a83760 (LWP 31692)):
#0  0x00007fed82178dd9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fed823e834b in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#2  0x00007fed823e7324 in QThread::wait () from /usr/lib/libQtCore.so.4
#3  0x00000000006bcc17 in Digikam::ScanController::shutDown (this=0x2903c30) at /data/Projetos/kdesvn/extragear/graphics/digikam/digikam/scancontroller.cpp:278
#4  0x00000000006c015b in ~ScanController (this=0x2a9ccec) at /data/Projetos/kdesvn/extragear/graphics/digikam/digikam/scancontroller.cpp:261
#5  0x00000000006c02f7 in destroy () at /data/Projetos/kdesvn/extragear/graphics/digikam/digikam/scancontroller.cpp:209
#6  0x00007fed816a99e2 in __run_exit_handlers () from /lib/libc.so.6
#7  0x00007fed816a9a35 in exit () from /lib/libc.so.6
#8  0x00007fed830b3188 in ?? () from /usr/lib/libQtGui.so.4
#9  0x00007fed8443efe8 in KApplication::xioErrhandler (this=0x7fff31e579d0, dpy=0x280ad80) at /data/Projetos/kdesvn/kdelibs/kdeui/kernel/kapplication.cpp:408
#10 0x00007fed804a753e in _XIOError () from /usr/lib/libX11.so.6
#11 0x00007fed804ae83f in process_responses () from /usr/lib/libX11.so.6
#12 0x00007fed804af177 in _XEventsQueued () from /usr/lib/libX11.so.6
#13 0x00007fed80497e83 in XEventsQueued () from /usr/lib/libX11.so.6
#14 0x00007fed830eafcc in ?? () from /usr/lib/libQtGui.so.4
#15 0x00007fed7ed49a7a in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#16 0x00007fed7ed4a260 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#17 0x00007fed7ed4a690 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#18 0x00007fed824f525e in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#19 0x00007fed830eae0e in ?? () from /usr/lib/libQtGui.so.4
#20 0x00007fed824cb632 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#21 0x00007fed824cba04 in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#22 0x00000000006bdd52 in Digikam::ScanController::completeCollectionScan (this=0x2903c30, splash=<value optimized out>)
    at /data/Projetos/kdesvn/extragear/graphics/digikam/digikam/scancontroller.cpp:361
#23 0x0000000000660813 in DigikamApp (this=0x29e67f0) at /data/Projetos/kdesvn/extragear/graphics/digikam/digikam/digikamapp.cpp:167
#24 0x0000000000733c75 in main (argc=<value optimized out>, argv=<value optimized out>) at /data/Projetos/kdesvn/extragear/graphics/digikam/digikam/main.cpp:161

Reported using DrKonqi
Comment 1 caulier.gilles 2009-07-17 12:06:50 UTC
Marcel, Scan controller or DB backend ?

Gilles
Comment 2 Marcel Wiesweg 2009-07-20 18:20:05 UTC
Looks like the "malloc" problem again.

*** This bug has been marked as a duplicate of bug 196994 ***
Comment 3 caulier.gilles 2019-08-19 07:42:10 UTC
Fixed with bug #196994