Bug 95562 - kdevelop crashes on start-up
Summary: kdevelop crashes on start-up
Status: RESOLVED NOT A BUG
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: 3.1.2
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-21 05:46 UTC by Tro
Modified: 2005-03-11 00:48 UTC (History)
0 users

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 Tro 2004-12-21 05:46:02 UTC
Version:           3.1.2 (using KDE KDE 3.3.2)
Installed from:    Gentoo Packages
Compiler:          gcc 3.4.3 
OS:                Linux

KDevelop crashes towards the end of the start-up process. The backtrace was useless. Here's the output from stderr:

kdevelop: === KMdiMainFrm() ===
kdevelop: : KDockWidget::setHeader
kdevelop: KDockWidgetHeader::showUndockButton(true)
kdevelop: KDockWidgetHeader::showUndockButton(false)
kmdi: switch(mdiMode): IDEAlMode
kmdi: SWITCHING TO IDEAL
kdevelop: : KDockWidget::setHeader
kdevelop: KDockWidgetHeader::showUndockButton(true)
kdevelop: : KDockWidget::setHeader
kdevelop: KDockWidgetHeader::showUndockButton(true)
kdevelop: : KDockWidget::setHeader
kdevelop: KDockWidgetHeader::showUndockButton(true)
kdevelop: : KDockWidget::setHeader
kdevelop: KDockWidgetHeader::showUndockButton(true)
kmdi: No main dock widget found
kmdi: No main dock widget found
kmdi: No main dock widget found
kmdi: No main dock widget found
kdevelop: KDockWidgetHeader::showUndockButton(false)
kmdi: KMdiDockContainer created
kdevelop: KDockWidgetHeader::showUndockButton(false)
kdevelop: : KDockWidget::setHeader
kdevelop: KDockWidgetHeader::showUndockButton(true)
kdevelop: KDockContainer::activateOverlapMode: recalculating sizes
kmdi: KMdiDockContainer created
kdevelop: KDockWidgetHeader::showUndockButton(false)
kdevelop: : KDockWidget::setHeader
kdevelop: KDockWidgetHeader::showUndockButton(true)
kdevelop: KDockContainer::activateOverlapMode: recalculating sizes
kmdi: KMdiDockContainer created
kdevelop: KDockWidgetHeader::showUndockButton(false)
kdevelop: : KDockWidget::setHeader
kdevelop: KDockWidgetHeader::showUndockButton(true)
kdevelop: KDockContainer::activateOverlapMode: recalculating sizes
kmdi: KMdiDockContainer created
kdevelop: KDockWidgetHeader::showUndockButton(false)
kdevelop: : KDockWidget::setHeader
kdevelop: KDockWidgetHeader::showUndockButton(true)
kdevelop: KDockContainer::activateOverlapMode: recalculating sizes
kmdi: ************************* hideIfNeeded *************************
kmdi: ************************* hideIfNeeded *************************
kmdi: ************************* hideIfNeeded *************************
kmdi: ************************* hideIfNeeded *************************
kmdi: KMDIGUIClient::mdiModeHasBennChangeTo
kdevelop: KMultiTabBarInternal::resizeEvent
kdevelop: needed lines:1
kdevelop: KMultiTabBarInternal::resizeEvent
kdevelop: needed lines:1
kdevelop: KMultiTabBarInternal::resizeEvent
kdevelop: needed lines:1
kdevelop: KMultiTabBarInternal::resizeEvent
kdevelop: needed lines:1
kparts: DockMainWindow::createGUI for 0L
kmdi: KMDIGUIClient::setupActions: plugActionList
kio (KTrader): KServiceTypeProfile::offers( KDevelop/Plugin, )
kio (KSycoca): Trying to open ksycoca from /var/tmp/kdecache-tro/ksycoca
kio (KTrader): Returning 72 offers
kio (KTrader): KServiceTypeProfile::offers( KDevelop/MakeFrontend, )
kio (KTrader): Returning 1 offers
kdevelop: : KDockWidget::setHeader
kdevelop: KDockWidgetHeader::showUndockButton(true)
kmdi: *****void KMDIGUIClient::addToolView(KMdiToolViewAccessor* mtva)*****
kmdi: KMDIGUIClient::setupActions: plugActionList
kdevelop: : KDockWidget::setHeader
kdevelop: KDockWidgetHeader::showUndockButton(true)
kdevelop: KMultiTabBarInternal::resizeEvent
kdevelop: needed lines:1
kmdi: *** KDockWidgetHeader has been found
kmdi: NAMENAMENAMENAME:===========================:Messages
kmdi: KMdiDockContainer::insertWidget()
kmdi: ***********************************Setting tooltip for a widget: Compiler output messages
kio (KTrader): KServiceTypeProfile::offers( KDevelop/AppFrontend, )
kio (KTrader): Returning 1 offers
kdevelop: : KDockWidget::setHeader
kdevelop: KDockWidgetHeader::showUndockButton(true)
kmdi: *****void KMDIGUIClient::addToolView(KMdiToolViewAccessor* mtva)*****
kmdi: KMDIGUIClient::setupActions: plugActionList
kmdi: *** KDockWidgetHeader has been found
kmdi: NAMENAMENAMENAME:===========================:Application
kmdi: KMdiDockContainer::insertWidget()
kmdi: ***********************************Setting tooltip for a widget: Output of the executed user program
kio (KTrader): KServiceTypeProfile::offers( KDevelop/DiffFrontend, )
kio (KTrader): Returning 1 offers
kio (KTrader): KServiceTypeProfile::offers( text/x-diff, )
kio (KTrader): Returning 20 offers
kdevelop: : KDockWidget::setHeader
kdevelop: KDockWidgetHeader::showUndockButton(true)
kmdi: *****void KMDIGUIClient::addToolView(KMdiToolViewAccessor* mtva)*****
kmdi: KMDIGUIClient::setupActions: plugActionList
kmdi: *** KDockWidgetHeader has been found
kmdi: NAMENAMENAMENAME:===========================:Diff
kmdi: KMdiDockContainer::insertWidget()
kmdi: ***********************************Setting tooltip for a widget: Output of the diff command
kio (KTrader): KServiceTypeProfile::offers( KDevelop/SourceFormatter, )
kio (KTrader): Returning 1 offers
kio (KTrader): KServiceTypeProfile::offers( KDevelop/CreateFile, )
kio (KTrader): Returning 1 offers
kdevelop: : KDockWidget::setHeader
kdevelop: KDockWidgetHeader::showUndockButton(true)
kmdi: *****void KMDIGUIClient::addToolView(KMdiToolViewAccessor* mtva)*****
kmdi: KMDIGUIClient::setupActions: plugActionList
kdevelop: : KDockWidget::setHeader
kdevelop: KDockWidgetHeader::showUndockButton(true)
kdevelop: KMultiTabBarInternal::resizeEvent
kdevelop: needed lines:1
kmdi: *** KDockWidgetHeader has been found
kmdi: NAMENAMENAMENAME:===========================:New File
kmdi: KMdiDockContainer::insertWidget()
kmdi: ***********************************Setting tooltip for a widget: File creation
kio (KTrader): KServiceTypeProfile::offers( KDevelop/Plugin, )
kio (KTrader): Returning 72 offers
kio (KTrader): KServiceTypeProfile::offers( KDevelop/Plugin, )
kio (KTrader): Returning 72 offers
kdevelop (python scripting): Init kdevelopc
kdevelop (python scripting): Init pydcopc
kdevelop (python scripting): import kdevelop
kdevelop (python scripting): from init import *
kdevelop (python scripting): New dom document: <!DOCTYPE kpartgui SYSTEM "kpartgui.dtd">
<kpartgui version="1" name="editorpart" >
 <MenuBar>
  <Menu name="tools" >
   <Action name="toolsPython action 1" />
  </Menu>
 </MenuBar>
</kpartgui>
kdevelop (python scripting):
kdevelop (python scripting): New dom document: <!DOCTYPE kpartgui SYSTEM "kpartgui.dtd">
<kpartgui version="1" name="editorpart" >
 <MenuBar>
  <Menu name="tools" >
   <Action name="toolsPython action 1" />
   <Action name="toolsPython action 2" />
  </Menu>
 </MenuBar>
</kpartgui>
kdevelop (python scripting):
kdevelop (python scripting): New dom document: <!DOCTYPE kpartgui SYSTEM "kpartgui.dtd">
<kpartgui version="1" name="editorpart" >
 <MenuBar>
  <Menu name="tools" >
   <Action name="toolsPython action 1" />
   <Action name="toolsPython action 2" />
   <Action name="toolsPython action 3" />
  </Menu>
 </MenuBar>
</kpartgui>
kdevelop (python scripting):
Connecting kdevelop-14673/KDevCore/projectClosed()
PyDCOP connect kdevelop-14673/KDevCore/projectClosed()/f1() has result true
Connecting kdevelop-14673/KDevCore/projectOpened()
PyDCOP connect kdevelop-14673/KDevCore/projectOpened()/f2() has result true
kdevelop: : KDockWidget::setHeader
kdevelop: KDockWidgetHeader::showUndockButton(true)
kmdi: *****void KMDIGUIClient::addToolView(KMdiToolViewAccessor* mtva)*****
kmdi: KMDIGUIClient::setupActions: plugActionList
kmdi: *** KDockWidgetHeader has been found
kmdi: NAMENAMENAMENAME:===========================:Valgrind
kmdi: KMdiDockContainer::insertWidget()
kmdi: ***********************************Setting tooltip for a widget: Valgrind memory leak check
kdevelop (abbrev): =========> sourceFiles: /usr/share/apps/kdevabbrev/sources/cpp_keywords /usr/share/apps/kdevabbrev/sources/qt_classes
kdevelop (abbrev): ===> load file: /usr/share/apps/kdevabbrev/sources/cpp_keywords
kdevelop (abbrev): ===> load file: /usr/share/apps/kdevabbrev/sources/qt_classes
kdevelop (abbrev): fn = /usr/share/apps/kdevabbrev/templates/phptemplates
kdevelop (abbrev): creating template for suffixes html and name tab
kdevelop (abbrev): fn = /usr/share/apps/kdevabbrev/templates/pascaltemplates
kdevelop (abbrev): creating template for suffixes p,pp,pas,dpr and name ife
kdevelop (abbrev): creating template for suffixes p,pp,pas,dpr and name whileb
kdevelop (abbrev): creating template for suffixes p,pp,pas,dpr and name pr
kdevelop (abbrev): creating template for suffixes p,pp,pas,dpr and name pu
kdevelop (abbrev): creating template for suffixes p,pp,pas,dpr and name caseb
kdevelop (abbrev): creating template for suffixes p,pp,pas,dpr and name pro
kdevelop (abbrev): creating template for suffixes p,pp,pas,dpr and name forb
kdevelop (abbrev): creating template for suffixes p,pp,pas,dpr and name classd
kdevelop (abbrev): creating template for suffixes p,pp,pas,dpr and name recordd
kdevelop (abbrev): creating template for suffixes p,pp,pas,dpr and name ifb
kdevelop (abbrev): fn = /usr/share/apps/kdevabbrev/templates/cpptemplates
kdevelop (abbrev): creating template for suffixes h,H,hh,hxx,hpp,inl,tlh,c,C,cc,cpp,c++,cxx,m,mm,M and name ife
kdevelop (abbrev): creating template for suffixes h,H,hh,hxx,hpp,inl,tlh,c,C,cc,cpp,c++,cxx,m,mm,M and name pr
kdevelop (abbrev): creating template for suffixes h,H,hh,hxx,hpp,inl,tlh,c,C,cc,cpp,c++,cxx,m,mm,M and name whileb
kdevelop (abbrev): creating template for suffixes h,H,hh,hxx,hpp,inl,tlh,c,C,cc,cpp,c++,cxx,m,mm,M and name pu
kdevelop (abbrev): creating template for suffixes h,H,hh,hxx,hpp,inl,tlh,c,C,cc,cpp,c++,cxx,m,mm,M and name switchb
kdevelop (abbrev): creating template for suffixes h,H,hh,hxx,hpp,inl,tlh,c,C,cc,cpp,c++,cxx,m,mm,M and name pro
kdevelop (abbrev): creating template for suffixes h,H,hh,hxx,hpp,inl,tlh,c,C,cc,cpp,c++,cxx,m,mm,M and name forb
kdevelop (abbrev): creating template for suffixes h,H,hh,hxx,hpp,inl,tlh,c,C,cc,cpp,c++,cxx,m,mm,M and name classd
kdevelop (abbrev): creating template for suffixes h,H,hh,hxx,hpp,inl,tlh,c,C,cc,cpp,c++,cxx,m,mm,M and name structd
kdevelop (abbrev): creating template for suffixes h,H,hh,hxx,hpp,inl,tlh,c,C,cc,cpp,c++,cxx,m,mm,M and name ifb
kdevelop (abbrev): AbbrevPart::slotActivePartChanged()
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = kdevelop path = <unknown> pid = 14673
Comment 1 Jens Dagerbo 2004-12-21 23:16:18 UTC
The stderr trace, though verbose, is quite useless to indicate the location of the crash. Please rebuild with debug info and attempt to get a proper backtrace. Reopen if you manage it.
Comment 2 Tro 2004-12-22 23:07:22 UTC
I have all kde libraries and kdevelop compiled with debug support. I'm not sure what else I could do.

Any suggestions on how to get more information about this crash?
Comment 3 Jens Dagerbo 2004-12-22 23:30:27 UTC
Try running kdevelop through gdb. When the crash happens, type 'bt' and you should get the backtrace.
Comment 4 Tro 2004-12-22 23:57:08 UTC
Tried that. From what I can tell this will be just as useless, because it's just 1000+ lines of hex addresses. But here it is anyway: http://www.nomorepasting.com/paste.php?pasteID=27493

This is the last bit from kdevelop before I asked for the backtrace:

kdevelop: : KDockWidget::setHeader
kdevelop: KDockWidgetHeader::showUndockButton(true)
kmdi: *****void KMDIGUIClient::addToolView(KMdiToolViewAccessor* mtva)*****
kmdi: KMDIGUIClient::setupActions: plugActionList
kmdi: *** KDockWidgetHeader has been found
kmdi: NAMENAMENAMENAME:===========================:Valgrind
kmdi: KMdiDockContainer::insertWidget()
kmdi: ***********************************Setting tooltip for a widget: Valgrind memory leak check

Program received signal SIGSEGV, Segmentation fault.
0xb6dddb5e in ?? ()

If it helps any, when SIGSEGV was sent, KDevelop was "Loading: Tools Menu Addition".
Comment 5 Jens Dagerbo 2004-12-23 01:18:56 UTC
Wow, that's the emptiest backtrace I've ever seen. :)

The bt is of course useless. There is still nothing here for us to use.

Are you sure you have debug info compiled in? What's the size of the /usr/bin/kdevelop binary?

No wild optimization flags? 

Comment 6 Tro 2004-12-23 01:27:16 UTC
1.2M    kdevelop

CFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer -fstack-protector"

I needed -fstack-protector to compile aRts earlier. But I just removed it and recompiled. It didn't make a difference.
Comment 7 Tro 2005-01-22 09:43:41 UTC
I managed to sqeeze out a (hopefully) useful line from the backtrace by downgrading to gcc 3.3.5 and recompiling kdevelop.

http://www.nomorepasting.com/paste.php?pasteID=29853

I'm not sure if this will make any difference, so I'm not reopening the bug. It's just FYI. I am now in the process of recompiling my entire system with gcc 3.3.5 to see if it helps me get more info. Hopefully, I'll have something useful to report next time. :)
Comment 8 Jens Dagerbo 2005-01-22 09:57:23 UTC
Your optimization flags don't look too crazy to me, but you probably won't get a good backtrace until you remove them and use -g3 instead.
Comment 9 Tro 2005-01-23 05:27:25 UTC
Just did that. No gain. :(
Comment 10 Pete Gross 2005-03-11 00:48:28 UTC
I am noticing this happening too.  I installed form the gentoo portage the other day and had no troubles using kdevelop.  My flags aren't to crazy either, just the normal stuff for a p4 (CFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -pipe -msse2"). I also am using gcc 3.3.5.