Summary: | archivers/php5-zip: zipArchive seg fault on archive read | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Gerard J. Cerchio <gjc> | ||||||
Component: | Individual Port(s) | Assignee: | VK <vlad-fbsd> | ||||||
Status: | Closed Feedback Timeout | ||||||||
Severity: | Affects Only Me | CC: | rene | ||||||
Priority: | --- | ||||||||
Version: | Latest | ||||||||
Hardware: | amd64 | ||||||||
OS: | Any | ||||||||
Attachments: |
|
Description
Gerard J. Cerchio
2014-08-24 03:26:26 UTC
That's not really a lot of information to go on, so I wish Alex (the maintainer) luck... Created attachment 146221 [details]
test.zip for demonstrating ZipArchive crash
Here is a small program testZipArchive.php that duplicates the crash, /tmp/test.zip attached: <?php $z = new ZipArchive(); $zopen = $z->open( "/tmp/test.zip", ZIPARCHIVE::CHECKCONS ); if ( true != $zopen ) { print( " can't open "); return; } print( "<br> archive open <br>"); flush(); if ( $info = $z->statIndex( 0 ) ) { print( "<br> archive stat <br>"); $size = $info['size']; print( "<br> archive size $size <br>"); flush(); $data = $z->getFromIndex( 0 ); // crashes process here print( "<br> archive read <br>"); flush(); } $z->close(); ?> Created attachment 146256 [details]
PHP report of machine
Updated to the new php ports still have the crash with the simple test file. The problem is no core files are being generated. I moved httpd's core fire directory to /tmp still no core file being generated. ulimit -c unlimited How do I enable core files in apache 2.4? never mind, the jail I am running in is stopping any form of core dump Unable to reproduce: $ php testZipArchive.php <br> archive open <br><br> archive stat <br><br> archive size 17715 <br><br> archive read <br> @John, did yu run it in a restricted jail environment? Note that archivers/php5-zip (the PHP 5.4 version) has been removed, is this problem relevant for archivers/php55-zip or archivers/php56-zip ? Closing for lack of feedback, and the port expired. Please reopen if you think this was a mistake, or even better please file a new report against newer PHP port version, if the problem still exists. |