[Digikam-devel] [digikam] [Bug 244422] for better overviewing large image collections, I wish to have a _list_ view

Gilles Caulier caulier.gilles at gmail.com
Wed Mar 13 11:05:48 GMT 2013


--- Comment #30 from Gilles Caulier <caulier.gilles at gmail.com> ---

I take a look in code of tableview model, about crash under OSX.

It sound like the problem is here :

TableViewColumn* TableViewModel::getColumnObject(const int columnIndex)
    return d->columnObjects.at(columnIndex);

if columnIndex is outside the limit of data stored in QList columnObjects, Qt
can crash... I remember to have already seen this problem in digiKam before,
when i used QList::at() 

The question is why passed columnIndex can be outside the limit... 

Also, i already seen that Linux Qt version is less sensible to this problem,
probably due to compiler option to optimize. Under OSX, it's Clang compiler
(through XCode). This can be explain why OSX crash where Linux no.

To be sure, i will pass valgrind memory check here...


You are receiving this mail because:
You are the assignee for the bug.

More information about the Digikam-devel mailing list