Bug#485525: apache2 crashing with SIGBUS

2008-06-18 Thread Nathaniel W Filardo
On Wed, Jun 11, 2008 at 08:59:19AM +0200, Stefan Fritsch wrote:
 Hi Nathaniel,

 On Tue, 10 Jun 2008, Nathaniel W Filardo wrote:

 No, 2.2.8-3 did not have this problem (at least, to judge from my log
 files).

 I think it would be helpful if you could confirm that it was the apache 
 upgrade (as opposed to some other library upgrade that you did in the 
 meantime or something else entirely). Can you get the 2.2.8-3 packages from 
 snapshot.debian.net, downgrade and check that this fixes the problem?

 Thanks.

 Cheers,
 Stefan

Sorry for the delay, but I rolled back, the bug went away, and then I got
distracted.  So yes, the bug did not exhibit itself seemingly at all on
2.2.8-3.

Hopefully that helps.
--nwf;


pgpWSnyH6p503.pgp
Description: PGP signature


Bug#485525: apache2 crashing with SIGBUS

2008-06-11 Thread Stefan Fritsch

Hi Nathaniel,

On Tue, 10 Jun 2008, Nathaniel W Filardo wrote:


No, 2.2.8-3 did not have this problem (at least, to judge from my log
files).


I think it would be helpful if you could confirm that it was the apache 
upgrade (as opposed to some other library upgrade that you did in the 
meantime or something else entirely). Can you get the 2.2.8-3 packages 
from snapshot.debian.net, downgrade and check that this fixes the problem?


Thanks.

Cheers,
Stefan



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



Bug#485525: apache2 crashing with SIGBUS

2008-06-10 Thread Stefan Fritsch

While serving requests, Apache worker processes are committing suicide,
something like this (taken from the error log):


Please provide a backtrace, as described in 
/usr/share/doc/apache2.2-common/README.backtrace


TIA

Stefan




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



Bug#485525: apache2 crashing with SIGBUS

2008-06-10 Thread Stefan Fritsch
On Tuesday 10 June 2008, Nathaniel W Filardo wrote:
 (gdb) thread apply all bt full
 d 1 (process 32009):
 #0  shmcb_store_session (s=0x17d388, shm_segment=0xf6dbc008,
 id=value optimized out, idlen=value optimized out,
 pSession=0x20d050, timeout=1213085213) at

This

 /usr/include/bits/string3.h:52

is __builtin___memcpy_chk(). It's possible that the crash is related 
to FORTIFY_SOURCE being used for compiling apache. Did you experience 
the crash with 2.2.8-3 (which was compiled without FORTIFY_SOURCE), 
too? How often does it crash, on every connection or less frequently?

Cheers,
Stefan



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



Bug#485525: apache2 crashing with SIGBUS

2008-06-10 Thread Nathaniel W Filardo
On Tue, Jun 10, 2008 at 08:53:55PM +0200, Stefan Fritsch wrote:
 is __builtin___memcpy_chk(). It's possible that the crash is related 
 to FORTIFY_SOURCE being used for compiling apache. Did you experience 
 the crash with 2.2.8-3 (which was compiled without FORTIFY_SOURCE), 
 too? How often does it crash, on every connection or less frequently?

No, 2.2.8-3 did not have this problem (at least, to judge from my log
files).  It isn't crashing at every connection, no, as I can still use the
site Apache is hosting if I make enough attempts... sometimes works fine for
a long time, sometimes takes many connections before one works.  Sorry I
can't be more exact.

--nwf;


pgppZZdCggtws.pgp
Description: PGP signature


Bug#485525: apache2 crashing with SIGBUS

2008-06-09 Thread Nathaniel W Filardo

Subject: apache2: Apache crashing with SIGBUS
Package: apache2
Version: 2.2.8-4
Severity: grave
Justification: renders package unusable

*** Please type your report below this line ***

While serving requests, Apache worker processes are committing suicide,
something like this (taken from the error log):

[Mon Jun 09 19:58:43 2008] [notice] Apache/2.2.8 (Debian) mod_python/3.3.1 
Python/2.5.2 mod_ssl/2.2.8 OpenSSL/0.9.8g configured -- resuming normal 
operations
...
[Mon Jun 09 21:30:06 2008] [debug] ssl_engine_io.c(1817): OpenSSL: read 48/48 
bytes from BIO#1d7690 [mem: 234cb5] (BIO dump follows)
[Mon Jun 09 21:30:06 2008] [debug] ssl_engine_io.c(1750): 
+-+
[Mon Jun 09 21:30:06 2008] [debug] ssl_engine_io.c(1789): | : b3 98 1f b5 
cf 43 6a d6-58 22 97 b1 09 31 64 f8  .Cj.X...1d. |
[Mon Jun 09 21:30:06 2008] [debug] ssl_engine_io.c(1789): | 0010: b7 41 b4 96 
15 5b d5 8b-d4 60 23 f7 95 cc ce c1  .A...[...`#. |
[Mon Jun 09 21:30:06 2008] [debug] ssl_engine_io.c(1789): | 0020: 32 9d 65 94 
f8 10 20 02-36 4a d6 0b 36 32 31 c1  2.e... .6J..621. |
[Mon Jun 09 21:30:06 2008] [debug] ssl_engine_io.c(1795): 
+-+
[Mon Jun 09 21:30:06 2008] [debug] ssl_engine_kernel.c(1760): OpenSSL: Loop: 
SSLv3 read finished A
[Mon Jun 09 21:30:06 2008] [debug] ssl_engine_kernel.c(1760): OpenSSL: Loop: 
SSLv3 write change cipher spec A
[Mon Jun 09 21:30:06 2008] [debug] ssl_engine_kernel.c(1760): OpenSSL: Loop: 
SSLv3 write finished A
[Mon Jun 09 21:30:06 2008] [debug] ssl_engine_kernel.c(1760): OpenSSL: Loop: 
SSLv3 flush data
[Mon Jun 09 21:30:06 2008] [debug] ssl_scache_shmcb.c(670): inside 
shmcb_store_session
[Mon Jun 09 21:30:06 2008] [debug] ssl_scache_shmcb.c(676): session_id[0]=73, 
masked index=9
[Mon Jun 09 21:30:06 2008] [debug] ssl_scache_shmcb.c(1059): entering 
shmcb_insert_encoded_session, *queue-pos_count = 0
[Mon Jun 09 21:30:06 2008] [debug] ssl_scache_shmcb.c(983): entering 
shmcb_expire_division
[Mon Jun 09 21:30:06 2008] [debug] ssl_scache_shmcb.c(1115): we have 14386 
bytes and 133 indexes free - enough
[Mon Jun 09 21:30:06 2008] [debug] ssl_scache_shmcb.c(1144): storing in index 
0, at offset 0
 [Mon Jun 09 21:30:06 2008] [notice] child pid 30461 exit signal Bus error 
 (10)
[Mon Jun 09 21:30:20 2008] [debug] ssl_engine_io.c(1828): OpenSSL: I/O error, 5 
bytes expected to read on BIO#1d7690 [mem: 234cb0]
[Mon Jun 09 21:30:20 2008] [info] [client 128.220.223.61] (70007)The timeout 
specified has expired: SSL input filter read failed.
[Mon Jun 09 21:30:20 2008] [debug] ssl_engine_kernel.c(1770): OpenSSL: Write: 
SSL negotiation finished successfully
[Mon Jun 09 21:30:20 2008] [info] [client 128.220.223.61] Connection closed to 
child 4 with standard shutdown (server wiki.ietfng.org:443)
[Mon Jun 09 21:30:20 2008] [debug] ssl_engine_io.c(1828): OpenSSL: I/O error, 5 
bytes expected to read on BIO#1d7690 [mem: 234cb0]
[Mon Jun 09 21:30:20 2008] [info] [client 128.220.223.61] (70007)The timeout 
specified has expired: SSL input filter read failed.
[Mon Jun 09 21:30:20 2008] [debug] ssl_engine_kernel.c(1770): OpenSSL: Write: 
SSL negotiation finished successfully
[Mon Jun 09 21:30:20 2008] [info] [client 128.220.223.61] Connection closed to 
child 2 with standard shutdown (server wiki.ietfng.org:443)

(The fact that it's SIGBUS rather than SIGSEGV may be because this is
2.6.18, a vserver kernel, on Sparc64 hardware; honestly I'm not sure.)

If I can provide any other information, feel free to ask.
Thanks for your time.
--nwf;

-- Package-specific info:
List of enabled modules from 'apache2 -M':
  alias auth_basic authn_file authz_default authz_groupfile
  authz_host authz_user autoindex cgi dir* env mime negotiation
  python setenvif ssl status
  (A * means that the .conf file for that module is not enabled in
   /etc/apache2/mods-enabled/)

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: sparc (sparc64)

Kernel: Linux 2.6.22.16
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages apache2 depends on:
ii  apache2-mpm-prefork   2.2.8-4Traditional model for Apache HTTPD

apache2 recommends no packages.

-- no debconf information


pgpGuzn2TjHuB.pgp
Description: PGP signature