|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #18217 natcasesort() crashes
Submitted: 2002-07-08 01:43 UTC Modified: 2002-07-08 02:00 UTC
From: mail at dbCF dot de Assigned:
Status: Not a bug Package: Reproducible crash
PHP Version: 4.2.1 OS: Windows 98
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: mail at dbCF dot de
New email:
PHP Version: OS:


 [2002-07-08 01:43 UTC] mail at dbCF dot de
I've an array:
$i++; $pages[$i]=array("0158","RW 18 und 8","","rw18und8.jpg","236","178");
$i++; $pages[$i]=array("0157","Steve's World","","stevesworld.jpg","273","197");
$i++; $pages[$i]=array("0156","Mauricios Homepage","","mauricio.jpg","427","251");
$i++; $pages[$i]=array("0155","***action concept***","","actionconcept.jpg","377","186");
$i++; $pages[$i]=array("0154"," - der grund f?r die erfindung des internets","","arsch.gif","326","110");
$i++; $pages[$i]=array("0153","SMS-Bilder kostenlos...","","hartjes.gif","409","186");
...and so on...

The function natcasesort ("$pages=natcasesort($pages);") makes my PHP-engine crash.
The browser shows me:
"Notice: Array to string conversion in [...]\inetpub\flashhasser\files\showlinks.php on line 45"

Windows also shows me the following box with this message:
"PHP verursachte einen Fehler durch eine ung?ltige Seite
in Modul KERNEL32.DLL bei 015f:bff7a115.
EAX=011c5aa8 CS=015f EIP=bff7a115 EFLGS=00010212
EBX=023c0e70 SS=0167 ESP=0063f794 EBP=0063f7c8
ECX=00100000 DS=0167 ESI=011e0308 FS=64a7
EDX=011c5aa8 ES=0167 EDI=011e0b68 GS=0000
Bytes bei CS:EIP:
8b 03 a8 01 74 25 25 fc ff ff 0f 8b 53 08 03 f8 
0063f7c8 011e0310 01170000 011e0884 bff7b30e 01170000 011e0308 011e0b68 00000200 00760120 011e0330 00000005 011e0308 00000000 1008d95b 01170000"


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-07-08 02:00 UTC] mail at dbCF dot de
Okay, it crashes, but the line "$pages=natcasesort($pages);" was really stupid...
 [2002-07-24 09:51 UTC] peter at panvox dot net
For me it causes Apache 2 to shut down.  
The error log shows the following:

[Wed Jul 24 09:37:01 2002] [notice] Parent: child process exited with status 3221225477 -- Restarting.
[Wed Jul 24 09:37:02 2002] [notice] Parent: Created child process 2680
[Wed Jul 24 09:37:02 2002] [notice] Child 2680: Child process is running
[Wed Jul 24 09:37:03 2002] [notice] Child 2680: Acquired the start mutex.
[Wed Jul 24 09:37:03 2002] [notice] Child 2680: Starting 250 worker threads.

Win-XP ( home )
PHP 4.2.1
Apache 2
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Wed Feb 19 22:01:28 2020 UTC