| Summary: | kdevelop crash after selecting php invocation method | ||
|---|---|---|---|
| Product: | [Applications] kdevelop | Reporter: | Soyapi Mumba <soyapim> |
| Component: | Language Support: PHP | Assignee: | KDevelop Developers <kdevelop-devel> |
| Status: | RESOLVED FIXED | ||
| Severity: | crash | CC: | cj |
| Priority: | NOR | ||
| Version First Reported In: | 3.0.0a4 | ||
| Target Milestone: | --- | ||
| Platform: | openSUSE | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Soyapi Mumba
2003-11-26 09:26:19 UTC
Heh. Alpha4? You know.. we have gotten a bit better since then.. :)
Not in this case though, I got the crash. :/
Adding a few lines from my bt (same, but with line numbers):
#3 <signal handler called>
#4 0x429376a2 in KIO::Job::progressId() const (this=0x90f9c38)
at jobclasses.h:101
#5 0x429346ca in PHPSupportPart::slotWebJobStarted(KIO::Job*) (
this=0x90f9c38, job=0x0) at phpsupportpart.cpp:265
#6 0x4293617d in PHPSupportPart::qt_invoke(int, QUObject*) (this=0x90f9c38,
_id=16, _o=0xbfffe670) at phpsupportpart.moc:174
#7 0x411b0ef8 in QObject::activate_signal(QConnectionList*, QUObject*) ()
from /opt/qt-3.2.1/lib/libqt-mt.so.3
KDevelop 3 alpha4a is a very old. The KDevelop team closed over 327 reported and confirmed issues since the release of KDevelop3.0 Alpha 4a. And we also fixed an uncountable number of non-reportrd issues. You are strongly advised to update to the latest CVS version of KDevelop3 take a look at: http://www.kdevelop.org/index.html?filename=branches_compiling.html for all the details you need. If you find a problem or need help please send a mail to the mailing list: http://www.kdevelop.org/index.html?filename=mailinglist.html or drop us a line at the channel #kdevelop on the server irc.kde.org using ksirc, for example. Please use the CVS version and compile it yourself because that way you can easily patch it if a bug is found. Subject: kdevelop/languages/php CVS commit by dagerbo: Avoid crashing when the passed KIO::Job is 0 CCMAIL: 69047-done@bugs.kde.org M +2 -2 phpsupportpart.cpp 1.52 --- kdevelop/languages/php/phpsupportpart.cpp #1.51:1.52 @@ -263,6 +263,6 @@ void PHPSupportPart::executeOnWebserver( void PHPSupportPart::slotWebJobStarted(KIO::Job* job){ + if (job && job->className() == QString("KIO::TransferJob")){ kdDebug(9018) << endl << "job started" << job->progressId(); - if (job->className() == QString("KIO::TransferJob")){ KIO::TransferJob *tjob = static_cast<KIO::TransferJob*>(job); connect(tjob, SIGNAL(data(KIO::Job*, const QByteArray&)), Subject: Re: kdevelop crash after selecting php invocation method Sorry for the touble. I will get the latest CVS version now Thanks alot On Wednesday 26 November 2003 11:12, you wrote: > ------- You are receiving this mail because: ------- > You reported the bug, or are watching the reporter. > > http://bugs.kde.org/show_bug.cgi?id=69047 > jens.dagerbo@swipnet.se changed: > > What |Removed |Added > --------------------------------------------------------------------------- >- Status|NEW |RESOLVED > Resolution| |FIXED > > > > ------- Additional Comments From jens.dagerbo@swipnet.se 2003-11-26 11:12 > ------- Subject: kdevelop/languages/php > > CVS commit by dagerbo: > > Avoid crashing when the passed KIO::Job is 0 > > CCMAIL: 69047-done@bugs.kde.org > > > M +2 -2 phpsupportpart.cpp 1.52 > > > --- kdevelop/languages/php/phpsupportpart.cpp #1.51:1.52 > @@ -263,6 +263,6 @@ void PHPSupportPart::executeOnWebserver( > > void PHPSupportPart::slotWebJobStarted(KIO::Job* job){ > + if (job && job->className() == QString("KIO::TransferJob")){ > kdDebug(9018) << endl << "job started" << job->progressId(); > - if (job->className() == QString("KIO::TransferJob")){ > KIO::TransferJob *tjob = static_cast<KIO::TransferJob*>(job); > connect(tjob, SIGNAL(data(KIO::Job*, const QByteArray&)), |