Bug #75395 [NEW]: Core dump in in timelib_get_time_zone_info
| From: | phil at jankaritech dot com | Date: | Tue, 17 Oct 2017 06:59:57 +0000 |
| Subject: | Bug #75395 [NEW]: Core dump in in timelib_get_time_zone_info | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-211745@lists.php.net to get a copy of this message | ||
From: phil at jankaritech dot com
Operating system: Ubuntu 16.04
PHP version: 7.1.10
Package: Reproducible crash
Bug Type: Bug
Bug description:Core dump in in timelib_get_time_zone_info
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)
--
Edit bug report at https://bugs.php.net/bug.php?id=75395&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=75395&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=75395&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=75395&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=75395&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=75395&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=75395&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=75395&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=75395&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=75395&r=support
Expected behavior: https://bugs.php.net/fix.php?id=75395&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=75395&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=75395&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=75395&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=75395&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=75395&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=75395&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=75395&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=75395&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=75395&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=75395&r=mysqlcfg