Edit report at https://bugs.php.net/bug.php?id=55753&edit=1
ID: 55753 Comment by: dado at burza dot hr Reported by: dado at burza dot hr Summary: Sporadic crashes Status: Feedback Type: Bug Package: Reproducible crash Operating System: Fedora 14 i686 PHP Version: 5.3.8 Block user comment: N Private report: N New Comment: Anyway, installed and run it through valgrind, this is what I get when the crash happens: ==3484== Invalid read of size 1 ==3484== at 0x5742DAF: _zend_mm_free_int (zend_alloc.c:2028) ==3484== by 0x5754BED: _zval_ptr_dtor (zend_execute_API.c:448) ==3484== by 0x577169E: zend_hash_destroy (zend_hash.c:529) ==3484== by 0x5762F0D: _zval_dtor_func (zend_variables.c:43) ==3484== by 0x5754BE5: _zval_ptr_dtor (zend_variables.h:35) ==3484== by 0x577169E: zend_hash_destroy (zend_hash.c:529) ==3484== by 0x5784603: zend_object_std_dtor (zend_objects.c:45) ==3484== by 0x5784642: zend_objects_free_object_storage (zend_objects.c:126) ==3484== by 0x57888EB: zend_objects_store_del_ref_by_handle_ex (zend_objects_API.c:220) ==3484== by 0x578892F: zend_objects_store_del_ref (zend_objects_API.c:172) ==3484== by 0x5762EE0: _zval_dtor_func (zend_variables.c:52) ==3484== by 0x5754BE5: _zval_ptr_dtor (zend_variables.h:35) ==3484== Address 0x14d8a104 is not stack'd, malloc'd or (recently) free'd ==3484== ==3484== ==3484== HEAP SUMMARY: ==3484== in use at exit: 4,227,758 bytes in 17,213 blocks ==3484== total heap usage: 19,369 allocs, 2,156 frees, 7,173,022 bytes allocated ==3484== ==3484== LEAK SUMMARY: ==3484== definitely lost: 20 bytes in 5 blocks ==3484== indirectly lost: 0 bytes in 0 blocks ==3484== possibly lost: 3,042,278 bytes in 5,404 blocks ==3484== still reachable: 1,185,460 bytes in 11,804 blocks ==3484== suppressed: 0 bytes in 0 blocks ==3484== Rerun with --leak-check=full to see details of leaked memory ==3484== ==3484== For counts of detected and suppressed errors, rerun with: -v ==3484== ERROR SUMMARY: 5 errors from 3 contexts (suppressed: 963 from 13) Seeing I'm not a C developer and can't really read valgrind's and gdb's backtraces, you'll have to tell if this means anything. :) Previous Comments: ------------------------------------------------------------------------ [2011-09-21 11:46:38] dado at burza dot hr OK, I am not able to make the vanilla version crash, but just now checked and the production server is running manually compiled 5.2 version which also crashes here (don't know if for same reason, assuming yes). I've taken their ./configure, but as it uses other, also manually compiled stuff, it doesn't match my environment (and thus, also doesn't crash). Are you able (by looking at the bt) to slightly reduce where this could be? I can provide additional info and try/test stuff to see if it breaks. Also, as said earlier, my co-worker got a crash on the exact same place, running Ubuntu. When he gets back, I'll attach his BT here too. ------------------------------------------------------------------------ [2011-09-21 09:24:28] dado at burza dot hr Yeah, I need it to go through Apache to be able to access the URL which it crashes on, seeing I don't have a simple script to run on a locally installed executable. I'm compiling vanilla as typing this, but have yet to figure out how to get the exact ./configure from the RPM (different options might make it not crash at all). The issue is that this is crashing on the exact same place on Fedora, CentOS and Ubuntu (my co-worker tried) so my guess is that it isn't distro-specific). Will get back to you, tnx. ------------------------------------------------------------------------ [2011-09-21 09:19:33] paj...@php.net not really, best would be to be using our src directly. You don't have to install PHP, it can be done using a local install in your home. If you can't do it, I would suggest to report the problem to fedora directly but without some kind of reproduce steps, there is little chance to get a fix. ------------------------------------------------------------------------ [2011-09-21 09:10:14] dado at burza dot hr If I recompile the RPM having disabled all the patches, does that count? ------------------------------------------------------------------------ [2011-09-21 09:02:54] paj...@php.net Please try using a plain vanilla php (from php.net) ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=55753 -- Edit this bug report at https://bugs.php.net/bug.php?id=55753&edit=1