Bug #18217: natcasesort() crashes
| From: | mail at dbCF dot de | Date: | Mon, 08 Jul 2002 05:43:58 +0000 |
| Subject: | Bug #18217: natcasesort() crashes | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-13482@lists.php.net to get a copy of this message | ||
From: mail@dbCF.de
Operating system: Windows 98
PHP version: 4.2.1
PHP Bug Type: Reproducible crash
Bug description: natcasesort() crashes
I've an array:
-------------------------------
$i=-1;
$i++; $pages[$i]=array("0158","RW 18 und
8","http://members.surfeu.de/rw18u8/","rw18und8.jpg","236","178");
$i++; $pages[$i]=array("0157","Steve's
World","http://www.assiy2k.de/steve.htm","stevesworld.jpg","273","197");
$i++; $pages[$i]=array("0156","Mauricios
Homepage","http://home.arcor.de/mauricio/","mauricio.jpg","427","251");
$i++; $pages[$i]=array("0155","***action
concept***","http://www.actionconcept.com/html/fs_start_ja.htm","actionconcept.jpg","377","186");
$i++; $pages[$i]=array("0154","www.arsch.de - der grund für die erfindung
des internets","http://www.arsch.de/intro3.htm","arsch.gif","326","110");
$i++; $pages[$i]=array("0153","SMS-Bilder
kostenlos...","http://hartjes.cc/","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.
Register:
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
Stapelwerte:
0063f7c8 011e0310 01170000 011e0884 bff7b30e 01170000 011e0308 011e0b68
00000200 00760120 011e0330 00000005 011e0308 00000000 1008d95b 01170000"
--
Edit bug report at http://bugs.php.net/?id=18217&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=18217&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=18217&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=18217&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=18217&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=18217&r=support
Expected behavior: http://bugs.php.net/fix.php?id=18217&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=18217&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=18217&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=18217&r=globals