#17414 [Com]: Segfaults on restart [apache2filter]

2003-07-27 Thread rich at rd dot gen dot nz
 ID:   17414
 Comment by:   rich at rd dot gen dot nz
 Reported By:  thom at planetarytramp dot net
 Status:   No Feedback
 Bug Type: Apache2 related
 Operating System: Linux
 PHP Version:  4.3.0
 New Comment:

Applying the patch seems to fix the problem for me.

I'm using Apache 2.0.47 (prefork), PHP 4.3.2 (compiled with imap,
gettext), glibc 2.2.5 on Debian 3.0.

Thanks!


Previous Comments:


[2003-07-22 09:02:27] timo dot teras at iki dot fi

Seems to be actually a bug in glibc. I've made a patch that should
workaround this problem. See:
http://marc.theaimsgroup.com/?l=php-devm=105878953712765w=2

Maybe someone could verify that this works.



[2003-07-15 08:17:21] timo dot teras at iki dot fi

This bug is still present...

Program received signal SIGSEGV, Segmentation fault.
0x405e8dc9 in sapi_initialize_empty_request (tsrm_ls=0x20) at
/usr/src/php4-STABLE-200307151130/main/SAPI.c:424
424 SG(server_context) = NULL;
(gdb) where
#0  0x405e8dc9 in sapi_initialize_empty_request (tsrm_ls=0x20) at
/usr/src/php4-STABLE-200307151130/main/SAPI.c:424
#1  0x405e3009 in php_module_startup (sf=0x40689b00,
additional_modules=0x40689de0, num_additional_modules=1) at
/usr/src/php4-STABLE-200307151130/main/main.c:1093
#2  0x406281b7 in php_apache2_startup (sapi_module=0x40689b00) at
/usr/src/php4-STABLE-200307151130/sapi/apache2handler/sapi_apache2.c:297
#3  0x406282e3 in php_apache_server_startup (pconf=0x80aa9d0,
plog=0x80e2ab0, ptemp=0x80e6ac0, s=0x40689b00) at
/usr/src/php4-STABLE-200307151130/sapi/apache2handler/sapi_apache2.c:396
#4  0x08073618 in ap_run_post_config ()
#5  0x08077afa in main ()
#6  0x4035ea51 in __libc_start_main () from /lib/libc.so.6
#7  0x080603ad in _start ()



[2003-07-04 02:05:31] [EMAIL PROTECTED]

No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to Open. Thank you.





[2003-06-29 10:47:26] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip





[2003-05-19 10:03:59] thom at planetarytramp dot net

Only difference in the backtrace when trying with apache2handler is the
different SAPI directory:
#0  0x403a6941 in sapi_initialize_empty_request (tsrm_ls=0x80f98f0)
at /home/thom/php4-STABLE-200305190930/main/SAPI.c:434
434 SG(server_context) = NULL;
(gdb) bt
#0  0x403a6941 in sapi_initialize_empty_request (tsrm_ls=0x80f98f0)
at /home/thom/php4-STABLE-200305190930/main/SAPI.c:434
#1  0x403a11b4 in php_module_startup (sf=0x4041cba0, 
additional_modules=0x4041ce80, num_additional_modules=1)
at /home/thom/php4-STABLE-200305190930/main/main.c:1094
#2  0x403df187 in php_apache2_startup (sapi_module=0x4041cba0)
at
/home/thom/php4-STABLE-200305190930/sapi/apache2handler/sapi_apache2.c:290
#3  0x403df2b3 in php_apache_server_startup (pconf=0x80b90c8,
plog=0x80f11a8, 
ptemp=0x80bb0d0, s=0x4041cba0)
at
/home/thom/php4-STABLE-200305190930/sapi/apache2handler/sapi_apache2.c:389
#4  0x0807e651 in ap_run_post_config (pconf=0x80b90c8, plog=0x80f11a8,

ptemp=0x80bb0d0, s=0x80f5af0) at config.c:130
#5  0x08082e9c in main (argc=3, argv=0xb874) at main.c:640
(gdb)



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/17414

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



#17414 [Com]: Segfaults on restart [apache2filter]

2003-07-22 Thread timo dot teras at iki dot fi
 ID:   17414
 Comment by:   timo dot teras at iki dot fi
 Reported By:  thom at planetarytramp dot net
 Status:   No Feedback
 Bug Type: Apache2 related
 Operating System: Linux
 PHP Version:  4.3.0
 New Comment:

Seems to be actually a bug in glibc. I've made a patch that should
workaround this problem. See:
http://marc.theaimsgroup.com/?l=php-devm=105878953712765w=2

Maybe someone could verify that this works.


Previous Comments:


[2003-07-15 08:17:21] timo dot teras at iki dot fi

This bug is still present...

Program received signal SIGSEGV, Segmentation fault.
0x405e8dc9 in sapi_initialize_empty_request (tsrm_ls=0x20) at
/usr/src/php4-STABLE-200307151130/main/SAPI.c:424
424 SG(server_context) = NULL;
(gdb) where
#0  0x405e8dc9 in sapi_initialize_empty_request (tsrm_ls=0x20) at
/usr/src/php4-STABLE-200307151130/main/SAPI.c:424
#1  0x405e3009 in php_module_startup (sf=0x40689b00,
additional_modules=0x40689de0, num_additional_modules=1) at
/usr/src/php4-STABLE-200307151130/main/main.c:1093
#2  0x406281b7 in php_apache2_startup (sapi_module=0x40689b00) at
/usr/src/php4-STABLE-200307151130/sapi/apache2handler/sapi_apache2.c:297
#3  0x406282e3 in php_apache_server_startup (pconf=0x80aa9d0,
plog=0x80e2ab0, ptemp=0x80e6ac0, s=0x40689b00) at
/usr/src/php4-STABLE-200307151130/sapi/apache2handler/sapi_apache2.c:396
#4  0x08073618 in ap_run_post_config ()
#5  0x08077afa in main ()
#6  0x4035ea51 in __libc_start_main () from /lib/libc.so.6
#7  0x080603ad in _start ()



[2003-07-04 02:05:31] [EMAIL PROTECTED]

No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to Open. Thank you.





[2003-06-29 10:47:26] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip





[2003-05-19 10:03:59] thom at planetarytramp dot net

Only difference in the backtrace when trying with apache2handler is the
different SAPI directory:
#0  0x403a6941 in sapi_initialize_empty_request (tsrm_ls=0x80f98f0)
at /home/thom/php4-STABLE-200305190930/main/SAPI.c:434
434 SG(server_context) = NULL;
(gdb) bt
#0  0x403a6941 in sapi_initialize_empty_request (tsrm_ls=0x80f98f0)
at /home/thom/php4-STABLE-200305190930/main/SAPI.c:434
#1  0x403a11b4 in php_module_startup (sf=0x4041cba0, 
additional_modules=0x4041ce80, num_additional_modules=1)
at /home/thom/php4-STABLE-200305190930/main/main.c:1094
#2  0x403df187 in php_apache2_startup (sapi_module=0x4041cba0)
at
/home/thom/php4-STABLE-200305190930/sapi/apache2handler/sapi_apache2.c:290
#3  0x403df2b3 in php_apache_server_startup (pconf=0x80b90c8,
plog=0x80f11a8, 
ptemp=0x80bb0d0, s=0x4041cba0)
at
/home/thom/php4-STABLE-200305190930/sapi/apache2handler/sapi_apache2.c:389
#4  0x0807e651 in ap_run_post_config (pconf=0x80b90c8, plog=0x80f11a8,

ptemp=0x80bb0d0, s=0x80f5af0) at config.c:130
#5  0x08082e9c in main (argc=3, argv=0xb874) at main.c:640
(gdb)



[2003-05-19 09:50:51] [EMAIL PROTECTED]

Does this happen with apache2handler then??
That's what I'm interested to know, as it's been reported
to work much better..




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/17414

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



#17414 [Com]: Segfaults on restart [apache2filter]

2003-07-15 Thread timo dot teras at iki dot fi
 ID:   17414
 Comment by:   timo dot teras at iki dot fi
 Reported By:  thom at planetarytramp dot net
 Status:   No Feedback
 Bug Type: Apache2 related
 Operating System: Linux
 PHP Version:  4.3.0
 New Comment:

This bug is still present...

Program received signal SIGSEGV, Segmentation fault.
0x405e8dc9 in sapi_initialize_empty_request (tsrm_ls=0x20) at
/usr/src/php4-STABLE-200307151130/main/SAPI.c:424
424 SG(server_context) = NULL;
(gdb) where
#0  0x405e8dc9 in sapi_initialize_empty_request (tsrm_ls=0x20) at
/usr/src/php4-STABLE-200307151130/main/SAPI.c:424
#1  0x405e3009 in php_module_startup (sf=0x40689b00,
additional_modules=0x40689de0, num_additional_modules=1) at
/usr/src/php4-STABLE-200307151130/main/main.c:1093
#2  0x406281b7 in php_apache2_startup (sapi_module=0x40689b00) at
/usr/src/php4-STABLE-200307151130/sapi/apache2handler/sapi_apache2.c:297
#3  0x406282e3 in php_apache_server_startup (pconf=0x80aa9d0,
plog=0x80e2ab0, ptemp=0x80e6ac0, s=0x40689b00) at
/usr/src/php4-STABLE-200307151130/sapi/apache2handler/sapi_apache2.c:396
#4  0x08073618 in ap_run_post_config ()
#5  0x08077afa in main ()
#6  0x4035ea51 in __libc_start_main () from /lib/libc.so.6
#7  0x080603ad in _start ()


Previous Comments:


[2003-07-04 02:05:31] [EMAIL PROTECTED]

No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to Open. Thank you.





[2003-06-29 10:47:26] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip





[2003-05-19 10:03:59] thom at planetarytramp dot net

Only difference in the backtrace when trying with apache2handler is the
different SAPI directory:
#0  0x403a6941 in sapi_initialize_empty_request (tsrm_ls=0x80f98f0)
at /home/thom/php4-STABLE-200305190930/main/SAPI.c:434
434 SG(server_context) = NULL;
(gdb) bt
#0  0x403a6941 in sapi_initialize_empty_request (tsrm_ls=0x80f98f0)
at /home/thom/php4-STABLE-200305190930/main/SAPI.c:434
#1  0x403a11b4 in php_module_startup (sf=0x4041cba0, 
additional_modules=0x4041ce80, num_additional_modules=1)
at /home/thom/php4-STABLE-200305190930/main/main.c:1094
#2  0x403df187 in php_apache2_startup (sapi_module=0x4041cba0)
at
/home/thom/php4-STABLE-200305190930/sapi/apache2handler/sapi_apache2.c:290
#3  0x403df2b3 in php_apache_server_startup (pconf=0x80b90c8,
plog=0x80f11a8, 
ptemp=0x80bb0d0, s=0x4041cba0)
at
/home/thom/php4-STABLE-200305190930/sapi/apache2handler/sapi_apache2.c:389
#4  0x0807e651 in ap_run_post_config (pconf=0x80b90c8, plog=0x80f11a8,

ptemp=0x80bb0d0, s=0x80f5af0) at config.c:130
#5  0x08082e9c in main (argc=3, argv=0xb874) at main.c:640
(gdb)



[2003-05-19 09:50:51] [EMAIL PROTECTED]

Does this happen with apache2handler then??
That's what I'm interested to know, as it's been reported
to work much better..




[2003-05-19 09:48:55] thom at planetarytramp dot net

from config.nice:

'./configure' \
'--with-apxs2filter=/usr/local/apache2-worker/bin/apxs' \
$@

I'm well aware that apache2filter is not the default, this doesn't mean
it shouldn't be fixed.



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/17414

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