Bug #17431 Updated: natsort() causes PHP to crash
ID: 17431
Updated by: sniper@php.net
Reported By: neven@saucerlike.com
-Status: Feedback
+Status: Closed
Bug Type: Reproducible crash
Operating System: Win98
PHP Version: 4.1.2
New Comment:
assumed fixed since no feedback was given.
Previous Comments:
------------------------------------------------------------------------
[2002-05-26 04:07:27] derick@php.net
I could not reproduce this. Please try the latest version from
www.php.net and report back.
------------------------------------------------------------------------
[2002-05-26 01:08:53] neven@saucerlike.com
Incredibly enough, PHP seems to crash on my system when I try running a
script containing the following lines:
$images = array (
'08icon.gif',
'amy1.jpg',
'alphabet.gif',
'alisa.jpg',
'ACME10.jpg');
natsort($images);
This is what's reported:
APACHE caused an invalid page fault in
module PHP4TS.DLL at 017f:00e1afc5.
Registers:
EAX=00e1afc0 CS=017f EIP=00e1afc5 EFLGS=00010206
EBX=0578a4c8 SS=0187 ESP=01eef9a0 EBP=78001d42
ECX=28206770 DS=0187 ESI=28206770 FS=6b27
EDX=0070d998 ES=0187 EDI=0578aad0 GS=0000
Bytes at CS:EIP:
8b 06 66 ff 48 0a 8b 06 66 8b 48 0a 66 85 c9 75
Stack dump:
31342078 00e189f7 28206770 05784e18 05784fb4 78001d42 05784b7c 00e15b4e
0578a4c8 05784e24 00e1afdc 05784fb4 0578aa58 00e189f7 05784e24
05784bb8
If i change the line to a regular sort(), no error appears. Strange.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=17431&edit=1
Thread (3 messages)