#47824 [Opn]: 64-bit build make check segmentation fault

[email protected] ("jr at e-integration dot net")
Newsgroups php.bugs
Message-ID <[email protected]>
 ID:               47824
 User updated by:  jr at e-integration dot net
 Reported By:      jr at e-integration dot net
 Status:           Open
 Bug Type:         Reproducible crash
 Operating System: Solaris 10 SPARC u6
 PHP Version:      5.2.9
 New Comment:

Used the following build tools:

gcc 4.2.4
gmake 3.81
re2c 0.13.5
bison 2.4.1


Previous Comments:
------------------------------------------------------------------------

[2009-03-29 03:31:52] jr at e-integration dot net

Description:
------------
# make

The make completes without error.

# ./sapi/cli/php --version
PHP 5.2.9 (cli) (built: Mar 26 2009 23:43:41)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies

# make test

Build complete.
Don't forget to run 'make test'.

Segmentation Fault - core dumped
make: [test] Error 139 (ignored)

Build environment:  Solaris 10 SPARC u6; 64-bit used gcc 4.2.4 and GNU
make 3.81

Expected result:
----------------
make test creates two core files if you have coreadm set like so:

# coreadm
     global core file pattern:
     global core file content: default
       init core file pattern: /var/core/init_core.%n.%z.%u.%f.%p
       init core file content: default
            global core dumps: disabled
       per-process core dumps: enabled
      global setid core dumps: disabled
 per-process setid core dumps: enabled
     global core dump logging: enabled

# ls -lt /var/core/
total 106272
-rw------- 1 root root 27865628 Mar 27 10:38
init_core.halo.global.0.php.7926
-rw------- 1 root root 26489372 Mar 27 10:38
init_core.halo.global.0.php.7924
-rw------- 1 root root 27865628 Mar 27 10:30
init_core.halo.global.0.php.7757
-rw------- 1 root root 26489372 Mar 27 10:30
init_core.halo.global.0.php.7751




------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=47824&edit=1
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.