Bug#511103: apache2-mpm-prefork: MPM Prefork/Itk Segmentation fault under heavy load

2009-01-07 Thread Frederic VANNIERE
Package: apache2-mpm-prefork
Version: 2.2.9-10+lenny1
Severity: normal


Under some heavy load, with the default configuration and even without any
module, apache2 segfaults : 

[Wed Jan 07 14:42:27 2009] [notice] child pid 11525 exit signal Segmentation 
fault (11)
[Wed Jan 07 14:42:27 2009] [notice] child pid 11526 exit signal Segmentation 
fault (11)
[Wed Jan 07 14:42:27 2009] [notice] child pid 11527 exit signal Segmentation 
fault (11)
[Wed Jan 07 14:42:27 2009] [notice] child pid 11528 exit signal Segmentation 
fault (11)


Tested on 2 different servers (64bit) and can be reproduced with : 

  ab -n 10 -c 500   http://localhost/

No issue with apache2-mpm-worked. 


-- System Information:
Debian Release: 5.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.27.8-em64t (SMP w/4 CPU cores)
Locale: lang=fr...@euro, lc_ctype=fr...@euro (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash

Versions of packages apache2-mpm-prefork depends on:
ii  apache2.2-common 2.2.9-10+lenny1 Apache HTTP Server common files
ii  libapr1  1.2.12-5The Apache Portable Runtime Librar
ii  libaprutil1  1.2.12+dfsg-8   The Apache Portable Runtime Utilit
ii  libc62.7-16  GNU C Library: Shared libraries
ii  libpcre3 7.6-2.1 Perl 5 Compatible Regular Expressi

apache2-mpm-prefork recommends no packages.

apache2-mpm-prefork suggests no packages.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#503173: grub-common: Segmentation fault in grub-probe when using grsecurity

2008-10-23 Thread Frederic VANNIERE
Package: grub-common
Version: 1.96+20080724-10
Severity: normal


When using grub-probe on a custom 2.6.26.5-em64t-grsec kernel it creates a
segmentation fault :

Oct 20 11:39:14 foo kernel: PAX: terminating task:
/usr/sbin/grub-probe(grub-probe):14498, uid/euid: 0/0, PC:
7fffdf18, SP: 7fffdec8
Oct 20 11:39:14 foo kernel: grsec: From 88.177.xxx.xxx: denied resource
overstep by requesting 4096 for RLIMIT_CORE against limit 0 for
/usr/sbin/grub-probe[grub-probe:14498] uid/euid:0/0 gid/egid:0/0, parent
/bin/bash[bash:14245] uid/euid:0/0 gid/egid:0/0

The solution was to use chpax on /usr/sbin/grub-probe and put the 
following flags : 

[ chpax 0.7 : Current flags for /usr/sbin/grub-probe (pemrxs) ] 

 * Paging based PAGE_EXEC   : disabled 
 * Trampolines  : not emulated 
 * mprotect()   : not restricted 
 * mmap() base  : not randomized 
 * ET_EXEC base : not randomized 
 * Segmentation based PAGE_EXEC : disabled 



-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.27-em64t (SMP w/2 CPU cores)
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash

Versions of packages grub-common depends on:
ii  base-files4.0.5  Debian base system miscellaneous f
ii  libc6 2.7-14 GNU C Library: Shared libraries

grub-common recommends no packages.

Versions of packages grub-common suggests:
pn  multiboot-doc none (no description available)

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]