Edit report at https://bugs.php.net/bug.php?id=63287&edit=1

 ID:                 63287
 Comment by:         evert at rooftopsolutions dot nl
 Reported by:        evert at rooftopsolutions dot nl
 Summary:            Segfault in PHP 5.4.7 on OS X 10.7
 Status:             Feedback
 Type:               Bug
 Package:            Reproducible crash
 Operating System:   OS X 10.7
 PHP Version:        5.4.7
 Block user comment: N
 Private report:     N

 New Comment:

With or without xdebug, I cannot reproduce this anymore.

A bit annoying, as this was yesterday definitely the case. The problem appeared 
and disappeared as I changed different things (turn on mysql, change a line of 
code).. but not today.

So I suppose this bug can be closed until I can do this again.


Previous Comments:
------------------------------------------------------------------------
[2012-10-17 10:45:54] evert at rooftopsolutions dot nl

Unfortunately it also appears without xdebug. It seems GC related.

This just happened at my home computer, so I will try again this evening to 
trigger this without xdebug.

thnx!

------------------------------------------------------------------------
[2012-10-17 10:44:13] cataphr...@php.net

Try again without xdebug. If it goes away submit the bug to 
http://bugs.xdebug.org/ instead.

------------------------------------------------------------------------
[2012-10-16 16:09:09] evert at rooftopsolutions dot nl

Description:
------------
Hi!

I'm getting segfaults at random places. The stacktrace I gathered so far is 
this:

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x00000f780000002d
0x0000000100345623 in zval_mark_grey ()

#0  0x0000000100345623 in zval_mark_grey ()
#1  0x0000000100345644 in zval_mark_grey ()
#2  0x0000000100344986 in gc_collect_cycles ()
#3  0x00000001003445f5 in gc_zval_possible_root ()
#4  0x0000000100336e9d in zend_hash_destroy ()
#5  0x000000010032a0bd in _zval_dtor_func ()
#6  0x00000001000529ae in php_pcre_match_impl ()
#7  0x0000000100055a30 in php_do_pcre_match ()
#8  0x000000010031f341 in dtrace_execute_internal ()
#9  0x0000000100e98037 in xdebug_execute_internal ()
#10 0x000000010038fb0f in zend_do_fcall_common_helper_SPEC ()
#11 0x000000010034cf7c in execute ()
#12 0x000000010031f286 in dtrace_execute ()
#13 0x0000000100e97dba in xdebug_execute ()
#14 0x000000010038fc34 in zend_do_fcall_common_helper_SPEC ()
#15 0x000000010034cf7c in execute ()
#16 0x000000010031f286 in dtrace_execute ()
#17 0x0000000100e97dba in xdebug_execute ()
#18 0x000000010038fc34 in zend_do_fcall_common_helper_SPEC ()
#19 0x000000010034cf7c in execute ()
#20 0x000000010031f286 in dtrace_execute ()
#21 0x0000000100e97dba in xdebug_execute ()
#22 0x000000010038fc34 in zend_do_fcall_common_helper_SPEC ()
#23 0x000000010034cf7c in execute ()
#24 0x000000010031f286 in dtrace_execute ()
#25 0x0000000100e97dba in xdebug_execute ()
#26 0x000000010038fc34 in zend_do_fcall_common_helper_SPEC ()
#27 0x000000010034cf7c in execute ()
#28 0x000000010031f286 in dtrace_execute ()
#29 0x0000000100e97dba in xdebug_execute ()
#30 0x000000010038fc34 in zend_do_fcall_common_helper_SPEC ()
#31 0x000000010034cf7c in execute ()
#32 0x000000010031f286 in dtrace_execute ()
#33 0x0000000100e97dba in xdebug_execute ()
#34 0x000000010038fc34 in zend_do_fcall_common_helper_SPEC ()
#35 0x000000010034cf7c in execute ()
#36 0x000000010031f286 in dtrace_execute ()
#37 0x0000000100e97dba in xdebug_execute ()
#38 0x000000010038fc34 in zend_do_fcall_common_helper_SPEC ()
#39 0x000000010034cf7c in execute ()
#40 0x000000010031f286 in dtrace_execute ()
#41 0x0000000100e97dba in xdebug_execute ()
#42 0x000000010038fc34 in zend_do_fcall_common_helper_SPEC ()
#43 0x000000010034cf7c in execute ()
#44 0x000000010031f286 in dtrace_execute ()
#45 0x0000000100e97dba in xdebug_execute ()
#46 0x000000010038fc34 in zend_do_fcall_common_helper_SPEC ()
#47 0x000000010034cf7c in execute ()
#48 0x000000010031f286 in dtrace_execute ()
#49 0x0000000100e97dba in xdebug_execute ()
#50 0x000000010038fc34 in zend_do_fcall_common_helper_SPEC ()
#51 0x000000010034cf7c in execute ()
#52 0x000000010031f286 in dtrace_execute ()
#53 0x0000000100e97dba in xdebug_execute ()
#54 0x000000010038fc34 in zend_do_fcall_common_helper_SPEC ()
#55 0x000000010034cf7c in execute ()
#56 0x000000010031f286 in dtrace_execute ()
#57 0x0000000100e97dba in xdebug_execute ()
#58 0x000000010038fc34 in zend_do_fcall_common_helper_SPEC ()
#59 0x000000010034cf7c in execute ()
#60 0x000000010031f286 in dtrace_execute ()
#61 0x0000000100e97dba in xdebug_execute ()
#62 0x000000010038fc34 in zend_do_fcall_common_helper_SPEC ()
#63 0x000000010034cf7c in execute ()
#64 0x000000010031f286 in dtrace_execute ()
#65 0x0000000100e97dba in xdebug_execute ()
#66 0x000000010038fc34 in zend_do_fcall_common_helper_SPEC ()
#67 0x000000010034cf7c in execute ()
#68 0x000000010031f286 in dtrace_execute ()
#69 0x0000000100e97dba in xdebug_execute ()
#70 0x000000010032c570 in zend_execute_scripts ()
#71 0x00000001002db63b in php_execute_script ()
#72 0x00000001003addfd in do_cli ()
#73 0x00000001003ad26f in main ()

The problem occurs all over the place in different situations. Remove xdebug, 
problem goes away.. start mysql.. problem comes back.. change a file, problem 
is somewhere else.

So I understand this is pretty vague


Test script:
---------------
Unfortunately I cannot create a simple testcase, as the location of the error 
alternates, and doesn't appear in simple scripts. I would be more than happy to 
give you more details though, Just need to know where and what to do..

Expected result:
----------------
No segfault

Actual result:
--------------
A segfault


------------------------------------------------------------------------



-- 
Edit this bug report at https://bugs.php.net/bug.php?id=63287&edit=1

Reply via email to