#19199 [NEW]: zif_fgetcsv crash
| From: | php at nospam dot yewnix dot net | Date: | Fri, 30 Aug 2002 15:25:59 +0000 |
| Subject: | #19199 [NEW]: zif_fgetcsv crash | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-18263@lists.php.net to get a copy of this message | ||
From: php@nospam.yewnix.net
Operating system: Linux
PHP version: 4.2.2
PHP Bug Type: Unknown/Other Function
Bug description: zif_fgetcsv crash
Attempting to import data via fgetcsv - zif_fgetcsv() causing crash. File
is approx 185M. Same script works on all other files attempted, including
larger files. Same result on both PHP 4.1.2 and 4.2.2. GDB+core debug
below:
--
Program received signal SIGSEGV, Segmentation fault.
0x080a2a18 in zif_fgetcsv (ht=3, return_value=0x81e38c4, this_ptr=0x0,
return_value_used=1) at file.c:2127
2127 *tptr++ = *bptr++;
(gdb) bt
#0 0x080a2a18 in zif_fgetcsv (ht=3, return_value=0x81e38c4, this_ptr=0x0,
return_value_used=1) at file.c:2127
#1 0x08135eef in execute (op_array=0x81b3964) at ./zend_execute.c:1598
#2 0x0811126a in zend_execute_scripts (type=8, retval=0x0, file_count=3)
at zend.c:810
#3 0x08062446 in php_execute_script (primary_file=0xbffff860) at
main.c:1381
#4 0x0805fa50 in main (argc=7, argv=0xbffff914) at cgi_main.c:778
#5 0x400b40c4 in __libc_start_main () from /lib/libc.so.6
-
If more information is needed please let me know.
--
Edit bug report at http://bugs.php.net/?id=19199&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=19199&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=19199&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=19199&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=19199&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=19199&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=19199&r=support
Expected behavior: http://bugs.php.net/fix.php?id=19199&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=19199&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=19199&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=19199&r=globals