[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kdevelop-bugs
Subject:    [Bug 137699] New: kdevelop crashes when the phrase "return $this;
From:       Dariusz Maciejewski <darek () wzoo ! tk>
Date:       2006-11-21 20:11:23
Message-ID: 20061121211120.137699.darek () wzoo ! tk
[Download RAW message or body]

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=137699         
           Summary: kdevelop crashes when the phrase "return $this;" apears
                    in the code
           Product: kdevelop
           Version: 3.3.2
          Platform: unspecified
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: kdevelop-bugs kdevelop org
        ReportedBy: darek wzoo tk


Version:           3.3.2 (using KDE 3.5.2, Kubuntu Package 4:3.5.2-0ubuntu18.1 \
                dapper)
Compiler:          Target: i486-linux-gnu
OS:                Linux (i686) release 2.6.15-27-386

I have a php project, in one of the .php files I have the line with the following \
text:  return $this;
When I close the kDevelop and reopen the project, the files load, and when the \
loading is finished, the kDevelop crashes.
The problem exists only with files that are in the directory with a project or in one \
of its subdirectories.

Reproduction:
<?php
class crash
{
  public function __construct()
  {
    // init crash - constructor has to be non-empty
  }

  public function &doCrash()
  {
    return $this;
  }
}
?>


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic