php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #19199 zif_fgetcsv crash
Submitted: 2002-08-30 11:25 UTC Modified: 2002-09-23 08:05 UTC
From: php at nospam dot yewnix dot net Assigned:
Status: No Feedback Package: Unknown/Other Function
PHP Version: 4.2.2 OS: Linux
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: php at nospam dot yewnix dot net
New email:
PHP Version: OS:

 

 [2002-08-30 11:25 UTC] php at nospam dot yewnix dot 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.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-08-30 17:44 UTC] sniper@php.net
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
 [2002-09-23 08:05 UTC] sniper@php.net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 14:01:32 2024 UTC