#25529 [Bgs]: ext/standard/sha1.c:371: internal error: Segmentation fault
| From: | sniper@php.net | Date: | Sun, 14 Sep 2003 18:07:50 +0000 |
| Subject: | #25529 [Bgs]: ext/standard/sha1.c:371: internal error: Segmentation fault | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-47561@lists.php.net to get a copy of this message | ||
ID: 25529
Updated by: sniper@php.net
Reported By: gary at isohunt dot com
Status: Bogus
Bug Type: Compile Failure
Operating System: Redhat 8.0
PHP Version: 4.3.3
New Comment:
It might be hardware problem, especially if it's random
and happens with other files too. (memory maybe?)
Previous Comments:
------------------------------------------------------------------------
[2003-09-14 08:07:10] gary at isohunt dot com
Sorry for asking in the wrong place. But I didn't know what was causing
the seg fault, PHP, GCC or a combo. I works now, but the way it
sometimes compile and sometimes doesn't on the same system without
rebooting is still strange.
------------------------------------------------------------------------
[2003-09-14 07:14:54] helly@php.net
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions.
Thank you for your interest in PHP.
Still not our problem
------------------------------------------------------------------------
[2003-09-14 07:09:22] gary at isohunt dot com
Compiled 3 times didn't work, but doing a ./configure and make again
worked..
------------------------------------------------------------------------
[2003-09-14 03:12:47] sniper@php.net
If GCC crashes, it's definately not any PHP bug.
(Compiles fine with GCC 2.95.3 for example)
------------------------------------------------------------------------
[2003-09-13 22:26:42] gary at isohunt dot com
Description:
------------
/usr/local/src/php-4.3.3/ext/standard/sha1.c:371: internal error:
Segmentation fault
Last lines of output during make pasted below in Actual results
This is on Redhat 8.0 with gcc 3.2. I'm trying to compile PHP as a
module in Apache 2.0.47
Actual result:
--------------
/bin/sh /usr/local/src/php-4.3.3/libtool --silent --preserve-dup-deps
--mode=compile gcc -Iext/standard/
-I/usr/local/src/php-4.3.3/ext/standard/ -DPHP_ATOM_INC
-I/usr/local/src/php-4.3.3/include -I/usr/local/src/php-4.3.3/main
-I/usr/local/src/php-4.3.3 -I/usr/local/src/php-4.3.3/Zend
-I/usr/local/src/php-4.3.3/ext/xml/expat
-I/usr/local/src/php-4.3.3/TSRM -g -O2 -prefer-pic -c
/usr/local/src/php-4.3.3/ext/standard/sha1.c -o ext/standard/sha1.lo
/usr/local/src/php-4.3.3/ext/standard/sha1.c: In function
`SHA1Transform':
/usr/local/src/php-4.3.3/ext/standard/sha1.c:371: internal error:
Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugzilla.redhat.com/bugzilla/> for
instructions.
make: *** [ext/standard/sha1.lo] Error 1
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=25529&edit=1