[SOLVED] Very Serious Bug in Slackware(32)-current: LAMP Stack Nuked
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am watching this kind of issue right now too.
I think php5 needs some recompilation because of apr/apr-utils upgrade, and possibly some other libraries do too.
Code:
root@slack:/tmp/apache-cores# gdb httpd
GNU gdb (GDB) 7.2
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-slackware-linux".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/sbin/httpd...(no debugging symbols found)...done.
(gdb) b ap_proces_request
Function "ap_proces_request" not defined.
Make breakpoint pending on future shared library load? (y or [n]) y
Breakpoint 1 (ap_proces_request) pending.
(gdb) run -X -d /usr/sbin/httpd
Starting program: /usr/sbin/httpd -X -d /usr/sbin/httpd
[Thread debugging using libthread_db enabled]
Program received signal SIGSEGV, Segmentation fault.
0x00000058 in ?? ()
(gdb) where
#0 0x00000058 in ?? ()
#1 0xb7f09de5 in apr_brigade_flatten () from /usr/lib/libaprutil-1.so.0
#2 0xb754b87e in ?? () from /usr/lib/httpd/modules/libphp5.so
#3 0xb7462c2a in sapi_read_standard_form_data ()
from /usr/lib/httpd/modules/libphp5.so
#4 0xb746331b in sapi_activate () from /usr/lib/httpd/modules/libphp5.so
#5 0xb7459a82 in php_request_startup () from /usr/lib/httpd/modules/libphp5.so
#6 0xb754c1f5 in ?? () from /usr/lib/httpd/modules/libphp5.so
#7 0xb754c8a4 in ?? () from /usr/lib/httpd/modules/libphp5.so
#8 0xb7fe0271 in ap_run_handler ()
#9 0xb7fe0679 in ap_invoke_handler ()
#10 0xb7fef3e8 in ap_process_request ()
#11 0xb7fec018 in ?? ()
#12 0xb7fe7591 in ap_run_process_connection ()
#13 0xb7ff47b1 in ?? ()
#14 0xb7ff4b01 in ?? ()
#15 0xb7ff542f in ap_mpm_run ()
#16 0xb7fc9bd6 in main ()
(gdb)
I am watching this kind of issue right now too.
I think php5 needs some recompilation because of apr/apr-utils upgrade, and possibly some other libraries do too.
Code:
root@slack:/tmp/apache-cores# gdb httpd
GNU gdb (GDB) 7.2
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-slackware-linux".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/sbin/httpd...(no debugging symbols found)...done.
(gdb) b ap_proces_request
Function "ap_proces_request" not defined.
Make breakpoint pending on future shared library load? (y or [n]) y
Breakpoint 1 (ap_proces_request) pending.
(gdb) run -X -d /usr/sbin/httpd
Starting program: /usr/sbin/httpd -X -d /usr/sbin/httpd
[Thread debugging using libthread_db enabled]
Program received signal SIGSEGV, Segmentation fault.
0x00000058 in ?? ()
(gdb) where
#0 0x00000058 in ?? ()
#1 0xb7f09de5 in apr_brigade_flatten () from /usr/lib/libaprutil-1.so.0
#2 0xb754b87e in ?? () from /usr/lib/httpd/modules/libphp5.so
#3 0xb7462c2a in sapi_read_standard_form_data ()
from /usr/lib/httpd/modules/libphp5.so
#4 0xb746331b in sapi_activate () from /usr/lib/httpd/modules/libphp5.so
#5 0xb7459a82 in php_request_startup () from /usr/lib/httpd/modules/libphp5.so
#6 0xb754c1f5 in ?? () from /usr/lib/httpd/modules/libphp5.so
#7 0xb754c8a4 in ?? () from /usr/lib/httpd/modules/libphp5.so
#8 0xb7fe0271 in ap_run_handler ()
#9 0xb7fe0679 in ap_invoke_handler ()
#10 0xb7fef3e8 in ap_process_request ()
#11 0xb7fec018 in ?? ()
#12 0xb7fe7591 in ap_run_process_connection ()
#13 0xb7ff47b1 in ?? ()
#14 0xb7ff4b01 in ?? ()
#15 0xb7ff542f in ap_mpm_run ()
#16 0xb7fc9bd6 in main ()
(gdb)
I agree, it's something connected with PHP, because an Python based CMS, like Trac, works fine. But, I tried to rebuild from official SlackBuilds the PHP (and Alpine, as dependencies). The results of this rebuild are, sadly, the same White Screen of Death.
To add to the strange problem, some Gentoo dudes claim that is something connected with GCC-4.5.X, and an build with GCC-4.4.5 works fine.
Last edited by Darth Vader; 02-12-2011 at 07:58 AM.
For what I have understood from the gentoo forum topic, the ubuntu related bug and the gcc related bug (though invalid - pretty much hardcore for me ), seems like the problem with httpd segfaulting with POST action on x86 are gcc 4.5.x optimizations.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.