Bug#293156: apache: segfaults when started, strace shows failure after or during reading file pkg's magic.mime
Hello Adam, An apt-get dist-upgrade did the trick. Be it known that you are the man! Adam Conrad wrote: Adam Conrad said: Also, what version of libc6 do you currently have installed? Nevermind. Your original bug report stated you have version 2.3.2.ds1-13 installed. The backtrace blowing up in libssl's init looks suspiciously like a bug that was fixed in libc6 2.3.2.ds1-17 (In september, last year!) Can you try upgrading libc6 (better yet, if you have the bandwidth, update the whole system), and let me know if this bug goes away? Thanks. ... Adam -- Dustin Harriman Http://annexia.ca -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#293156: apache: segfaults when started, strace shows failure after or during reading file pkg's magic.mime
Adam Conrad said: Also, what version of libc6 do you currently have installed? Nevermind. Your original bug report stated you have version 2.3.2.ds1-13 installed. The backtrace blowing up in libssl's init looks suspiciously like a bug that was fixed in libc6 2.3.2.ds1-17 (In september, last year!) Can you try upgrading libc6 (better yet, if you have the bandwidth, update the whole system), and let me know if this bug goes away? Thanks. ... Adam -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#293156: apache: segfaults when started, strace shows failure after or during reading file pkg's magic.mime
Package: apache Version: 1.3.33-3 Severity: important I noticed that my wesite stopped accepting connections. I have both apache-ssl and apache installed, apache-ssl still works fine. I can't start apache manually with a command like apache -X of apache -F, I just get a Segmentation fault. Turning the LogLevel to debug also shows no errors. Upgrading from apache 1.3.33-2 to 1.3.33-3 didn't help, nor reinstalling the package apache. Checking my RAM and blocks on all filesystems show no problems. Reverting to an original copy of httpd.conf didn't help, which has no VirtualHosts, so I don't think bug 284215 is happening here. An strace shows interesting output near the end when running the command strace apache -X: -- open(/var/lib/misc/protocols.db, O_RDWR|O_LARGEFILE) = -1 ENOENT (No such file or directory) open(/var/lib/misc/protocols.db, O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory) open(/etc/protocols, O_RDONLY)= 3 fcntl64(3, F_GETFD) = 0 fcntl64(3, F_SETFD, FD_CLOEXEC) = 0 fstat64(3, {st_mode=S_IFREG|0644, st_size=2478, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40019000 read(3, # Internet (IP) protocols\n#\n# Up..., 4096) = 2478 close(3)= 0 munmap(0x40019000, 4096)= 0 open(/usr/share/misc/file/magic.mime, O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=30429, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40019000 read(3, # Magic data for KMimeMagic (ori..., 4096) = 4096 read(3, audio/x-dec-basic\n12\tlelong\t\t5\t..., 4096) = 4096 read(3, #!/usr/local/bin/ashapplica..., 4096) = 4096 read(3, \\040\\0\t\tapplication/x-tar\tgnu\n\n0..., 4096) = 4096 read(3, p Format proposal\n# (best; not y..., 4096) = 4096 read(3, ..., 4096) = 4096 read(3, 0x05\t\n#8 leshort\t 0..., 4096) = 4096 read(3, #\n0\t\tstring\tMZ\n[EMAIL PROTECTED]..., 4096) = 1757 read(3, , 4096) = 0 close(3)= 0 munmap(0x40019000, 4096)= 0 --- SIGSEGV (Segmentation fault) @ 0 (0) --- +++ killed by SIGSEGV +++ - The 5th last line looks interesting, perhaps input is expected but there is none in the empty ? I upgraded the file and libmagic1 packages (since /usr/share/misc/file/magic.mime comes from libmagic1), still no luck. Could this affect people upgrading to sarge? My website is down (at least on port 80, SSL access still works) and can't get up, please help! -- System Information: Debian Release: 3.1 APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Kernel: Linux 2.6.7 Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Versions of packages apache depends on: ii apache-common 1.3.33-3 support files for all Apache webse ii debconf 1.4.29 Debian configuration management sy ii dpkg1.10.22 Package maintenance system for Deb ii libc6 2.3.2.ds1-13 GNU C Library: Shared libraries an ii libdb4.24.2.52-16Berkeley v4.2 Database Libraries [ ii libexpat1 1.95.8-1 XML parsing C library - runtime li ii libmagic1 4.12-1 File type determination library us ii logrotate 3.6.5-2 Log rotation utility ii mime-support3.28-1 MIME files 'mime.types' 'mailcap ii perl5.8.4-2 Larry Wall's Practical Extraction -- debconf information: * apache/enable-suexec: false apache/server-name: localhost apache/document-root: /var/www apache/server-port: 80 apache/init: true apache/server-admin: [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#293156: apache: segfaults when started, strace shows failure after or during reading file pkg's magic.mime
sol:~# gdb apache GNU gdb 6.1-debian 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-linux...(no debugging symbols found)...Using host libthread_db library /lib/tls/libthread_db.so.1. (gdb) run -X Starting program: /usr/sbin/apache -X (no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...[Thread debugging using libthread_db enabled] [New Thread 1076590400 (LWP 7885)] (no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)... Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 1076590400 (LWP 7885)] 0x4089e3f4 in ERR_add_error_data () from /usr/lib/i686/cmov/libcrypto.so.0.9.7 (gdb) bt #0 0x4089e3f4 in ERR_add_error_data () from /usr/lib/i686/cmov/libcrypto.so.0.9.7 #1 0x4080a8a0 in ?? () #2 0x40d6a8a0 in ssl3_undef_enc_method () from /usr/lib/i686/cmov/libssl.so.0.9.7 #3 0x4089e3f0 in ERR_add_error_data () from /usr/lib/i686/cmov/libcrypto.so.0.9.7 #4 0x081a3118 in ?? () #5 0x081a3118 in ?? () #6 0x40d6a8a0 in ssl3_undef_enc_method () from /usr/lib/i686/cmov/libssl.so.0.9.7 #7 0x4089a015 in lh_insert () from /usr/lib/i686/cmov/libcrypto.so.0.9.7 #8 0x081a3118 in ?? () #9 0x40d6a8a0 in ssl3_undef_enc_method () from /usr/lib/i686/cmov/libssl.so.0.9.7 #10 0xba78 in ?? () #11 0x4089d99e in ERR_add_error_data () from /usr/lib/i686/cmov/libcrypto.so.0.9.7 #12 0x0001 in ?? () #13 0x14064057 in ?? () #14 0x409168c4 in ?? () from /usr/lib/i686/cmov/libcrypto.so.0.9.7 #15 0x408fbd67 in CAST_S_table7 () from /usr/lib/i686/cmov/libcrypto.so.0.9.7 #16 0x081a3118 in ?? () #17 0xbb08 in ?? () #18 0x4089dc0d in ERR_add_error_data () from /usr/lib/i686/cmov/libcrypto.so.0.9.7 #19 0x40d6a8a0 in ssl3_undef_enc_method () from /usr/lib/i686/cmov/libssl.so.0.9.7 #20 0x408fbd67 in CAST_S_table7 () from /usr/lib/i686/cmov/libcrypto.so.0.9.7 #21 0x0184 in ?? () #22 0x409168c4 in ?? () from /usr/lib/i686/cmov/libcrypto.so.0.9.7 #23 0x40d6a8a8 in ssl3_undef_enc_method () from /usr/lib/i686/cmov/libssl.so.0.9.7 #24 0x1400 in ?? () #25
Bug#293156: apache: segfaults when started, strace shows failure after or during reading file pkg's magic.mime
On Tue, Feb 01, 2005 at 06:30:35AM -0800, Dustin Harriman wrote: An strace shows interesting output near the end when running the command strace apache -X: Can I get a backtrace of that as well? If you don't know how to do this, just do the following: $ gdb apache (gdb) run -X wait for it to segfault (gdb) bt And give me that output. Thanks. ... Adam -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]