Bug 67902 - kdevelop crashes with SIGSEGV when creating a new project
Summary: kdevelop crashes with SIGSEGV when creating a new project
Status: RESOLVED FIXED
Alias: None
Product: kdevelop
Classification: Applications
Component: UI: IDEAl (show other bugs)
Version: 3.0.0b1
Platform: RedHat Enterprise Linux Linux
: NOR crash
Target Milestone: ---
Assignee: KDevelop Developers
URL:
Keywords:
: 68575 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-11-11 17:02 UTC by Jason Malone
Modified: 2005-06-24 17:13 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 Jason Malone 2003-11-11 17:02:08 UTC
Version:           3.0.0b1 (using KDE KDE 3.1)
Installed from:    RedHat RPMs
Compiler:          gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5) 
OS:          Linux

When trying to create a new C++ - KDE - Simple KDE App project kdevelop crashes with the following backtrace.

[New Thread 1101801792 (LWP 4568)]
[New Thread 1118809392 (LWP 4601)]
0xffffe002 in ?? ()
#0  0xffffe002 in ?? ()
#1  0x40a7657d in KCrash::defaultCrashHandler(int) ()
   from /usr/lib/libkdecore.so.4
#2  <signal handler called>
#3  0x4037d902 in KDockWidget_Compat::KDockManager::removeFromAutoCreateList(KDockWidget_Compat::KDockWidget*) () from /usr/lib/libkdevelopqextmdi.so.3
#4  0x4035d6f8 in KMdiMainFrm::addToolWindow(QWidget*, KDockWidget_Compat::KDockWidget::DockPosition, QWidget*, int, QString const&, QString const&) ()
   from /usr/lib/libkdevelopqextmdi.so.3
#5  0x08064fd5 in MainWindow::embedSelectView(QWidget*, QString const&, QString const&) ()
#6  0x41fe34f2 in BookmarksPart::BookmarksPart(QObject*, char const*, QStringList const&) () from /usr/lib/kde3/libkdevbookmarks.so
#7  0x41fe7f4b in KGenericFactory<BookmarksPart, QObject>::createObject(QObject*, char const*, char const*, QStringList const&) ()
   from /usr/lib/kde3/libkdevbookmarks.so
#8  0x40a8b041 in KLibFactory::create(QObject*, char const*, char const*, QStringList const&) () from /usr/lib/libkdecore.so.4
#9  0x080794d9 in KDevPlugin* KParts::ComponentFactory::createInstanceFromFactory<KDevPlugin>(KLibFactory*, QObject*, char const*, QStringList const&) ()
#10 0x08079204 in KDevPlugin* KParts::ComponentFactory::createInstanceFromLibrary<KDevPlugin>(char const*, QObject*, char const*, QStringList const&, int*) ()
#11 0x08078e9a in KDevPlugin* KParts::ComponentFactory::createInstanceFromService<KDevPlugin>(KSharedPtr<KService> const&, QObject*, char const*, QStringList const&, int*) ()
#12 0x08078b13 in PluginController::loadPlugin(KSharedPtr<KService> const&) ()
#13 0x0807582c in ProjectManager::loadLocalParts() ()
#14 0x08073088 in ProjectManager::loadProject(KURL const&) ()
#15 0x0806a5e6 in Core::openProject(QString const&) ()
#16 0x41d0657d in AppWizardPart::slotCommandFinished(QString const&) ()
   from /usr/lib/kde3/libkdevappwizard.so
#17 0x41d066eb in AppWizardPart::qt_invoke(int, QUObject*) ()
   from /usr/lib/kde3/libkdevappwizard.so
#18 0x40ec6040 in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
#19 0x40ec6395 in QObject::activate_signal(int, QString) ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
#20 0x403dd35d in KDevMakeFrontend::commandFinished(QString const&) ()
   from /usr/lib/libkdevelop.so.1
#21 0x41c88971 in MakeWidget::slotProcessExited(KProcess*) ()
   from /usr/lib/kde3/libkdevoutputviews.so
#22 0x41c8a49a in MakeWidget::qt_invoke(int, QUObject*) ()
   from /usr/lib/kde3/libkdevoutputviews.so
#23 0x40ec60c9 in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
#24 0x40a3b9d2 in KProcess::processExited(KProcess*) ()
   from /usr/lib/libkdecore.so.4
#25 0x40a3a625 in KProcess::processHasExited(int) ()
   from /usr/lib/libkdecore.so.4
#26 0x40a3caaa in KProcessController::slotDoHousekeeping(int) ()
   from /usr/lib/libkdecore.so.4
#27 0x40a3d135 in KProcessController::qt_invoke(int, QUObject*) ()
   from /usr/lib/libkdecore.so.4
#28 0x40ec60c9 in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
#29 0x40ec61a5 in QObject::activate_signal(int, int) ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
#30 0x411a6282 in QSocketNotifier::activated(int) ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
#31 0x40ee24b0 in QSocketNotifier::event(QEvent*) ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
#32 0x40e67f24 in QApplication::internalNotify(QObject*, QEvent*) ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
#33 0x40e67b19 in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
#34 0x40a0a1e9 in KApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/libkdecore.so.4
#35 0x40e42efa in QEventLoop::activateSocketNotifiers() ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
#36 0x40e208d7 in QEventLoop::processEvents(unsigned) ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
#37 0x40e7bcf6 in QEventLoop::enterLoop() ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
#38 0x40e7bb98 in QEventLoop::exec() () from /usr/lib/qt-3.1/lib/libqt-mt.so.3
#39 0x40e68151 in QApplication::exec() ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
#40 0x08062a82 in main ()
#41 0x420156a4 in __libc_start_main () from /lib/tls/libc.so.6

The project files are created (at least some of them).  If I restart kdevelop and try to open the project files it crashes again.
Comment 1 Amilcar do Carmo Lucas 2003-11-11 18:25:13 UTC
Here is a new one from CVS Head

#3  0x40b9f08b in KCrash::defaultCrashHandler ()
   from /opt/kde3/lib/libkdecore.so.4
#4  0x4143ba74 in pthread_sighandler () from /lib/libpthread.so.0
#5  <signal handler called>
#6  0x40f381b3 in QObject::name () from /usr/lib/qt3/lib/libqt-mt.so.3
#7  0x080676db in MainWindow::showAllToolWin (this=0x813c638, eView=TreeView, 
    show=true) at mainwindow.cpp:1067
#8  0x0806757e in MainWindow::toggleToolDockBaseState (this=0x813c638, 
    ActionData=@0x816f2ac) at mainwindow.cpp:1033
#9  0x08068ec2 in MainWindow::qt_invoke (this=0x813c638, _id=155, 
    _o=0xbfffe940) at mainwindow.moc:156
#10 0x40f3a654 in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#11 0x0806927e in ViewMenuAction::activated (this=0x816f278, t0=@0x816f2ac)
    at mainwindow.moc:261
#12 0x08063783 in ViewMenuAction::slotActivated (this=0x816f278)
    at mainwindow.cpp:78
#13 0x08069330 in ViewMenuAction::qt_invoke (this=0x816f278, _id=17, 
    _o=0xbfffea38) at mainwindow.moc:267
#14 0x40f3a6f5 in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#15 0x40f3a58e in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#16 0x4119e52c in QButton::clicked () from /usr/lib/qt3/lib/libqt-mt.so.3
#17 0x40fa0d2b in QButton::mouseReleaseEvent ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#18 0x40f64cb6 in QWidget::event () from /usr/lib/qt3/lib/libqt-mt.so.3
Comment 2 Jason Malone 2003-11-11 22:28:37 UTC
I think I have narrowed this down further.  The application crashes when you create a new project of any type if when you click "Project"->"New Project" and fill in the "Application Name" and "Location"  If in "Location" you enter a path such as "/home/cpp" kdevelop crashes.  If in "Location" you enter a path such as "/home/cpp/" (Note the trailing slash) kdevelop does not crash and creates the project as expected.
Comment 3 Amilcar do Carmo Lucas 2003-11-11 23:26:17 UTC
Original bug is fixed in CVS.
Comment #1 should be filed to another bug report.
Comment #2 should be filed to another bug report in the appwizard component.
:)
Comment 4 Jens Dagerbo 2003-11-11 23:52:38 UTC
Comment #2 is the same as the orginial bug, which now is fixed. Closing.
Comment 5 Jens Dagerbo 2003-11-20 13:14:39 UTC
*** Bug 68575 has been marked as a duplicate of this bug. ***
Comment 6 jamal.ayach 2005-06-21 19:10:46 UTC
this is the crash backtracing info.  It crashes when I press ENTER or BACKSPACE

(no debugging symbols found)
Using host libthread_db library "/lib/tls/libthread_db.so.1".
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 1103469504 (LWP 24467)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[KCrash handler]
#3  0x415f3d58 in QGList::find () from /usr/lib/libqt-mt.so.3
#4  0x415f38d9 in QGList::remove () from /usr/lib/libqt-mt.so.3
#5  0x4238179c in KateCodeFoldingTree::removeEnding ()
   from /usr/lib/kde3/libkatepart.so
#6  0x423838b5 in KateCodeFoldingTree::cleanupUnneededNodes ()
   from /usr/lib/kde3/libkatepart.so
#7  0x42380b82 in KateCodeFoldingTree::updateLine ()
   from /usr/lib/kde3/libkatepart.so
#8  0x4231430a in KateBuffer::doHighlight () from /usr/lib/kde3/libkatepart.so
#9  0x42312095 in KateBuffer::editEnd () from /usr/lib/kde3/libkatepart.so
#10 0x423356a6 in KateDocument::editEnd () from /usr/lib/kde3/libkatepart.so
#11 0x4233df05 in KateDocument::newLine () from /usr/lib/kde3/libkatepart.so
#12 0x4238aa84 in KateViewInternal::doReturn ()
   from /usr/lib/kde3/libkatepart.so
#13 0x423cd3f5 in KateView::keyReturn () from /usr/lib/kde3/libkatepart.so
#14 0x42390ac6 in KateViewInternal::keyPressEvent ()
   from /usr/lib/kde3/libkatepart.so
#15 0x423905d0 in KateViewInternal::eventFilter ()
   from /usr/lib/kde3/libkatepart.so
#16 0x4133904e in QObject::activate_filters () from /usr/lib/libqt-mt.so.3
#17 0x41338f7c in QObject::event () from /usr/lib/libqt-mt.so.3
#18 0x41371aaf in QWidget::event () from /usr/lib/libqt-mt.so.3
#19 0x412dee1f in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
#20 0x412de914 in QApplication::notify () from /usr/lib/libqt-mt.so.3
#21 0x40e6bec3 in KApplication::notify () from /usr/lib/libkdecore.so.4
#22 0x41275620 in QETWidget::translateKeyEvent () from /usr/lib/libqt-mt.so.3
#23 0x41271302 in QApplication::x11ProcessEvent () from /usr/lib/libqt-mt.so.3
#24 0x41288254 in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
#25 0x412f11d8 in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#26 0x412f1088 in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
#27 0x412df071 in QApplication::exec () from /usr/lib/libqt-mt.so.3
#28 0x0804e6bd in ?? ()
#29 0xbffff940 in ?? ()
#30 0x080b1c58 in ?? ()
#31 0xbffff870 in ?? ()
#32 0x00000001 in ?? ()
#33 0x00000000 in ?? ()
#34 0x00000001 in ?? ()
#35 0x08053040 in _IO_stdin_used ()
#36 0x08053abc in typeinfo name for ShellExtension ()
#37 0x0805286e in _IO_stdin_used ()
#38 0x08052841 in _IO_stdin_used ()
#39 0xbffff8fc in ?? ()
#40 0x00000000 in ?? ()
#41 0x405a612b in ?? () from /usr/lib/libkjs.so.1
#42 0x00000020 in ?? ()
#43 0x001dc3b6 in ?? ()
#44 0x08063000 in ?? ()
#45 0x000e8e28 in ?? ()
#46 0x41b13196 in ?? () from /lib/tls/libc.so.6
#47 0x41b0df38 in ?? () from /lib/tls/libc.so.6
#48 0x41b05438 in ?? () from /lib/tls/libc.so.6
#49 0x41782c40 in vtable for QGArray () from /usr/lib/libqt-mt.so.3
#50 0x00000000 in ?? ()
#51 0x41c37d1c in ?? ()
#52 0x41c58360 in ?? ()
#53 0x41782c40 in vtable for QGArray () from /usr/lib/libqt-mt.so.3
#54 0x080b7308 in ?? ()
#55 0x405a0b8c in ?? () from /usr/lib/libkjs.so.1
#56 0xbffff924 in ?? ()
#57 0x400084bf in _dl_lookup_versioned_symbol () from /lib/ld-linux.so.2
#58 0x41b17974 in __libc_start_main () from /lib/tls/libc.so.6
#59 0x0804d9d1 in ?? ()
Comment 7 Amilcar do Carmo Lucas 2005-06-24 17:13:24 UTC
Jamal I think your crash is Kate related.

What KDevelop version?
What KDE version?