Re: Problem with segfaulting Apache 1.3.31-6 on Debian Sarge

2004-10-06 Thread Fabio Massimo Di Nitto
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Adrian Neumaier wrote:
| Hi,
|
| with the latest apache update i get an segmentation fault in apache
| while reading /usr/share/misc/file/magic/mime.
|
| If i do an 'strace apache -F' i get the following output:
|
| open(/usr/share/misc/file/magic.mime, O_RDONLY) = 4
| fstat64(4, {st_mode=S_IFREG|0644, st_size=26861, ...}) = 0
| mmap2(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
| 0) = 0x48997000
| read(4, # Magic data for KMimeMagic (ori..., 131072) = 26861
| read(4, , 131072) = 0
| close(4)= 0
| munmap(0x48997000, 131072)  = 0
| --- SIGSEGV (Segmentation fault) @ 0 (0) ---
| +++ killed by SIGSEGV +++
|
| If i run it with 'gdb --args apache -F' i get this:
|
| Program received signal SIGSEGV, Segmentation fault.
| [Switching to Thread 1076565824 (LWP 23328)]
| 0x401f0568 in strcmp () from /lib/tls/i686/cmov/libc.so.6
|
| This even happens with when i run apache with -X...
|
| I've no clue why this happens - nor why it happend only last sunday
| morning when apache was restarted during the logrotate. Apache-ssl is
| not affected by this behavior.
|
| Some Package informations:
|
| ii  apache 1.3.31-6   Versatile, high-performance HTTP server
| ii  apache-common  1.3.31-6   Support files for all Apache webservers
| ii  libc6  2.3.2.ds1-16   GNU C Library: Shared libraries and
| Timezone
| ii  libc6-i686 2.3.2.ds1-16   GNU C Library: Shared libraries [i686
| optimized]
|
| Kernel is a 2.6.7
|
| Has anyone any hint for me how to get rid of this? Sadly using apache2
| is not a solution for me...
Are you running php4? In this case it is a know problem and either you
install libapache-mod-ssl (even unconfigured) or you remove php4.
The real problem is located down in the lic6 elf loader but there is not
much to do about it until there will be a fix for it.
Fabio
- --
user fajita: step one
fajita Whatever the problem, step one is always to look in the error log.
user fajita: step two
fajita When in danger or in doubt, step two is to scream and shout.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFBY9ZphCzbekR3nhgRAo/MAJ47XLCrzbWivkLzMiOMo9oKqCkwgwCfcxHh
sTsoWIoCuMIwphUDUXFFRd8=
=K+Aa
-END PGP SIGNATURE-



RE: Problem with segfaulting Apache 1.3.31-6 on Debian Sarge

2004-10-06 Thread Adam Conrad
Fabio Massimo Di Nitto wrote:
 
 Are you running php4? In this case it is a know problem and either you
 install libapache-mod-ssl (even unconfigured) or you remove php4.

Or upgrade to libc6 2.3.2.ds1-17 from unstable, and let us know if that
clears up your problem.

... Adam