ID:               27260
 User updated by:  php at phpee dot com
 Reported By:      php at phpee dot com
-Status:           Feedback
+Status:           Open
 Bug Type:         Apache related
 Operating System: Debian Woody stable
 PHP Version:      5.0.0b4 (beta4)
 New Comment:

That's all output I get from gdb. Don't know if this is of any use:

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

$> gdb /usr/sbin/apache

(gdb) run -X

Starting program: /usr/sbin/apache -X

(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no debugging
symbols found)...

(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no debugging
symbols found)...

(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no debugging
symbols found)...

(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no debugging
symbols found)...

(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no debugging
symbols found)...

(no debugging symbols found)...[New Thread 1024 (LWP 27748)]

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

and after a while (1 min):

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

Program exited with code 0377.

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



any other way to do this?



besides, 'make' gives me a couple of warnings (see below).

take care

Philip





/usr/src/php-5.0.0b4/ext/iconv/iconv.c: In function
`php_iconv_stream_filter_append_bucket':

/usr/src/php-5.0.0b4/ext/iconv/iconv.c:2444: warning: passing arg 2 of
`iconv' from incompatible pointer type

/usr/src/php-5.0.0b4/ext/posix/posix.c: In function
`zif_posix_getpgid':

/usr/src/php-5.0.0b4/ext/posix/posix.c:455: warning: implicit
declaration of function `getpgid'

/usr/src/php-5.0.0b4/ext/posix/posix.c: In function
`zif_posix_getsid':

/usr/src/php-5.0.0b4/ext/posix/posix.c:476: warning: implicit
declaration of function `getsid'

/usr/src/php-5.0.0b4/ext/snmp/snmp.c: In function `php_snmp_getvalue':

/usr/src/php-5.0.0b4/ext/snmp/snmp.c:296: warning: implicit declaration
of function `printU64'

/usr/src/php-5.0.0b4/ext/snmp/snmp.c: In function `zif_snmp_read_mib':

/usr/src/php-5.0.0b4/ext/snmp/snmp.c:1078: warning: implicit
declaration of function `snmp_disable_stderrlog'

/usr/src/php-5.0.0b4/ext/spl/spl_array.c: In function
`zm_startup_spl_array':

/usr/src/php-5.0.0b4/ext/spl/spl_array.c:294: warning: assignment from
incompatible pointer type

/usr/src/php-5.0.0b4/regex/regexec.c:19: warning: `nope' defined but
not used

/usr/src/php-5.0.0b4/ext/standard/url_scanner_ex.c: In function
`append_modified_url':

/usr/src/php-5.0.0b4/ext/standard/url_scanner_ex.c:110: warning: unused
variable `yyaccept'

/usr/src/php-5.0.0b4/ext/standard/url_scanner_ex.c:167: warning: label
`yy10' defined but not used

/usr/src/php-5.0.0b4/ext/standard/url_scanner_ex.c:165: warning: label
`yy9' defined but not used

/usr/src/php-5.0.0b4/ext/standard/url_scanner_ex.c:161: warning: label
`yy7' defined but not used

/usr/src/php-5.0.0b4/ext/standard/url_scanner_ex.c:158: warning: label
`yy5' defined but not used

/usr/src/php-5.0.0b4/ext/standard/url_scanner_ex.c:155: warning: label
`yy3' defined but not used

/usr/src/php-5.0.0b4/ext/standard/url_scanner_ex.c:153: warning: label
`yy2' defined but not used

/usr/src/php-5.0.0b4/ext/standard/url_scanner_ex.c:146: warning: label
`yy1' defined but not used

/usr/src/php-5.0.0b4/ext/standard/url_scanner_ex.c: In function
`xx_mainloop':

/usr/src/php-5.0.0b4/ext/standard/url_scanner_ex.c:338: warning: unused
variable `yyaccept'

/usr/src/php-5.0.0b4/ext/standard/url_scanner_ex.c:395: warning: unused
variable `yyaccept'

/usr/src/php-5.0.0b4/ext/standard/url_scanner_ex.c:461: warning: unused
variable `yyaccept'

/usr/src/php-5.0.0b4/ext/standard/url_scanner_ex.c:545: warning: unused
variable `yyaccept'

/usr/src/php-5.0.0b4/ext/standard/url_scanner_ex.c:799: warning: label
`yy82' defined but not used

/usr/src/php-5.0.0b4/ext/standard/url_scanner_ex.c:797: warning: label
`yy81' defined but not used

/usr/src/php-5.0.0b4/ext/standard/url_scanner_ex.c:790: warning: label
`yy78' defined but not used

/usr/src/php-5.0.0b4/ext/standard/url_scanner_ex.c:775: warning: label
`yy73' defined but not used

/usr/src/php-5.0.0b4/ext/standard/url_scanner_ex.c:768: warning: label
`yy70' defined but not used

/usr/src/php-5.0.0b4/ext/standard/url_scanner_ex.c:755: warning: label
`yy65' defined but not used

/usr/src/php-5.0.0b4/ext/standard/url_scanner_ex.c:721: warning: label
`yy59' defined but not used

/usr/src/php-5.0.0b4/ext/standard/url_scanner_ex.c:673: warning: label
`yy57' defined but not used

/usr/src/php-5.0.0b4/ext/standard/url_scanner_ex.c:671: warning: label
`yy56' defined but not used

/usr/src/php-5.0.0b4/ext/standard/url_scanner_ex.c:644: warning: label
`yy47' defined but not used

/usr/src/php-5.0.0b4/ext/standard/url_scanner_ex.c:595: warning: label
`yy43' defined but not used

/usr/src/php-5.0.0b4/ext/standard/url_scanner_ex.c:581: warning: label
`yy39' defined but not used

/usr/src/php-5.0.0b4/ext/standard/url_scanner_ex.c:532: warning: label
`yy35' defined but not used

/usr/src/php-5.0.0b4/ext/standard/url_scanner_ex.c:529: warning: label
`yy33' defined but not used

/usr/src/php-5.0.0b4/ext/standard/url_scanner_ex.c:522: warning: label
`yy29' defined but not used

/usr/src/php-5.0.0b4/ext/standard/url_scanner_ex.c:497: warning: label
`yy27' defined but not used

/usr/src/php-5.0.0b4/ext/standard/url_scanner_ex.c:445: warning: label
`yy23' defined but not used 

/usr/src/php-5.0.0b4/ext/standard/url_scanner_ex.c:431: warning: label
`yy19' defined but not used

/usr/src/php-5.0.0b4/ext/standard/url_scanner_ex.c:387: warning: label
`yy17' defined but not used

/usr/src/php-5.0.0b4/ext/standard/url_scanner_ex.c:385: warning: label
`yy16' defined but not used

/usr/src/php-5.0.0b4/ext/standard/url_scanner_ex.c:381: warning: label
`yy14' defined but not used

/usr/src/php-5.0.0b4/ext/standard/url_scanner_ex.c:379: warning: label
`yy13' defined but not used

/usr/src/php-5.0.0b4/ext/standard/url_scanner_ex.c:374: warning: label
`yy12' defined but not used

/usr/src/php-5.0.0b4/ext/standard/var_unserializer.c: In function
`php_var_unserialize':

/usr/src/php-5.0.0b4/ext/standard/var_unserializer.c:331: warning:
comparison is always false due to limited range of data type

/usr/src/php-5.0.0b4/ext/standard/var_unserializer.c:811: warning:
label `yy86' defined but not used

/usr/src/php-5.0.0b4/ext/standard/var_unserializer.c:809: warning:
label `yy85' defined but not used

/usr/src/php-5.0.0b4/ext/standard/var_unserializer.c:806: warning:
label `yy84' defined but not used

/usr/src/php-5.0.0b4/ext/standard/var_unserializer.c:771: warning:
label `yy80' defined but not used

/usr/src/php-5.0.0b4/ext/standard/var_unserializer.c:769: warning:
label `yy79' defined but not used

/usr/src/php-5.0.0b4/ext/standard/var_unserializer.c:766: warning:
label `yy78' defined but not used

/usr/src/php-5.0.0b4/ext/standard/var_unserializer.c:745: warning:
label `yy74' defined but not used

/usr/src/php-5.0.0b4/ext/standard/var_unserializer.c:737: warning:
label `yy72' defined but not used

/usr/src/php-5.0.0b4/ext/standard/var_unserializer.c:735: warning:
label `yy71' defined but not used

/usr/src/php-5.0.0b4/ext/standard/var_unserializer.c:732: warning:
label `yy70' defined but not used

/usr/src/php-5.0.0b4/ext/standard/var_unserializer.c:711: warning:
label `yy66' defined but not used

/usr/src/php-5.0.0b4/ext/standard/var_unserializer.c:709: warning:
label `yy65' defined but not used

/usr/src/php-5.0.0b4/ext/standard/var_unserializer.c:706: warning:
label `yy64' defined but not used

/usr/src/php-5.0.0b4/ext/standard/var_unserializer.c:677: warning:
label `yy60' defined but not used

/usr/src/php-5.0.0b4/ext/standard/var_unserializer.c:666: warning:
label `yy57' defined but not used

/usr/src/php-5.0.0b4/ext/standard/var_unserializer.c:639: warning:
label `yy53' defined but not used

/usr/src/php-5.0.0b4/ext/standard/var_unserializer.c:624: warning:
label `yy51' defined but not used

/usr/src/php-5.0.0b4/ext/standard/var_unserializer.c:599: warning:
label `yy48' defined but not used

/usr/src/php-5.0.0b4/ext/standard/var_unserializer.c:563: warning:
label `yy44' defined but not used

/usr/src/php-5.0.0b4/ext/standard/var_unserializer.c:561: warning:
label `yy43' defined but not used

/usr/src/php-5.0.0b4/ext/standard/var_unserializer.c:559: warning:
label `yy42' defined but not used

/usr/src/php-5.0.0b4/ext/standard/var_unserializer.c:556: warning:
label `yy41' defined but not used

/usr/src/php-5.0.0b4/ext/standard/var_unserializer.c:528: warning:
label `yy37' defined but not used

/usr/src/php-5.0.0b4/ext/standard/var_unserializer.c:526: warning:
label `yy36' defined but not used

/usr/src/php-5.0.0b4/ext/standard/var_unserializer.c:524: warning:
label `yy35' defined but not used

/usr/src/php-5.0.0b4/ext/standard/var_unserializer.c:521: warning:
label `yy34' defined but not used

/usr/src/php-5.0.0b4/ext/standard/var_unserializer.c:503: warning:
label `yy30' defined but not used

/usr/src/php-5.0.0b4/ext/standard/var_unserializer.c:501: warning:
label `yy29' defined but not used

/usr/src/php-5.0.0b4/ext/standard/var_unserializer.c:499: warning:
label `yy28' defined but not used

/usr/src/php-5.0.0b4/ext/standard/var_unserializer.c:496: warning:
label `yy27' defined but not used

/usr/src/php-5.0.0b4/ext/standard/var_unserializer.c:403: warning:
label `yy23' defined but not used

/usr/src/php-5.0.0b4/ext/standard/var_unserializer.c:401: warning:
label `yy22' defined but not used

/usr/src/php-5.0.0b4/ext/standard/var_unserializer.c:399: warning:
label `yy21' defined but not used

/usr/src/php-5.0.0b4/ext/standard/var_unserializer.c:397: warning:
label `yy20' defined but not used

/usr/src/php-5.0.0b4/ext/standard/var_unserializer.c:391: warning:
label `yy18' defined but not used

/usr/src/php-5.0.0b4/ext/standard/var_unserializer.c:381: warning:
label `yy15' defined but not used

/usr/src/php-5.0.0b4/ext/standard/var_unserializer.c:291: warning:
label `yy1' defined but not used

/usr/src/php-5.0.0b4/ext/yp/yp.c: In function `zif_yp_err_string':

/usr/src/php-5.0.0b4/ext/yp/yp.c:372: warning: assignment discards
qualifiers from pointer target type

/usr/src/php-5.0.0b4/main/streams/streams.c: In function
`_php_stream_scandir':

/usr/src/php-5.0.0b4/main/streams/streams.c:1884: warning: passing arg
1 of `_estrndup' from incompatible pointer type

/usr/src/php-5.0.0b4/main/streams/streams.c:1891: warning: passing arg
4 of `qsort' from incompatible pointer type

/usr/src/php-5.0.0b4/main/streams/userspace.c: In function
`php_userstreamop_write':

/usr/src/php-5.0.0b4/main/streams/userspace.c:476: warning: unknown
conversion type character `z' in format

/usr/src/php-5.0.0b4/main/streams/userspace.c:476: warning: unknown
conversion type character `z' in format

/usr/src/php-5.0.0b4/main/streams/userspace.c:476: warning: unknown
conversion type character `z' in format

/usr/src/php-5.0.0b4/main/streams/userspace.c:476: warning: too many
arguments for format

/usr/src/php-5.0.0b4/main/streams/userspace.c: In function
`php_userstreamop_read':

/usr/src/php-5.0.0b4/main/streams/userspace.c:516: warning: unknown
conversion type character `z' in format

/usr/src/php-5.0.0b4/main/streams/userspace.c:516: warning: unknown
conversion type character `z' in format

/usr/src/php-5.0.0b4/main/streams/userspace.c:516: warning: unknown
conversion type character `z' in format

/usr/src/php-5.0.0b4/main/streams/userspace.c:516: warning: too many
arguments for format

Zend/zend_language_scanner.c:6019: warning: `yy_fatal_error' defined
but not used

Zend/zend_language_scanner.c:2757: warning: `yy_last_accepting_state'
defined but not used

Zend/zend_language_scanner.c:2758: warning: `yy_last_accepting_cpos'
defined but not used

Zend/zend_language_scanner.c:2764: warning: `yy_more_flag' defined but
not used

Zend/zend_language_scanner.c:2765: warning: `yy_more_len' defined but
not used

Zend/zend_language_scanner.c:6004: warning: `yy_top_state' defined but
not used

Zend/zend_ini_scanner.c:468: warning: `yy_last_accepting_state' defined
but not used

Zend/zend_ini_scanner.c:469: warning: `yy_last_accepting_cpos' defined
but not used

Zend/zend_ini_scanner.c:1328: warning: `yyunput' defined but not used

/usr/src/php-5.0.0b4/Zend/zend_alloc.c: In function `_safe_emalloc':

/usr/src/php-5.0.0b4/Zend/zend_alloc.c:236: warning: unknown conversion
type character `z' in format

/usr/src/php-5.0.0b4/Zend/zend_alloc.c:236: warning: unknown conversion
type character `z' in format

/usr/src/php-5.0.0b4/Zend/zend_alloc.c:236: warning: unknown conversion
type character `z' in format

/usr/src/php-5.0.0b4/Zend/zend_alloc.c:236: warning: too many arguments
for format

/usr/src/php-5.0.0b4/Zend/zend_highlight.c: In function
`zend_html_puts':

/usr/src/php-5.0.0b4/Zend/zend_highlight.c:82: warning: value computed
is not used

/usr/src/php-5.0.0b4/Zend/zend_ini.c:314: warning:
`zend_ini_displayer_cb' defined but not used


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

[2004-02-15 07:24:50] [EMAIL PROTECTED]

You can make a backtrace just fine, just start apache in single process
mode (-X) from within GDB.

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

[2004-02-15 07:24:14] [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-02-15 06:53:45] php at phpee dot com

Description:
------------
PHP 5.0.0b4 compiles fine with the following configuration options:



./configure --prefix=/usr/php5 --with-apxs=/usr/bin/apxs
--with-config-file-path=/etc/php5/apache --disable-rpath
--enable-memory-limit --enable-debug --with-layout=GNU
--with-pear=/usr/share/php --enable-calendar --enable-sysvsem
--enable-sysvshm --enable-sysvmsg --enable-track-vars
--enable-trans-sid --enable-bcmath --with-bz2 --enable-ctype --with-db2
--enable-dba --with-iconv --enable-exif --enable-filepro --enable-ftp
--enable-dbase --with-gettext --enable-mbstring --with-pcre-regex
--enable-shmop --enable-sockets --enable-wddx --enable-tokenizer
--with-expat-dir=/usr --enable-yp --with-zlib --with-zlib-dir=/usr
--with-openssl=/usr --with-exec-dir=/usr/lib/php5/libexec
--disable-static --with-curl --with-gd --with-jpeg-dir=/usr
--with-png-dir=/usr --with-freetype-dir --with-ming --with-gmp
--with-mhash --with-mm --with-mysql
--with-mysql-sock=/var/run/mysqld/mysqld.sock --with-pgsql=/usr
--with-snmp --enable-ucd-snmp-hack --with-ttf --with-xsl
--with-flatfile --with-inifile --with-sqlite --with-xmlrpc --with-mcal
--with-ldap=/usr --with-imap=/usr/src/imap-2002e/ --with-recode



Recode support compiles without any errors but it crashes Apache
(1.3.26).



httpd.conf:

LoadModule php5_module        /usr/lib/apache/1.3/libphp5.so



Apache doesn't give me any error output, it just fails right after
starting up and doesn't write anything into error.log/syslog or any
other log.

If I remove --with-recode, all works fine with the above
./configuration options.

AFAIK this was working in 500b3.

Actual result:
--------------
I can't get any gdb backtrace as I'm not even able to startup apache.


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


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

Reply via email to