|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2008-09-02 02:39 UTC] fletch at pobox dot com
Description: ------------ My PHP version is actually 5.2.6, but that's no an option in the bug report form. Reproduce code: --------------- I can't reproduce this against a public repository, so I don't have any reproduce code for you. I have no idea what you'll need to track this down. I'm hoping the backtrace is enough. Please let me know if you need something more. Actual result: -------------- Here's the result of the crash occurring in gdb: Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: KERN_PROTECTION_FAILURE at address: 0x00000000 0x95c8e150 in strlen () (gdb) bt #0 0x95c8e150 in strlen () #1 0x0026f2cf in add_next_index_string () #2 0x019ea156 in zif_svn_commit () #3 0x0028eb01 in zend_do_fcall_common_helper_SPEC () #4 0x0028c2f8 in execute () #5 0x0028e52d in zend_do_fcall_common_helper_SPEC () #6 0x0028c2f8 in execute () #7 0x0026dd0c in zend_execute_scripts () #8 0x00225e2f in php_execute_script () #9 0x00306a2a in main () (gdb) PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 12:00:01 2025 UTC |
I spent some time with this tonight and finally found a simple test case. Here's some reproduce code: <?php $versioned_dir = '/path/to/working/copy'; // make a new file in the versioned dir $new_file = $versioned_dir . '/' . uniqid(); touch( $new_file ); // schedule it for addition svn_add( $new_file ); // commit it svn_commit( 'testing for php bug', $new_file ); // commit it again, triggering the bus error svn_commit( 'testing for php bug', $new_file ); ?> The larger script that I first had problems with processes a large set of xml files, commits them, rinse, repeat. I guess I have some work to do to make sure the files are actually modified first. :)