Skip to content

Segfault with Compress::Raw::Zlib::Z_NULL #17

Closed
@atheurer

Description

@atheurer

This statement is part of a unit test for IO::Compress
Compress::Raw::Zlib versions 2.105 and older have no problems, anything newer than 2.105 results in segfault.

v2.105:

[root@dhcp31-192 Compress-Raw-Zlib-2.105]# make install
"/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Zlib.bs blib/arch/auto/Compress/Raw/Zlib/Zlib.bs 644
Manifying 1 pod document
Files found in blib/arch: installing files in blib/lib into architecture dependent library tree
Installing /usr/local/lib64/perl5/5.34/auto/Compress/Raw/Zlib/Zlib.so
Installing /usr/local/lib64/perl5/5.34/Compress/Raw/Zlib.pm
Installing /usr/local/share/man/man3/Compress::Raw::Zlib.3pm
Appending installation info to /usr/lib64/perl5/perllocal.pod
[root@dhcp31-192 Compress-Raw-Zlib-2.105]# /usr/bin/perl -w -e '{ use Compress::Raw::Zlib ; eval "defined Compress::Raw::Zlib::Z_NULL" ; }'
[root@dhcp31-192 Compress-Raw-Zlib-2.105]#

v2.200 & v2.01:

[root@dhcp31-192 Compress-Raw-Zlib-2.200]# make install
"/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Zlib.bs blib/arch/auto/Compress/Raw/Zlib/Zlib.bs 644
Manifying 1 pod document
Files found in blib/arch: installing files in blib/lib into architecture dependent library tree
Installing /usr/local/lib64/perl5/5.34/auto/Compress/Raw/Zlib/Zlib.so
Installing /usr/local/lib64/perl5/5.34/Compress/Raw/Zlib.pm
Installing /usr/local/share/man/man3/Compress::Raw::Zlib.3pm
Appending installation info to /usr/lib64/perl5/perllocal.pod
[root@dhcp31-192 Compress-Raw-Zlib-2.200]# /usr/bin/perl -w -e '{ use Compress::Raw::Zlib ; eval "defined Compress::Raw::Zlib::Z_NULL" ; }'
Segmentation fault (core dumped)

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions