|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2017-10-17 06:59 UTC] phil at jankaritech dot com
Description: ------------ PHP 7.1.10 Using PHP dev server Reproduced on both Ubuntu 16.04 LTS and Ubuntu 17.10-BETA Backtrace: Core was generated by `php -S localhost:8080'. Program terminated with signal SIGSEGV, Segmentation fault. warning: Unexpected size of section `.reg-xstate/19170' in core file. #0 0x000055dd66964ca0 in ?? () (gdb) bt #0 0x000055dd66964ca0 in ?? () #1 0x000055dd66966984 in timelib_get_time_zone_info () #2 0x000055dd6696884c in timelib_unixtime2local () #3 0x000055dd66944fc6 in php_format_date () #4 0x000055dd66b6dcbb in ?? () #5 0x000055dd66b70c55 in ?? () #6 0x000055dd66b7158e in ?? () #7 0x000055dd66b72119 in do_cli_server () #8 0x000055dd6693bf93 in main () So far I have narrowed it down in ownCloud10 to: - skeleton directory of default files for a new user has >45 files - create a new user - login as that user The PHP server is copying these files into the user's new folder, and thumbnails get generated and AJAX calls to display the thumbnails... Sorry - it needs cutting down into a more simplified actual code example! PHP core dumps with the above backtrace. Use <=45 files and it works fine. I cannot reproduce it with PHP 7.0.22 (I can switch back and forth and the segfault comes and goes) PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 14:00:01 2025 UTC |
I just got a similar crash with Debian (PHP 7.3.3-1 (cli) (built: Mar 7 2019 19:43:34) ( NTS )) #0 __strlen_sse2 () at ../sysdeps/x86_64/multiarch/../strlen.S:120 #1 0x00005555557d7c8e in _estrdup (s=0x8000ea006368 <error: Cannot access memory at address 0x8000ea006368>) at ./Zend/zend_alloc.c:2591 #2 0x000055555568da05 in timelib_get_time_zone_info (ts=1553693364, tz=0x7ffff5003140) at ./ext/date/lib/parse_tz.c:1247 #3 0x0000555555662918 in date_format (format=format@entry=0x5555558eb49c "r", format_len=format_len@entry=1, t=t@entry=0x7ffff5001000, localtime=localtime@entry=1) at ./ext/date/php_date.c:1162 #4 0x000055555566a55d in php_format_date (format=format@entry=0x5555558eb49c "r", format_len=format_len@entry=1, ts=1553693364, localtime=localtime@entry=1) at ./ext/date/php_date.c:1327 #5 0x00005555558889b0 in append_essential_headers (buffer=buffer@entry=0x7fffffffc990, client=client@entry=0x555555d0fd10, persistent=persistent@entry=1) at ./sapi/cli/php_cli_server.c:357 #6 0x000055555588b973 in php_cli_server_begin_send_static (client=0x555555d0fd10, server=0x5555559f7000 <server>) at ./sapi/cli/php_cli_server.c:2041 #7 php_cli_server_dispatch (client=0x555555d0fd10, server=0x5555559f7000 <server>) at ./sapi/cli/php_cli_server.c:2184 #8 php_cli_server_recv_event_read_request (server=0x5555559f7000 <server>, client=0x555555d0fd10) at ./sapi/cli/php_cli_server.c:2379 #9 0x000055555588bf70 in php_cli_server_do_event_for_each_fd_callback (_params=_params@entry=0x7fffffffcae0, fd=fd@entry=6, event=event@entry=1) at ./sapi/cli/php_cli_server.c:2462 #10 0x000055555588cc7b in php_cli_server_poller_iter_on_active (poller=0x5555559f7008 <server+8>, callback=0x55555588bf20 <php_cli_server_do_event_for_each_fd_callback>, opaque=0x7fffffffcae0) at ./sapi/cli/php_cli_server.c:844 #11 php_cli_server_do_event_for_each_fd (whandler=0x555555889f80 <php_cli_server_send_event>, rhandler=0x55555588b680 <php_cli_server_recv_event_read_request>, server=0x5555559f7000 <server>) at ./sapi/cli/php_cli_server.c:2480 #12 php_cli_server_do_event_loop (server=0x5555559f7000 <server>) at ./sapi/cli/php_cli_server.c:2490 #13 do_cli_server (argc=<optimized out>, argv=<optimized out>) at ./sapi/cli/php_cli_server.c:2612 #14 0x00005555556617c3 in main (argc=3, argv=0x555555a123f0) at ./sapi/cli/php_cli.c:1392