Bug 80884 - kdevelop crashes when readign a project directory with unreadable subdirectory
Summary: kdevelop crashes when readign a project directory with unreadable subdirectory
Status: RESOLVED DUPLICATE of bug 75943
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: 3.0.1
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: KDevelop Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-04 10:51 UTC by Frank Sonntag
Modified: 2004-05-04 11:23 UTC (History)
0 users

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 Frank Sonntag 2004-05-04 10:51:11 UTC
Version:           3.0.1 (using KDE KDE 3.2.2KDE 1.2)
Installed from:    00SuSE RPMs

When scanning a directory that contains a subdirectory that can not be read, kdevelop crashes.
This problem exists in:
buildtools/ant/antprojectpart.cpp
buildtools/custommakefiles/customprojectpart.cpp
buildtools/pascal/pascalproject_part.cpp
buildtools/script/scriptprojectpart.cpp

proposed fix
in method
XXX::populateProject
add 
if (dirEntries==0)
    continue;
after
const QFileInfoList *dirEntries = dir.entryInfoList();
Comment 1 Amilcar do Carmo Lucas 2004-05-04 10:58:20 UTC
I think this was solved in 3.0.3, but i canot test rigth now.
Comment 2 Frank Sonntag 2004-05-04 11:02:37 UTC
You're right, sorry. It was reported as 75943 and fixed in 3.0.3
Dont't know why I did'nt see it, when I tried to check wheter the bug had already been reported
Comment 3 Amilcar do Carmo Lucas 2004-05-04 11:23:42 UTC

*** This bug has been marked as a duplicate of 75943 ***