Re: [users@httpd] Segmentation fault
Yep, but at this time this is not a segfault, so without opcache the segfault seems fixed. You are now getting mmap() errno 12 -> ENOMEM -> Cannot allocate memory. This is another type of error that is nothing to do with a segmentation fault. My advice si to disable opcache, check your php.ini configuration (specially memory_limit). Also check your limits (/etc/sysctl.conf and /etc/security/limits.conf). Or, like someone said, switch to PHP-FPM and fastcgi instead (but also check your php.ini and system limits). 11 marzo 2022 19:52, "Ivan Ionut" mailto:ivan.io...@tehnopol-gl.ro?to=%22Ivan%20Ionut%22%20)> wrote: Well, i disabled opcache and after I had other crashes: [crit] Memory allocation failed, aborting process. [crit] Memory allocation failed, aborting process. [crit] Memory allocation failed, aborting process. mmap() failed: [12] Cannot allocate memory mmap() failed: [12] Cannot allocate memory mmap() failed: [12] Cannot allocate memory So opcache is enabled now and I will try to disable other extensions...because @Frank Gingras I never switched to php-fpm on a live server, so this will be the last solution. --- Ivan Ionuț Str. Săliște 20, Galati 800023 Tel/Fax: +40236 493277 Email: ivan.io...@tehnopol-gl.ro (mailto:ivan.io...@tehnopol-gl.ro) The content of this email is confidential and intended for the recipient specified in message only. It is strictly forbidden to share any part of this message with any third party, without a written consent of the sender. If you are not the intended recipient of this message, please notify the sender immediately, and delete the message and any attachments. Any disclosure, reproduction, distribution or other use of this message or any attachments by an individual or entity other than the intended recipient is prohibited. On 10-03-2022 20:28, Frank Gingras wrote: That would really be a band-aid; also preventing memory leaks might not stop segfaults at all. You will gain many advantages by moving to the fpm pools model, and your httpd will use less memory as well. On Wed, 9 Mar 2022 at 20:15, Dino Ciuffetti mailto:d...@tuxweb.it)> wrote: Already tried to disable the opcache PHP extension? # sudo phpdismod opcache It should be your problem. Also, it seems you are on prefork, please try to set MaxConnectionsPerChild to something near 1 when you are using mod_php or big modules like this to avoid any memory leak building slowly, if any. 9 marzo 2022 14:15, "Ivan Ionut" mailto:ivan.io...@tehnopol-gl.ro)> wrote: My apache2 version: Server version: Apache/2.4.18 (Ubuntu) Server built: 2020-08-12T21:35:50 My php version: PHP 7.3.7-1+ubuntu16.04.1+deb.sury.org (http://deb.sury.org)+1 (cli) (built: Jul 10 2019 06:54:26) ( NTS ) Copyright (c) 1997-2018 The PHP Group Zend Engine v3.3.7, Copyright (c) 1998-2018 Zend Technologies with Zend OPcache v7.3.7-1+ubuntu16.04.1+deb.sury.org (http://deb.sury.org)+1, Copyright (c) 1999-2018, by Zend Technologies My os version: Distributor ID: Ubuntu Description: Ubuntu 16.04.6 LTS Release: 16.04 Codename: xenial Hi, from last 2-3 months i have a lot of these segmentations(2-3 times per week); [Wed Mar 09 10:47:12.150226 2022] [core:notice] [pid 21823] AH00051: child pid 22481 exit signal Segmentation fault (11), possible coredump in /etc/apache2 [Wed Mar 09 10:47:17.155792 2022] [core:notice] [pid 21823] AH00051: child pid 21895 exit signal Segmentation fault (11), possible coredump in /etc/apache2 [Wed Mar 09 10:47:24.163536 2022] [core:notice] [pid 21823] AH00051: child pid 22189 exit signal Segmentation fault (11), possible coredump in /etc/apache2 [Wed Mar 09 10:47:24.163618 2022] [core:notice] [pid 21823] AH00051: child pid 22562 exit signal Segmentation fault (11), possible coredump in /etc/apache2 [Wed Mar 09 10:47:25.164759 2022] [core:notice] [pid 21823] AH00051: child pid 22491 exit ... Every site on the server has an error with: "Secure Connection Failed" or "The Connection was reset" After I restart apache2 everything is ok. Before this error.. I had a lot of errors (that I do not remember the exact log messages) ... the apache2 requested to increase the number of servers/workers, so the only I made some modifications /etc/apache2/mods-available/mpm_prefork.conf ServerLimit 4000 StartServers 905 MinSpareServers 405 MaxSpareServers 420 MaxRequestWorkers 2000 MaxConnectionsPerChild 0 Today with some tutorial and with the help of gdb... I did get some output of a segmentated apache2 process: #0 0xb6324467 in ?? () from /usr/lib/php/20180731/opcache.so No symbol table info available. #1 0xb6322eac in ?? () from /usr/lib/php/20180731/opcache.so No symbol table info available. #2 0xb716baba in ?? () from /usr/lib/apache2/modules/libphp
Re: [users@httpd] Segmentation fault
Well, i disabled opcache and after I had other crashes: [crit] Memory allocation failed, aborting process. [crit] Memory allocation failed, aborting process. [crit] Memory allocation failed, aborting process. mmap() failed: [12] Cannot allocate memory mmap() failed: [12] Cannot allocate memory mmap() failed: [12] Cannot allocate memory So opcache is enabled now and I will try to disable other extensions...because @Frank Gingras I never switched to php-fpm on a live server, so this will be the last solution. --- Ivan Ionuț Str. Săliște 20, Galati 800023 Tel/Fax: +40236 493277 Email: ivan.io...@tehnopol-gl.ro _The content of this email is confidential and intended for the recipient specified in message only. It is strictly forbidden to share any part of this message with any third party, without a written consent of the sender. If you are not the intended recipient of this message, please notify the sender immediately, and delete the message and any attachments. Any disclosure, reproduction, distribution or other use of this message or any attachments by an individual or entity other than the intended recipient is prohibited._ On 10-03-2022 20:28, Frank Gingras wrote: That would really be a band-aid; also preventing memory leaks might not stop segfaults at all. You will gain many advantages by moving to the fpm pools model, and your httpd will use less memory as well. On Wed, 9 Mar 2022 at 20:15, Dino Ciuffetti wrote: Already tried to disable the opcache PHP extension? # sudo phpdismod opcache It should be your problem. Also, it seems you are on prefork, please try to set MaxConnectionsPerChild to something near 1 when you are using mod_php or big modules like this to avoid any memory leak building slowly, if any. 9 marzo 2022 14:15, "Ivan Ionut" wrote: My apache2 version: Server version: Apache/2.4.18 (Ubuntu) Server built: 2020-08-12T21:35:50 My php version: PHP 7.3.7-1+ubuntu16.04.1+deb.sury.org [1]+1 (cli) (built: Jul 10 2019 06:54:26) ( NTS ) Copyright (c) 1997-2018 The PHP Group Zend Engine v3.3.7, Copyright (c) 1998-2018 Zend Technologies with Zend OPcache v7.3.7-1+ubuntu16.04.1+deb.sury.org [1]+1, Copyright (c) 1999-2018, by Zend Technologies My os version: Distributor ID: Ubuntu Description: Ubuntu 16.04.6 LTS Release: 16.04 Codename: xenial Hi, from last 2-3 months i have a lot of these segmentations(2-3 times per week); [Wed Mar 09 10:47:12.150226 2022] [core:notice] [pid 21823] AH00051: child pid 22481 exit signal Segmentation fault (11), possible coredump in /etc/apache2 [Wed Mar 09 10:47:17.155792 2022] [core:notice] [pid 21823] AH00051: child pid 21895 exit signal Segmentation fault (11), possible coredump in /etc/apache2 [Wed Mar 09 10:47:24.163536 2022] [core:notice] [pid 21823] AH00051: child pid 22189 exit signal Segmentation fault (11), possible coredump in /etc/apache2 [Wed Mar 09 10:47:24.163618 2022] [core:notice] [pid 21823] AH00051: child pid 22562 exit signal Segmentation fault (11), possible coredump in /etc/apache2 [Wed Mar 09 10:47:25.164759 2022] [core:notice] [pid 21823] AH00051: child pid 22491 exit ... Every site on the server has an error with: "Secure Connection Failed" or "The Connection was reset" After I restart apache2 everything is ok. Before this error.. I had a lot of errors (that I do not remember the exact log messages) ... the apache2 requested to increase the number of servers/workers, so the only I made some modifications /etc/apache2/mods-available/mpm_prefork.conf ServerLimit 4000 StartServers 905 MinSpareServers 405 MaxSpareServers 420 MaxRequestWorkers 2000 MaxConnectionsPerChild 0 Today with some tutorial and with the help of gdb... I did get some output of a segmentated apache2 process: #0 0xb6324467 in ?? () from /usr/lib/php/20180731/opcache.so No symbol table info available. #1 0xb6322eac in ?? () from /usr/lib/php/20180731/opcache.so No symbol table info available. #2 0xb716baba in ?? () from /usr/lib/apache2/modules/libphp7.3.so [2] No symbol table info available. #3 0xb71a4b92 in ?? () from /usr/lib/apache2/modules/libphp7.3.so [2] No symbol table info available. #4 0xb71adaf3 in execute_ex () from /usr/lib/apache2/modules/libphp7.3.so [2] No symbol table info available. #5 0xb71112cd in zend_call_function () from /usr/lib/apache2/modules/libphp7.3.so [2] No symbol table info available. #6 0xb6fbffbf in ?? () from /usr/lib/apache2/modules/libphp7.3.so [2] No symbol table info available. #7 0xb6fc1345 in ?? () from /usr/lib/apache2/modules/libphp7.3.so [2] No symbol table info available. #8 0xb6fc154a in ?? () from /usr/lib/apache2/modules/libphp7.3.so [2] No symbol table info available. #9 0xb6fc1b2a in ?? () from /usr/lib/apache2/modules/libphp7.3.so [2] No symbol table info available. #10 0xb71a9f11 in execute_ex () from /usr/lib/apache2/modules/libphp7.3.so [2] No symbol table info available. #11 0xb71112cd in zend_call_function () from /usr/lib/
Re: [users@httpd] Segmentation fault
That would really be a band-aid; also preventing memory leaks might not stop segfaults at all. You will gain many advantages by moving to the fpm pools model, and your httpd will use less memory as well. On Wed, 9 Mar 2022 at 20:15, Dino Ciuffetti wrote: > Already tried to disable the opcache PHP extension? > # sudo phpdismod opcache > It should be your problem. > > Also, it seems you are on prefork, please try to set > MaxConnectionsPerChild to something near 1 when you are using mod_php > or big modules like this to avoid any memory leak building slowly, if any. > > > > 9 marzo 2022 14:15, "Ivan Ionut" > > wrote: > > *My apache2 version:* > > Server version: Apache/2.4.18 (Ubuntu) > Server built: 2020-08-12T21:35:50 > > *My php version:* > > PHP 7.3.7-1+ubuntu16.04.1+deb.sury.org+1 (cli) (built: Jul 10 2019 > 06:54:26) ( NTS ) > Copyright (c) 1997-2018 The PHP Group > Zend Engine v3.3.7, Copyright (c) 1998-2018 Zend Technologies > with Zend OPcache v7.3.7-1+ubuntu16.04.1+deb.sury.org+1, Copyright (c) > 1999-2018, by Zend Technologies > > *My os version:* > > Distributor ID: Ubuntu > Description: Ubuntu 16.04.6 LTS > Release: 16.04 > Codename: xenial > > Hi, from last 2-3 months i have a lot of these segmentations(2-3 times per > week); > > [Wed Mar 09 10:47:12.150226 2022] [core:notice] [pid 21823] AH00051: child > pid 22481 exit signal Segmentation fault (11), possible coredump in > /etc/apache2 > [Wed Mar 09 10:47:17.155792 2022] [core:notice] [pid 21823] AH00051: child > pid 21895 exit signal Segmentation fault (11), possible coredump in > /etc/apache2 > [Wed Mar 09 10:47:24.163536 2022] [core:notice] [pid 21823] AH00051: child > pid 22189 exit signal Segmentation fault (11), possible coredump in > /etc/apache2 > [Wed Mar 09 10:47:24.163618 2022] [core:notice] [pid 21823] AH00051: child > pid 22562 exit signal Segmentation fault (11), possible coredump in > /etc/apache2 > [Wed Mar 09 10:47:25.164759 2022] [core:notice] [pid 21823] AH00051: child > pid 22491 exit > > ... > > Every site on the server has an error with: "Secure Connection Failed" or > "The Connection was reset" > > After I restart apache2 everything is ok. > > Before this error.. I had a lot of errors (that I do not remember the > exact log messages) ... the apache2 requested to increase the number of > servers/workers, so the only I made some modifications > > /etc/apache2/mods-available/mpm_prefork.conf > > > ServerLimit 4000 > StartServers 905 > MinSpareServers 405 > MaxSpareServers 420 > MaxRequestWorkers 2000 > MaxConnectionsPerChild 0 > > > Today with some tutorial and with the help of gdb... I did get some output > of a segmentated apache2 process: > > #0 0xb6324467 in ?? () from /usr/lib/php/20180731/opcache.so > No symbol table info available. > #1 0xb6322eac in ?? () from /usr/lib/php/20180731/opcache.so > No symbol table info available. > #2 0xb716baba in ?? () from /usr/lib/apache2/modules/libphp7.3.so > No symbol table info available. > #3 0xb71a4b92 in ?? () from /usr/lib/apache2/modules/libphp7.3.so > No symbol table info available. > #4 0xb71adaf3 in execute_ex () from /usr/lib/apache2/modules/libphp7.3.so > No symbol table info available. > #5 0xb71112cd in zend_call_function () from /usr/lib/apache2/modules/ > libphp7.3.so > No symbol table info available. > #6 0xb6fbffbf in ?? () from /usr/lib/apache2/modules/libphp7.3.so > No symbol table info available. > #7 0xb6fc1345 in ?? () from /usr/lib/apache2/modules/libphp7.3.so > No symbol table info available. > #8 0xb6fc154a in ?? () from /usr/lib/apache2/modules/libphp7.3.so > No symbol table info available. > #9 0xb6fc1b2a in ?? () from /usr/lib/apache2/modules/libphp7.3.so > No symbol table info available. > #10 0xb71a9f11 in execute_ex () from /usr/lib/apache2/modules/libphp7.3.so > No symbol table info available. > #11 0xb71112cd in zend_call_function () from /usr/lib/apache2/modules/ > libphp7.3.so > No symbol table info available. > #12 0xb6fbffbf in ?? () from /usr/lib/apache2/modules/libphp7.3.so > No symbol table info available. > #13 0xb6fc1345 in ?? () from /usr/lib/apache2/modules/libphp7.3.so > No symbol table info available. > #14 0xb6fc154a in ?? () from /usr/lib/apache2/modules/libphp7.3.so > No symbol table info available. > #15 0xb6fc1b2a in ?? () from /usr/lib/apache2/modules/libphp7.3.so > No symbol table info available. > #16 0xb71a9f11 in execute_ex () from /usr/lib/apache2/modules/libphp7.3.so > No symbol table info available. > #17 0xb71112cd in zend_call_function () from /usr/lib/apache2/modules/ > libphp7.3.so > No symbol table info available. > #18 0xb6fbffbf in ?? () from /usr/lib/apache2/modules/libphp7.3.so > No symbol table info available. > #19 0xb6fc1345 in ?? () from /usr/lib/apache2/modules/libphp7.3.so > No symbol table info available. > #20 0xb6fc154a in ?? () from /usr/lib/apache2/modules/libphp7.3.so > No symbol table info available. > #21 0xb6fc1b2a in ?? () from /usr/lib/apache2/modules/libphp7.3.so > No symb
Re: [users@httpd] Segmentation fault
Already tried to disable the opcache PHP extension? # sudo phpdismod opcache It should be your problem. Also, it seems you are on prefork, please try to set MaxConnectionsPerChild to something near 1 when you are using mod_php or big modules like this to avoid any memory leak building slowly, if any. 9 marzo 2022 14:15, "Ivan Ionut" mailto:ivan.io...@tehnopol-gl.ro?to=%22Ivan%20Ionut%22%20)> wrote: My apache2 version: Server version: Apache/2.4.18 (Ubuntu) Server built: 2020-08-12T21:35:50 My php version: PHP 7.3.7-1+ubuntu16.04.1+deb.sury.org+1 (cli) (built: Jul 10 2019 06:54:26) ( NTS ) Copyright (c) 1997-2018 The PHP Group Zend Engine v3.3.7, Copyright (c) 1998-2018 Zend Technologies with Zend OPcache v7.3.7-1+ubuntu16.04.1+deb.sury.org+1, Copyright (c) 1999-2018, by Zend Technologies My os version: Distributor ID: Ubuntu Description: Ubuntu 16.04.6 LTS Release: 16.04 Codename: xenial Hi, from last 2-3 months i have a lot of these segmentations(2-3 times per week); [Wed Mar 09 10:47:12.150226 2022] [core:notice] [pid 21823] AH00051: child pid 22481 exit signal Segmentation fault (11), possible coredump in /etc/apache2 [Wed Mar 09 10:47:17.155792 2022] [core:notice] [pid 21823] AH00051: child pid 21895 exit signal Segmentation fault (11), possible coredump in /etc/apache2 [Wed Mar 09 10:47:24.163536 2022] [core:notice] [pid 21823] AH00051: child pid 22189 exit signal Segmentation fault (11), possible coredump in /etc/apache2 [Wed Mar 09 10:47:24.163618 2022] [core:notice] [pid 21823] AH00051: child pid 22562 exit signal Segmentation fault (11), possible coredump in /etc/apache2 [Wed Mar 09 10:47:25.164759 2022] [core:notice] [pid 21823] AH00051: child pid 22491 exit ... Every site on the server has an error with: "Secure Connection Failed" or "The Connection was reset" After I restart apache2 everything is ok. Before this error.. I had a lot of errors (that I do not remember the exact log messages) ... the apache2 requested to increase the number of servers/workers, so the only I made some modifications /etc/apache2/mods-available/mpm_prefork.conf ServerLimit 4000 StartServers 905 MinSpareServers 405 MaxSpareServers 420 MaxRequestWorkers 2000 MaxConnectionsPerChild 0 Today with some tutorial and with the help of gdb... I did get some output of a segmentated apache2 process: #0 0xb6324467 in ?? () from /usr/lib/php/20180731/opcache.so No symbol table info available. #1 0xb6322eac in ?? () from /usr/lib/php/20180731/opcache.so No symbol table info available. #2 0xb716baba in ?? () from /usr/lib/apache2/modules/libphp7.3.so No symbol table info available. #3 0xb71a4b92 in ?? () from /usr/lib/apache2/modules/libphp7.3.so No symbol table info available. #4 0xb71adaf3 in execute_ex () from /usr/lib/apache2/modules/libphp7.3.so No symbol table info available. #5 0xb71112cd in zend_call_function () from /usr/lib/apache2/modules/libphp7.3.so No symbol table info available. #6 0xb6fbffbf in ?? () from /usr/lib/apache2/modules/libphp7.3.so No symbol table info available. #7 0xb6fc1345 in ?? () from /usr/lib/apache2/modules/libphp7.3.so No symbol table info available. #8 0xb6fc154a in ?? () from /usr/lib/apache2/modules/libphp7.3.so No symbol table info available. #9 0xb6fc1b2a in ?? () from /usr/lib/apache2/modules/libphp7.3.so No symbol table info available. #10 0xb71a9f11 in execute_ex () from /usr/lib/apache2/modules/libphp7.3.so No symbol table info available. #11 0xb71112cd in zend_call_function () from /usr/lib/apache2/modules/libphp7.3.so No symbol table info available. #12 0xb6fbffbf in ?? () from /usr/lib/apache2/modules/libphp7.3.so No symbol table info available. #13 0xb6fc1345 in ?? () from /usr/lib/apache2/modules/libphp7.3.so No symbol table info available. #14 0xb6fc154a in ?? () from /usr/lib/apache2/modules/libphp7.3.so No symbol table info available. #15 0xb6fc1b2a in ?? () from /usr/lib/apache2/modules/libphp7.3.so No symbol table info available. #16 0xb71a9f11 in execute_ex () from /usr/lib/apache2/modules/libphp7.3.so No symbol table info available. #17 0xb71112cd in zend_call_function () from /usr/lib/apache2/modules/libphp7.3.so No symbol table info available. #18 0xb6fbffbf in ?? () from /usr/lib/apache2/modules/libphp7.3.so No symbol table info available. #19 0xb6fc1345 in ?? () from /usr/lib/apache2/modules/libphp7.3.so No symbol table info available. #20 0xb6fc154a in ?? () from /usr/lib/apache2/modules/libphp7.3.so No symbol table info available. #21 0xb6fc1b2a in ?? () from /usr/lib/apache2/modules/libphp7.3.so No symbol table info available. #22 0xb71a9f11 in execute_ex () from /usr/lib/apache2/modules/libphp7.3.so No symbol table info available. #23 0xb71112cd in zend_call_function () from /usr/lib/apache2/modules/libphp7.3.so No symbol table info available. #24 0xb6fbffbf in ?? () from /usr/lib/apache2/mo
Re: [users@httpd] Segmentation fault
Ivan, Keep the replies in the ML for everyone to see. See the fpm wiki page at: https://cwiki.apache.org/confluence/display/HTTPD/PHP-FPM On Wed, 9 Mar 2022 at 11:13, Frank Gingras wrote: > Hello, > > A mod_php segfault is most likely linked to a php extension. > > You have two options here: > > 1) Unload each php extension until you find the culprit > > 2) Switch to php-fpm, and configure httpd to use the event mpm via > proxy_fcgi to pass the requests to php-fpm > > On Wed, 9 Mar 2022 at 08:15, Ivan Ionut wrote: > >> *My apache2 version:* >> >> Server version: Apache/2.4.18 (Ubuntu) >> Server built: 2020-08-12T21:35:50 >> >> *My php version:* >> >> PHP 7.3.7-1+ubuntu16.04.1+deb.sury.org+1 (cli) (built: Jul 10 2019 >> 06:54:26) ( NTS ) >> Copyright (c) 1997-2018 The PHP Group >> Zend Engine v3.3.7, Copyright (c) 1998-2018 Zend Technologies >> with Zend OPcache v7.3.7-1+ubuntu16.04.1+deb.sury.org+1, Copyright (c) >> 1999-2018, by Zend Technologies >> >> *My os version:* >> >> Distributor ID: Ubuntu >> Description: Ubuntu 16.04.6 LTS >> Release: 16.04 >> Codename: xenial >> >> >> Hi, from last 2-3 months i have a lot of these segmentations(2-3 times >> per week); >> >> [Wed Mar 09 10:47:12.150226 2022] [core:notice] [pid 21823] AH00051: >> child pid 22481 exit signal Segmentation fault (11), possible coredump in >> /etc/apache2 >> [Wed Mar 09 10:47:17.155792 2022] [core:notice] [pid 21823] AH00051: >> child pid 21895 exit signal Segmentation fault (11), possible coredump in >> /etc/apache2 >> [Wed Mar 09 10:47:24.163536 2022] [core:notice] [pid 21823] AH00051: >> child pid 22189 exit signal Segmentation fault (11), possible coredump in >> /etc/apache2 >> [Wed Mar 09 10:47:24.163618 2022] [core:notice] [pid 21823] AH00051: >> child pid 22562 exit signal Segmentation fault (11), possible coredump in >> /etc/apache2 >> [Wed Mar 09 10:47:25.164759 2022] [core:notice] [pid 21823] AH00051: >> child pid 22491 exit >> >> ... >> >> Every site on the server has an error with: "Secure Connection Failed" or >> "The Connection was reset" >> >> After I restart apache2 everything is ok. >> >> Before this error.. I had a lot of errors (that I do not remember the >> exact log messages) ... the apache2 requested to increase the number of >> servers/workers, so the only I made some modifications >> >> /etc/apache2/mods-available/mpm_prefork.conf >> >> >> ServerLimit 4000 >> StartServers 905 >> MinSpareServers 405 >> MaxSpareServers 420 >> MaxRequestWorkers 2000 >> MaxConnectionsPerChild 0 >> >> >> >> Today with some tutorial and with the help of gdb... I did get some >> output of a segmentated apache2 process: >> >> >> #0 0xb6324467 in ?? () from /usr/lib/php/20180731/opcache.so >> No symbol table info available. >> #1 0xb6322eac in ?? () from /usr/lib/php/20180731/opcache.so >> No symbol table info available. >> #2 0xb716baba in ?? () from /usr/lib/apache2/modules/libphp7.3.so >> No symbol table info available. >> #3 0xb71a4b92 in ?? () from /usr/lib/apache2/modules/libphp7.3.so >> No symbol table info available. >> #4 0xb71adaf3 in execute_ex () from /usr/lib/apache2/modules/libphp7.3.so >> No symbol table info available. >> #5 0xb71112cd in zend_call_function () from /usr/lib/apache2/modules/ >> libphp7.3.so >> No symbol table info available. >> #6 0xb6fbffbf in ?? () from /usr/lib/apache2/modules/libphp7.3.so >> No symbol table info available. >> #7 0xb6fc1345 in ?? () from /usr/lib/apache2/modules/libphp7.3.so >> No symbol table info available. >> #8 0xb6fc154a in ?? () from /usr/lib/apache2/modules/libphp7.3.so >> No symbol table info available. >> #9 0xb6fc1b2a in ?? () from /usr/lib/apache2/modules/libphp7.3.so >> No symbol table info available. >> #10 0xb71a9f11 in execute_ex () from /usr/lib/apache2/modules/ >> libphp7.3.so >> No symbol table info available. >> #11 0xb71112cd in zend_call_function () from /usr/lib/apache2/modules/ >> libphp7.3.so >> No symbol table info available. >> #12 0xb6fbffbf in ?? () from /usr/lib/apache2/modules/libphp7.3.so >> No symbol table info available. >> #13 0xb6fc1345 in ?? () from /usr/lib/apache2/modules/libphp7.3.so >> No symbol table info available. >> #14 0xb6fc154a in ?? () from /usr/lib/apache2/modules/libphp7.3.so >> No symbol table info available. >> #15 0xb6fc1b2a in ?? () from /usr/lib/apache2/modules/libphp7.3.so >> No symbol table info available. >> #16 0xb71a9f11 in execute_ex () from /usr/lib/apache2/modules/ >> libphp7.3.so >> No symbol table info available. >> #17 0xb71112cd in zend_call_function () from /usr/lib/apache2/modules/ >> libphp7.3.so >> No symbol table info available. >> #18 0xb6fbffbf in ?? () from /usr/lib/apache2/modules/libphp7.3.so >> No symbol table info available. >> #19 0xb6fc1345 in ?? () from /usr/lib/apache2/modules/libphp7.3.so >> No symbol table info available. >> #20 0xb6fc154a in ?? () from /usr/lib/apache2/modules/libphp7.3.so >> No symbol table info available. >> #21 0xb6fc1b2a in ?? () from /usr/lib/apache2/module
Re: [users@httpd] Segmentation fault
Hello, A mod_php segfault is most likely linked to a php extension. You have two options here: 1) Unload each php extension until you find the culprit 2) Switch to php-fpm, and configure httpd to use the event mpm via proxy_fcgi to pass the requests to php-fpm On Wed, 9 Mar 2022 at 08:15, Ivan Ionut wrote: > *My apache2 version:* > > Server version: Apache/2.4.18 (Ubuntu) > Server built: 2020-08-12T21:35:50 > > *My php version:* > > PHP 7.3.7-1+ubuntu16.04.1+deb.sury.org+1 (cli) (built: Jul 10 2019 > 06:54:26) ( NTS ) > Copyright (c) 1997-2018 The PHP Group > Zend Engine v3.3.7, Copyright (c) 1998-2018 Zend Technologies > with Zend OPcache v7.3.7-1+ubuntu16.04.1+deb.sury.org+1, Copyright (c) > 1999-2018, by Zend Technologies > > *My os version:* > > Distributor ID: Ubuntu > Description: Ubuntu 16.04.6 LTS > Release: 16.04 > Codename: xenial > > > Hi, from last 2-3 months i have a lot of these segmentations(2-3 times > per week); > > [Wed Mar 09 10:47:12.150226 2022] [core:notice] [pid 21823] AH00051: child > pid 22481 exit signal Segmentation fault (11), possible coredump in > /etc/apache2 > [Wed Mar 09 10:47:17.155792 2022] [core:notice] [pid 21823] AH00051: child > pid 21895 exit signal Segmentation fault (11), possible coredump in > /etc/apache2 > [Wed Mar 09 10:47:24.163536 2022] [core:notice] [pid 21823] AH00051: child > pid 22189 exit signal Segmentation fault (11), possible coredump in > /etc/apache2 > [Wed Mar 09 10:47:24.163618 2022] [core:notice] [pid 21823] AH00051: child > pid 22562 exit signal Segmentation fault (11), possible coredump in > /etc/apache2 > [Wed Mar 09 10:47:25.164759 2022] [core:notice] [pid 21823] AH00051: child > pid 22491 exit > > ... > > Every site on the server has an error with: "Secure Connection Failed" or > "The Connection was reset" > > After I restart apache2 everything is ok. > > Before this error.. I had a lot of errors (that I do not remember the > exact log messages) ... the apache2 requested to increase the number of > servers/workers, so the only I made some modifications > > /etc/apache2/mods-available/mpm_prefork.conf > > > ServerLimit 4000 > StartServers 905 > MinSpareServers 405 > MaxSpareServers 420 > MaxRequestWorkers 2000 > MaxConnectionsPerChild 0 > > > > Today with some tutorial and with the help of gdb... I did get some output > of a segmentated apache2 process: > > > #0 0xb6324467 in ?? () from /usr/lib/php/20180731/opcache.so > No symbol table info available. > #1 0xb6322eac in ?? () from /usr/lib/php/20180731/opcache.so > No symbol table info available. > #2 0xb716baba in ?? () from /usr/lib/apache2/modules/libphp7.3.so > No symbol table info available. > #3 0xb71a4b92 in ?? () from /usr/lib/apache2/modules/libphp7.3.so > No symbol table info available. > #4 0xb71adaf3 in execute_ex () from /usr/lib/apache2/modules/libphp7.3.so > No symbol table info available. > #5 0xb71112cd in zend_call_function () from /usr/lib/apache2/modules/ > libphp7.3.so > No symbol table info available. > #6 0xb6fbffbf in ?? () from /usr/lib/apache2/modules/libphp7.3.so > No symbol table info available. > #7 0xb6fc1345 in ?? () from /usr/lib/apache2/modules/libphp7.3.so > No symbol table info available. > #8 0xb6fc154a in ?? () from /usr/lib/apache2/modules/libphp7.3.so > No symbol table info available. > #9 0xb6fc1b2a in ?? () from /usr/lib/apache2/modules/libphp7.3.so > No symbol table info available. > #10 0xb71a9f11 in execute_ex () from /usr/lib/apache2/modules/libphp7.3.so > No symbol table info available. > #11 0xb71112cd in zend_call_function () from /usr/lib/apache2/modules/ > libphp7.3.so > No symbol table info available. > #12 0xb6fbffbf in ?? () from /usr/lib/apache2/modules/libphp7.3.so > No symbol table info available. > #13 0xb6fc1345 in ?? () from /usr/lib/apache2/modules/libphp7.3.so > No symbol table info available. > #14 0xb6fc154a in ?? () from /usr/lib/apache2/modules/libphp7.3.so > No symbol table info available. > #15 0xb6fc1b2a in ?? () from /usr/lib/apache2/modules/libphp7.3.so > No symbol table info available. > #16 0xb71a9f11 in execute_ex () from /usr/lib/apache2/modules/libphp7.3.so > No symbol table info available. > #17 0xb71112cd in zend_call_function () from /usr/lib/apache2/modules/ > libphp7.3.so > No symbol table info available. > #18 0xb6fbffbf in ?? () from /usr/lib/apache2/modules/libphp7.3.so > No symbol table info available. > #19 0xb6fc1345 in ?? () from /usr/lib/apache2/modules/libphp7.3.so > No symbol table info available. > #20 0xb6fc154a in ?? () from /usr/lib/apache2/modules/libphp7.3.so > No symbol table info available. > #21 0xb6fc1b2a in ?? () from /usr/lib/apache2/modules/libphp7.3.so > No symbol table info available. > #22 0xb71a9f11 in execute_ex () from /usr/lib/apache2/modules/libphp7.3.so > No symbol table info available. > #23 0xb71112cd in zend_call_function () from /usr/lib/apache2/modules/ > libphp7.3.so > No symbol table info available. > #24 0xb6fbffbf in ?? () from /usr/lib/apache2/modul
[users@httpd] Segmentation fault
My apache2 version: Server version: Apache/2.4.18 (Ubuntu) Server built: 2020-08-12T21:35:50 My php version: PHP 7.3.7-1+ubuntu16.04.1+deb.sury.org+1 (cli) (built: Jul 10 2019 06:54:26) ( NTS ) Copyright (c) 1997-2018 The PHP Group Zend Engine v3.3.7, Copyright (c) 1998-2018 Zend Technologies with Zend OPcache v7.3.7-1+ubuntu16.04.1+deb.sury.org+1, Copyright (c) 1999-2018, by Zend Technologies My os version: Distributor ID: Ubuntu Description: Ubuntu 16.04.6 LTS Release: 16.04 Codename: xenial Hi, from last 2-3 months i have a lot of these segmentations(2-3 times per week); [Wed Mar 09 10:47:12.150226 2022] [core:notice] [pid 21823] AH00051: child pid 22481 exit signal Segmentation fault (11), possible coredump in /etc/apache2 [Wed Mar 09 10:47:17.155792 2022] [core:notice] [pid 21823] AH00051: child pid 21895 exit signal Segmentation fault (11), possible coredump in /etc/apache2 [Wed Mar 09 10:47:24.163536 2022] [core:notice] [pid 21823] AH00051: child pid 22189 exit signal Segmentation fault (11), possible coredump in /etc/apache2 [Wed Mar 09 10:47:24.163618 2022] [core:notice] [pid 21823] AH00051: child pid 22562 exit signal Segmentation fault (11), possible coredump in /etc/apache2 [Wed Mar 09 10:47:25.164759 2022] [core:notice] [pid 21823] AH00051: child pid 22491 exit ... Every site on the server has an error with: "Secure Connection Failed" or "The Connection was reset" After I restart apache2 everything is ok. Before this error.. I had a lot of errors (that I do not remember the exact log messages) ... the apache2 requested to increase the number of servers/workers, so the only I made some modifications /etc/apache2/mods-available/mpm_prefork.conf ServerLimit 4000 StartServers 905 MinSpareServers 405 MaxSpareServers 420 MaxRequestWorkers 2000 MaxConnectionsPerChild 0 Today with some tutorial and with the help of gdb... I did get some output of a segmentated apache2 process: #0 0xb6324467 in ?? () from /usr/lib/php/20180731/opcache.so No symbol table info available. #1 0xb6322eac in ?? () from /usr/lib/php/20180731/opcache.so No symbol table info available. #2 0xb716baba in ?? () from /usr/lib/apache2/modules/libphp7.3.so No symbol table info available. #3 0xb71a4b92 in ?? () from /usr/lib/apache2/modules/libphp7.3.so No symbol table info available. #4 0xb71adaf3 in execute_ex () from /usr/lib/apache2/modules/libphp7.3.so No symbol table info available. #5 0xb71112cd in zend_call_function () from /usr/lib/apache2/modules/libphp7.3.so No symbol table info available. #6 0xb6fbffbf in ?? () from /usr/lib/apache2/modules/libphp7.3.so No symbol table info available. #7 0xb6fc1345 in ?? () from /usr/lib/apache2/modules/libphp7.3.so No symbol table info available. #8 0xb6fc154a in ?? () from /usr/lib/apache2/modules/libphp7.3.so No symbol table info available. #9 0xb6fc1b2a in ?? () from /usr/lib/apache2/modules/libphp7.3.so No symbol table info available. #10 0xb71a9f11 in execute_ex () from /usr/lib/apache2/modules/libphp7.3.so No symbol table info available. #11 0xb71112cd in zend_call_function () from /usr/lib/apache2/modules/libphp7.3.so No symbol table info available. #12 0xb6fbffbf in ?? () from /usr/lib/apache2/modules/libphp7.3.so No symbol table info available. #13 0xb6fc1345 in ?? () from /usr/lib/apache2/modules/libphp7.3.so No symbol table info available. #14 0xb6fc154a in ?? () from /usr/lib/apache2/modules/libphp7.3.so No symbol table info available. #15 0xb6fc1b2a in ?? () from /usr/lib/apache2/modules/libphp7.3.so No symbol table info available. #16 0xb71a9f11 in execute_ex () from /usr/lib/apache2/modules/libphp7.3.so No symbol table info available. #17 0xb71112cd in zend_call_function () from /usr/lib/apache2/modules/libphp7.3.so No symbol table info available. #18 0xb6fbffbf in ?? () from /usr/lib/apache2/modules/libphp7.3.so No symbol table info available. #19 0xb6fc1345 in ?? () from /usr/lib/apache2/modules/libphp7.3.so No symbol table info available. #20 0xb6fc154a in ?? () from /usr/lib/apache2/modules/libphp7.3.so No symbol table info available. #21 0xb6fc1b2a in ?? () from /usr/lib/apache2/modules/libphp7.3.so No symbol table info available. #22 0xb71a9f11 in execute_ex () from /usr/lib/apache2/modules/libphp7.3.so No symbol table info available. #23 0xb71112cd in zend_call_function () from /usr/lib/apache2/modules/libphp7.3.so No symbol table info available. #24 0xb6fbffbf in ?? () from /usr/lib/apache2/modules/libphp7.3.so No symbol table info available. #25 0xb6fc1345 in ?? () from /usr/lib/apache2/modules/libphp7.3.so No symbol table info available. #26 0xb6fc154a in ?? () from /usr/lib/apache2/modules/libphp7.3.so No symbol table info available. #27 0xb6fc1b2a in ?? () from /usr/lib/apache2/modules/libphp7.3.so No symbol table info available. #28 0xb71a9f11 in execute_ex () from /usr/lib/apache2/modules/libphp7.3.so No symbol table info available. #29 0xb71b22e4 in zend_execute () from /usr/lib/apache2
Re: [users@httpd] Segmentation fault when builded with openssl 1.1.1
Hi! Il giorno lun 28 gen 2019 alle ore 06:36 ha scritto: > > Hi, > > I have an issue with version httpd 2.4.38 when it is builded with openssl > 1.1.1 and mod_cluster > There are repeated error messages in error.log: > > AH00052: child pid exit signal Segmentation fault (11) > > These error messages are suppressed when mod_ssl is disabled > > Builded on Linux 3.10.0-693.1.1.el7.x86_64 > > httpd server builded with: > > APR=apr-1.6.5.tar.gz > APR_UTIL=apr-util-1.6.1.tar.gz > HTTPD=httpd-2.4.38.tar.gz > LIBXML=libxml2-2.9.7.tar.gz > M4=m4-1.4.18.tar.gz > MOD_CLUSTER=mod_cluster-1.3.10.Final.tar.gz > MOD_SECURITY=modsecurity-2.9.2.tar.gz > NGHTTP2=nghttp2-1.36.0.tar.gz > OPENSSL=openssl-1.1.1a.tar.gz > PCRE=pcre-8.42.tar.gz > > Do you have any idea what could be wrong or it is possible bug in actual > version of httpd server? Because when i tried to build httpd 2.4.37 with same > prerequesities with same way and also with openssl 1.1.1 there is no problem > with this combination. could you follow http://httpd.apache.org/dev/debugging.html#crashes and report back the stacktrace of the segmentation fault? It would be very useful to understand what module is triggering this. mod_cluster is not part of the standard httpd distribution, so in case of issues with it I'd suggest to follow up with them to get more info about how to fix the issue. Thanks! Luca - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [users@httpd] Segmentation Fault - too many proxy balancers
On Fri, Jul 25, 2014 at 2:00 PM, Paul Beckett wrote: > My apache server has started segmentation faulting all the time (seems to > log a segmentation fault every few requests to the apache error log): > > [Fri Jul 25 06:25:42.046752 2014] [core:notice] [pid 11226:tid > 140006078953216] AH00052: child pid 11715 exit signal Segmentation fault > (11) > Can you post a backtrace from the crash? > > This appears to be due to the number of proxy balancers I have configured > (problem isn't related to any one specific proxy balancer, adding / > removing any of the proxy balancers causes the problem to > appear/disappear). I'm using Apache HTTPD as a reverse proxy for a lot of > load-balanced (by apache httpd) application servers. My googling so far > hasn't found any specific limit on the number of proxy, or how I can > increase this. > > I am running Apache HTTPD 2.4.9, built from source on RHEL6. > > I would be very grateful if anyone can shed more light on this, and > assuming I'm right about a limit: point my in the right direction as to how > I can increase this. > > Thanks, > Paul > -- Born in Roswell... married an alien... http://emptyhammock.com/ http://edjective.org/
RE: [users@httpd] Segmentation Fault - too many proxy balancers
I've tried increasing various system limits (using ulimit), generally doubling and increasing 10-fold any value. None of the following has made any difference: # -n : The maximum number of open file descriptors (most systems do not allow this value to be set)ulimit -n 2048# -u : The maximum number of processes available to a single userulimit -u 5149520# -s : The maximum stack sizeulimit -s unlimited# -l : Maximum locked memoryulimit -l 128# -i : The maximum number of pending signalsulimit -i 5149520# -q : POSIX message queuesulimit -q 8192000 Looking in /proc//limits I've confirmed the limits have been raised from:Limit Soft Limit Hard Limit UnitsMax cpu time unlimitedunlimited secondsMax file size unlimitedunlimited bytesMax data size unlimitedunlimited bytesMax stack size10485760 unlimited bytesMax core file size00 bytesMax resident set unlimitedunlimited bytesMax processes 1024 514952 processesMax open files1024 1024 filesMax locked memory 6553665536 bytesMax address space unlimitedunlimited bytesMax file locksunlimitedunlimited locksMax pending signals 514952 514952 signalsMax msgqueue size 819200 819200 bytesMax nice priority 00Max realtime priority 00Max realtime timeout unlimitedunlimited us to:Limit Soft Limit Hard Limit UnitsMax cpu time unlimitedunlimitedsecondsMax file size unlimitedunlimitedbytesMax data size unlimitedunlimitedbytesMax stack size unlimitedunlimitedbytesMax core file size0 0bytesMax resident set unlimited unlimitedbytesMax processes 5149520 5149520 processesMax open files2048 2048 filesMax locked memory 131072 131072 bytesMax address space unlimitedunlimited bytesMax file locksunlimitedunlimited locksMax pending signals 5149520 5149520 signalsMax msgqueue size 8192000 8192000 bytesMax nice priority 00Max realtime priority 00Max realtime timeout unlimitedunlimited us I have 166 virtual hosts, and 124 proxy balancers. As soon as I try to increase the number of proxy balancers to 125 I get the segmentation fault error. I only have one set of log files (1 access log, 1 error log), I don't have separate log files for each vhost. Thanks, Paul From: paul_beck...@outlook.com To: users@httpd.apache.org Date: Fri, 25 Jul 2014 19:00:44 +0100 Subject: [users@httpd] Segmentation Fault - too many proxy balancers My apache server has started segmentation faulting all the time (seems to log a segmentation fault every few requests to the apache error log): [Fri Jul 25 06:25:42.046752 2014] [core:notice] [pid 11226:tid 140006078953216] AH00052: child pid 11715 exit signal Segmentation fault (11) This appears to be due to the number of proxy balancers I have configured (problem isn't related to any one specific proxy balancer, adding / removing any of the proxy balancers causes the problem to appear/disappear). I'm using Apache HTTPD as a reverse proxy for a lot of load-balanced (by apache httpd) application servers. My googling so far hasn't found any specific limit on the number of proxy, or how I can increase this. I am running Apache HTTPD 2.4.9, built from source on RHEL6. I would be very grateful if anyone can shed more light on this, and assuming I'm right about a limit: point my in the right direction as to how I can increase this. Thanks, Paul
[users@httpd] Segmentation Fault - too many proxy balancers
My apache server has started segmentation faulting all the time (seems to log a segmentation fault every few requests to the apache error log): [Fri Jul 25 06:25:42.046752 2014] [core:notice] [pid 11226:tid 140006078953216] AH00052: child pid 11715 exit signal Segmentation fault (11) This appears to be due to the number of proxy balancers I have configured (problem isn't related to any one specific proxy balancer, adding / removing any of the proxy balancers causes the problem to appear/disappear). I'm using Apache HTTPD as a reverse proxy for a lot of load-balanced (by apache httpd) application servers. My googling so far hasn't found any specific limit on the number of proxy, or how I can increase this. I am running Apache HTTPD 2.4.9, built from source on RHEL6. I would be very grateful if anyone can shed more light on this, and assuming I'm right about a limit: point my in the right direction as to how I can increase this. Thanks, Paul
Re: [users@httpd] Segmentation fault in logs
On May 23, 2014, at 11:42 , Hugo Gomes wrote: > Hi Guys, > > I have httpd-2.2.3-85.el5.centos in CentOS release 5.10, i and see all > days, more than 10 times, the error in httpd logs: > > [Thu May 22 01:20:15 2014] [notice] child pid 561 exit signal > Segmentation fault (11) > > > I've investigated logs and don't see nothing wrong with any scripts, > this happens in random times and in random hours each day! > > I've google it and found something with some library > ( https://issues.apache.org/bugzilla/show_bug.cgi?id=14692 ), does > anybody can help me? > > Thanks in advance, > Hugo Gomes You'll have to save core dumps and analyze them with gdb, since the process that segfaulted most likely didn't log the request that caused the crash. There's documentation here: http://httpd.apache.org/dev/debugging.html The important first steps are setting CoreDumpDirectory and ulimit -c unlimited. As soon as you have a core dump, grab a .gdbinit from the appropriate apache source (or package), install the debug info for apache and modules (in redhat-like Linux distributions debuginfo-install may help), and check the request record. You may want to print r->the_request and dump_table (r->headers_in) to see some info that may help you reproduce the problem. Segfaults may indicate a security relevant problem. If you've found that the problem is indeed in apache httpd and could exploited remotely, e.g. to crash the server, you may want to read http://httpd.apache.org/security_report.html and http://www.apache.org/security/ rainer - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
[users@httpd] Segmentation fault in logs
Hi Guys, I have httpd-2.2.3-85.el5.centos in CentOS release 5.10, i and see all days, more than 10 times, the error in httpd logs: [Thu May 22 01:20:15 2014] [notice] child pid 561 exit signal Segmentation fault (11) I've investigated logs and don't see nothing wrong with any scripts, this happens in random times and in random hours each day! I've google it and found something with some library ( https://issues.apache.org/bugzilla/show_bug.cgi?id=14692 ), does anybody can help me? Thanks in advance, Hugo Gomes - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [users@httpd] Segmentation Fault with SSLProxyMachineCertificateFile
Hello Daniel, thank you for the answer, it solves the issue. Take care, Alain - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [users@httpd] Segmentation Fault with SSLProxyMachineCertificateFile
On 3/15/2013 2:06 AM, Alain Ganuchaud - CORE IT wrote: > Hi, > > I'm getting Segmentation Fault on proxy apache with > SSLProxyMachineCertificateFile configuration. > I use proxy for passing through client certificats to internal web server, > mod_ssl & mo_proxy are mainly used modules. > > I precise that the order for the SSLProxyMachineCertificateFile is the right > one, certificat then private key. > ... > > Thanks for help, > Tell me if you want more. > Alain > Hi, Alain; This will happen if there is a passphrase on the private key. Currently there is no support for a passphrases in client certs and will, unfortunately, cause a segfault without any other useful errors. -- Daniel Ruggeri - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
[users@httpd] Segmentation Fault with SSLProxyMachineCertificateFile
Hi, I'm getting Segmentation Fault on proxy apache with SSLProxyMachineCertificateFile configuration. I use proxy for passing through client certificats to internal web server, mod_ssl & mo_proxy are mainly used modules. I precise that the order for the SSLProxyMachineCertificateFile is the right one, certificat then private key. Client -> Proxy -> WebServer without client auth = OK Client -> Proxy -> WebServer with client auth & SSLProxyMachineCertificateFile =KO Proxy Config: ServerName canopia.company.com ProxyPass / https://canopia.company.com/ ProxyPassReverse / https://canopia.company.com/ SSLProxyMachineCertificateFile /usr/local/apache2/conf/ssl/certs/proxy.company.com-cert-key.pem ProxyRequests Off RewriteEngine On LogLevel debug CustomLog /var/log/apache2/proxy-canopia.log combined ErrorLog /var/log/apache2/proxy-canopia-error.log SSLProxyEngine On ... Apache compiled fron sources: ./configure --prefix=/usr/local/apache2 --enable-module=most --enable-shared=max --enable-rewrite --enable-unique-id --enable-proxy-http --enable-proxy --enable-proxy-connect --enable-ssl Server version: Apache/2.2.24 (Unix) Server built: Mar 14 2013 17:46:34 Server's Module Magic Number: 20051115:31 Server loaded: APR 1.4.2, APR-Util 1.3.9 Compiled using: APR 1.4.2, APR-Util 1.3.9 Architecture: 32-bit Server MPM: Prefork threaded: no forked: yes (variable process count) Server compiled with -D APACHE_MPM_DIR="server/mpm/prefork" -D APR_HAS_SENDFILE -D APR_HAS_MMAP -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled) -D APR_USE_SYSVSEM_SERIALIZE -D APR_USE_PTHREAD_SERIALIZE -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT -D APR_HAS_OTHER_CHILD -D AP_HAVE_RELIABLE_PIPED_LOGS -D DYNAMIC_MODULE_LIMIT=128 -D HTTPD_ROOT="/usr/local/apache2" -D SUEXEC_BIN="/usr/local/apache2/bin/suexec" -D DEFAULT_PIDLOG="logs/httpd.pid" -D DEFAULT_SCOREBOARD="logs/apache_runtime_status" -D DEFAULT_LOCKFILE="logs/accept.lock" -D DEFAULT_ERRORLOG="logs/error_log" -D AP_TYPES_CONFIG_FILE="conf/mime.types" -D SERVER_CONFIG_FILE="conf/httpd.conf" root# ldd /usr/local/apache2/bin/httpd linux-gate.so.1 => (0xb7771000) libssl.so.0.9.8 => /usr/lib/i686/cmov/libssl.so.0.9.8 (0xb771f000) libcrypto.so.0.9.8 => /usr/lib/i686/cmov/libcrypto.so.0.9.8 (0xb75c7000) libm.so.6 => /lib/libm.so.6 (0xb75a) libaprutil-1.so.0 => /usr/lib/libaprutil-1.so.0 (0xb758) libdb-4.8.so => /usr/lib/libdb-4.8.so (0xb741a000) libapr-1.so.0 => /usr/lib/libapr-1.so.0 (0xb73ec000) libpthread.so.0 => /lib/libpthread.so.0 (0xb73d3000) libc.so.6 => /lib/libc.so.6 (0xb728e000) libdl.so.2 => /lib/libdl.so.2 (0xb7289000) libz.so.1 => /usr/lib/libz.so.1 (0xb7275000) /lib/ld-linux.so.2 (0xb7772000) libuuid.so.1 => /lib/libuuid.so.1 (0xb7271000) librt.so.1 => /lib/librt.so.1 (0xb7268000) libcrypt.so.1 => /lib/libcrypt.so.1 (0xb7236000) libexpat.so.1 => /usr/lib/libexpat.so.1 (0xb720f000) Error Log [Thu Mar 14 18:45:22 2013] [info] mod_unique_id: using ip addr 192.168.0.77 [Thu Mar 14 18:45:23 2013] [info] Init: Seeding PRNG with 136 bytes of entropy [Thu Mar 14 18:45:23 2013] [info] Loading certificate & private key of SSL-aware server [Thu Mar 14 18:45:23 2013] [debug] ssl_engine_pphrase.c(470): unencrypted RSA private key - pass phrase not required [Thu Mar 14 18:45:23 2013] [info] Init: Generating temporary RSA private keys (512/1024 bits) [Thu Mar 14 18:45:23 2013] [info] Init: Generating temporary DH parameters (512/1024 bits) [Thu Mar 14 18:45:23 2013] [info] Init: Initializing (virtual) servers for SSL [Thu Mar 14 18:45:23 2013] [info] Configuring server for SSL protocol [Thu Mar 14 18:45:23 2013] [debug] ssl_engine_init.c(471): Creating new SSL context (protocols: SSLv3, TLSv1) [Thu Mar 14 18:45:23 2013] [debug] ssl_engine_init.c(706): Configuring permitted SSL ciphers [HIGH:MEDIUM:!aNULL:!MD5] [Thu Mar 14 18:45:23 2013] [debug] ssl_engine_init.c(420): Configuring TLS extension handling [Thu Mar 14 18:45:23 2013] [debug] ssl_engine_init.c(837): Configuring RSA server certificate [Thu Mar 14 18:45:23 2013] [warn] RSA server certificate CommonName (CN) `proxy.company.com' does NOT match server name!? [Thu Mar 14 18:45:23 2013] [debug] ssl_engine_init.c(876): Configuring RSA server private key [Thu Mar 14 18:45:23 2013] [info] mod_ssl/2.2.24 compiled against Server: Apache/2.2.24, Library: OpenSSL/0.9.8o [Thu Mar 14 18:45:23 2013] [info] mod_unique_id: using ip addr 192.168.0.77 [Thu Mar 14 18:45:24 2013] [info] Init: Seeding PRNG with 136 bytes of entropy [Thu Mar 14 18:45:24 2013] [info] Loading certificate & private key of SSL-aware server [Thu Mar 14 18:45:24 2013] [debug] ssl_engine_pphrase.c(470): unencrypted RSA private key - pass phrase not required [Thu Mar 14 18:45:24 2013] [info] Init: Generating temporary RSA private keys (512/1024 bits) [Thu Mar 14 18:45:24 2013] [info] Init: Generating temporary DH parameters (512
[users@httpd] Segmentation fault
Hi All, I am running apache 2.2.21 with weblogic brdige and another custom module. I see this segfault once or twice every hour: Can any one help me? bash-3.00# /home/vnair/sunstudio12.1/bin/dbx - /var/tmp/core.httpd.6257 Corefile specified executable: "/usr/local/apache2/bin/./httpd" For information about new features see `help changes' To remove this message, put `dbxenv suppress_startup_message 7.7' in your .dbxrc Reading httpd core file header read successfully Reading ld.so.1 Reading libm.so.2 Reading libaprutil-1.so.0.3.12 Reading libexpat.so.0.5.0 Reading libapr-1.so.0.4.5 Reading libuuid.so.1 Reading libsendfile.so.1 Reading librt.so.1 Reading libsocket.so.1 Reading libnsl.so.1 Reading libpthread.so.1 Reading libc.so.1 Reading libaio.so.1 Reading libmd.so.1 Reading libc_psr.so.1 Reading libldap.so.5 Reading libdl.so.1 Reading libsasl.so.1 Reading libmd_psr.so.1 Reading libplc4.so Reading libnspr4.so Reading libnspr_flt4.so Reading libssl3.so Reading libnss3.so Reading libnssutil3.so Reading libthread.so.1 Reading libplds4.so Reading libscf.so.1 Reading libdoor.so.1 Reading libuutil.so.1 Reading libgen.so.1 Reading libmp.so.2 Reading libCrun.so.1 Reading nss_files.so.1 Reading libcurl.so Reading libssl.so.0.9.8 Reading libcrypto.so.0.9.8 Reading libz.so.1.2.3 Reading mod_alias.so Reading mod_ssl.so Reading mod_wl_22.so Reading mod_rewrite.so Reading mod_cwmp_22.so t@1 (l@1) terminated by signal SEGV (Segmentation Fault) 0xff03e3ac: _read+0x000c: bcc,pt %icc,_read+0x20 ! 0xff03e3c0 (dbx) where current thread: t@1 =>[1] _read(0x4, 0xffbff91b, 0x1, 0x0, 0x0, 0x0), at 0xff03e3ac [2] read(0x8, 0xffbff91b, 0x1, 0x0, 0x1cf4, 0x8), at 0xff02ca1c [3] ap_mpm_pod_check(0xd6d70, 0x6b854, 0xa, 0xff232a00, 0xfff7, 0x0), at 0x6f408 [4] child_main(0x7, 0xffbff984, 0x135d98, 0x1, 0x9f0ec, 0x1b0818), at 0x6cbbc [5] perform_idle_server_maintenance(0x1, 0x9f000, 0xafb70, 0x2, 0x7, 0x0), at 0x6d6ac [6] server_main_loop(0x0, 0x0, 0xe, 0x9f0b0, 0x0, 0xffbffb48), at 0x6dd10 [7] ap_mpm_run(0x20, 0xa07d8, 0x9f0b8, 0x0, 0x20, 0x60), at 0x6e000 [8] main(0x9e800, 0x4b8d0, 0x9ebb4, 0x7ddd0, 0x9d8e8, 0x9e800), at 0x29eac (dbx)(dbx) threads - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [users@httpd] Segmentation fault error
Hi Eric, could you please let me know the next steps to mitigate Segfault error.. On Wed, May 30, 2012 at 6:30 PM, Eric Covener wrote: > On Wed, May 30, 2012 at 5:59 PM, Ishita Kapadiya wrote: >> Thanks William. This is the stack output i got from mdb when core got >> dumped. Also, when i google "ap_mpm_pod_check" then got to know that >> there are lots of people who hits Apache bug. > > It means lots of people post about the first thread that shows up in > gdb/dbx/pstack > > -- > Eric Covener > cove...@gmail.com > > - > To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org > For additional commands, e-mail: users-h...@httpd.apache.org > - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [users@httpd] Segmentation fault error
On Wed, May 30, 2012 at 5:59 PM, Ishita Kapadiya wrote: > Thanks William. This is the stack output i got from mdb when core got > dumped. Also, when i google "ap_mpm_pod_check" then got to know that > there are lots of people who hits Apache bug. It means lots of people post about the first thread that shows up in gdb/dbx/pstack -- Eric Covener cove...@gmail.com - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [users@httpd] Segmentation fault error
Thanks William. This is the stack output i got from mdb when core got dumped. Also, when i google "ap_mpm_pod_check" then got to know that there are lots of people who hits Apache bug. Please refer this URL - http://www.gossamer-threads.com/lists/apache/bugs/414768 Also, i ran pfiles against the core file and i got data model = _ILP32 flags = MSACCT|MSFORK /1:flags = 0 sigmask = 0xbeff,0x cursig = SIGSEGV /2: /3:flags = STOPPED lwp_park(0x4,0x0,0x0) why = PR_SUSPENDED sigmask = 0xffbe6007,0xfff7 .. (rest of lines truncted) I don't know much about debugging as i am not from developer background but whatever o/p i got, looks like some bug with Apache 2.2.22. Please revert. On Wed, May 30, 2012 at 4:43 PM, William A. Rowe Jr. wrote: > You didn't dump the offending stack, you dumped the first stack. It's highly > unlikely there was a segfault in _read. > > You need to dump all the thread stacks, and work out the offending one; this > is > usuallly designated <<< FAULT or some other indication of where the fault > occured. > > On 5/30/2012 10:32 AM, Ishita Kapadiya wrote: >> Thanks Nick. >> I have compiled Apache for myself both the time and both are 32-bit. >> The same modules all other instances are using and thus i am not sure >> what is different with this instance that causing Segmentation fault >> error. >> >> I tried to dig more into it and here is what i got - >> >> mdb core >>> ::stack >> libc.so.1`_read+0xc(6, ffbff5e3, 1, 0, 10b4, fef73ac0) >> ap_mpm_pod_check+0x18(d6800, 68764, 68f8c, 1b7ec0, 0, 1) >> child_main+0x2d4(0, 682dc, 0, fee58000, fef73700, fedf2a00) >> make_child+0x128(9bc00, 0, 1, 9cc00, 9b400, 9c800) >> ap_mpm_run+0x740(fe720058, 4, 0, a, 1, 0) >> main+0x77c(a7810, 99c00, 9bc00, 9bc00, a5808, 0) >> _start+0x5c(0, 0, 0, 0, 0, 0) >> >> pstack core >> fef45874 _read (6, ffbff5e3, 1, 0, 10b4, fef73ac0) + c >> 0006b714 ap_mpm_pod_check (d6800, 68764, 68f8c, 1b7ec0, 0, 1) + 18 >> 000697b4 child_main (0, 682dc, 0, fee58000, fef73700, fedf2a00) + 2d4 >> 00069930 make_child (9bc00, 0, 1, 9cc00, 9b400, 9c800) + 128 >> 0006a160 ap_mpm_run (fe720058, 4, 0, a, 1, 0) + 740 >> 00029bc8 main (a7810, 99c00, 9bc00, 9bc00, a5808, 0) + 77c >> 00028f7c _start (0, 0, 0, 0, 0, 0) + 5c >> >> pmap core >> 0001 448K r-x-- /abc/apache-2.2.22/bin/httpd >> 0008 32K r-x-- >> 00096000 24K rwx-- /abc/apache-2.2.22/bin/httpd >> 0009C000 16K rwx-- /abc/apache-2.2.22/bin/httpd >> 000A 6528K rwx-- [ heap ] >> FAB7A000 8K rw--- [ stack tid=36 ] >> ... >> (removed rest of the lines to avoid length) >> >> mdb /abc/apache-2.2.22/bin/httpd >> >>> ::dis ap_mpm_pod_check!head >> ap_mpm_pod_check: save %sp, -0x78, %sp >> ap_mpm_pod_check+4: ld [%i0], %o1 >> ap_mpm_pod_check+8: call +0x2d0e0 >> ap_mpm_pod_check+0xc: add %fp, -0x14, %o0 >> ap_mpm_pod_check+0x10: ld [%fp - 0x14], %o0 >> ap_mpm_pod_check+0x14: add %fp, -0x15, %o1 >> ap_mpm_pod_check+0x18: call +0x2cdc4 >> ap_mpm_pod_check+0x1c: mov 1, %o2 >> >> Please help me what could be the problem? It's affecting my production >> env and i really don't know what to do next? >> >> On Tue, May 29, 2012 at 7:15 PM, Nick Kew wrote: >>> >>> On 29 May 2012, at 23:11, Ishita Kapadiya wrote: >>> Hi All, I am using this configurations - Solaris sparc 10/apache 2.2.22/openssl 1.0.0g/simteminder sso/mod-jk 1.30 >>> >>> Did you compile everything yourself? >>> >>> If yes, could any compile options have changed? E.g. between 32-bit and >>> 64-bit, >>> or something less obvious but just as important? >>> >>> If no, what suppliers do your binaries come from, and have you checked with >>> them? >>> >>> -- >>> Nick Kew >>> - >>> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org >>> For additional commands, e-mail: users-h...@httpd.apache.org >>> >> >> - >> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org >> For additional commands, e-mail: users-h...@httpd.apache.org >> >> >> > > > - > To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org > For additional commands, e-mail: users-h...@httpd.apache.org > - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [users@httpd] Segmentation fault error
You didn't dump the offending stack, you dumped the first stack. It's highly unlikely there was a segfault in _read. You need to dump all the thread stacks, and work out the offending one; this is usuallly designated <<< FAULT or some other indication of where the fault occured. On 5/30/2012 10:32 AM, Ishita Kapadiya wrote: > Thanks Nick. > I have compiled Apache for myself both the time and both are 32-bit. > The same modules all other instances are using and thus i am not sure > what is different with this instance that causing Segmentation fault > error. > > I tried to dig more into it and here is what i got - > > mdb core >> ::stack > libc.so.1`_read+0xc(6, ffbff5e3, 1, 0, 10b4, fef73ac0) > ap_mpm_pod_check+0x18(d6800, 68764, 68f8c, 1b7ec0, 0, 1) > child_main+0x2d4(0, 682dc, 0, fee58000, fef73700, fedf2a00) > make_child+0x128(9bc00, 0, 1, 9cc00, 9b400, 9c800) > ap_mpm_run+0x740(fe720058, 4, 0, a, 1, 0) > main+0x77c(a7810, 99c00, 9bc00, 9bc00, a5808, 0) > _start+0x5c(0, 0, 0, 0, 0, 0) > > pstack core > fef45874 _read(6, ffbff5e3, 1, 0, 10b4, fef73ac0) + c > 0006b714 ap_mpm_pod_check (d6800, 68764, 68f8c, 1b7ec0, 0, 1) + 18 > 000697b4 child_main (0, 682dc, 0, fee58000, fef73700, fedf2a00) + 2d4 > 00069930 make_child (9bc00, 0, 1, 9cc00, 9b400, 9c800) + 128 > 0006a160 ap_mpm_run (fe720058, 4, 0, a, 1, 0) + 740 > 00029bc8 main (a7810, 99c00, 9bc00, 9bc00, a5808, 0) + 77c > 00028f7c _start (0, 0, 0, 0, 0, 0) + 5c > > pmap core > 0001 448K r-x-- /abc/apache-2.2.22/bin/httpd > 0008 32K r-x-- > 00096000 24K rwx-- /abc/apache-2.2.22/bin/httpd > 0009C000 16K rwx-- /abc/apache-2.2.22/bin/httpd > 000A6528K rwx--[ heap ] > FAB7A000 8K rw---[ stack tid=36 ] > ... > (removed rest of the lines to avoid length) > > mdb /abc/apache-2.2.22/bin/httpd > >> ::dis ap_mpm_pod_check!head > ap_mpm_pod_check: save %sp, -0x78, %sp > ap_mpm_pod_check+4: ld[%i0], %o1 > ap_mpm_pod_check+8: call +0x2d0e0 > ap_mpm_pod_check+0xc: add %fp, -0x14, %o0 > ap_mpm_pod_check+0x10: ld[%fp - 0x14], %o0 > ap_mpm_pod_check+0x14: add %fp, -0x15, %o1 > ap_mpm_pod_check+0x18: call +0x2cdc4 > ap_mpm_pod_check+0x1c: mov 1, %o2 > > Please help me what could be the problem? It's affecting my production > env and i really don't know what to do next? > > On Tue, May 29, 2012 at 7:15 PM, Nick Kew wrote: >> >> On 29 May 2012, at 23:11, Ishita Kapadiya wrote: >> >>> Hi All, >>> >>> I am using this configurations - >>> >>> Solaris sparc 10/apache 2.2.22/openssl 1.0.0g/simteminder sso/mod-jk 1.30 >> >> Did you compile everything yourself? >> >> If yes, could any compile options have changed? E.g. between 32-bit and >> 64-bit, >> or something less obvious but just as important? >> >> If no, what suppliers do your binaries come from, and have you checked with >> them? >> >> -- >> Nick Kew >> - >> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org >> For additional commands, e-mail: users-h...@httpd.apache.org >> > > - > To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org > For additional commands, e-mail: users-h...@httpd.apache.org > > > - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [users@httpd] Segmentation fault error
Thanks Nick. I have compiled Apache for myself both the time and both are 32-bit. The same modules all other instances are using and thus i am not sure what is different with this instance that causing Segmentation fault error. I tried to dig more into it and here is what i got - mdb core > ::stack libc.so.1`_read+0xc(6, ffbff5e3, 1, 0, 10b4, fef73ac0) ap_mpm_pod_check+0x18(d6800, 68764, 68f8c, 1b7ec0, 0, 1) child_main+0x2d4(0, 682dc, 0, fee58000, fef73700, fedf2a00) make_child+0x128(9bc00, 0, 1, 9cc00, 9b400, 9c800) ap_mpm_run+0x740(fe720058, 4, 0, a, 1, 0) main+0x77c(a7810, 99c00, 9bc00, 9bc00, a5808, 0) _start+0x5c(0, 0, 0, 0, 0, 0) pstack core fef45874 _read(6, ffbff5e3, 1, 0, 10b4, fef73ac0) + c 0006b714 ap_mpm_pod_check (d6800, 68764, 68f8c, 1b7ec0, 0, 1) + 18 000697b4 child_main (0, 682dc, 0, fee58000, fef73700, fedf2a00) + 2d4 00069930 make_child (9bc00, 0, 1, 9cc00, 9b400, 9c800) + 128 0006a160 ap_mpm_run (fe720058, 4, 0, a, 1, 0) + 740 00029bc8 main (a7810, 99c00, 9bc00, 9bc00, a5808, 0) + 77c 00028f7c _start (0, 0, 0, 0, 0, 0) + 5c pmap core 0001 448K r-x-- /abc/apache-2.2.22/bin/httpd 0008 32K r-x-- 00096000 24K rwx-- /abc/apache-2.2.22/bin/httpd 0009C000 16K rwx-- /abc/apache-2.2.22/bin/httpd 000A6528K rwx--[ heap ] FAB7A000 8K rw---[ stack tid=36 ] ... (removed rest of the lines to avoid length) mdb /abc/apache-2.2.22/bin/httpd > ::dis ap_mpm_pod_check!head ap_mpm_pod_check: save %sp, -0x78, %sp ap_mpm_pod_check+4: ld[%i0], %o1 ap_mpm_pod_check+8: call +0x2d0e0 ap_mpm_pod_check+0xc: add %fp, -0x14, %o0 ap_mpm_pod_check+0x10: ld[%fp - 0x14], %o0 ap_mpm_pod_check+0x14: add %fp, -0x15, %o1 ap_mpm_pod_check+0x18: call +0x2cdc4 ap_mpm_pod_check+0x1c: mov 1, %o2 Please help me what could be the problem? It's affecting my production env and i really don't know what to do next? On Tue, May 29, 2012 at 7:15 PM, Nick Kew wrote: > > On 29 May 2012, at 23:11, Ishita Kapadiya wrote: > >> Hi All, >> >> I am using this configurations - >> >> Solaris sparc 10/apache 2.2.22/openssl 1.0.0g/simteminder sso/mod-jk 1.30 > > Did you compile everything yourself? > > If yes, could any compile options have changed? E.g. between 32-bit and > 64-bit, > or something less obvious but just as important? > > If no, what suppliers do your binaries come from, and have you checked with > them? > > -- > Nick Kew > - > To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org > For additional commands, e-mail: users-h...@httpd.apache.org > - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [users@httpd] Segmentation fault error
On 29 May 2012, at 23:11, Ishita Kapadiya wrote: > Hi All, > > I am using this configurations - > > Solaris sparc 10/apache 2.2.22/openssl 1.0.0g/simteminder sso/mod-jk 1.30 Did you compile everything yourself? If yes, could any compile options have changed? E.g. between 32-bit and 64-bit, or something less obvious but just as important? If no, what suppliers do your binaries come from, and have you checked with them? -- Nick Kew - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
[users@httpd] Segmentation fault error
Hi All, I am using this configurations - Solaris sparc 10/apache 2.2.22/openssl 1.0.0g/simteminder sso/mod-jk 1.30 we are curently running multiple apache servers from the apache's root dir. Only one of the those instances throwing below errors in error_log : [Tue May 19 16:14:06 2012] [notice] child pid 15729 exit signal Bus error (10) [Tue May 19 17:46:24 2012] [notice] child pid 17114 exit signal Segmentation fault (11), possible coredump in /tmp/core we had recently upgraded apache to 2.2.22 version and since then we are seeing above errors. I am not sure what could be the reason. the other instances don't have any problems whereas all instances are using the same modules! So i have enabled core dump and here is the o/p - pstack core.httpd.17114 core 'core.httpd.17114' of 17114: /abc/apache-2.2.22/bin/httpd -f /abc/apache-2.2.22//co - lwp# 1 / thread# 1 fef45874 _read(6, ffbff5e3, 1, 0, 10b4, fef73ac0) + c 0006b714 ap_mpm_pod_check (d6800, 68764, 68f8c, 1b7ec0, 0, 1) + 18 000697b4 child_main (0, 682dc, 0, fee58000, fef73700, fedf2a00) + 2d4 00069930 make_child (9bc00, 0, 1, 9cc00, 9b400, 9c800) + 128 0006a160 ap_mpm_run (fe720058, 4, 0, a, 1, 0) + 740 00029bc8 main (a7810, 99c00, 9bc00, 9bc00, a5808, 0) + 77c 00028f7c _start (0, 0, 0, 0, 0, 0) + 5c - lwp# 2 / thread# 2 ff221518 (), exit value = 0x ** zombie (exited, not detached, not yet joined) ** - lwp# 3 / thread# 3 fef44a34 __lwp_park (1b7f58, 1b7f28, 0, 0, 0, 0) + 14 fef3ea7c cond_wait_queue (1b7f58, 1b7f28, 0, 0, 0, 0) + 28 fef3effc cond_wait (1b7f58, 1b7f28, 0, 2, 1, 34e1d0) + 10 fef3f038 pthread_cond_wait (1b7f58, 1b7f28, 0, 1000, 0, 0) + 8 0006b5e8 ap_queue_pop (1b7f08, fdf7bf1c, fdf7bf18, 0, 0, 1b80f8) + 64 00068ddc worker_thread (1b8170, 0, 0, 9c800, 9c800, 0) + 10c ff221524 (1b8170, fdf7c000, 0, 0, ff221518, 1) fef44990 _lwp_start (0, 0, 0, 0, 0, 0) - lwp# 4 / thread# 4 fef44a34 __lwp_park (1b7f58, 1b7f28, 0, 0, 0, 0) + 14 fef3ea7c cond_wait_queue (1b7f58, 1b7f28, 0, 0, 0, 0) + 28 fef3effc cond_wait (1b7f58, 1b7f28, 0, 2, 1, 34e1d0) + 10 fef3f038 pthread_cond_wait (1b7f58, 1b7f28, 0, 1000, 0, 0) + 8 0006b5e8 ap_queue_pop (1b7f08, fde7bf1c, fde7bf18, 0, 0, 1b80f8) + 64 00068ddc worker_thread (1b8190, 0, 0, 9c800, 9c800, 4) + 10c ff221524 (1b8190, fde7c000, 0, 0, ff221518, 1) fef44990 _lwp_start (0, 0, 0, 0, 0, 0) - lwp# 5 / thread# 5 fef44a34 __lwp_park (1b7f58, 1b7f28, 0, 0, 0, 0) + 14 fef3ea7c cond_wait_queue (1b7f58, 1b7f28, 0, 0, 0, 0) + 28 fef3effc cond_wait (1b7f58, 1b7f28, 0, 2, 1, 2f5af0) + 10 fef3f038 pthread_cond_wait (1b7f58, 1b7f28, 0, 1000, 0, 0) + 8 0006b5e8 ap_queue_pop (1b7f08, fdd7bf1c, fdd7bf18, 0, 0, 1b80f8) + 64 00068ddc worker_thread (1b81b0, 0, 0, 9c800, 9c800, 8) + 10c ff221524 (1b81b0, fdd7c000, 0, 0, ff221518, 1) fef44990 _lwp_start (0, 0, 0, 0, 0, 0) - lwp# 6 / thread# 6 fef44a34 __lwp_park (1b7f58, 1b7f28, 0, 0, 0, 0) + 14 fef3ea7c cond_wait_queue (1b7f58, 1b7f28, 0, 0, 0, 0) + 28 fef3effc cond_wait (1b7f58, 1b7f28, 0, 2, 1, 2e7ab8) + 10 fef3f038 pthread_cond_wait (1b7f58, 1b7f28, 0, 1000, 0, 0) + 8 0006b5e8 ap_queue_pop (1b7f08, fdc7bf1c, fdc7bf18, 0, 0, 1b80f8) + 64 00068ddc worker_thread (1b81d0, 0, 0, 9c800, 9c800, c) + 10c ff221524 (1b81d0, fdc7c000, 0, 0, ff221518, 1) fef44990 _lwp_start (0, 0, 0, 0, 0, 0) - lwp# 7 / thread# 7 fef44a34 __lwp_park (1b7f58, 1b7f28, 0, 0, 0, 0) + 14 fef3ea7c cond_wait_queue (1b7f58, 1b7f28, 0, 0, 0, 0) + 28 fef3effc cond_wait (1b7f58, 1b7f28, 0, 2, 1, 2e7ab8) + 10 fef3f038 pthread_cond_wait (1b7f58, 1b7f28, 0, 1000, 0, 0) + 8 0006b5e8 ap_queue_pop (1b7f08, fdb7bf1c, fdb7bf18, 0, 0, 1b80f8) + 64 00068ddc worker_thread (1b81f0, 0, 0, 9c800, 9c800, 10) + 10c ff221524 (1b81f0, fdb7c000, 0, 0, ff221518, 1) fef44990 _lwp_start (0, 0, 0, 0, 0, 0) - lwp# 8 / thread# 8 fef44a34 __lwp_park (1b7f58, 1b7f28, 0, 0, 0, 0) + 14 fef3ea7c cond_wait_queue (1b7f58, 1b7f28, 0, 0, 0, 0) + 28 fef3effc cond_wait (1b7f58, 1b7f28, 0, 2, 1, 34e1d0) + 10 fef3f038 pthread_cond_wait (1b7f58, 1b7f28, 0, 1000, 0, 0) + 8 0006b5e8 ap_queue_pop (1b7f08, fda7bf1c, fda7bf18, 0, 0, 1b80f8) + 64 00068ddc worker_thread (1b8210, 0, 0, 9c800, 9c800, 14) + 10c ff221524 (1b8210, fda7c000, 0, 0, ff221518, 1) fef44990 _lwp_start (0, 0, 0, 0, 0, 0) - lwp# 9 / thread# 9 fef44a34 __lwp_park (1b7f58, 1b7f28, 0, 0, 0, 0) + 14 fef3ea7c cond_wait_queue (1b7f58, 1b7f28, 0, 0, 0, 0) + 28 fef3effc cond_wait (1b7f58, 1b7f28, 0, 2, 1, 2e7ab8) + 10 fef3f038 pthread_cond_wait (1b7f58, 1b7f28, 0, 1000, 0, 0) + 8 0006b5e8 ap_queue_p
[users@httpd] Segmentation fault while using apr thread pool
Hi All, I am facing a problem while using the apr thread pool. I see a core dump intermittently. This is what the output looks with dbx. t@null (l@53) terminated by signal SEGV (no mapping at the fault address) 0x7fb7a948: add_if_empty+0x010c: st %i1, [%l2] (dbx) where =>[1] add_if_empty(0x0, 0xa9f40, 0xa9e68, 0x0, 0x0, 0xa9e68), at 0x7fb7a948 [2] add_task(0xa9e68, 0x7f1baa38, 0x2fb7a0, 0x0, 0x1, 0x0), at 0x7fb7ac70 [3] 0x7f1b4b1c(0xcf060, 0x249dc0, 0x0, 0x0, 0x0, 0x17400), at 0x7f1b4b1c [4] 0x7f1b5ecc(0x24af48, 0x249dc0, 0x0, 0x7f1d288c, 0x5c, 0x7f1d21f0), at 0x7f1b5ecc [5] ap_run_handler(0x249dc0, 0x8, 0x12f040, 0x9fa18, 0x12f0a8, 0x4), at 0x4197c [6] ap_invoke_handler(0x249dc0, 0x0, 0x12f124, 0x0, 0x12f234, 0x0), at 0x41fb4 [7] ap_process_request(0x249dc0, 0x0, 0x249dc0, 0x3, 0x9eb28, 0x0), at 0x5e338 [8] ap_process_http_connection(0x23dfd0, 0x249dc0, 0x0, 0x9eb28, 0x8000, 0x9e800), at 0x5af08 [9] ap_process_connection(0x23dfd0, 0x23dd20, 0x12f548, 0x0, 0xa0238, 0xa), at 0x499f4 [10] worker_thread(0x134818, 0x540, 0x0, 0x23dfd0, 0x9f0d8, 0x32), at 0x6c0cc Any help help will be really appreciated. Thanks, ~Abhi
Re: [users@httpd] Segmentation Fault on starting httpd 2.0.48
On Tue, Jun 21, 2005 at 10:19:35AM -0500, Jerry Rehak wrote: > Hello- > > I get a segfault when starting httpd. I'm using apache 2.0.48 built > from tar running on Fedora C3. Upgrade to 2.0.54, it's a known bug in 2.0.48. > (gdb) run > Starting program: /usr/local/apache/bin/httpd > [Thread debugging using libthread_db enabled] > [New Thread -1208555840 (LWP 9728)] > > Program received signal SIGSEGV, Segmentation fault. > [Switching to Thread -1208555840 (LWP 9728)] > 0x0808ecbb in register_hooks () > (gdb) - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[users@httpd] Segmentation Fault on starting httpd 2.0.48
Hello- I get a segfault when starting httpd. I'm using apache 2.0.48 built from tar running on Fedora C3. # /usr/local/apache/bin/apachectl start /usr/local/apache/bin/apachectl: line 65: 9846 Segmentation fault $HTTPD -k $ARGV # /usr/local/apache/bin/httpd Segmentation fault # /usr/local/apache/bin/httpd -X -f /usr/local/apache/conf/httpd.conf Segmentation fault This happens regardless if I have a httpd.conf at all so I'm guessing it's not a config file issue. There's nothing in the logs because I don't think it gets that far. Below is a strace- it looks like it might be missing some apr* library although I see an apr folder in the source, and I'm guessing it should have built and installed those. Can someone who knows about this stuff please give me a clue? Thanks! Here's some output from gdb, Looks like it failed 'registering hooks' I also wish I knew what it meant: --- gdb /usr/local/apache/bin/httpd GNU gdb Red Hat Linux (6.1post-1.20040607.43rh) Copyright 2004 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 "i386-redhat-linux-gnu"...Using host libthread_db library "/lib/tls/libthread_db.so.1". (gdb) run Starting program: /usr/local/apache/bin/httpd [Thread debugging using libthread_db enabled] [New Thread -1208555840 (LWP 9728)] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1208555840 (LWP 9728)] 0x0808ecbb in register_hooks () (gdb) - Here's an strace: [EMAIL PROTECTED] conf]# strace /usr/local/apache/bin/httpd execve("/usr/local/apache/bin/httpd", ["/usr/local/apache/bin/httpd"], [/* 21 vars */]) = 0 uname({sys="Linux", node="localhost.localdomain", ...}) = 0 brk(0) = 0x80ad000 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) open("/usr/local/apache/lib/tls/i686/sse2/libaprutil-0.so.0", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("/usr/local/apache/lib/tls/i686/sse2", 0xb03c) = -1 ENOENT (No such file or directory) open("/usr/local/apache/lib/tls/i686/libaprutil-0.so.0", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("/usr/local/apache/lib/tls/i686", 0xb03c) = -1 ENOENT (No such file or directory) open("/usr/local/apache/lib/tls/sse2/libaprutil-0.so.0", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("/usr/local/apache/lib/tls/sse2", 0xb03c) = -1 ENOENT (No such file or directory) open("/usr/local/apache/lib/tls/libaprutil-0.so.0", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("/usr/local/apache/lib/tls", 0xb03c) = -1 ENOENT (No such file or directory) open("/usr/local/apache/lib/i686/sse2/libaprutil-0.so.0", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("/usr/local/apache/lib/i686/sse2", 0xb03c) = -1 ENOENT (No such file or directory) open("/usr/local/apache/lib/i686/libaprutil-0.so.0", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("/usr/local/apache/lib/i686", 0xb03c) = -1 ENOENT (No such file or directory) open("/usr/local/apache/lib/sse2/libaprutil-0.so.0", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("/usr/local/apache/lib/sse2", 0xb03c) = -1 ENOENT (No such file or directory) open("/usr/local/apache/lib/libaprutil-0.so.0", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\240O\0"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=255495, ...}) = 0 old_mmap(NULL, 80944, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7fec000 old_mmap(0xb7fff000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x12000) = 0xb7fff000 close(3)= 0 open("/usr/local/apache/lib/libgdbm.so.2", O_RDONLY) = -1 ENOENT (No such file or directory) open("/etc/ld.so.cache", O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=41657, ...}) = 0 old_mmap(NULL, 41657, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7fe1000 close(3)= 0 open("/usr/lib/libgdbm.so.2", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\260\321"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=23616, ...}) = 0 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7fe old_mmap(0x30c000, 21040, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x30c000 old_mmap(0x311000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x5000) = 0x311000 close(3)= 0 open("/usr/local/apache/lib/libdb-4.2.so", O_RDONLY) = -1 ENOENT (No such file or directory) open("/lib/tls/i686/libdb-4.2.so", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0 lu\000"..., 512) = 512 lsee