[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#302892: marked as done (clamav-daemon: clamd segfaults on a 2.6.9 u-m-l)



Your message dated Thu, 02 Jun 2005 00:02:25 +0900
with message-id <81y89uyvb2.wl@omega.webmasters.gr.jp>
and subject line Bug#302892: Processed: Re: Bug#302892: clamav-daemon: clamd segfaults on a 2.6.9 u-m-l
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 3 Apr 2005 16:32:40 +0000
>From adrian@librarian.vm.bytemark.co.uk Sun Apr 03 09:32:40 2005
Return-path: <adrian@librarian.vm.bytemark.co.uk>
Received: from librarian.vm.bytemark.co.uk [80.68.88.222] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DI81g-00020C-00; Sun, 03 Apr 2005 09:32:40 -0700
Received: from adrian by librarian.vm.bytemark.co.uk with local (Exim 4.50)
	id 1DI81e-0006oQ-Nn
	for submit@bugs.debian.org; Sun, 03 Apr 2005 17:32:38 +0100
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: clamav-daemon: clamd segfaults on a 2.6.9 u-m-l
From: Adrian Phillips <adrian@phillipswik.org>
X-Debbugs-CC: Adrian Phillips <adrian@phillipswik.org>
Message-Id: <E1DI81e-0006oQ-Nn@librarian.vm.bytemark.co.uk>
Sender: "Adrian Phillips,,," <adrian@librarian.vm.bytemark.co.uk>
Date: Sun, 03 Apr 2005 17:32:38 +0100
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-11.0 required=4.0 tests=BAYES_00,HAS_PACKAGE,
	X_DEBBUGS_CC autolearn=ham version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Package: clamav-daemon
Version: 0.83-3
Severity: normal

Good day,

   Before my workaround (seeb below), clamd started correctly, but as
   soon as was is "told" to process a file it segfaulted :-

Sun Apr  3 16:46:54 2005 -> +++ Started at Sun Apr  3 16:46:54 2005
Sun Apr  3 16:46:54 2005 -> clamd daemon 0.83 (OS: linux-gnu, ARCH: i386, CPU: i386)
Sun Apr  3 16:46:54 2005 -> Log file size limit disabled.
Sun Apr  3 16:46:54 2005 -> Running as user clamav (UID 107, GID 107)
Sun Apr  3 16:46:54 2005 -> Reading databases from /var/lib/clamav
Sun Apr  3 16:46:55 2005 -> Protecting against 32466 viruses.
Sun Apr  3 16:46:55 2005 -> WARNING: Socket file /var/run/clamav/clamd.ctl exists. Unclean shutdown? Removing...
Sun Apr  3 16:46:55 2005 -> Unix socket file /var/run/clamav/clamd.ctl
Sun Apr  3 16:46:55 2005 -> Setting connection queue length to 15
Sun Apr  3 16:46:55 2005 -> Archive: Archived file size limit set to 10485760 bytes.
Sun Apr  3 16:46:55 2005 -> Archive: Recursion level limit set to 5.
Sun Apr  3 16:46:55 2005 -> Archive: Files limit set to 1000.
Sun Apr  3 16:46:55 2005 -> Archive: Compression ratio limit set to 250.
Sun Apr  3 16:46:55 2005 -> Archive support enabled.
Sun Apr  3 16:46:55 2005 -> Archive: RAR support disabled.
Sun Apr  3 16:46:55 2005 -> Archive: Blocking archives that exceed limits.
Sun Apr  3 16:46:55 2005 -> Portable Executable support enabled.
Sun Apr  3 16:46:55 2005 -> Detection of broken executables enabled.
Sun Apr  3 16:46:55 2005 -> Mail files support enabled.
Sun Apr  3 16:46:55 2005 -> OLE2 support enabled.
Sun Apr  3 16:46:55 2005 -> HTML support enabled.
Sun Apr  3 16:46:55 2005 -> Self checking every 3600 seconds.
Sun Apr  3 16:48:09 2005 -> Segmentation fault :-( Bye..

  I tried changing various options, changing MaxThreads to 1, using
  TcpAddr instead of LocalSocket; after some googling I found a post
  about using LD_ASSUME_KERNEL, and added "export
  LD_ASSUME_KERNEL=2.4.1" to just before start-stop-daemon in
  init.d/clamav-daemon and now its managed to process several messages
  with no problems.

  The following : http://people.redhat.com/drepper/assumekernel.html,
  seems to imply that the application is broken although given the
  fact that clamd would seem to work on host (not u-m-l) linux judging
  from the lack of bug reports I assume this has more todo with u-m-l
  than clamd. mysqld apparently has the same problem as reported by
  somebody else on the same hosting servive I'm using, perhaps other
  threaded applications also have this problem.

  I've tried stracing and gdbing without success but I've little
  experience with debugging threaded applications.

Sincerely,

Adrian Phillips


-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.9-bytemark-uml-20041208-1-bytemark-uml-20041207-1
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages clamav-daemon depends on:
ii  clamav-base                 0.83-3       base package for clamav, an anti-v
ii  clamav-freshclam [clamav-da 0.83-3       downloads clamav virus databases f
ii  libbz2-1.0                  1.0.2-5      high-quality block-sorting file co
ii  libc6                       2.3.2.ds1-20 GNU C Library: Shared libraries an
ii  libclamav1                  0.83-3       virus scanner library
ii  libcurl3                    7.13.1-2     Multi-protocol file transfer libra
ii  libgmp3                     4.1.4-5      Multiprecision arithmetic library
ii  libidn11                    0.5.13-1.0   GNU libidn library, implementation
ii  libssl0.9.7                 0.9.7e-3     SSL shared libraries
ii  zlib1g                      1:1.2.2-3    compression library - runtime

-- no debconf information

---------------------------------------
Received: (at 302892-done) by bugs.debian.org; 1 Jun 2005 15:02:27 +0000
>From gotom@debian.or.jp Wed Jun 01 08:02:27 2005
Return-path: <gotom@debian.or.jp>
Received: from omega.webmasters.gr.jp (webmasters.gr.jp) [218.44.239.78] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DdUjj-0006AR-00; Wed, 01 Jun 2005 08:02:27 -0700
Received: from omega.webmasters.gr.jp (localhost [127.0.0.1])
	by webmasters.gr.jp (Postfix) with ESMTP
	id 16B58DEB1B; Thu,  2 Jun 2005 00:02:25 +0900 (JST)
Date: Thu, 02 Jun 2005 00:02:25 +0900
Message-ID: <81y89uyvb2.wl@omega.webmasters.gr.jp>
From: GOTO Masanori <gotom@debian.or.jp>
To: Adrian Phillips <adrianp@broadpark.no>,
	302892-done@bugs.debian.org
Cc: GOTO Masanori <gotom@debian.or.jp>,
	Stephen Gran <sgran@debian.org>(clamav-daemon #302892)
Subject: Re: Bug#302892: Processed: Re: Bug#302892: clamav-daemon: clamd segfaults on a 2.6.9 u-m-l
In-Reply-To: <87r7h4f6tc.fsf@librarian.localnet>
References: <87r7hrilzz.fsf@librarian.localnet>
	<handler.s.C.11125640345816.transcript@bugs.debian.org>
	<81ll7c2ka3.wl@omega.webmasters.gr.jp>
	<87r7h4f6tc.fsf@librarian.localnet>
User-Agent: Wanderlust/2.9.9 (Unchained Melody) SEMI/1.14.3 (Ushinoya)
 FLIM/1.14.3 (=?ISO-8859-4?Q?Unebigory=F2mae?=) APEL/10.3 Emacs/21.2
 (i386-debian-linux-gnu) MULE/5.0 (SAKAKI)
MIME-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya")
Content-Type: text/plain; charset=US-ASCII
Delivered-To: 302892-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

At Thu, 21 Apr 2005 18:11:43 +0200,
Adrian Phillips wrote:
>     gotom> IIRC, this is not glibc problem - the actual fault is UML
>     gotom> does not support tls (/lib/tls).  With 2.6 kernel, glibc
> 
> Yes, my apologies, this is correct as I've recently read on one of the
> user-mode-linux lists. I should have replied earlier to this bug.
> 
>     gotom> dynamic loader automatically selects /lib/tls directory
>     gotom> that has NPTL pthread with tls (thread local storage).  To
>     gotom> avoid this problem, please try to create /etc/ld.so.nohwcap
>     gotom> in UML image.  I don't know UML is also crashed on 2.4
>     gotom> kernel.
> 
> Oh, thats something I've not seen before - I'll give it a try.

I think this bug is not glibc's fault - so I close it.  Adrian, if you
find something about it from another new point of view, please reopen
it and report it again.

Regards,
-- gotom



Reply to: