kenahoo / Path-Class

Cross-platform path specification manipulation
http://search.cpan.org/dist/Path-Class/
15 stars 28 forks source link

Path::Class 0.33 crashes on windows #24

Closed zdm closed 10 years ago

zdm commented 10 years ago

Hello, I'm using ActivePerl 5.18.1 on MSWin 8.1 x64.

When updating to the latest Path::Class v.033 Perl::Critic start producing following fatal error (i think that reason in incorrect call to File::stat from Path::Class::Entity):

[12:31:15.792][5596:0:0][File::stat][FATAL] Your vendor has not defined Fcntl macro S_ISVTX, used at d:/devel/perl/lib/File/stat.pm line 37 eval {...} at D:\devel\perl\lib\File\stat.pm line 37 File::stat::BEGIN at D:\devel\perl\lib\File\stat.pm line 48 eval {...} at D:\devel\perl\lib\File\stat.pm line 48 require File/stat.pm at D:\devel\perl\site\lib\Path\Class\Entity.pm line 9 Path::Class::Entity::BEGIN at D:\devel\perl\lib\File\stat.pm line 48 eval {...} at D:\devel\perl\lib\File\stat.pm line 48 require Path/Class/Entity.pm at D:\devel\perl\site\lib\parent.pm line 20 parent::import at D:\devel\perl\site\lib\Path\Class\Dir.pm line 10 Path::Class::Dir::BEGIN at D:\devel\perl\lib\File\stat.pm line 48 eval {...} at D:\devel\perl\lib\File\stat.pm line 48 require Path/Class/Dir.pm at D:\devel\perl\site\lib\Path\Class\File.pm line 8 Path::Class::File::BEGIN at D:\devel\perl\lib\File\stat.pm line 48 eval {...} at D:\devel\perl\lib\File\stat.pm line 48 require Path/Class/File.pm at D:\devel\perl\site\lib\File\ShareDir\ProjectDistDir.pm line 15 File::ShareDir::ProjectDistDir::BEGIN at D:\devel\perl\lib\File\stat.pm line 48 eval {...} at D:\devel\perl\lib\File\stat.pm line 48 require File/ShareDir/ProjectDistDir.pm at D:\devel\perl\site\lib\Pod\Wordlist.pm line 6 Pod::Wordlist::BEGIN at D:\devel\perl\lib\File\stat.pm line 48 eval {...} at D:\devel\perl\lib\File\stat.pm line 48 require Pod/Wordlist.pm at D:\devel\perl\site\lib\Pod\Spell.pm line 10 Pod::Spell::BEGIN at D:\devel\perl\lib\File\stat.pm line 48 eval {...} at D:\devel\perl\lib\File\stat.pm line 48 require Pod/Spell.pm at D:\devel\perl\site\lib\Perl\Critic\Policy\Documentation\PodSpelling.pm line 21 Perl::Critic::Policy::Documentation::PodSpelling::BEGIN at D:\devel\perl\lib\File\stat.pm line 48 eval {...} at D:\devel\perl\lib\File\stat.pm line 48 require Perl/Critic/Policy/Documentation/PodSpelling.pm at (eval 541) line 2 eval 'CORE::require Perl::Critic::Policy::Documentation::PodSpelling

kenahoo commented 10 years ago

I downloaded Path::Class and ran through the tests, both under Cygwin and Strawberry Perl, and everything passed. Do you have any more ideas about what the problem might be?

zdm commented 10 years ago

Hi.

As i see after debugging - this is not Path::Class problem. This problem is related to File::stat SIGDIE handler in my software, but it begin occur after update to Path::Class 0.33. Please, close issue.

On 13.12.2013 6:46, Ken Williams wrote:

I downloaded |Path::Class| and ran through the tests, both under Cygwin and Strawberry Perl, and everything passed. Do you have any more ideas about what the problem might be?

— Reply to this email directly or view it on GitHub https://github.com/kenahoo/Path-Class/issues/24#issuecomment-30486871.

kenahoo commented 10 years ago

Thanks.