some gideon alpha 2 problems

Andreas Wuest AndreasWuest at gmx.de
Sat Nov 23 13:42:03 UTC 2002


Hi,

the patch did not really work. gideon still crashes. On the terminal
i get the following messages which may also have something to do with
the segfault, after that the backtrace from the patch version : 

/usr/lib/qt3/plugins/imageformats/libqjpeg.so: Feature JPEG already
defined in /
usr/lib/qt-3.0.4/plugins/imageformats/libqjpeg.so!
/usr/lib/qt3/plugins/imageformats/libqmng.so: Feature MNG already
defined in /us
r/lib/qt-3.0.4/plugins/imageformats/libqmng.so!
QObject::connect: No such slot DocTreeViewPart::slotDocumentationIndex()
QObject::connect:  (sender name:   'help_lookupindex')
QObject::connect:  (receiver name: 'unnamed')
QObject::connect: No such signal QComboBox::returnPressed()
QObject::connect:  (sender name:   'unnamed')
QObject::connect:  (receiver name: 'unnamed')
QObject::connect: No such signal QComboBox::returnPressed()
QObject::connect:  (sender name:   'unnamed')
QObject::connect:  (receiver name: 'unnamed')
QObject::connect: No such slot DebuggerPart::slotDisableBreakpoint()
QObject::connect:  (sender name:   'debug_disable_breakpoint')
QObject::connect:  (receiver name: 'unnamed')
QObject::connect: No such slot
KFileTreeView::slotMouseButtonPressed(int,QListVi
ewItem*,const QPoint&,int)
QObject::connect:  (sender name:   'unnamed')
QObject::connect:  (receiver name: 'unnamed')
KCrash: crashing.... crashRecursionCounter = 2
KCrash: Application Name = gideon path = <unknown> pid = 8597
/usr/lib/qt3/plugins/imageformats/libqjpeg.so: Feature JPEG already
defined in /
usr/lib/qt-3.0.4/plugins/imageformats/libqjpeg.so!
/usr/lib/qt3/plugins/imageformats/libqmng.so: Feature MNG already
defined in /us
r/lib/qt-3.0.4/plugins/imageformats/libqmng.so!


and the backtrace :

[New Thread 1024 (LWP 14279)]
0x4133c079 in wait4 () from /lib/libc.so.6
#0  0x4133c079 in wait4 () from /lib/libc.so.6
#1  0x413b6b98 in __DTOR_END__ () from /lib/libc.so.6
#2  0x411d1072 in waitpid () from /lib/libpthread.so.0
#3  0x409be16e in KCrash::defaultCrashHandler ()
   from /opt/kde3/lib/libkdecore.so.4
#4  0x411cea74 in pthread_sighandler () from /lib/libpthread.so.0
#5  <signal handler called>
#6  0x40d6b83a in QListViewItem::takeItem ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#7  0x40d7939e in QListView::takeItem () from
/usr/lib/qt3/lib/libqt-mt.so.3
#8  0x41aa20d7 in DocTreeViewWidget::projectChanged ()
   from /opt/kde3/lib/kde3/libkdevdoctreeview.so
#9  0x41a96060 in DocTreeViewPart::projectOpened ()
   from /opt/kde3/lib/kde3/libkdevdoctreeview.so
#10 0x41a9747b in DocTreeViewPart::qt_invoke ()
   from /opt/kde3/lib/kde3/libkdevdoctreeview.so
#11 0x40ca4559 in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#12 0x40ca4443 in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#13 0x0807e4ea in KDevCore::projectOpened ()
#14 0x0806b84a in ProjectManager::loadProject ()
#15 0x0806b176 in ProjectManager::slotOpenProject ()
#16 0x0806e6c9 in ProjectManager::qt_invoke ()
#17 0x40ca44f7 in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#18 0x40ca4443 in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#19 0x40778b80 in KAction::activated () from /opt/kde3/lib/libkdeui.so.4
#20 0x4076b8f2 in KAction::slotActivated () from
/opt/kde3/lib/libkdeui.so.4
#21 0x40778d82 in KAction::qt_invoke () from /opt/kde3/lib/libkdeui.so.4
#22 0x40ca44f7 in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#23 0x40f5146a in QSignal::signal () from /usr/lib/qt3/lib/libqt-mt.so.3
#24 0x40cb8d74 in QSignal::activate () from
/usr/lib/qt3/lib/libqt-mt.so.3
#25 0x40d8ce92 in QPopupMenu::mouseReleaseEvent ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#26 0x40cd0a21 in QWidget::event () from /usr/lib/qt3/lib/libqt-mt.so.3
#27 0x40c4c706 in QApplication::internalNotify ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#28 0x40c4c066 in QApplication::notify () from
/usr/lib/qt3/lib/libqt-mt.so.3
#29 0x40936e25 in KApplication::notify () from
/opt/kde3/lib/libkdecore.so.4
#30 0x40bfcb0d in QETWidget::translateMouseEvent ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#31 0x40bfa418 in QApplication::x11ProcessEvent ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#32 0x40bf906f in QApplication::processNextEvent ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#33 0x40c4db95 in QApplication::enter_loop ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#34 0x40bf8fd6 in QApplication::exec () from
/usr/lib/qt3/lib/libqt-mt.so.3
#35 0x080605bb in main ()
#36 0x412b19ed in __libc_start_main () from /lib/libc.so.6



On Sat, 2002-11-23 at 14:10, Sebastian Kratzert wrote:
> Am Saturday 23 November 2002 10:29 schrieb Andreas Wuest:
> 
> [snip]
> 
> > When i now try to load or create a project gideon always segfaults
> >
> > here's the backtrace :
> >
> > [New Thread 1024 (LWP 1244)]
> > 0x4133c079 in wait4 () from /lib/libc.so.6
> > #0  0x4133c079 in wait4 () from /lib/libc.so.6
> > #1  0x413b6b98 in __DTOR_END__ () from /lib/libc.so.6
> > #2  0x411d1072 in waitpid () from /lib/libpthread.so.0
> > #3  0x409be16e in KCrash::defaultCrashHandler ()
> >    from /opt/kde3/lib/libkdecore.so.4
> > #4  0x411cea74 in pthread_sighandler () from /lib/libpthread.so.0
> > #5  <signal handler called>
> > #6  0x40d6b83a in QListViewItem::takeItem ()
> >    from /usr/lib/qt3/lib/libqt-mt.so.3
> > #7  0x40d7939e in QListView::takeItem () from
> > /usr/lib/qt3/lib/libqt-mt.so.3
> > #8  0x41aa1093 in DocTreeViewWidget::projectChanged ()
> 
> [snip]
> 
> I can not reproduce this crash, but i see whats going wrong here.
> Can you test whether this patch solves the problem?
> 
> 
> -- 
> Best regards,
> 
> Sebastian Kratzert
> 
> 
> 
> 
> ----
> 

> Index: doctreeviewwidget.cpp
> ===================================================================
> RCS file: /home/kde/kdevelop/parts/doctreeview/doctreeviewwidget.cpp,v
> retrieving revision 1.36
> diff -u -3 -p -r1.36 doctreeviewwidget.cpp
> --- doctreeviewwidget.cpp	2002/11/08 16:18:26	1.36
> +++ doctreeviewwidget.cpp	2002/11/23 12:08:38
> @@ -913,6 +913,10 @@ DocTreeViewWidget::DocTreeViewWidget(Doc
>              }
>          }
>      }
> +	else
> +	{
> +		folder_qt = 0L;
> +	}
>         
>  	docConfigAction = new KAction(i18n("Customize..."), "configure", 0,
>  		this, SLOT(slotConfigure()), actions, "documentation options");
> @@ -1138,6 +1142,8 @@ void DocTreeViewWidget::refresh()
>      folder_project->refresh();
>      if( folder_kdelibs )    
>          folder_kdelibs->refresh();
> +    if( folder_qt )    
> +        folder_qt->refresh();
>  }
>  
>  
> @@ -1157,7 +1163,7 @@ void DocTreeViewWidget::projectChanged(K
>          docView->takeItem(it1.current());
>      
>      docView->takeItem(folder_doxygen);
> -    docView->takeItem(folder_qt);
> +    if(folder_qt) docView->takeItem(folder_qt);
>      if(folder_kdelibs) docView->takeItem(folder_kdelibs);
>  //    docView->takeItem(folder_kdevelop);
>  
> @@ -1193,7 +1199,7 @@ void DocTreeViewWidget::projectChanged(K
>          if (!ignoretocs.contains("kde"))
>              docView->insertItem(folder_kdelibs);
>  
> -    docView->insertItem(folder_qt);
> +    if(folder_qt) docView->insertItem(folder_qt);
>  
>      docView->triggerUpdate();
>  }
-- 
The difference between theory and practice, is that in theory, 
there is no difference between theory and practice





More information about the KDevelop-devel mailing list