Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Git\Index\getEntry caused SEGV when using 64bit linux machine. #10

Open
chobie opened this issue Jul 18, 2011 · 0 comments
Open

Git\Index\getEntry caused SEGV when using 64bit linux machine. #10

chobie opened this issue Jul 18, 2011 · 0 comments
Assignees
Milestone

Comments

@chobie
Copy link
Member

chobie commented Jul 18, 2011

reported by @vissi. thanks!

straight forward test code.

<?php
define("REPOSITORY_NAME","/git_index_test");
use Git\Repository;

$repository = new Repository(__DIR__ . REPOSITORY_NAME . "/.git");
$index = $repository->getIndex();
$entry = $index->getEntry(0);
Program received signal SIGSEGV, Segmentation fault.
zend_do_fcall_common_helper_SPEC (execute_data=0x7fff00000000) at /build/buildd/php5-5.3.5/Zend/zend_vm_execute.h:383
383     in /build/buildd/php5-5.3.5/Zend/zend_vm_execute.h

i've spend several hours but i couldn't fixed yet.
perhaps some function brake PHP mermoy.so i'll more trace deeply.

@ghost ghost assigned chobie Jul 18, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant