ID:               47824
 Comment by:       Michael dot Zehmeister at dier dot tas dot gov dot au
 Reported By:      jr at e-integration dot net
 Status:           Feedback
 Bug Type:         Reproducible crash
 Operating System: Solaris 10 SPARC u6
 PHP Version:      5.2.9
 New Comment:

I am experiencing the exact same issue as the original submitter on a
Sparc 64-bit sun4u system.

I recompiled with --enable-debug to obtain a backtrace to submit but
having done so make test no longer seg faults.  This is reproducible:
without debug it seg faults at the start of make test, with debug
enabled and all other options identical it doesn't.  Given that I can't
get a backtrace what alternative information can I provide?

---

Build details:

GNU gcc version 4.3.3 (GCC)
GNU Make 3.81

./configure \
--enable-debug \
--prefix=/opt/php \
--with-config-file-path=/opt/php/etc \
--enable-inline-optimization \
--with-gd \
--with-jpeg-dir=/opt/libjpeg \
--with-png-dir=/opt/libpng \
--enable-bcmath \
--with-openssl=/opt/openssl \
--with-zlib=/opt/zlib \
--enable-wddx \
--enable-ftp \
--disable-cgi \
--with-curl=/opt/curl \
--with-gettext \
--enable-sockets \
--enable-pcntl \
--with-pspell=shared,/opt/aspell \
--enable-mbstring=all \
--enable-shmop \
--with-pear \
--with-ldap=/opt/openldap \
--enable-exif \
--with-freetype-dir=/opt/freetype \
--with-pdo-oci \
--with-oci8=/opt/oracle/product/10.2.0/client \
 --with-apxs2=/opt/httpd/bin/apxs \
 --enable-gd-native-ttf \
> ../doc/config.out 2>&1


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

[2009-03-31 07:09:47] j...@php.net

Can you provide the backtrace of the crash..?

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

[2009-03-29 03:34:58] jr at e-integration dot net

Used the following build tools:

gcc 4.2.4
gmake 3.81
re2c 0.13.5
bison 2.4.1

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

[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

Reply via email to