# Segfault in zend_get_executed_lineno with APD on Windows

- Thread: https://externals.io/message/8477
- Original archive: https://news-web.php.net/php.internals/8477
- Started by Sebastian Bergmann on 2004-03-11T07:28:25+00:00
- Messages: 1
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #8477 — Sebastian Bergmann — 2004-03-11T07:28:25+00:00

URL: https://externals.io/message/8477#8477

I wanted to play with APD a bit but current HEAD/HEAD segfaults on
  Windows for tracing-enabled script execution:

zend_get_executed_lineno(void * * * 0x00702990) line 338 + 23 bytes
log_time(void * * * 0x00702990) line 424 + 26 bytes
trace_function_exit(char * 0x00a15420) line 399 + 9 bytes
apd_execute(_zend_op_array * 0x0085e588, void * * * 0x00702990) line 519 +
9 bytes
zend_do_fcall_common_helper(_zend_execute_data * 0x0012f814, _zend_op *
0x00a11170, _zend_op_array * 0x0085e248, void * * * 0x00702990) line 2677
+ 33 bytes
zend_do_fcall_by_name_handler(_zend_execute_data * 0x0012f814, _zend_op *
0x00a11170, _zend_op_array * 0x0085e248, void * * * 0x00702990) line 2759
+ 21 bytes
execute(_zend_op_array * 0x0085e248, void * * * 0x00702990) line 1339 + 23
bytes
apd_execute(_zend_op_array * 0x0085e248, void * * * 0x00702990) line 518 +
16 bytes
zend_do_fcall_common_helper(_zend_execute_data * 0x0012fa0c, _zend_op *
0x009c0b18, _zend_op_array * 0x0082f468, void * * * 0x00702990) line 2677
+ 33 bytes
zend_do_fcall_by_name_handler(_zend_execute_data * 0x0012fa0c, _zend_op *
0x009c0b18, _zend_op_array * 0x0082f468, void * * * 0x00702990) line 2759
+ 21 bytes
execute(_zend_op_array * 0x0082f468, void * * * 0x00702990) line 1339 + 23
bytes
apd_execute(_zend_op_array * 0x0082f468, void * * * 0x00702990) line 518 +
16 bytes
zend_execute_scripts(int 8, void * * * 0x00702990, _zval_struct * *
0x00000000, int 3) line 1041 + 33 bytes
php_execute_script(_zend_file_handle * 0x0012ff3c, void * * * 0x00702990)
line 1650 + 27 bytes
main(int 1, char * * 0x00702580) line 1561 + 19 bytes
mainCRTStartup() line 338 + 17 bytes

-- 
Sebastian Bergmann
http://sebastian-bergmann.de/                   http://phpOpenTracker.de/

Das Buch zu PHP 5: http://professionelle-softwareentwicklung-mit-php5.de/
