Bug 69433

Summary: Kdevelop crashes when I try to add existing fortran file to a project (using symlink)
Product: [Applications] kdevelop Reporter: Evgeniy Shapiro <shel>
Component: generalAssignee: KDevelop Developers <kdevelop-devel>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: 3.0.0b1   
Target Milestone: ---   
Platform: Slackware   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Evgeniy Shapiro 2003-12-01 13:49:24 UTC
Version:           3.0.0b1 (using KDE KDE 3.1.4)
Installed from:    Slackware Packages
Compiler:          gcc 3.2.2 
OS:          Linux

I create a Fortran project, them try to add an existing file to it, choose Link option - gideon crashes. 

Backtrace:

[New Thread 16384 (LWP 1129)]
0x415095c9 in waitpid () from /lib/libpthread.so.0
#0  0x415095c9 in waitpid () from /lib/libpthread.so.0
#1  0x40bf59ed in KCrash::defaultCrashHandler(int) ()
   from /opt/kde/lib/libkdecore.so.4
#2  0x41507c45 in __pthread_sighandler () from /lib/libpthread.so.0
#3  <signal handler called>
#4  0x416bde53 in strlen () from /lib/libc.so.6
#5  0x40384dcc in regexec () from /usr/lib/./libpcreposix.so.0
#6  0x40c00f03 in KRegExpPrivate::match(char const*) ()
   from /opt/kde/lib/libkdecore.so.4
#7  0x40c01278 in KRegExp::match(char const*) ()
   from /opt/kde/lib/libkdecore.so.4
#8  0x41e9fa70 in FixedFormParser::process(QCString const&, QString const&, int) () from /opt/kde/lib/kde3/libkdevfortransupport.so
#9  0x41e9ff7e in FixedFormParser::parse(QString const&) ()
   from /opt/kde/lib/kde3/libkdevfortransupport.so
#10 0x41e9db64 in FortranSupportPart::maybeParse(QString) ()
   from /opt/kde/lib/kde3/libkdevfortransupport.so
#11 0x41e9e39b in FortranSupportPart::addedFilesToProject(QStringList const&)
    () from /opt/kde/lib/kde3/libkdevfortransupport.so
#12 0x41e9ebc0 in FortranSupportPart::qt_invoke(int, QUObject*) ()
   from /opt/kde/lib/kde3/libkdevfortransupport.so
#13 0x40f8fdc8 in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /usr/lib/qt-3.2.1/lib/libqt-mt.so.3
#14 0x40530137 in KDevProject::addedFilesToProject(QStringList const&) ()
   from /opt/kde/lib/libkdevelop.so.1
#15 0x41ef65d6 in AutoProjectWidget::emitAddedFiles(QStringList const&) ()
   from /opt/kde/lib/kde3/libkdevautoproject.so
#16 0x41f2e222 in AddExistingFilesDialog::slotOk() ()
   from /opt/kde/lib/kde3/libkdevautoproject.so
#17 0x41f2f619 in AddExistingFilesDialog::qt_invoke(int, QUObject*) ()
   from /opt/kde/lib/kde3/libkdevautoproject.so
#18 0x40f8fe50 in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /usr/lib/qt-3.2.1/lib/libqt-mt.so.3
#19 0x40f8fc84 in QObject::activate_signal(int) ()
   from /usr/lib/qt-3.2.1/lib/libqt-mt.so.3
#20 0x412adcfe in QButton::clicked() ()
   from /usr/lib/qt-3.2.1/lib/libqt-mt.so.3
#21 0x4101be0a in QButton::mouseReleaseEvent(QMouseEvent*) ()
   from /usr/lib/qt-3.2.1/lib/libqt-mt.so.3
#22 0x40fc468c in QWidget::event(QEvent*) ()
   from /usr/lib/qt-3.2.1/lib/libqt-mt.so.3
#23 0x40f35035 in QApplication::internalNotify(QObject*, QEvent*) ()
   from /usr/lib/qt-3.2.1/lib/libqt-mt.so.3
#24 0x40f347d2 in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/qt-3.2.1/lib/libqt-mt.so.3
#25 0x40b78c89 in KApplication::notify(QObject*, QEvent*) ()
   from /opt/kde/lib/libkdecore.so.4
#26 0x40ecf17b in QETWidget::translateMouseEvent(_XEvent const*) ()
   from /usr/lib/qt-3.2.1/lib/libqt-mt.so.3
#27 0x40ecc8e4 in QApplication::x11ProcessEvent(_XEvent*) ()
   from /usr/lib/qt-3.2.1/lib/libqt-mt.so.3
#28 0x40ee2ed7 in QEventLoop::processEvents(unsigned) ()
   from /usr/lib/qt-3.2.1/lib/libqt-mt.so.3
#29 0x40f48276 in QEventLoop::enterLoop() ()
   from /usr/lib/qt-3.2.1/lib/libqt-mt.so.3
#30 0x40f352e1 in QApplication::enter_loop() ()
   from /usr/lib/qt-3.2.1/lib/libqt-mt.so.3
#31 0x4110d0a1 in QDialog::exec() () from /usr/lib/qt-3.2.1/lib/libqt-mt.so.3
#32 0x41f3ad21 in AutoDetailsView::slotAddExistingFile() ()
   from /opt/kde/lib/kde3/libkdevautoproject.so
#33 0x41f3e0df in AutoDetailsView::qt_invoke(int, QUObject*) ()
   from /opt/kde/lib/kde3/libkdevautoproject.so
#34 0x40f8fe50 in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /usr/lib/qt-3.2.1/lib/libqt-mt.so.3
#35 0x40f8fc84 in QObject::activate_signal(int) ()
   from /usr/lib/qt-3.2.1/lib/libqt-mt.so.3
#36 0x409a496b in KAction::activated() () from /opt/kde/lib/libkdeui.so.4
#37 0x40995ddf in KAction::slotActivated() () from /opt/kde/lib/libkdeui.so.4
#38 0x409a4b71 in KAction::qt_invoke(int, QUObject*) ()
   from /opt/kde/lib/libkdeui.so.4
#39 0x40f8fe50 in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /usr/lib/qt-3.2.1/lib/libqt-mt.so.3
#40 0x412a76d2 in QSignal::signal(QVariant const&) ()
   from /usr/lib/qt-3.2.1/lib/libqt-mt.so.3
#41 0x40fa9e38 in QSignal::activate() ()
   from /usr/lib/qt-3.2.1/lib/libqt-mt.so.3
#42 0x4108e8ed in QPopupMenu::mouseReleaseEvent(QMouseEvent*) ()
   from /usr/lib/qt-3.2.1/lib/libqt-mt.so.3
#43 0x40fc468c in QWidget::event(QEvent*) ()
   from /usr/lib/qt-3.2.1/lib/libqt-mt.so.3
#44 0x40f35035 in QApplication::internalNotify(QObject*, QEvent*) ()
   from /usr/lib/qt-3.2.1/lib/libqt-mt.so.3
#45 0x40f347d2 in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/qt-3.2.1/lib/libqt-mt.so.3
#46 0x40b78c89 in KApplication::notify(QObject*, QEvent*) ()
   from /opt/kde/lib/libkdecore.so.4
#47 0x40ececa6 in QETWidget::translateMouseEvent(_XEvent const*) ()
   from /usr/lib/qt-3.2.1/lib/libqt-mt.so.3
#48 0x40ecc8e4 in QApplication::x11ProcessEvent(_XEvent*) ()
   from /usr/lib/qt-3.2.1/lib/libqt-mt.so.3
#49 0x40ee2ed7 in QEventLoop::processEvents(unsigned) ()
   from /usr/lib/qt-3.2.1/lib/libqt-mt.so.3
#50 0x40f48276 in QEventLoop::enterLoop() ()
   from /usr/lib/qt-3.2.1/lib/libqt-mt.so.3
#51 0x40f352e1 in QApplication::enter_loop() ()
   from /usr/lib/qt-3.2.1/lib/libqt-mt.so.3
#52 0x41091566 in QPopupMenu::exec(QPoint const&, int) ()
   from /usr/lib/qt-3.2.1/lib/libqt-mt.so.3
#53 0x41f3d8a0 in AutoDetailsView::slotDetailsContextMenu(KListView*, QListViewItem*, QPoint const&) () from /opt/kde/lib/kde3/libkdevautoproject.so
#54 0x41f3e0b5 in AutoDetailsView::qt_invoke(int, QUObject*) ()
   from /opt/kde/lib/kde3/libkdevautoproject.so
#55 0x40f8fe50 in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /usr/lib/qt-3.2.1/lib/libqt-mt.so.3
#56 0x409ce7b3 in KListView::contextMenu(KListView*, QListViewItem*, QPoint const&) () from /opt/kde/lib/libkdeui.so.4
#57 0x409cafa1 in KListView::emitContextMenu(QListViewItem*, QPoint const&, int) () from /opt/kde/lib/libkdeui.so.4
#58 0x409cea66 in KListView::qt_invoke(int, QUObject*) ()
   from /opt/kde/lib/libkdeui.so.4
#59 0x41f3e12c in AutoDetailsView::qt_invoke(int, QUObject*) ()
   from /opt/kde/lib/kde3/libkdevautoproject.so
#60 0x40f8fe50 in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /usr/lib/qt-3.2.1/lib/libqt-mt.so.3
#61 0x412b9ab3 in QListView::rightButtonPressed(QListViewItem*, QPoint const&, int) () from /usr/lib/qt-3.2.1/lib/libqt-mt.so.3
#62 0x4106cae7 in QListView::contentsMousePressEventEx(QMouseEvent*) ()
   from /usr/lib/qt-3.2.1/lib/libqt-mt.so.3
#63 0x4106c4e6 in QListView::contentsMousePressEvent(QMouseEvent*) ()
   from /usr/lib/qt-3.2.1/lib/libqt-mt.so.3
#64 0x409c7dac in KListView::contentsMousePressEvent(QMouseEvent*) ()
   from /opt/kde/lib/libkdeui.so.4
#65 0x4109ce5c in QScrollView::viewportMousePressEvent(QMouseEvent*) ()
   from /usr/lib/qt-3.2.1/lib/libqt-mt.so.3
#66 0x4109c804 in QScrollView::eventFilter(QObject*, QEvent*) ()
   from /usr/lib/qt-3.2.1/lib/libqt-mt.so.3
#67 0x4106bfb8 in QListView::eventFilter(QObject*, QEvent*) ()
   from /usr/lib/qt-3.2.1/lib/libqt-mt.so.3
#68 0x40f8d96e in QObject::activate_filters(QEvent*) ()
   from /usr/lib/qt-3.2.1/lib/libqt-mt.so.3
#69 0x40f8d891 in QObject::event(QEvent*) ()
   from /usr/lib/qt-3.2.1/lib/libqt-mt.so.3
#70 0x40fc460c in QWidget::event(QEvent*) ()
   from /usr/lib/qt-3.2.1/lib/libqt-mt.so.3
#71 0x40f35035 in QApplication::internalNotify(QObject*, QEvent*) ()
   from /usr/lib/qt-3.2.1/lib/libqt-mt.so.3
#72 0x40f347d2 in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/qt-3.2.1/lib/libqt-mt.so.3
#73 0x40b78c89 in KApplication::notify(QObject*, QEvent*) ()
   from /opt/kde/lib/libkdecore.so.4
#74 0x40ecf17b in QETWidget::translateMouseEvent(_XEvent const*) ()
   from /usr/lib/qt-3.2.1/lib/libqt-mt.so.3
#75 0x40ecc8e4 in QApplication::x11ProcessEvent(_XEvent*) ()
   from /usr/lib/qt-3.2.1/lib/libqt-mt.so.3
#76 0x40ee2ed7 in QEventLoop::processEvents(unsigned) ()
   from /usr/lib/qt-3.2.1/lib/libqt-mt.so.3
#77 0x40f48276 in QEventLoop::enterLoop() ()
   from /usr/lib/qt-3.2.1/lib/libqt-mt.so.3
#78 0x40f48118 in QEventLoop::exec() ()
   from /usr/lib/qt-3.2.1/lib/libqt-mt.so.3
#79 0x40f35281 in QApplication::exec() ()
   from /usr/lib/qt-3.2.1/lib/libqt-mt.so.3
#80 0x08062bfc in main ()
#81 0x41657d06 in __libc_start_main () from /lib/libc.so.6
Comment 1 Sascha Cunz 2003-12-01 18:13:50 UTC
This part is very interesting:
#4 0x416bde53 in strlen () from /lib/libc.so.6
#5 0x40384dcc in regexec () from /usr/lib/./libpcreposix.so.0
#6 0x40c00f03 in KRegExpPrivate::match(char const*) ()
from /opt/kde/lib/libkdecore.so.4
#7 0x40c01278 in KRegExp::match(char const*) ()
from /opt/kde/lib/libkdecore.so.4

There was a user a week ago on #kdevelop, which reported us similar behaviour down in KRegExpPrivate - just that he was using PHP and the PHPParser.

Which version of KDE and Qt are you using?
Comment 2 Evgeniy Shapiro 2003-12-02 11:05:11 UTC
Subject: Re:  Kdevelop crashes when I try to add existing fortran
 file to a project (using symlink)

Hi,

Kdevelop 3.0.0b1 - compiled from source.
KDE - 3.1.4 -  Slackware packages
QT - 3.2.1 -   Slackware packages

Regards

Evgeniy

Sascha Cunz wrote:

>------- You are receiving this mail because: -------
>You reported the bug, or are watching the reporter.
>     
>http://bugs.kde.org/show_bug.cgi?id=69433     
>
>
>
>
>------- Additional Comments From mail@sacu.de  2003-12-01 18:13 -------
>This part is very interesting:
>#4 0x416bde53 in strlen () from /lib/libc.so.6
>#5 0x40384dcc in regexec () from /usr/lib/./libpcreposix.so.0
>#6 0x40c00f03 in KRegExpPrivate::match(char const*) ()
>from /opt/kde/lib/libkdecore.so.4
>#7 0x40c01278 in KRegExp::match(char const*) ()
>from /opt/kde/lib/libkdecore.so.4
>
>There was a user a week ago on #kdevelop, which reported us similar behaviour down in KRegExpPrivate - just that he was using PHP and the PHPParser.
>
>Which version of KDE and Qt are you using?
>
>
>  
>

Comment 3 Tom 2003-12-02 21:29:15 UTC
I may have been the user on #kdevelop that was having the same kind of problem. Running on RH9, KDE 3.1. I compiled Kdevelop from source, the most recent being the version from 11/28. Here is my backtrace:

[New Thread 1096987072 (LWP 17753)]
0xffffe002 in ?? ()
#0  0xffffe002 in ?? ()
#1  0x40a855bd in KCrash::defaultCrashHandler(int) ()
   from /usr/lib/libkdecore.so.4
#2  <signal handler called>
#3  0x420bcb2c in re_search_internal () from /lib/tls/libc.so.6
#4  0x420bc407 in regexec () from /lib/tls/libc.so.6
#5  0x40a90633 in KRegExpPrivate::match(char const*) ()
   from /usr/lib/libkdecore.so.4
#6  0x40a90978 in KRegExp::match(char const*) () from
/usr/lib/libkdecore.so.4
#7  0x41cb577c in PHPParser::parseLines(QStringList*, QString const&) ()
   from /usr/local/kde/lib/kde3/libkdevphpsupport.so
#8  0x41cb6677 in PHPParser::parseFile(QString const&) ()
   from /usr/local/kde/lib/kde3/libkdevphpsupport.so
#9  0x41ca7018 in PHPSupportPart::maybeParse(QString) ()
   from /usr/local/kde/lib/kde3/libkdevphpsupport.so
#10 0x41ca7559 in PHPSupportPart::initialParse() ()
   from /usr/local/kde/lib/kde3/libkdevphpsupport.so
#11 0x41ca8523 in PHPSupportPart::qt_invoke(int, QUObject*) ()
   from /usr/local/kde/lib/kde3/libkdevphpsupport.so
#12 0x40ed60c9 in QObject::activate_signal(QConnectionList*, QUObject*)
()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
#13 0x411b5452 in QSignal::signal(QVariant const&) ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
#14 0x40ef0158 in QSignal::activate() () from
/usr/lib/qt-3.1/lib/libqt-mt.so.3
#15 0x40ef70b3 in QSingleShotTimer::event(QEvent*) ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
#16 0x40e77f24 in QApplication::internalNotify(QObject*, QEvent*) ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
#17 0x40e77b19 in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
#18 0x40a191e9 in KApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/libkdecore.so.4
#19 0x40e52d95 in QEventLoop::activateTimers() ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
#20 0x40e308e8 in QEventLoop::processEvents(unsigned) ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
#21 0x40e8bd91 in QEventLoop::processEvents(unsigned, int) ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
#22 0x40e78080 in QApplication::processEvents(int) ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
#23 0x40e78047 in QApplication::processEvents() ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
#24 0x41c718e9 in FileCreatePart::slotInitialize() ()
   from /usr/local/kde/lib/kde3/libkdevfilecreate.so
#25 0x41c71d78 in FileCreatePart::qt_invoke(int, QUObject*) ()
   from /usr/local/kde/lib/kde3/libkdevfilecreate.so
#26 0x40ed60c9 in QObject::activate_signal(QConnectionList*, QUObject*)
()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
#27 0x411b5452 in QSignal::signal(QVariant const&) ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
#28 0x40ef0158 in QSignal::activate() () from
/usr/lib/qt-3.1/lib/libqt-mt.so.3
#29 0x40ef70b3 in QSingleShotTimer::event(QEvent*) ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
#30 0x40e77f24 in QApplication::internalNotify(QObject*, QEvent*) ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
#31 0x40e77b19 in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
#32 0x40a191e9 in KApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/libkdecore.so.4
#33 0x40e52d95 in QEventLoop::activateTimers() ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
#34 0x40e308e8 in QEventLoop::processEvents(unsigned) ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
#35 0x40e8bcf6 in QEventLoop::enterLoop() ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
#36 0x40e8bb98 in QEventLoop::exec() () from
/usr/lib/qt-3.1/lib/libqt-mt.so.3
#37 0x40e78151 in QApplication::exec() ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
#38 0x08062aee in main ()
#39 0x42015574 in __libc_start_main () from /lib/tls/libc.so.6
Comment 4 Tom 2003-12-02 21:32:59 UTC
I forgot to mention - this crash occurs when attempting to create a new PHP project, right toward the tail end, I'm assuming, because I can see red text in the editor right before the SIGSEGV.
Comment 5 Amilcar do Carmo Lucas 2003-12-02 22:09:39 UTC

*** This bug has been marked as a duplicate of 63973 ***
Comment 6 Tom 2003-12-05 00:43:24 UTC
This bug has not been resolved. I still get a SIGSEGV on my RH9 box when attempting to create a new PHP project.