Bug 73754 - crash while importing existing php project
Summary: crash while importing existing php project
Status: RESOLVED FIXED
Alias: None
Product: kdevelop
Classification: Applications
Component: Language Support: PHP (show other bugs)
Version: 3.0.0
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: KDevelop Developers
URL:
Keywords:
: 77568 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-01-29 14:05 UTC by Alexander Willner
Modified: 2013-03-31 01:08 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 Alexander Willner 2004-01-29 14:05:47 UTC
Version:           3.0.0 (using KDE 3.2.0 RC1, Gentoo)
Compiler:          gcc version 3.3.2 20031218 (Gentoo Linux 3.3.2-r5, propolice-3.3-7)
OS:          Linux (i686) release 2.6.2-rc1

sorry, I've no debugging informations but you can crash kdevelop with this steps:
1. mkdir foo
2. cd foo
3. cvs -d :pserver:anonymous@develop.studip.de:/var/lib/cvs login
4. cvs -d :pserver:anonymous@develop.studip.de:/var/lib/cvs co studip
5. kdevelop
6. project > import existing project
7. 
- dictionary: /path/to/foo
- name: foo
- project type: php
8. Click on OK

- crash-
Comment 1 Jens Dagerbo 2004-01-29 14:15:40 UTC
Can't confirm. No crash here. A backtrace would really help...
Comment 2 Jens Dagerbo 2004-01-29 14:32:22 UTC
Also tried an optimized Gentoo ebuild on KDE-3.1.2. No crash.
Comment 3 Jens Dagerbo 2004-01-29 14:38:11 UTC
Crossref bug #71976. If this is the same bug, #71976 was probably incorrectly closed. This report seems to suggest it crashes already on import, in which case the katepart highlighting bug cannot reasonably be the cause.

Let's keep this one open instead of messing with it further.
Comment 4 Alexander Willner 2004-01-29 15:02:12 UTC
mh...I'll compile it with all debug-flags from cvs the next days...
Comment 5 jim 2004-01-29 23:46:40 UTC
I also get a crash - redhat 9 system
kdevelop 3.0.0r1
QT version 3.1.1-6
KDE 3.1-12
gcc 3.2.2-5

Here's a backtrace:

[New Thread 1097036224 (LWP 26668)]
0xffffe002 in ?? ()
#0  0xffffe002 in ?? ()
#1  0x40a915bd 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  0x40a9c633 in KRegExpPrivate::match(char const*) ()
   from /usr/lib/libkdecore.so.4
#6  0x40a9c978 in KRegExp::match(char const*) () from /usr/lib/libkdecore.so.4
#7  0x41ccae98 in PHPParser::parseLines(QStringList*, QString const&) ()
   from /usr/local/kde/lib/kde3/libkdevphpsupport.so
#8  0x41ccbd93 in PHPParser::parseFile(QString const&) ()
   from /usr/local/kde/lib/kde3/libkdevphpsupport.so
#9  0x41cbc570 in PHPSupportPart::maybeParse(QString) ()
   from /usr/local/kde/lib/kde3/libkdevphpsupport.so
#10 0x41cbcab1 in PHPSupportPart::initialParse() ()
   from /usr/local/kde/lib/kde3/libkdevphpsupport.so
#11 0x41cbda7b in PHPSupportPart::qt_invoke(int, QUObject*) ()
   from /usr/local/kde/lib/kde3/libkdevphpsupport.so
#12 0x40ee20c9 in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
#13 0x411c1452 in QSignal::signal(QVariant const&) ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
#14 0x40efc158 in QSignal::activate() () from /usr/lib/qt-3.1/lib/libqt-mt.so.3
#15 0x40f030b3 in QSingleShotTimer::event(QEvent*) ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
#16 0x40e83f24 in QApplication::internalNotify(QObject*, QEvent*) ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
#17 0x40e83b19 in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
#18 0x40a251e9 in KApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/libkdecore.so.4
#19 0x40e5ed95 in QEventLoop::activateTimers() ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
#20 0x40e3c8e8 in QEventLoop::processEvents(unsigned) ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
#21 0x40e97d91 in QEventLoop::processEvents(unsigned, int) ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
#22 0x40e84080 in QApplication::processEvents(int) ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
#23 0x40e84047 in QApplication::processEvents() ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
#24 0x41c868e9 in FileCreatePart::slotInitialize() ()
   from /usr/local/kde/lib/kde3/libkdevfilecreate.so
#25 0x41c86d78 in FileCreatePart::qt_invoke(int, QUObject*) ()
   from /usr/local/kde/lib/kde3/libkdevfilecreate.so
#26 0x40ee20c9 in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
#27 0x411c1452 in QSignal::signal(QVariant const&) ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
#28 0x40efc158 in QSignal::activate() () from /usr/lib/qt-3.1/lib/libqt-mt.so.3
#29 0x40f030b3 in QSingleShotTimer::event(QEvent*) ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
#30 0x40e83f24 in QApplication::internalNotify(QObject*, QEvent*) ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
#31 0x40e83b19 in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
#32 0x40a251e9 in KApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/libkdecore.so.4
#33 0x40e5ed95 in QEventLoop::activateTimers() ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
#34 0x40e3c8e8 in QEventLoop::processEvents(unsigned) ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
#35 0x40e97cf6 in QEventLoop::enterLoop() ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
#36 0x40e97b98 in QEventLoop::exec() () from /usr/lib/qt-3.1/lib/libqt-mt.so.3
#37 0x40e84151 in QApplication::exec() ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
#38 0x08062de6 in main ()
#39 0x42015574 in __libc_start_main () from /lib/tls/libc.so.6

Comment 6 Jens Dagerbo 2004-01-29 23:58:39 UTC
Crossref bug #63973 and bug #69433.

Comment 7 A. Sopicki 2004-03-10 09:02:52 UTC
I have the same problem with kdevelop 3.0.2 on KDE 3.2. I used the redhat rpms to install it. Can't import an existing PHP project nor open a PHP project. I always get a segfault. I'll try to compile kdevelop myself with debugging support to get a backtrace.
Comment 8 Jens Dagerbo 2004-03-14 19:51:22 UTC
*** Bug 77568 has been marked as a duplicate of this bug. ***
Comment 9 Jens Dagerbo 2004-03-24 04:15:15 UTC
Probably fixed by latest changes in CVS.
Comment 10 A. Sopicki 2004-03-29 09:19:08 UTC
Made an RPM for my FC 1 with latest snapshot from CVS. Opening a PHP project is working again now.
Comment 11 Jens Dagerbo 2004-03-29 16:17:04 UTC
CVS commit by dagerbo: 

Sync with HEAD. Use QRegExp instead of the deprecated KRegExp. 

CCMAIL: 73754@bugs.kde.org


  M +24 -24    phpcodecompletion.cpp   1.26.2.2
  M +17 -17    phpparser.cpp   1.16.2.1
  M +21 -1     phpsupportpart.cpp   1.54.2.1