Bug #71160 [Com]: PHP 5.3.2 cross compile for arm using clang coredumps
[email protected] ("ratheesh dot tv at gmail dot com")
| Newsgroups | php.bugs |
|---|---|
| Message-ID | <[email protected]> |
Edit report at https://bugs.php.net/bug.php?id=71160&edit=1
ID: 71160
Comment by: ratheesh dot tv at gmail dot com
Reported by: ratheesh dot tv at gmail dot com
Summary: PHP 5.3.2 cross compile for arm using clang
coredumps
Status: Open
Type: Bug
Package: Reproducible crash
Operating System: Free BSD 10
PHP Version: 5.3.2
Block user comment: N
Private report: N
New Comment:
I am able to reproduce this in PHP 5.5.15
Sorry I cud not try with 5.5.30
Previous Comments:
------------------------------------------------------------------------
[2015-12-18 13:53:42] [email protected]
Are you able to reproduce this with a supported version of PHP?
You can see the currently supported vesions here: http://php.net/supported-versions.php
------------------------------------------------------------------------
[2015-12-18 13:41:04] ratheesh dot tv at gmail dot com
Description:
------------
We are doing cross compilation of PHP 5.3.2 in Free BSD 10 using clang for ARM architecture. Compilation goes fine and binary is causing core dump when doing :
1) Decimal operation with values > 1000000000
2) md5(uniqid(rand(), true)) call also causing core.
3) xpath reading.
Used -g option to enable debug symbols. But still the core dump is not having any stack
root@myhost:/var/tmp # gdb php.core.1
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "arm-specifix.com-freebsd"..."/var/tmp/php.core.1": not in executable format: File format not recognized
(gdb) bt
No stack.
(gdb)
Expected result:
----------------
No core dump
Actual result:
--------------
core dump generated with no stack.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=71160&edit=1