ID: 16583 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Apache2 related Operating System: PLD Linux PHP Version: 4.2.0RC4 New Comment:
%configure \ --with-apxs2=%{_sbindir}/apxs` \ %else `[ $i = apxs ] && echo --with-apxs=%{_sbindir}/apxs` \ %endif --with-config-file-path=%{_sysconfdir} \ --with-exec-dir=%{_bindir} \ --%{!?debug:dis}%{?debug:en}able-debug \ --enable-bcmath=shared \ --enable-calendar=shared \ --enable-dba=shared \ --enable-exif=shared \ --enable-ftp=shared \ --enable-gd-native-ttf \ --enable-magic-quotes \ --enable-posix=shared \ --enable-session \ --enable-shared \ --enable-shmop=shared \ --enable-sysvsem=shared \ --enable-sysvshm=shared \ --enable-track-vars \ --enable-trans-sid \ --enable-safe-mode \ --enable-sockets=shared \ --enable-yp=shared \ --enable-ucd-snmp-hack \ --enable-xml=shared \ --with-expat-dir=/usr \ %{?_with_xslt:--enable-xslt=shared} \ --with-bz2=shared \ %{?_with_libcpdf:--with-cpdflib=shared} \ --with-ctype=shared \ --with-curl=shared \ --without-db2 \ --with-db3 \ --with-dbase=shared \ --with-iconv=shared \ --with-dom=shared \ --with-dom-xslt=shared \ --with-filepro=shared \ --with-freetype-dir=shared \ --with-gettext=shared \ --with-gd=shared \ --with-gdbm \ --with-gmp=shared \ --with-hyperwave \ %{!?_without_imap:--with-imap=shared --with-imap-ssl} \ %{?_with_java:--with-java} \ --with-jpeg-dir=%{_includedir} \ %{!?_without_ldap:--with-ldap=shared} \ --with-mcrypt=shared \ --with-mysql=shared,%{_prefix} \ --with-mysql-sock=/var/lib/mysql/mysql.sock \ --with-mhash=shared \ --with-ming=shared \ %{!?_without_mm:--with-mm} \ %{!?_without_openssl:--with-openssl} \ %{?_with_oracle:--with-oracle=shared} \ %{?_with_oci8:--with-oci8=shared} \ --with-pear=%{peardir} \ --with-pcre-regex=shared \ --with-pdflib=shared \ --with-pgsql=shared,%{_prefix} \ --with-png-dir=%{_includedir} \ %{!?_without_recode:--with-recode=shared} \ --with-regex=php \ %{!?_without_sablot:--with-sablot=/usr/lib} \ %{!?_without_snmp:--with-snmp=shared} \ --with-t1lib=shared \ %{!?_without_odbc:--with-unixODBC=shared} \ %{?_with_wddx:--enable-wddx=shared} \ --with-zlib=shared \ --with-zlib-dir=shared \ --without-xmlrpc \ %{?_with_xslt:--with-xslt-sablot=shared} \ --disable-cli whole spec file is here: http://cvs.pld.org.pl/SPECS/php.spec?rev=1.120.2.17 src.rpm is here: ftp://ftp.pld.org.pl:/dists/nest/test/SRPMS/php-4.2.0RC4-1.src.rpm while building I was using rpm --debug, so in such case CFLAGS="-g -O0" buildlog is here: ftp://buildlogs.pld.org.pl/nest/i686/OK/_r_DEVEL_php.bz2 (the only difference between this buildlog and mine is that I was compiling with CFLAGS="-g -O0) I'll setup test enviroment if you want to debug it remotely over ssh. Previous Comments: ------------------------------------------------------------------------ [2002-04-19 11:49:54] [EMAIL PROTECTED] Try disabling compiler optimizations: CFLAGS="-Wall -g" ./configure ... Please report back all of the configure options you passed to both apache and php. FWIW, I'm using RH72 w/ gcc 2.96, glibc 2.2.4 and linux 2.4.9 and I don't see this. ------------------------------------------------------------------------ [2002-04-19 11:31:03] [EMAIL PROTECTED] I was using gcc version 3.1 20020408 (prerelease) but adasi@grubno was using gcc version 2.95.4 20010319 (prerelease). ------------------------------------------------------------------------ [2002-04-19 11:16:35] [EMAIL PROTECTED] Hmmm.. you all have gcc3. Have any of you been able to reproduce this with gcc2.95? ------------------------------------------------------------------------ [2002-04-17 17:30:42] [EMAIL PROTECTED] Also not working. Ugly workaround with thread_resources = NULL; works but that's not the way. Backtrace does not give anything because it's pretty random, it hardly depends on system status while tracing. ------------------------------------------------------------------------ [2002-04-17 11:27:22] [EMAIL PROTECTED] I have the same problem. On startup it dumps core. Here is my backtrace: (gdb) where #0 0x40566ba9 in ts_resource_ex (id=1, th_id=0x0) at TSRM.c:310 #1 0x404c60ee in php_module_startup (sf=0x4061e920) at main.c:856 #2 0x404c3e70 in php_apache_server_startup (pconf=0x80fb9c8, plog=0x8125a70, ptemp=0x819cb10, s=0x80fd718) at sapi_apache2.c:435 #3 0x806f4be in ap_run_post_config (pconf=0x80fb9c8, plog=0x8125a70, ptemp=0x819cb10, s=0x80fd718) at config.c:127 #4 0x8073bd5 in main (argc=2, argv=0xbffff874) at main.c:611 #5 0x4027f74f in __libc_start_main () from /lib/libc.so.6 My environment: Slackware, 2.4.18, glibc 2.2.5, gcc 3.0.4. PHP 4.2.0RC4 ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/16583 -- Edit this bug report at http://bugs.php.net/?id=16583&edit=1