ID:               27735
 Comment by:       krasnov at euroweb dot ru
 Reported By:      as at netoholic dot de
 Status:           Feedback
 Bug Type:         Reproducible crash
 Operating System: Linux
 PHP Version:      4.3.5
 New Comment:

It is awful but all my attempts to core PHP 4.3.5 with --enable-debug
were failed.



But in release mode CGI part cores even when it reads php.ini file
during "make test".



And mod_php behaves as written before...



Here is the part of core file after "make test" (sorry but without
debug).



#0  0x808644f in ?? ()

#1  0x808605e in ?? ()

#2  0x808856f in ?? ()

#3  0x80886c3 in ?? ()

#4  0x8088649 in ?? ()

#5  0x80886c3 in ?? ()

#6  0x8088649 in ?? ()

#7  0x80886c3 in ?? ()

#8  0x8088649 in ?? ()

#9  0x80886c3 in ?? ()

#10 0x8088649 in ?? ()

#11 0x80886c3 in ?? ()

#12 0x8088649 in ?? ()

#13 0x80886c3 in ?? ()

#14 0x8088649 in ?? ()

#15 0x80886c3 in ?? ()

#16 0x8088649 in ?? ()

#17 0x80886c3 in ?? ()

#18 0x8088649 in ?? ()

#19 0x80886c3 in ?? ()

#20 0x8088649 in ?? ()

#21 0x80886c3 in ?? ()

#22 0x8088649 in ?? ()

#23 0x80886c3 in ?? ()

#24 0x8088649 in ?? ()

#25 0x80886c3 in ?? ()

#26 0x8088649 in ?? ()

#27 0x80886c3 in ?? ()

#28 0x8088649 in ?? ()

#29 0x80886c3 in ?? ()

#30 0x8088649 in ?? ()

#31 0x80886c3 in ?? ()

#32 0x8088649 in ?? ()

#33 0x80886c3 in ?? ()

#34 0x8088649 in ?? ()

#35 0x80886c3 in ?? ()

#36 0x8088649 in ?? ()

#37 0x80886c3 in ?? ()

#38 0x8088649 in ?? ()

#39 0x80886c3 in ?? ()

#40 0x8088649 in ?? ()

#41 0x80886c3 in ?? ()

#42 0x8088649 in ?? ()

#43 0x80886c3 in ?? ()

#44 0x8088649 in ?? ()

#45 0x80886c3 in ?? ()


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

[2004-03-28 19:43:40] [EMAIL PROTECTED]

Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php

Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.



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

[2004-03-28 11:44:52] krasnov at euroweb dot ru

A little addition: EVERY test made by "make test" after compilation got
FAILED.

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

[2004-03-28 11:31:24] krasnov at euroweb dot ru

I must notify you that a cannot reproduce this bug when I add
--enable-debug to ./configure

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

[2004-03-28 11:17:17] krasnov at euroweb dot ru

This nasty bug also is being reproduced under FreeBSD 4.8 RELEASE when
I try linuxthreads for apache worker thread model.



Either HUP or graceful restart of apache 2.0.49 causes log entry like
"[notice] seg fault or similar nasty error detected in the parent
process"



CFLAGS='-O -pipe -march=pentiumpro -DZTS -D__USE_UNIX98 -D_REENTRANT
-D_THREAD_SAFE -DHAVE_BROKEN_REALPATH -I/usr/local

/include/pthread/linuxthreads -L/usr/local/lib -llthread -llgcc_r' \

LIBS='-L/usr/local/lib -llthread -llgcc_r' \

./configure \

        --prefix=/usr/local/php \

        --with-apxs2=/usr/local/apache2/bin/apxs \

        --with-openssl \

        --with-mysql=/usr/local/mysql \

        --with-zlib \

        --with-gd \

        --with-jpeg-dir=/usr/local/lib \

        --with-png-dir=/usr/local/lib \

        --with-imap=/usr/local/src/imap-2002d \

        --with-imap-ssl=/usr \

        --with-gettext \

        --with-xml \

        --with-tsrm-pthreads



4.3.4 with identical config runs fine...



PS: Native FreeBSD 4.8 pthreads run also fine.

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

[2004-03-27 13:45:56] as at netoholic dot de

Description:
------------
any time kill -1 at the httpd for configuration reload crashes httpd,
log entry

"[notice] seg fault or similar nasty error detected in the parent
process"



php built as module against apache 2.0.49 with gcc 3.3.3 on SuSE 8.2
Distibution



configure line:



'./configure' '--prefix=/opt/php-httpd' '--enable-magic-quotes'
'--enable-bcmath' '--enable-ftp' '--enable-inline-optimizations'
'--enable-memory-limit' '--enable-exif'
'--with-apxs2=/opt/apache2/bin/apxs' '--with-openssl' '--with-bz2'
'--with-zlib' '--with-mysql' '--enable-calendar' '--enable-dbx'
'--with-gd' '--with-gd-native-ttf' '--with-jpeg-dir=/usr/lib'
'--with-png-dir=/usr/lib' '--with-zlib' '--with-freetype-dir=/usr/lib'
'--enable-dba'



4.3.4 with identical config runs fine...





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


-- 
Edit this bug report at http://bugs.php.net/?id=27735&edit=1

Reply via email to