php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #37098 ext/standard/http_fopen_wrapper.c: program cc1 got fatal signal 11
Submitted: 2006-04-16 17:26 UTC Modified: 2010-12-20 12:03 UTC
From: nohn@php.net Assigned: iliaa (profile)
Status: Closed Package: Compile Failure
PHP Version: 5CVS-2006-04-16 (CVS) OS: Linux
Private report: No CVE-ID: None
 [2006-04-16 17:26 UTC] nohn@php.net
Description:
------------
ilia's fix of 

   /php-src/ext/standard/http_fopen_wrapper.c

(Fixed bug #37045 (Fixed check for special chars for http redirects).)

Seems to have introduced this problem; If I go to the previous version of that file, everything compiles fine

Reproduce code:
---------------
$ gcc -v
Reading specs from /usr/lib/gcc-lib/i386-linux/2.95.4/specs
gcc version 2.95.4 20011002 (Debian prerelease)

./configure; make

Expected result:
----------------
Compiles fine.

Actual result:
--------------
/bin/sh /opt/cruisecontrol/projects/PHP_5_1/php5/libtool --silent --preserve-dup-deps --mode=compile gcc  -Iext/standard/ -I/opt/cruisecontrol/projects/PHP_5_1/php5/ext/standard/ -DPHP_ATOM_INC -I/opt/cruisecontrol/projects/PHP_5_1/php5/include -I/opt/cruisecontrol/projects/PHP_5_1/php5/main -I/opt/cruisecontrol/projects/PHP_5_1/php5 -I/opt/libxml2/include/libxml2 -I/opt/curl/include -I/opt/cruisecontrol/projects/PHP_5_1/php5/ext/date/lib -I/usr/include/freetype2 -I/usr/include/c-client -I/usr/include/mysql -I/opt/postgres/include -I/opt/tidy/include -I/opt/libxslt/include -I/opt/cruisecontrol/projects/PHP_5_1/php5/TSRM -I/opt/cruisecontrol/projects/PHP_5_1/php5/Zend    -I/usr/include -g -O2  -c /opt/cruisecontrol/projects/PHP_5_1/php5/ext/standard/http_fopen_wrapper.c -o ext/standard/http_fopen_wrapper.lo
/opt/cruisecontrol/projects/PHP_5_1/php5/ext/standard/http_fopen_wrapper.c: In function `php_stream_url_wrap_http_ex':
/opt/cruisecontrol/projects/PHP_5_1/php5/ext/standard/http_fopen_wrapper.c:642: `newpath' undeclared (first use in this function)
/opt/cruisecontrol/projects/PHP_5_1/php5/ext/standard/http_fopen_wrapper.c:642: (Each undeclared identifier is reported only once
/opt/cruisecontrol/projects/PHP_5_1/php5/ext/standard/http_fopen_wrapper.c:642: for each function it appears in.)
/opt/cruisecontrol/projects/PHP_5_1/php5/ext/standard/http_fopen_wrapper.c:642: parse error before `{'
/opt/cruisecontrol/projects/PHP_5_1/php5/ext/standard/http_fopen_wrapper.c:643: `l' undeclared (first use in this function)
/opt/cruisecontrol/projects/PHP_5_1/php5/ext/standard/http_fopen_wrapper.c:643: `s' undeclared (first use in this function)
/opt/cruisecontrol/projects/PHP_5_1/php5/ext/standard/http_fopen_wrapper.c:643: `e' undeclared (first use in this function)
/opt/cruisecontrol/projects/PHP_5_1/php5/ext/standard/http_fopen_wrapper.c:644: `new_path' undeclared (first use in this function)
/opt/cruisecontrol/projects/PHP_5_1/php5/ext/standard/http_fopen_wrapper.c:214: label `out' used but not defined
gcc: Internal compiler error: program cc1 got fatal signal 11
make: *** [ext/standard/http_fopen_wrapper.lo] Error 1


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-04-16 17:30 UTC] nohn@php.net
For clarification, I'm talking about 1.99.2.10 vs. 1.99.2.11.
 [2006-04-16 17:44 UTC] iliaa@php.net
This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.


 [2010-12-20 12:03 UTC] jani@php.net
-Package: Tidy +Package: Compile Failure -Assigned To: +Assigned To: iliaa
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Jul 17 14:04:04 2025 UTC