php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #25529 ext/standard/sha1.c:371: internal error: Segmentation fault
Submitted: 2003-09-13 22:26 UTC Modified: 2003-09-14 14:07 UTC
From: gary at isohunt dot com Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 4.3.3 OS: Redhat 8.0
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: gary at isohunt dot com
New email:
PHP Version: OS:

 

 [2003-09-13 22:26 UTC] 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


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-09-14 03:12 UTC] sniper@php.net
If GCC crashes, it's definately not any PHP bug.
(Compiles fine with GCC 2.95.3 for example)


 [2003-09-14 07:09 UTC] gary at isohunt dot com
Compiled 3 times didn't work, but doing a ./configure and make again worked..
 [2003-09-14 08:07 UTC] 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 14:07 UTC] sniper@php.net
It might be hardware problem, especially if it's random
and happens with other files too. (memory maybe?)


 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Dec 24 09:00:01 2025 UTC