[PHP-BUG] Bug #71160 [NEW]: 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]> |
From: ratheesh dot tv at gmail dot com
Operating system: Free BSD 10
PHP version: 5.5.30
Package: Reproducible crash
Bug Type: Bug
Bug description:PHP 5.3.2 cross compile for arm using clang coredumps
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 bug report at https://bugs.php.net/bug.php?id=71160&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=71160&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=71160&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=71160&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=71160&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=71160&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=71160&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=71160&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=71160&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=71160&r=support
Expected behavior: https://bugs.php.net/fix.php?id=71160&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=71160&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=71160&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=71160&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=71160&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=71160&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=71160&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=71160&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=71160&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=71160&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=71160&r=mysqlcfg