Bug 192331 - abort()/ASSERT on clicking any "Places" path (Gwenview::PlaceTreeModelPrivate::nodeForIndex)
Summary: abort()/ASSERT on clicking any "Places" path (Gwenview::PlaceTreeModelPrivate...
Status: RESOLVED DUPLICATE of bug 191922
Alias: None
Product: gwenview
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Gwenview Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-11 15:51 UTC by Melchior Franz
Modified: 2012-10-19 13:26 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Melchior Franz 2009-05-11 15:51:01 UTC
Version:           SVN/HEAD from today (using Devel)
Compiler:          gcc 4.3.2 (SUSE Linux) [gcc-4_3-branch revision 141291]; qt-copy
OS:                Linux
Installed from:    Compiled sources


ASSERT: "index.isValid()" in file /home/m/kde4/kdegraphics/gwenview/lib/placetreemodel.cpp, line 85                            

Program received signal SIGABRT, Aborted.
0xb7fdf424 in __kernel_vsyscall ()       
(gdb) bt                                 
#0  0xb7fdf424 in __kernel_vsyscall ()   
#1  0xb6647990 in raise () from /lib/libc.so.6
#2  0xb66492c8 in abort () from /lib/libc.so.6
#3  0xb7a7969e in qt_message_output(QtMsgType, char const*) () from /usr/local/qt4/lib/libQtCore.so.4
#4  0xb7a79776 in qFatal(char const*, ...) () from /usr/local/qt4/lib/libQtCore.so.4                 
#5  0xb7a7984a in qt_assert(char const*, char const*, int) () from /usr/local/qt4/lib/libQtCore.so.4 
#6  0xb7f15284 in Gwenview::PlaceTreeModelPrivate::nodeForIndex (this=0x8327d18, index=@0xbfffdcb4) at /home/m/kde4/kdegraphics/gwenview/lib/placetreemodel.cpp:85                                                                                            
#7  0xb7f13666 in Gwenview::PlaceTreeModel::urlForIndex (this=0x84069a8, index=@0xbfffdcb4) at /home/m/kde4/kdegraphics/gwenview/lib/placetreemodel.cpp:364                                                                                                   
#8  0x08076a8f in Gwenview::FolderViewContextManagerItem::slotRowsInserted (this=0x83fdb58, index=@0xbfffdcb4) at /home/m/kde4/kdegraphics/gwenview/app/folderviewcontextmanageritem.cpp:263                                                                  
#9  0x0806754e in Gwenview::FolderViewContextManagerItem::qt_metacall (this=0x83fdb58, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xbfffdc74) at /home/m/kde4/.kdegraphics/gwenview/app/moc_folderviewcontextmanageritem.cpp:79                              
#10 0xb7b7aef9 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/local/qt4/lib/libQtCore.so.4                  
#11 0xb7b7bae4 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/local/qt4/lib/libQtCore.so.4   
#12 0xb7bb1e01 in QAbstractItemModel::rowsInserted(QModelIndex const&, int, int) () from /usr/local/qt4/lib/libQtCore.so.4     
#13 0xb7b61950 in QAbstractItemModel::endInsertRows() () from /usr/local/qt4/lib/libQtCore.so.4                                
#14 0xb7f14431 in Gwenview::PlaceTreeModel::slotPlacesRowsInserted (this=0x84069a8, start=4, end=4) at /home/m/kde4/kdegraphics/gwenview/lib/placetreemodel.cpp:312                                                                                           
#15 0xb7f14c9f in Gwenview::PlaceTreeModel::qt_metacall (this=0x84069a8, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbfffde34) at /home/m/kde4/.kdegraphics/gwenview/lib/placetreemodel.moc:77                                                              
#16 0xb7b7aef9 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/local/qt4/lib/libQtCore.so.4                  
#17 0xb7b7bae4 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/local/qt4/lib/libQtCore.so.4   
#18 0xb7bb1e01 in QAbstractItemModel::rowsInserted(QModelIndex const&, int, int) () from /usr/local/qt4/lib/libQtCore.so.4     
#19 0xb7b61950 in QAbstractItemModel::endInsertRows() () from /usr/local/qt4/lib/libQtCore.so.4                                
#20 0xb7fa9ba2 in KFilePlacesModel::Private::_k_reloadBookmarks (this=0x825c528) at /home/m/kde4/kdelibs/kfile/kfileplacesmodel.cpp:394                                                                                                                       
#21 0xb7faa284 in KFilePlacesModel::Private::_k_initDeviceList (this=0x825c528) at /home/m/kde4/kdelibs/kfile/kfileplacesmodel.cpp:300
#22 0xb7faa472 in KFilePlacesModel::qt_metacall (this=0x8327d30, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbfffe108) at /home/m/kde4/.kdelibs/kfile/kfileplacesmodel.moc:85
#23 0xb7b7aef9 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/local/qt4/lib/libQtCore.so.4
#24 0xb7b7bae4 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/local/qt4/lib/libQtCore.so.4
#25 0xb7b7fce5 in ?? () from /usr/local/qt4/lib/libQtCore.so.4
#26 0xb7b7fde4 in ?? () from /usr/local/qt4/lib/libQtCore.so.4
#27 0xb7b7582f in QObject::event(QEvent*) () from /usr/local/qt4/lib/libQtCore.so.4
#28 0xb69e7983 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/local/qt4/lib/libQtGui.so.4
#29 0xb69ef55c in QApplication::notify(QObject*, QEvent*) () from /usr/local/qt4/lib/libQtGui.so.4
#30 0xb76872ef in KApplication::notify (this=0xbfffe834, receiver=0x825c5b0, event=0xbfffe58c) at /home/m/kde4/kdelibs/kdeui/kernel/kapplication.cpp:307
#31 0xb7b66442 in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/local/qt4/lib/libQtCore.so.4
#32 0xb7b9246e in ?? () from /usr/local/qt4/lib/libQtCore.so.4
#33 0xb7b8ed78 in ?? () from /usr/local/qt4/lib/libQtCore.so.4
#34 0xb5fb39c8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#35 0xb5fb7083 in ?? () from /usr/lib/libglib-2.0.so.0
#36 0xb5fb7241 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#37 0xb7b8ece4 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/local/qt4/lib/libQtCore.so.4
#38 0xb6a7d32b in ?? () from /usr/local/qt4/lib/libQtGui.so.4
#39 0xb7b64d00 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/local/qt4/lib/libQtCore.so.4
#40 0xb7b650da in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/local/qt4/lib/libQtCore.so.4
#41 0xb7b67225 in QCoreApplication::exec() () from /usr/local/qt4/lib/libQtCore.so.4
#42 0xb69e7833 in QApplication::exec() () from /usr/local/qt4/lib/libQtGui.so.4
#43 0x08082595 in main (argc=1, argv=0xbfffe994) at /home/m/kde4/kdegraphics/gwenview/app/main.cpp:95



(gdb) f 6
#6  0xb7f15284 in Gwenview::PlaceTreeModelPrivate::nodeForIndex (this=0x8284ce0, index=@0xbfffdcb4) at /home/m/kde4/kdegraphics/gwenview/lib/placetreemodel.cpp:85
85                      Q_ASSERT(index.isValid());


(gdb) print index
$1 = (const QModelIndex &) @0xbfffdcb4: {
  r = -1,
  c = -1,
  p = 0x0,
  m = 0x0
}
Comment 1 Dario Andres 2009-05-11 23:44:21 UTC
Marking as duplicate of bug 191922
Thanks

*** This bug has been marked as a duplicate of bug 191922 ***