Re: [PHP-DEV] Apache2Filter SAPI segfaults

2003-01-13 Thread Derick Rethans
On Mon, 13 Jan 2003, Sebastian Bergmann wrote:

 Edin Kadribasic wrote:
  What bison version are you using. I saw similar segfaults with 1.875.
 
   I was using 1.875.
 
  Downgrading to 1.75 or even to 1.28 fixes it for me.
 
   Downgrading to 1.75 worked for me, too.

So, save versions are 1.28, 1.30 and 1.75 for now? Perhaps restrict 
buildconf to check for this?

Derick

-- 

-
 Derick Rethans http://derickrethans.nl/ 
 PHP Magazine - PHP Magazine for Professionals   http://php-mag.net/
-


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP-DEV] Apache2Filter SAPI segfaults

2003-01-13 Thread Sascha Schumann
On Mon, 13 Jan 2003, Derick Rethans wrote:

 So, save versions are 1.28, 1.30 and 1.75 for now? Perhaps restrict
 buildconf to check for this?

It's a configure/genfiles-time check as hashed out in an
older thread.

- Sascha

-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP-DEV] Apache2Filter SAPI segfaults

2003-01-12 Thread Sebastian Bergmann
Sebastian Bergmann wrote:
 [...]

  I get a segfault with the same backtrace for Apache 1.3.

-- 
  Sebastian Bergmann
  http://sebastian-bergmann.de/ http://phpOpenTracker.de/

  Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/

-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP-DEV] Apache2Filter SAPI segfaults

2003-01-12 Thread Edin Kadribasic
What bison version are you using. I saw similar segfaults with 1.875.
Downgrading to 1.75 or even to 1.28 fixes it for me.

Edin

- Original Message -
From: Sebastian Bergmann [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, January 12, 2003 10:07 AM
Subject: Re: [PHP-DEV] Apache2Filter SAPI segfaults


 Sebastian Bergmann wrote:
  [...]

   I get a segfault with the same backtrace for Apache 1.3.

 --
   Sebastian Bergmann
   http://sebastian-bergmann.de/ http://phpOpenTracker.de/

   Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/

 --
 PHP Development Mailing List http://www.php.net/
 To unsubscribe, visit: http://www.php.net/unsub.php





-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP-DEV] Apache2Filter SAPI segfaults

2003-01-12 Thread Sebastian Bergmann
Edin Kadribasic wrote:
 What bison version are you using. I saw similar segfaults with 1.875.

  I was using 1.875.

 Downgrading to 1.75 or even to 1.28 fixes it for me.

  Downgrading to 1.75 worked for me, too.

-- 
  Sebastian Bergmann
  http://sebastian-bergmann.de/ http://phpOpenTracker.de/

  Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/

-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP-DEV] Apache2Filter SAPI segfaults

2003-01-11 Thread Sebastian Bergmann
  This is with current HEAD of both Apache 2.1-dev and PHP 5 + ZE2:

wopr-mobile:/usr/local/apache2/bin # gdb httpd
GNU gdb 5.3
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type show copying to see the conditions.
There is absolutely no warranty for GDB.  Type show warranty for details.
This GDB was configured as i686-pc-linux-gnu...
(gdb) r -DONE_PROCESS
Starting program: /usr/local/apache2/bin/httpd -DONE_PROCESS
[New Thread 1024 (LWP 1440)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 1440)]
0x401b8817 in memcpy () from /lib/libc.so.6

  Running Apache 2.1-dev without LoadModule modules/ibphp4.so works.

-- 
  Sebastian Bergmann
  http://sebastian-bergmann.de/ http://phpOpenTracker.de/

  Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/

-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP-DEV] Apache2Filter SAPI segfaults

2003-01-11 Thread Sebastian Bergmann
Sebastian Bergmann wrote:
 This is with current HEAD of both Apache 2.1-dev and PHP 5 + ZE2:

  Somehow the backtrace got lost:

wopr-mobile:/usr/local/apache2/bin # gdb httpd
GNU gdb 5.3
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type show copying to see the conditions.
There is absolutely no warranty for GDB.  Type show warranty for details.
This GDB was configured as i686-pc-linux-gnu...
(gdb) r -DONE_PROCESS
Starting program: /usr/local/apache2/bin/httpd -DONE_PROCESS
[New Thread 1024 (LWP 17607)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 17607)]
0x403d648c in ini_parse () at Zend/zend_ini_parser.c:1043
1043  goto yyoverflowlab;
(gdb) bt
#0  0x403d648c in ini_parse () at Zend/zend_ini_parser.c:1043
#1  0x403d6309 in zend_parse_ini_file (fh=0xb560,
 unbuffered_errors=1 '\001',
 ini_parser_cb=0x403b5862 php_config_ini_parser_cb, arg=0x4055e920)
 at /usr/src/php5/Zend/zend_ini_parser.y:164
#2  0x403b5fd5 in php_init_config () at /usr/src/php5/main/php_ini.c:382
#3  0x403b08eb in php_module_startup (sf=0x4049cdc0,
 additional_modules=0x4049cfc0, num_additional_modules=1)
 at /usr/src/php5/main/main.c:1213
#4  0x4041202a in php_apache2_startup (sapi_module=0x4049cdc0)
 at /usr/src/php5/sapi/apache2filter/sapi_apache2.c:295
#5  0x40412a3d in php_apache_server_startup (pconf=0x80be9d0, plog=0x80f6ab0,
 ptemp=0x80faac0, s=0x80c12e8)
 at /usr/src/php5/sapi/apache2filter/sapi_apache2.c:615
#6  0x0808128a in ap_run_post_config (pconf=0x80be9d0, plog=0x80f6ab0,
 ptemp=0x80faac0, s=0x80c12e8) at config.c:128
#7  0x08086938 in main (argc=2, argv=0xb784) at main.c:640
#8  0x4015a9ed in __libc_start_main () from /lib/libc.so.6

-- 
  Sebastian Bergmann
  http://sebastian-bergmann.de/ http://phpOpenTracker.de/

  Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/

-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php