You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Leif W <wa...@usa.net> on 2003/10/07 18:07:34 UTC

[users@httpd] Segmentation faults after gcc-3.3.2 recompile

Hi.

Yesterday I recompiled and reinstalled Apache 2.0.47 with gcc-3.3 (3.3.2
20030908 Debian prerelease) and have been seeing Segmentation faults at
random, mostly  when scanned.  The server is for home use and is very low
traffic, most traffic is from infected machines or attempted IIS exploits
(robot scanning I assume).  I have my logs tail -f to the screen, and
there's some example output below.  Any suggestions on how to proceed
troubleshooting this?  How to duplicate the condition?  Anyone else have
problems with this version of gcc?  Should I revert?

Here's how I configured Apache:

CC="gcc-3.3" \
./configure \
  --enable-layout=Apache \
  --enable-v4-mapped \
  --enable-modules=all \
  --enable-mods-shared=all \
  --enable-cache \
  --enable-file-cache \
  --enable-disk-cache \
  --enable-mem-cache \
  --enable-logio \
  --enable-mime-magic \
  --enable-expires \
  --enable-headers \
  --enable-usertrack \
  --enable-unique-id \
  --enable-ssl \
  --enable-http \
  --enable-suexec \
  --enable-cgi \
  --enable-cgid \
  --enable-vhost-alias \
  --enable-rewrite \
  --enable-so \
  --with-suexec-docroot /var/www

And the access and error logs files.  "default" is the first VirtualHost
config, and so catches all the IP scans.

==> /usr/local/apache2/logs/error_log <==
 149.156.124.18 - - [07/Oct/2003:11:22:21 -0400] "GET / HTTP/1.0" 301 370
[Tue Oct 07 11:34:36 2003] [notice] child pid 2524 exit signal Segmentation
fault (11)
[Tue Oct 07 11:34:37 2003] [notice] child pid 2439 exit signal Segmentation
fault (11)
[Tue Oct 07 11:34:37 2003] [notice] child pid 2324 exit signal Segmentation
fault (11)
[Tue Oct 07 11:34:38 2003] [notice] child pid 2537 exit signal Segmentation
fault (11)
[Tue Oct 07 11:34:39 2003] [notice] child pid 2539 exit signal Segmentation
fault (11)
[Tue Oct 07 11:34:39 2003] [notice] child pid 2538 exit signal Segmentation
fault (11)
[Tue Oct 07 11:34:40 2003] [notice] child pid 2541 exit signal Segmentation
fault (11)
[Tue Oct 07 11:34:40 2003] [notice] child pid 2540 exit signal Segmentation
fault (11)
[Tue Oct 07 11:34:41 2003] [notice] child pid 2543 exit signal Segmentation
fault (11)

==> /var/www/default/logs/default-access.log <==
68.118.131.128 - - [07/Oct/2003:11:34:41 -0400] "GET
/scripts/..%c0%2f../winnt/system32/cmd.exe?/c+dir HTTP/1.0" 404 350

==> /usr/local/apache2/logs/error_log <==
[Tue Oct 07 11:34:43 2003] [notice] child pid 2542 exit signal Segmentation
fault (11)
[Tue Oct 07 11:34:43 2003] [notice] child pid 2544 exit signal Segmentation
fault (11)
==> /var/www/default/logs/default-access.log <==
68.118.131.128 - - [07/Oct/2003:11:34:44 -0400] "GET
/scripts/..%%35%63../winnt/system32/cmd.exe?/c+dir HTTP/1.0" 400 341

==> /usr/local/apache2/logs/error_log <==
[Tue Oct 07 11:34:48 2003] [notice] child pid 2545 exit signal Segmentation
fault (11)
==> /var/www/default/logs/default-access.log <==
68.118.131.128 - - [07/Oct/2003:11:34:47 -0400] "GET
/scripts/..%%35c../winnt/system32/cmd.exe?/c+dir HTTP/1.0" 400 341

==> /usr/local/apache2/logs/error_log <==
[Tue Oct 07 11:34:49 2003] [notice] child pid 2546 exit signal Segmentation
fault (11)



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org