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

List:       kdevelop-bugs
Subject:    [Bug 123056] New: missing package statement in perl project causes a crash
From:       kdevelop-bugs-admin () barney ! cs ! uni-potsdam ! de
Date:       2006-03-04 5:18:00
Message-ID: 20060304061758.123056.dave () dhdo ! org
[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=123056         
           Summary: missing package statement in perl project causes a crash
           Product: kdevelop
           Version: unspecified
          Platform: unspecified
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: kdevelop-bugs kdevelop org
        ReportedBy: dave dhdo org


Version:           3.3 (using KDE 3.5.1, Debian Package 4:3.5.1-2 (testing/unstable))
Compiler:          Target: i486-linux-gnu
OS:                Linux (i686) release 2.6.15-1-k7

Using the "Scripting" profile provided by the debian package, and specifically with a \
perl project, with a file missing the "package" declaration will crash kdevelop on \
loading.  

Example source file:

#!/usr/bin/perl

sub whatever { 
  # whatever
}

1;

And the command line love:
dave ampet:~$ kdevelop3
QLayout "unnamed" added to IndexView "unnamed", which already has a layout
ERROR: syntax error
QObject::connect: No such slot ClassViewPart::removeNamespace(const QString&)
QObject::connect:  (sender name:   'ClassViewWidget')
QObject::connect:  (receiver name: 'ClassViewPart')
ASSERT: "part && parent" in \
                /tmp/buildd/kdevelop3-3.3.0/./parts/fileview/partwidget.cpp (40)
ERROR: syntax error
ERROR: syntax error
i = 3, currDir = , currFile = 
KCrash: Application 'kdevelop3' crashing...
dave ampet:~$


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

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