Bug 95069

Summary: Kdevelop crashes when open previously imported qmake based c++ project
Product: [Applications] kdevelop Reporter: Ondrej Sokol <o.sokol>
Component: generalAssignee: kdevelop-bugs-null
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Mandrake RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Ondrej Sokol 2004-12-13 13:32:59 UTC
Version:           3.1.0, 3.1.1, 3.1.2 (using KDE KDE 3.2.3)
Installed from:    Mandrake RPMs

When I import an existing qmake based c++ project and after restart try it to open kdevelop crashes.
I've tried it with 3.1.1, 3.1.2 from Mandrake 10.1 resp.Mandrake Cooker RPMs.
My friend has KDE 3.2 BRANCH >= 20040204 and kdevelop 3.1.0 compiled from source and with the same project it works.
I've got the same version of kdevelop 3.1.0 compiled from source with debug info.
It looks like problem is in kde 3.2.3 libs:
backtrace:
#0  0x4141f4ba in QString::QString () from /usr/lib/qt3/lib/libqt-mt.so.3
#1  0x40cba2ec in KURL::prettyURL () from /usr/lib/libkdecore.so.4
#2  0x407909e0 in KIO::stat () from /usr/lib/libkio.so.4
#3  0x407935e7 in KIO::stat () from /usr/lib/libkio.so.4
#4  0x407f8316 in KIO::PreviewJob::determineNextFile () from /usr/lib/libkio.so.4
#5  0x408259f1 in KIO::PreviewJob::slotResult () from /usr/lib/libkio.so.4
#6  0x4081dbea in KIO::PreviewJob::qt_invoke () from /usr/lib/libkio.so.4
#7  0x4112d708 in QObject::activate_signal () from /usr/lib/qt3/lib/libqt-mt.so.3
#8  0x409388c8 in ?? () from /usr/lib/libkio.so.4
#9  0x00000010 in ?? ()


console output:
kdevelop: === KMdiMainFrm() ===
kdevelop: : KDockWidget::setHeader
kdevelop: KDockWidgetHeader::showUndockButton(true)
kdevelop: KDockWidgetHeader::showUndockButton(false)
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)
kdevelop: KDockWidgetHeader::showUndockButton(false)
kdevelop: KDockWidgetHeader::showUndockButton(false)
kdevelop: : KDockWidget::setHeader
kdevelop: KDockWidgetHeader::showUndockButton(true)
kdevelop: KDockContainer::activateOverlapMode: recalculating sizes
kdevelop: KDockWidgetHeader::showUndockButton(false)
kdevelop: : KDockWidget::setHeader
kdevelop: KDockWidgetHeader::showUndockButton(true)
kdevelop: KDockContainer::activateOverlapMode: recalculating sizes
kdevelop: KDockWidgetHeader::showUndockButton(false)
kdevelop: : KDockWidget::setHeader
kdevelop: KDockWidgetHeader::showUndockButton(true)
kdevelop: KDockContainer::activateOverlapMode: recalculating sizes
kdevelop: KDockWidgetHeader::showUndockButton(false)
kdevelop: : KDockWidget::setHeader
kdevelop: KDockWidgetHeader::showUndockButton(true)
kdevelop: KDockContainer::activateOverlapMode: recalculating sizes
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
kdevelop: : KDockWidget::setHeader
kdevelop: KDockWidgetHeader::showUndockButton(true)
kdevelop: : KDockWidget::setHeader
kdevelop: KDockWidgetHeader::showUndockButton(true)
kdevelop: KMultiTabBarInternal::resizeEvent
kdevelop: needed lines:1
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)
kdevelop: KMultiTabBarInternal::resizeEvent
kdevelop: needed lines:1
Connecting kdevelop-30698/KDevCore/projectClosed()
PyDCOP connect kdevelop-30698/KDevCore/projectClosed()/f1() has result true
Connecting kdevelop-30698/KDevCore/projectOpened()
PyDCOP connect kdevelop-30698/KDevCore/projectOpened()/f2() has result true
kdevelop: : KDockWidget::setHeader
kdevelop: KDockWidgetHeader::showUndockButton(true)
QLayout "unnamed" added to IndexView "unnamed", which already has a layout
kdevelop: : KDockWidget::setHeader
kdevelop: KDockWidgetHeader::showUndockButton(true)
kdevelop: : KDockWidget::setHeader
kdevelop: KDockWidgetHeader::showUndockButton(true)
kdevelop: KMultiTabBarInternal::resizeEvent
kdevelop: needed lines:1
kdevelop: : KDockWidget::setHeader
kdevelop: KDockWidgetHeader::showUndockButton(true)
kdevelop: : KDockWidget::setHeader
kdevelop: KDockWidgetHeader::showUndockButton(true)
QMetaObject::findSignal:SnippetWidget: Conflict with QListView::doubleClicked(QListViewItem*,const QPoint&,int)
kdevelop: : KDockWidget::setHeader
kdevelop: KDockWidgetHeader::showUndockButton(true)
kdevelop: : KDockWidget::setHeader
kdevelop: KDockWidgetHeader::showUndockButton(true)
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
QMetaObject::findSignal:KFileDetailView: Conflict with QListView::doubleClicked(QListViewItem*,const QPoint&,int)
kdevelop: : KDockWidget::setHeader
kdevelop: KDockWidgetHeader::showUndockButton(true)
kdevelop: : KDockWidget::setHeader
kdevelop: KDockWidgetHeader::showUndockButton(true)
kdevelop: KMultiTabBarInternal::resizeEvent
kdevelop: needed lines:1
kdevelop (core): Looking for language support for C++
kdevelop (core): Language support for C++ successfully loaded.
kdevelop: : KDockWidget::setHeader
kdevelop: KDockWidgetHeader::showUndockButton(true)
kdevelop (core): projectDir: /home/sokol/cvs/oi  projectName: oi.kdevelop
kdevelop (core): [void KDevProject::slotBuildFileMap()]
kdevelop (core): -----------------------------> load part KDevdistpart
kdevelop (core): -----------------------------> load part KDevBookmarks
kdevelop: : KDockWidget::setHeader
kdevelop: KDockWidgetHeader::showUndockButton(true)
kdevelop (core): -----------------------------> load part KDevClassView
kdevelop: : KDockWidget::setHeader
kdevelop: KDockWidgetHeader::showUndockButton(true)
QObject::connect: No such slot ClassViewPart::removeNamespace(const QString&)
QObject::connect:  (sender name:   'ClassViewWidget')
QObject::connect:  (receiver name: 'ClassViewPart')
kdevelop (core): -----------------------------> load part KDevCTags
kdevelop (core): -----------------------------> load part KDevsubversion
kdevelop (core): Registering Version Control System: Subversion
QObject::connect: No such slot subversionPart::slotActionAdd()
QObject::connect:  (sender name:   'subversion_add')
QObject::connect:  (receiver name: 'Subversion')
QObject::connect: No such slot subversionPart::slotActionRemove()
QObject::connect:  (sender name:   'subversion_remove')
QObject::connect:  (receiver name: 'Subversion')
QObject::connect: No such slot subversionPart::slotActionAddToIgnoreList()
QObject::connect:  (sender name:   'subversion_ignore')
QObject::connect:  (receiver name: 'Subversion')
QObject::connect: No such slot subversionPart::slotActionRemoveFromIgnoreList()
QObject::connect:  (sender name:   'subversion_donot_ignore')
QObject::connect:  (receiver name: 'Subversion')
QObject::connect: No such slot subversionPart::slotStopButtonClicked(KDevPlugin*)
QObject::connect:  (sender name:   'unnamed')
QObject::connect:  (receiver name: 'Subversion')
kdevelop: : KDockWidget::setHeader
kdevelop: KDockWidgetHeader::showUndockButton(true)
kdevelop (core): -----------------------------> load part KDevcopyto
kdevelop (core): -----------------------------> load part KDevQuickOpen
kdevelop (core): -----------------------------> load part KDevClearCase
kdevelop (core): -----------------------------> load part KDevFileGroups
kdevelop: : KDockWidget::setHeader
kdevelop: KDockWidgetHeader::showUndockButton(true)
kdevelop (core): -----------------------------> load part KDevDebugger
kdevelop: KMultiTabBarInternal::resizeEvent
kdevelop: KMultiTabBarInternal::resizeEvent
kdevelop: needed lines:2
kdevelop: needed lines:2
kdevelop: KMultiTabBarInternal::resizeEvent
kdevelop: needed lines:1
kdevelop: : KDockWidget::setHeader
kdevelop: KDockWidgetHeader::showUndockButton(true)
kdevelop: : KDockWidget::setHeader
kdevelop: KDockWidgetHeader::showUndockButton(true)
kdevelop: : KDockWidget::setHeader
kdevelop: KDockWidgetHeader::showUndockButton(true)
kdevelop (core): [virtual void NewMainWindow::removeView(QWidget*)]  - view: [GDBDebugger::FramestackWidget pointer (0x8713910) to widget framestackWidget, geometry=640x409+0+0]
kdevelop (core): parentWidget: [KDockWidget pointer (0x87171a0) to widget framestackWidget, geometry=100x32+0+0]
kdevelop: : KDockWidget::setHeader
kdevelop: KDockWidgetHeader::showUndockButton(true)
kdevelop (core): [virtual void NewMainWindow::removeView(QWidget*)]  - view: [GDBDebugger::DisassembleWidget pointer (0x871a710) to widget disassembleWidget, geometry=640x409+0+0]
kdevelop (core): parentWidget: [KDockWidget pointer (0x8716e40) to widget disassembleWidget, geometry=100x32+0+0]
kdevelop: : KDockWidget::setHeader
kdevelop: KDockWidgetHeader::showUndockButton(true)
kdevelop (core): [virtual void NewMainWindow::removeView(QWidget*)]  - view: [GDBDebugger::GDBOutputWidget pointer (0x8723f48) to widget gdbOutputWidget, geometry=640x409+0+0]
kdevelop (core): parentWidget: [KDockWidget pointer (0x872c510) to widget gdbOutputWidget, geometry=100x32+0+0]
kdevelop (core): -----------------------------> load part CvsService
kdevelop (core): Registering Version Control System: CvsService
kdevelop: : KDockWidget::setHeader
kdevelop: KDockWidgetHeader::showUndockButton(true)
kdevelop (core): -----------------------------> load part KDevCTags2
kdevelop: : KDockWidget::setHeader
kdevelop: KDockWidgetHeader::showUndockButton(true)
kdevelop (core): -----------------------------> load part KDevDoxygen
kdevelop (core): -----------------------------> load part KDevPerforce
kdevelop (core): -----------------------------> load part KDevFileView
ASSERT: "part && parent" in partwidget.cpp (41)
kdevelop: : KDockWidget::setHeader
kdevelop: KDockWidgetHeader::showUndockButton(true)
kdevelop (core): dcop emitting project opened
kdevelop: : KDockWidget::setHeader
kdevelop: KDockWidgetHeader::showUndockButton(true)
fun: f2()
bar2 called
kdevelop: KMultiTabBarInternal::resizeEvent
kdevelop: needed lines:2
kdevelop: KMultiTabBarInternal::resizeEvent
kdevelop: needed lines:1
kdevelop: === KMdiMainFrm() ===
kdevelop: : KDockWidget::setHeader
kdevelop: KDockWidgetHeader::showUndockButton(true)
kdevelop: KDockWidgetHeader::showUndockButton(false)
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)
kdevelop: KDockWidgetHeader::showUndockButton(false)
kdevelop: KDockWidgetHeader::showUndockButton(false)
kdevelop: : KDockWidget::setHeader
kdevelop: KDockWidgetHeader::showUndockButton(true)
kdevelop: KDockContainer::activateOverlapMode: recalculating sizes
kdevelop: KDockWidgetHeader::showUndockButton(false)
kdevelop: : KDockWidget::setHeader
kdevelop: KDockWidgetHeader::showUndockButton(true)
kdevelop: KDockContainer::activateOverlapMode: recalculating sizes
kdevelop: KDockWidgetHeader::showUndockButton(false)
kdevelop: : KDockWidget::setHeader
kdevelop: KDockWidgetHeader::showUndockButton(true)
kdevelop: KDockContainer::activateOverlapMode: recalculating sizes
kdevelop: KDockWidgetHeader::showUndockButton(false)
kdevelop: : KDockWidget::setHeader
kdevelop: KDockWidgetHeader::showUndockButton(true)
kdevelop: KDockContainer::activateOverlapMode: recalculating sizes
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
kdevelop: : KDockWidget::setHeader
kdevelop: KDockWidgetHeader::showUndockButton(true)
kdevelop: : KDockWidget::setHeader
kdevelop: KDockWidgetHeader::showUndockButton(true)
kdevelop: KMultiTabBarInternal::resizeEvent
kdevelop: needed lines:1
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)
kdevelop: KMultiTabBarInternal::resizeEvent
kdevelop: needed lines:1
Connecting kdevelop-30698/KDevCore/projectClosed()
PyDCOP connect kdevelop-30698/KDevCore/projectClosed()/f1() has result true
Connecting kdevelop-30698/KDevCore/projectOpened()
PyDCOP connect kdevelop-30698/KDevCore/projectOpened()/f2() has result true
kdevelop: : KDockWidget::setHeader
kdevelop: KDockWidgetHeader::showUndockButton(true)
QLayout "unnamed" added to IndexView "unnamed", which already has a layout
kdevelop: : KDockWidget::setHeader
kdevelop: KDockWidgetHeader::showUndockButton(true)
kdevelop: : KDockWidget::setHeader
kdevelop: KDockWidgetHeader::showUndockButton(true)
kdevelop: KMultiTabBarInternal::resizeEvent
kdevelop: needed lines:1
kdevelop: : KDockWidget::setHeader
kdevelop: KDockWidgetHeader::showUndockButton(true)
kdevelop: : KDockWidget::setHeader
kdevelop: KDockWidgetHeader::showUndockButton(true)
QMetaObject::findSignal:SnippetWidget: Conflict with QListView::doubleClicked(QListViewItem*,const QPoint&,int)
kdevelop: : KDockWidget::setHeader
kdevelop: KDockWidgetHeader::showUndockButton(true)
kdevelop: : KDockWidget::setHeader
kdevelop: KDockWidgetHeader::showUndockButton(true)
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
QMetaObject::findSignal:KFileDetailView: Conflict with QListView::doubleClicked(QListViewItem*,const QPoint&,int)
kdevelop: : KDockWidget::setHeader
kdevelop: KDockWidgetHeader::showUndockButton(true)
kdevelop: : KDockWidget::setHeader
kdevelop: KDockWidgetHeader::showUndockButton(true)
kdevelop: KMultiTabBarInternal::resizeEvent
kdevelop: needed lines:1
kdevelop (core): Looking for language support for C++
kdevelop (core): Language support for C++ successfully loaded.
kdevelop: : KDockWidget::setHeader
kdevelop: KDockWidgetHeader::showUndockButton(true)
kdevelop (core): projectDir: /home/sokol/cvs/oi  projectName: oi.kdevelop
kdevelop (core): [void KDevProject::slotBuildFileMap()]
kdevelop (core): -----------------------------> load part KDevdistpart
kdevelop (core): -----------------------------> load part KDevBookmarks
kdevelop: : KDockWidget::setHeader
kdevelop: KDockWidgetHeader::showUndockButton(true)
kdevelop (core): -----------------------------> load part KDevClassView
kdevelop: : KDockWidget::setHeader
kdevelop: KDockWidgetHeader::showUndockButton(true)
QObject::connect: No such slot ClassViewPart::removeNamespace(const QString&)
QObject::connect:  (sender name:   'ClassViewWidget')
QObject::connect:  (receiver name: 'ClassViewPart')
kdevelop (core): -----------------------------> load part KDevCTags
kdevelop (core): -----------------------------> load part KDevsubversion
kdevelop (core): Registering Version Control System: Subversion
QObject::connect: No such slot subversionPart::slotActionAdd()
QObject::connect:  (sender name:   'subversion_add')
QObject::connect:  (receiver name: 'Subversion')
QObject::connect: No such slot subversionPart::slotActionRemove()
QObject::connect:  (sender name:   'subversion_remove')
QObject::connect:  (receiver name: 'Subversion')
QObject::connect: No such slot subversionPart::slotActionAddToIgnoreList()
QObject::connect:  (sender name:   'subversion_ignore')
QObject::connect:  (receiver name: 'Subversion')
QObject::connect: No such slot subversionPart::slotActionRemoveFromIgnoreList()
QObject::connect:  (sender name:   'subversion_donot_ignore')
QObject::connect:  (receiver name: 'Subversion')
QObject::connect: No such slot subversionPart::slotStopButtonClicked(KDevPlugin*)
QObject::connect:  (sender name:   'unnamed')
QObject::connect:  (receiver name: 'Subversion')
kdevelop: : KDockWidget::setHeader
kdevelop: KDockWidgetHeader::showUndockButton(true)
kdevelop (core): -----------------------------> load part KDevcopyto
kdevelop (core): -----------------------------> load part KDevQuickOpen
kdevelop (core): -----------------------------> load part KDevClearCase
kdevelop (core): -----------------------------> load part KDevFileGroups
kdevelop: : KDockWidget::setHeader
kdevelop: KDockWidgetHeader::showUndockButton(true)
kdevelop (core): -----------------------------> load part KDevDebugger
kdevelop: KMultiTabBarInternal::resizeEvent
kdevelop: KMultiTabBarInternal::resizeEvent
kdevelop: needed lines:2
kdevelop: needed lines:2
kdevelop: KMultiTabBarInternal::resizeEvent
kdevelop: needed lines:1
kdevelop: : KDockWidget::setHeader
kdevelop: KDockWidgetHeader::showUndockButton(true)
kdevelop: : KDockWidget::setHeader
kdevelop: KDockWidgetHeader::showUndockButton(true)
kdevelop: : KDockWidget::setHeader
kdevelop: KDockWidgetHeader::showUndockButton(true)
kdevelop (core): [virtual void NewMainWindow::removeView(QWidget*)]  - view: [GDBDebugger::FramestackWidget pointer (0x8713910) to widget framestackWidget, geometry=640x409+0+0]
kdevelop (core): parentWidget: [KDockWidget pointer (0x87171a0) to widget framestackWidget, geometry=100x32+0+0]
kdevelop: : KDockWidget::setHeader
kdevelop: KDockWidgetHeader::showUndockButton(true)
kdevelop (core): [virtual void NewMainWindow::removeView(QWidget*)]  - view: [GDBDebugger::DisassembleWidget pointer (0x871a710) to widget disassembleWidget, geometry=640x409+0+0]
kdevelop (core): parentWidget: [KDockWidget pointer (0x8716e40) to widget disassembleWidget, geometry=100x32+0+0]
kdevelop: : KDockWidget::setHeader
kdevelop: KDockWidgetHeader::showUndockButton(true)
kdevelop (core): [virtual void NewMainWindow::removeView(QWidget*)]  - view: [GDBDebugger::GDBOutputWidget pointer (0x8723f48) to widget gdbOutputWidget, geometry=640x409+0+0]
kdevelop (core): parentWidget: [KDockWidget pointer (0x872c510) to widget gdbOutputWidget, geometry=100x32+0+0]
kdevelop (core): -----------------------------> load part CvsService
kdevelop (core): Registering Version Control System: CvsService
kdevelop: : KDockWidget::setHeader
kdevelop: KDockWidgetHeader::showUndockButton(true)
kdevelop (core): -----------------------------> load part KDevCTags2
kdevelop: : KDockWidget::setHeader
kdevelop: KDockWidgetHeader::showUndockButton(true)
kdevelop (core): -----------------------------> load part KDevDoxygen
kdevelop (core): -----------------------------> load part KDevPerforce
kdevelop (core): -----------------------------> load part KDevFileView
ASSERT: "part && parent" in partwidget.cpp (41)
kdevelop: : KDockWidget::setHeader
kdevelop: KDockWidgetHeader::showUndockButton(true)
kdevelop (core): dcop emitting project opened
kdevelop: : KDockWidget::setHeader
kdevelop: KDockWidgetHeader::showUndockButton(true)
fun: f2()
bar2 called
kdevelop: KMultiTabBarInternal::resizeEvent
kdevelop: needed lines:2
kdevelop: KMultiTabBarInternal::resizeEvent
kdevelop: needed lines:1
Segmentation fault (core dumped)
Comment 1 Jens Dagerbo 2004-12-13 19:14:49 UTC
Yes, dupe. Only happens on Mandrake, unloading the FileSelector plugins is said to solve it.

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