#19199 [Opn->Fbk]: zif_fgetcsv crash
| From: | sniper@php.net | Date: | Fri, 30 Aug 2002 21:44:57 +0000 |
| Subject: | #19199 [Opn->Fbk]: zif_fgetcsv crash | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-18290@lists.php.net to get a copy of this message | ||
ID: 19199
Updated by: sniper@php.net
Reported By: php@nospam.yewnix.net
-Status: Open
+Status: Feedback
Bug Type: Unknown/Other Function
Operating System: Linux
PHP Version: 4.2.2
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php4-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-latest.zip
Previous Comments:
------------------------------------------------------------------------
[2002-08-30 11:25:59] php@nospam.yewnix.net
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 this bug report at http://bugs.php.net/?id=19199&edit=1