Bug 283045

Summary: Crash when searching with timeline
Product: [Applications] digikam Reporter: philippe.quaglia
Component: Searches-TimeLineAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: caulier.gilles
Priority: NOR    
Version: 2.1.1   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 7.0.0
Sentry Crash Report:

Description philippe.quaglia 2011-09-29 19:00:51 UTC
Version:           2.1.1
OS:                Linux

Digikam crash when doing a search whith Timeline. It crashes when I click to see the thumbnails corresponding to a given date, after several consecutive searches.

Reproducible: Sometimes

Steps to Reproduce:
Use the timeline, and click below to see the corresponding thumbnails

Actual Results:  
Crash

Expected Results:  
Display the thumbnails

I was running digikam under gdb. Here is the backtrace:

Program received signal SIGSEGV, Segmentation fault.
0x032989f1 in ?? () from /lib/i386-linux-gnu/libc.so.6
(gdb) gt
Undefined command: "gt".  Try "help".
(gdb) by
Undefined command: "by".  Try "help".
(gdb) bt
#0  0x032989f1 in ?? () from /lib/i386-linux-gnu/libc.so.6
#1  0x0329af53 in malloc () from /lib/i386-linux-gnu/libc.so.6
#2  0x02d61b8d in qMalloc (size=420) at global/qmalloc.cpp:55
#3  0x02dbdb35 in QVectorData::allocate (size=420, alignment=4)
    at tools/qvector.cpp:67
#4  0x0147d39e in malloc (this=0xbfffdec8, asize=101)
    at /usr/include/qt4/QtCore/qvector.h:393
#5  QVector<Digikam::ImageInfo>::QVector (this=0xbfffdec8, asize=101)
    at /usr/include/qt4/QtCore/qvector.h:401
#6  0x01477a6c in Digikam::ImageFilterModel::ImageFilterModelPrivate::infosToProcess (this=0x8940f78, infos=..., extraValues=..., forReAdd=true)
    at /build/buildd/digikam2-2.1.1/core/libs/models/imagefiltermodel.cpp:348
#7  0x01478003 in Digikam::ImageFilterModel::ImageFilterModelPrivate::preprocessInfos (this=0x8940f78, infos=..., extraValues=...)
    at /build/buildd/digikam2-2.1.1/core/libs/models/imagefiltermodel.cpp:281
#8  0x01479b5c in Digikam::ImageFilterModel::ImageFilterModelPrivate::qt_metacall (this=0x8940f78, _c=QMetaObject::InvokeMetaMethod, 
    _id=<value optimized out>, _a=0xbfffe014)
    at /build/buildd/digikam2-2.1.1/obj-i686-linux-gnu/core/digikam/imagefiltermodelpriv.moc:94
#9  0x02e626ba in QMetaObject::metacall (object=0x8940f78, 
---Type <return> to continue, or q <return> to quit---
    cl=QMetaObject::InvokeMetaMethod, idx=8, argv=0xbfffe014)
    at kernel/qmetaobject.cpp:237
#10 0x02e724ff in QMetaObject::activate (sender=0x895bb78, m=0x15373f4, 
    local_signal_index=4, argv=0xbfffe014) at kernel/qobject.cpp:3287
#11 0x0146e1e9 in Digikam::ImageModel::preprocess (this=0x895bb78, _t1=..., 
    _t2=...)
    at /build/buildd/digikam2-2.1.1/obj-i686-linux-gnu/core/digikam/imagemodel.moc:156
#12 0x014709eb in Digikam::ImageModel::appendInfos (this=0x895bb78, infos=..., 
    extraValues=...)
    at /build/buildd/digikam2-2.1.1/core/libs/models/imagemodel.cpp:585
#13 0x01472b98 in Digikam::ImageModel::finishIncrementalRefresh (
    this=0x895bb78)
    at /build/buildd/digikam2-2.1.1/core/libs/models/imagemodel.cpp:708
#14 0x08180967 in Digikam::ImageAlbumModel::slotResult (this=0x895bb78, job=
    0x9cc9330)
    at /build/buildd/digikam2-2.1.1/core/libs/models/imagealbummodel.cpp:307
#15 0x08181f0e in Digikam::ImageAlbumModel::qt_metacall (this=0x895bb78, 
    _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbfffe208)
    at /build/buildd/digikam2-2.1.1/obj-i686-linux-gnu/core/digikam/imagealbummodel.moc:117
---Type <return> to continue, or q <return> to quit---
#16 0x02e626ba in QMetaObject::metacall (object=0x895bb78, 
    cl=QMetaObject::InvokeMetaMethod, idx=54, argv=0xbfffe208)
    at kernel/qmetaobject.cpp:237
#17 0x02e724ff in QMetaObject::activate (sender=0x9cc9330, m=0x2cfe548, 
    local_signal_index=3, argv=0xbfffe208) at kernel/qobject.cpp:3287
#18 0x02ba9e93 in KJob::result (this=0x9cc9330, _t1=0x9cc9330)
    at ./kjob.moc:194
#19 0x02ba9ee8 in KJob::emitResult (this=0x9cc9330)
    at ../../kdecore/jobs/kjob.cpp:312
#20 0x0182f61b in KIO::SimpleJob::slotFinished (this=0x9cc9330)
    at ../../kio/kio/job.cpp:525
#21 0x018354a6 in KIO::TransferJob::slotFinished (this=0x9cc9330)
    at ../../kio/kio/job.cpp:1118
#22 0x01838e83 in KIO::TransferJob::qt_metacall (this=0x9cc9330, 
    _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbfffe4cc)
    at ./jobclasses.moc:367
#23 0x01838f92 in KIO::SpecialJob::qt_metacall (this=0x9cc9330, 
    _c=QMetaObject::InvokeMetaMethod, _id=47, _a=0xbfffe4cc)
    at ./jobclasses.moc:895
#24 0x02e626ba in QMetaObject::metacall (object=0x9cc9330, 
    cl=QMetaObject::InvokeMetaMethod, idx=47, argv=0xbfffe4cc)
---Type <return> to continue, or q <return> to quit---
    at kernel/qmetaobject.cpp:237
#25 0x02e724ff in QMetaObject::activate (sender=0x933cf60, m=0x19b46c4, 
    local_signal_index=4, argv=0x0) at kernel/qobject.cpp:3287
#26 0x018df5a7 in KIO::SlaveInterface::finished (this=0x933cf60)
    at ./slaveinterface.moc:171
#27 0x018e23d7 in KIO::SlaveInterface::dispatch (this=0x933cf60, _cmd=104, 
    rawdata=...) at ../../kio/kio/slaveinterface.cpp:173
#28 0x018dee53 in KIO::SlaveInterface::dispatch (this=0x933cf60)
    at ../../kio/kio/slaveinterface.cpp:89
#29 0x018d15c8 in KIO::Slave::gotInput (this=0x933cf60)
    at ../../kio/kio/slave.cpp:348
#30 0x018d1cf3 in KIO::Slave::qt_metacall (this=0x933cf60, 
    _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbfffe7dc)
    at ./slave.moc:82
#31 0x02e626ba in QMetaObject::metacall (object=0x933cf60, 
    cl=QMetaObject::InvokeMetaMethod, idx=30, argv=0xbfffe7dc)
    at kernel/qmetaobject.cpp:237
#32 0x02e724ff in QMetaObject::activate (sender=0x958e5d0, m=0x19b1440, 
    local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3287
#33 0x017fc237 in KIO::Connection::readyRead (this=0x958e5d0)
    at ./connection.moc:92
---Type <return> to continue, or q <return> to quit---
#34 0x017fca56 in KIO::ConnectionPrivate::dequeue (this=0x958d608)
    at ../../kio/kio/connection.cpp:82
#35 0x017fcb06 in KIO::Connection::qt_metacall (this=0x958e5d0, 
    _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x9d69928)
    at ./connection.moc:79
#36 0x02e626ba in QMetaObject::metacall (object=0x958e5d0, 
    cl=QMetaObject::InvokeMetaMethod, idx=5, argv=0x9d69928)
    at kernel/qmetaobject.cpp:237
#37 0x02e6ce16 in QMetaCallEvent::placeMetaCall (this=0xa859008, 
    object=0x958e5d0) at kernel/qobject.cpp:535
#38 0x02e713b7 in QObject::event (this=0x958e5d0, e=0xa859008)
    at kernel/qobject.cpp:1226
#39 0x020eed24 in QApplicationPrivate::notify_helper (this=0x85a38e0, 
    receiver=0x958e5d0, e=0xa859008) at kernel/qapplication.cpp:4462
#40 0x020f38ce in QApplication::notify (this=0xbffff18c, receiver=0x958e5d0, 
    e=0xa859008) at kernel/qapplication.cpp:3862
#41 0x01df83ca in KApplication::notify (this=0xbffff18c, receiver=0x958e5d0, 
    event=0xa859008) at ../../kdeui/kernel/kapplication.cpp:311
#42 0x02e5c0bb in QCoreApplication::notifyInternal (this=0xbffff18c, 
    receiver=0x958e5d0, event=0xa859008) at kernel/qcoreapplication.cpp:731
#43 0x02e5fc79 in sendEvent (receiver=0x0, event_type=0, data=0x8547858)
---Type <return> to continue, or q <return> to quit---
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#44 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, 
    data=0x8547858) at kernel/qcoreapplication.cpp:1372
#45 0x02e5fe0d in QCoreApplication::sendPostedEvents (receiver=0x0, 
    event_type=0) at kernel/qcoreapplication.cpp:1265
#46 0x02e893c4 in sendPostedEvents (s=0x85a5350)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#47 postEventSourceDispatch (s=0x85a5350)
    at kernel/qeventdispatcher_glib.cpp:277
#48 0x04439aa8 in g_main_context_dispatch ()
   from /lib/i386-linux-gnu/libglib-2.0.so.0
#49 0x0443a270 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#50 0x0443a524 in g_main_context_iteration ()
   from /lib/i386-linux-gnu/libglib-2.0.so.0
#51 0x02e8953c in QEventDispatcherGlib::processEvents (this=0x85473b0, 
    flags=...) at kernel/qeventdispatcher_glib.cpp:422
#52 0x021a51e5 in QGuiEventDispatcherGlib::processEvents (this=0x85473b0, 
    flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#53 0x02e5b289 in QEventLoop::processEvents (this=0xbffff054, flags=...)
    at kernel/qeventloop.cpp:149
#54 0x02e5b522 in QEventLoop::exec (this=0xbffff054, flags=...)
---Type <return> to continue, or q <return> to quit---
    at kernel/qeventloop.cpp:201
#55 0x02e5fecc in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#56 0x020ec8e7 in QApplication::exec () at kernel/qapplication.cpp:3736
#57 0x082bbc93 in main (argc=176619032, argv=0xa637160)
    at /build/buildd/digikam2-2.1.1/core/digikam/main/main.cpp:232
(gdb)
Comment 1 Marcel Wiesweg 2011-09-29 20:06:52 UTC
Known and reproducible crash, cause not yet identified

*** This bug has been marked as a duplicate of bug 262077 ***
Comment 2 caulier.gilles 2019-12-24 18:47:49 UTC
Not reproducible using 7.0.0 beta1