reproducible crash

Kishore kitts.mailinglists at gmail.com
Sun Jul 5 08:47:09 UTC 2009


On Sunday 05 Jul 2009 1:54:09 pm Kishore wrote:
> On Sunday 05 Jul 2009 2:26:55 am Andreas Pakulat wrote:
> > On 04.07.09 22:20:56, Esben Mose Hansen wrote:
> > > On Saturday 04 July 2009 18:32:12 Andreas Pakulat wrote:
> > > > Hmm, I can't reproduce this here. The backtrace indicates a problem
> > > > deep inside Qt and is definetly missing a couple of frames. If this
> > > > is reproduceable, please run kdevelop inside gdb and produce a new
> > > > backtrace, also install any debug packages available for Qt and
> > > > kdelibs before doing so.
> > >
> > > I seem to recall that KUrl had some threading issues in some versions.
> > > Could that be the case here? Or is my dementia acting up again? :o)
> >
> > Even if that were the case, the relevant code only runs in a single
> > thread here. And I'm pretty sure that KUrl in KDE4 has no multi-threading
> > issues currently else we'd have quite a bit more crashes ;)
>
> I am currently downloading the 100MB worth of debug packages for KDE and
> Qt. Will hopefully know better when that is done.

I run kdevelop through gdb and here is what i got...

(gdb) bt                                                                 
#0  QUrl::scheme (this=0x4) at io/qurl.cpp:4182                          
#1  0x00e3107c in KUrl::hasSubUrl (this=0x4)                             
    at ../../kdecore/io/kurl.cpp:934                                     
#2  0x00e31841 in KUrl::fileName (this=0x4, options=@0xbfffa5f4)         
    at ../../kdecore/io/kurl.cpp:1219                                    
#3  0x06db7bc3 in CMakeManager::addFileToTarget (this=0x83aff20, it=     
    0x9929bd8, target=0x854eae8)                                         
    at 
/home/kishore/devel/kde/src/kdevelop/projectmanagers/cmake/cmakemanager.cpp:1159                                                           
#4  0x02b0ce5e in SimpleRefactoring::createNewClass (this=0x2b35110,     
    item=0x857f150)                                                      
    at 
/home/kishore/devel/kde/src/kdevelop/languages/cpp/codegen/simplerefactoring.cpp:236                                                       
#5  0x02b12c6f in SimpleRefactoring::executeNewClassAction (this=        
    0x2b35110)                                                           
    at 
/home/kishore/devel/kde/src/kdevelop/languages/cpp/codegen/simplerefactoring.cpp:145                                                       
#6  0x02a9aa43 in SimpleRefactoring::qt_metacall (this=0x2b35110, _c=    
    QMetaObject::InvokeMetaMethod, _id=5, _a=0xbfffa9a8)                 
    at 
/home/kishore/devel/kde/build/kdevelop/languages/cpp/moc_simplerefactoring.cpp:71                                                          
#7  0x02da1343 in QMetaObject::activate (sender=0x8df2580,               
    from_signal_index=5, to_signal_index=6, argv=0xbfffa9a8)             
    at kernel/qobject.cpp:3113                                           
#8  0x02da17b8 in QMetaObject::activate (sender=0x8df2580, m=0x4cbbe48,  
    from_local_signal_index=1, to_local_signal_index=2, argv=0xbfffa9a8) 
    at kernel/qobject.cpp:3207                                           
#9  0x04454691 in QAction::triggered (this=0x8df2580, _t1=false)         
    at .moc/release-shared/moc_qaction.cpp:236                           
#10 0x04455c12 in QAction::activate (this=0x8df2580, event=              
    QAction::Trigger) at kernel/qaction.cpp:1160                         
---Type <return> to continue, or q <return> to quit---                   
#11 0x048a311c in QMenuPrivate::activateCausedStack (this=0x939bc80,     
    causedStack=@0xbfffaabc, action=0x8df2580, action_e=                 
    QAction::Trigger, self=true) at widgets/qmenu.cpp:967                
#12 0x048a97cb in QMenuPrivate::activateAction (this=0x939bc80, action=  
    0x8df2580, action_e=QAction::Trigger, self=<value optimized out>)    
    at widgets/qmenu.cpp:1060                                            
#13 0x048aa387 in QMenu::mouseReleaseEvent (this=0xbfffcad0, e=          
    0xbfffb100) at widgets/qmenu.cpp:2254                                
#14 0x02487ca5 in KMenu::mouseReleaseEvent (this=0xbfffcad0, e=          
    0xbfffb100) at ../../kdeui/widgets/kmenu.cpp:456                     
#15 0x044afc72 in QWidget::event (this=0xbfffcad0, event=0xbfffb100)     
    at kernel/qwidget.cpp:7549                                           
#16 0x048ac5c4 in QMenu::event (this=0xbfffcad0, e=0xbfffb100)           
    at widgets/qmenu.cpp:2353                                            
#17 0x0445ac34 in QApplicationPrivate::notify_helper (this=0x8124200,    
    receiver=0xbfffcad0, e=0xbfffb100) at kernel/qapplication.cpp:4056   
#18 0x04462d13 in QApplication::notify (this=0xbfffeed8, receiver=       
    0xbfffcad0, e=0xbfffb100) at kernel/qapplication.cpp:3758            
#19 0x0239d9ea in KApplication::notify (this=0xbfffeed8, receiver=       
    0xbfffcad0, event=0xbfffb100)                                        
    at ../../kdeui/kernel/kapplication.cpp:302                           
#20 0x02d8b7ab in QCoreApplication::notifyInternal (this=0xbfffeed8,     
    receiver=0xbfffcad0, event=0xbfffb100)                               
    at kernel/qcoreapplication.cpp:610                                   
#21 0x04461c4e in QApplicationPrivate::sendMouseEvent (receiver=         
    0xbfffcad0, event=0xbfffb100, alienWidget=0x0, nativeWidget=         
    0xbfffcad0, buttonDown=0x4cd4aa0, lastMouseReceiver=@0x4cd4aa4)      
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216                                                                       
#22 0x044d0887 in QETWidget::translateMouseEvent (this=0xbfffcad0,       
    event=0xbfffc74c) at kernel/qapplication_x11.cpp:4343                
---Type <return> to continue, or q <return> to quit---                   
#23 0x044cf84b in QApplication::x11ProcessEvent (this=0xbfffeed8, event= 
    0xbfffc74c) at kernel/qapplication_x11.cpp:3428                      
#24 0x044fc0c2 in x11EventSourceDispatch (s=0x8127400, callback=0,       
    user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146            
#25 0x0183bb18 in g_main_context_dispatch ()                             
   from /usr/lib/libglib-2.0.so.0                                        
#26 0x0183f0b0 in ?? () from /usr/lib/libglib-2.0.so.0                   
#27 0x0183f1e3 in g_main_context_iteration ()                            
   from /usr/lib/libglib-2.0.so.0                                        
#28 0x02db610c in QEventDispatcherGlib::processEvents (this=0x80578b0,   
    flags={i = 36}) at kernel/qeventdispatcher_glib.cpp:327              
#29 0x044fb7a5 in QGuiEventDispatcherGlib::processEvents (this=          
    0x80578b0, flags={i = 36})                                           
    at kernel/qguieventdispatcher_glib.cpp:202                           
#30 0x02d89d59 in QEventLoop::processEvents (this=0xbfffca40, flags=DWARF-2 
expression error: DW_OP_reg operations must be used either alone or in 
conjuction with DW_OP_piece.                                            
)                                                                        
    at kernel/qeventloop.cpp:149                                         
#31 0x02d8a1aa in QEventLoop::exec (this=0xbfffca40, flags={i = 0})      
    at kernel/qeventloop.cpp:201                                         
#32 0x048ac42e in QMenu::exec (this=0xbfffcad0, p=@0xbfffcb24, action=   
    0x0) at widgets/qmenu.cpp:1993                                       
#33 0x02698ac0 in ProjectTreeView::popupContextMenu (this=0x8a20d20,     
    pos=@0xbfffd4e8)                                                     
    at 
/home/kishore/devel/kde/src/kdevplatform/plugins/projectmanagerview/projecttreeview.cpp:227                                                
#34 0x02698e3d in ProjectTreeView::qt_metacall (this=0x8a20d20, _c=      
    QMetaObject::InvokeMetaMethod, _id=97, _a=0xbfffcc98)                
    at 
/home/kishore/devel/kde/build/kdevplatform/plugins/projectmanagerview/projecttreeview.moc:75                                               
#35 0x02da1343 in QMetaObject::activate (sender=0x8a20d20,               
    from_signal_index=4, to_signal_index=4, argv=0xbfffcc98)             
    at kernel/qobject.cpp:3113                                           
---Type <return> to continue, or q <return> to quit---                   
#36 0x02da1fa2 in QMetaObject::activate (sender=0x8a20d20, m=0x4cbcd48,  
    local_signal_index=0, argv=0xbfffcc98) at kernel/qobject.cpp:3187    
#37 0x044a2773 in QWidget::customContextMenuRequested (this=0x8a20d20,   
    _t1=@0xbfffd4e8) at .moc/release-shared/moc_qwidget.cpp:350          
#38 0x044b02e0 in QWidget::event (this=0x8a20d20, event=0xbfffd4d8)      
    at kernel/qwidget.cpp:7711                                           
#39 0x0485edc3 in QFrame::event (this=0x8a20d20, e=0xbfffd4d8)           
    at widgets/qframe.cpp:559                                            
#40 0x048fdc14 in QAbstractScrollArea::viewportEvent (this=0xbfffa5f0,   
    e=0xbfffa440) at widgets/qabstractscrollarea.cpp:962                 
#41 0x049b17e7 in QAbstractItemView::viewportEvent (this=0x8a20d20,      
    event=0xbfffd4d8) at itemviews/qabstractitemview.cpp:1476            
#42 0x049ecb74 in QTreeView::viewportEvent (this=0x8a20d20, event=       
    0xbfffd4d8) at itemviews/qtreeview.cpp:1266                          
#43 0x04900215 in QAbstractScrollAreaFilter::eventFilter (this=          
    0x8b06738, o=0x8d70df0, e=0xbfffd4d8)                                
    at widgets/qabstractscrollarea_p.h:100                               
#44 0x02d8a91a in QCoreApplicationPrivate::sendThroughObjectEventFilters 
    (this=0x8124200, receiver=0x8d70df0, event=0xbfffd4d8)               
    at kernel/qcoreapplication.cpp:726                                   
#45 0x0445ac0c in QApplicationPrivate::notify_helper (this=0x8124200,    
    receiver=0x8d70df0, e=0xbfffd4d8) at kernel/qapplication.cpp:4052    
#46 0x044627c3 in QApplication::notify (this=0xbfffeed8, receiver=       
    0x8d70df0, e=0xbfffd4d8) at kernel/qapplication.cpp:3845             
#47 0x0239d9ea in KApplication::notify (this=0xbfffeed8, receiver=       
    0x8d70df0, event=0xbfffd4d8)                                         
    at ../../kdeui/kernel/kapplication.cpp:302                           
#48 0x02d8b7ab in QCoreApplication::notifyInternal (this=0xbfffeed8,     
    receiver=0x8d70df0, event=0xbfffd4d8)                                
    at kernel/qcoreapplication.cpp:610                                   
#49 0x044d626e in QCoreApplication::sendSpontaneousEvent (receiver=      
---Type <return> to continue, or q <return> to quit---                   
    0x8d70df0, event=0xbfffa501)                                         
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#50 0x044d0a64 in QETWidget::translateMouseEvent (this=0x81ee330, event=
    0xbfffeafc) at kernel/qapplication_x11.cpp:4415
#51 0x044cf84b in QApplication::x11ProcessEvent (this=0xbfffeed8, event=
    0xbfffeafc) at kernel/qapplication_x11.cpp:3428
#52 0x044fc0c2 in x11EventSourceDispatch (s=0x8127400, callback=0,
    user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#53 0x0183bb18 in g_main_context_dispatch ()
   from /usr/lib/libglib-2.0.so.0
#54 0x0183f0b0 in ?? () from /usr/lib/libglib-2.0.so.0
#55 0x0183f1e3 in g_main_context_iteration ()
   from /usr/lib/libglib-2.0.so.0
#56 0x02db610c in QEventDispatcherGlib::processEvents (this=0x80578b0,
    flags={i = 36}) at kernel/qeventdispatcher_glib.cpp:327
#57 0x044fb7a5 in QGuiEventDispatcherGlib::processEvents (this=
    0x80578b0, flags={i = 36})
    at kernel/qguieventdispatcher_glib.cpp:202
#58 0x02d89d59 in QEventLoop::processEvents (this=0xbfffedf4, flags=DWARF-2 
expression error: DW_OP_reg operations must be used either alone or in 
conjuction with DW_OP_piece.
)
    at kernel/qeventloop.cpp:149
#59 0x02d8a1aa in QEventLoop::exec (this=0xbfffedf4, flags={i = 0})
    at kernel/qeventloop.cpp:201
#60 0x02d8c61f in QCoreApplication::exec ()
    at kernel/qcoreapplication.cpp:888
#61 0x0445aab7 in QApplication::exec () at kernel/qapplication.cpp:3525
#62 0x0804f3f3 in main (argc=1, argv=0xbffff3c4)
    at /home/kishore/devel/kde/src/kdevelop/app/main.cpp:172

HTH.
-- 
Cheers!
Kishore




More information about the KDevelop-devel mailing list