Re: security/clamav: Segmentation fault when running clamav in a 32-bit jail on a 64-bit host

2010-08-28 Thread Glen Barber
On 8/27/10 3:04 PM, Glen Barber wrote: > Hello Kostik, > > On 8/27/10 2:58 PM, Kostik Belousov wrote: >>> Of course. The new backtrace is here: http://gist.github.com/553734 >> >> I suspect that this was fixed in r210796/HEAD and r211138/RELENG_8. >> > > I will check this out on a test machine.

Re: security/clamav: Segmentation fault when running clamav in a 32-bit jail on a 64-bit host

2010-08-27 Thread Glen Barber
On 8/27/10 5:03 PM, Paul Macdonald wrote: > On 27/08/2010 20:53, Glen Barber wrote: >> On 8/27/10 3:26 PM, Miroslav Lachman wrote: >>> Can you try it with original clamav 32-bit binary package? >>> ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8.1-release/Latest/clamav.tbz >>> >>> >>> (or

Re: security/clamav: Segmentation fault when running clamav in a 32-bit jail on a 64-bit host

2010-08-27 Thread Paul Macdonald
On 27/08/2010 20:53, Glen Barber wrote: On 8/27/10 3:26 PM, Miroslav Lachman wrote: Can you try it with original clamav 32-bit binary package? ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8.1-release/Latest/clamav.tbz (or can you build your own on real 32-bit system instead of 32-bit

Re: security/clamav: Segmentation fault when running clamav in a 32-bit jail on a 64-bit host

2010-08-27 Thread Glen Barber
On 8/27/10 3:26 PM, Miroslav Lachman wrote: > Can you try it with original clamav 32-bit binary package? > ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8.1-release/Latest/clamav.tbz > > (or can you build your own on real 32-bit system instead of 32-bit jail > on 64-bit host?) > I've tri

Re: security/clamav: Segmentation fault when running clamav in a 32-bit jail on a 64-bit host

2010-08-27 Thread Miroslav Lachman
Glen Barber wrote: Hello Kostik, On 8/27/10 2:58 PM, Kostik Belousov wrote: Of course. The new backtrace is here: http://gist.github.com/553734 I suspect that this was fixed in r210796/HEAD and r211138/RELENG_8. I will check this out on a test machine. Thanks. 2) Was the software reb

Re: security/clamav: Segmentation fault when running clamav in a 32-bit jail on a 64-bit host

2010-08-27 Thread Kostik Belousov
On Fri, Aug 27, 2010 at 01:06:49PM -0400, Glen Barber wrote: > On 8/27/10 12:54 PM, Jeremy Chadwick wrote: > > On Fri, Aug 27, 2010 at 12:46:48PM -0400, Glen Barber wrote: > >> On 8/27/10 12:33 PM, Kurt Jaeger wrote: > >>> Hi! > >>> > I have a few clamav instances running in jails on 32-bit ho

Re: security/clamav: Segmentation fault when running clamav in a 32-bit jail on a 64-bit host

2010-08-27 Thread Jeremy Chadwick
On Fri, Aug 27, 2010 at 09:58:38PM +0300, Kostik Belousov wrote: > On Fri, Aug 27, 2010 at 01:06:49PM -0400, Glen Barber wrote: > > On 8/27/10 12:54 PM, Jeremy Chadwick wrote: > > > On Fri, Aug 27, 2010 at 12:46:48PM -0400, Glen Barber wrote: > > >> On 8/27/10 12:33 PM, Kurt Jaeger wrote: > > >>> H

Re: security/clamav: Segmentation fault when running clamav in a 32-bit jail on a 64-bit host

2010-08-27 Thread Glen Barber
Hello Kostik, On 8/27/10 2:58 PM, Kostik Belousov wrote: >> Of course. The new backtrace is here: http://gist.github.com/553734 > > I suspect that this was fixed in r210796/HEAD and r211138/RELENG_8. > I will check this out on a test machine. Thanks. >> >>> 2) Was the software rebuilt from so

Re: security/clamav: Segmentation fault when running clamav in a 32-bit jail on a 64-bit host

2010-08-27 Thread Glen Barber
On 8/27/10 2:20 PM, Jeremy Chadwick wrote: >> To be honest, this is the first non-base software I've had an issue with >> in a mixed-arch environment. > > Okay, so it's sort of what I thought. Your system has a series of > include files on it that are for amd64 (64-bit), but clamav, when built >

Re: security/clamav: Segmentation fault when running clamav in a 32-bit jail on a 64-bit host

2010-08-27 Thread Jeremy Chadwick
On Fri, Aug 27, 2010 at 01:58:25PM -0400, Glen Barber wrote: > On 8/27/10 1:32 PM, Jeremy Chadwick wrote: > >> Of course. The new backtrace is here: http://gist.github.com/553734 > > > > I want to make sure I understand the environment -- on a native i386 > > (32-bit) FreeBSD host, the software w

Re: security/clamav: Segmentation fault when running clamav in a 32-bit jail on a 64-bit host

2010-08-27 Thread Glen Barber
On 8/27/10 1:32 PM, Jeremy Chadwick wrote: >> Of course. The new backtrace is here: http://gist.github.com/553734 > > I want to make sure I understand the environment -- on a native i386 > (32-bit) FreeBSD host, the software works fine. But on a native amd64 > (64-bit) FreeBSD host, the software

Re: security/clamav: Segmentation fault when running clamav in a 32-bit jail on a 64-bit host

2010-08-27 Thread Jeremy Chadwick
On Fri, Aug 27, 2010 at 01:06:49PM -0400, Glen Barber wrote: > On 8/27/10 12:54 PM, Jeremy Chadwick wrote: > > On Fri, Aug 27, 2010 at 12:46:48PM -0400, Glen Barber wrote: > >> On 8/27/10 12:33 PM, Kurt Jaeger wrote: > >>> Hi! > >>> > I have a few clamav instances running in jails on 32-bit ho

Re: security/clamav: Segmentation fault when running clamav in a 32-bit jail on a 64-bit host

2010-08-27 Thread Jeremy Chadwick
On Fri, Aug 27, 2010 at 12:46:48PM -0400, Glen Barber wrote: > On 8/27/10 12:33 PM, Kurt Jaeger wrote: > > Hi! > > > >> I have a few clamav instances running in jails on 32-bit hosts without > >> any issues. A few days ago one of these jails was migrated to a 64-bit > >> host (8.1-RELEASE), where

Re: security/clamav: Segmentation fault when running clamav in a 32-bit jail on a 64-bit host

2010-08-27 Thread Glen Barber
On 8/27/10 12:54 PM, Jeremy Chadwick wrote: > On Fri, Aug 27, 2010 at 12:46:48PM -0400, Glen Barber wrote: >> On 8/27/10 12:33 PM, Kurt Jaeger wrote: >>> Hi! >>> I have a few clamav instances running in jails on 32-bit hosts without any issues. A few days ago one of these jails was migra

Re: security/clamav: Segmentation fault when running clamav in a 32-bit jail on a 64-bit host

2010-08-27 Thread Glen Barber
On 8/27/10 12:33 PM, Kurt Jaeger wrote: > Hi! > >> I have a few clamav instances running in jails on 32-bit hosts without >> any issues. A few days ago one of these jails was migrated to a 64-bit >> host (8.1-RELEASE), where I noticed clamd (0.96.2_1) segfaults when queried. >> >> The issue seems

security/clamav: Segmentation fault when running clamav in a 32-bit jail on a 64-bit host

2010-08-27 Thread Glen Barber
Hello, I have a few clamav instances running in jails on 32-bit hosts without any issues. A few days ago one of these jails was migrated to a 64-bit host (8.1-RELEASE), where I noticed clamd (0.96.2_1) segfaults when queried. The issue seems specific to 32bit/64bit compatibility. I have a gdb s

Re: security/clamav: Segmentation fault when running clamav in a 32-bit jail on a 64-bit host

2010-08-27 Thread Kurt Jaeger
Hi! > I have a few clamav instances running in jails on 32-bit hosts without > any issues. A few days ago one of these jails was migrated to a 64-bit > host (8.1-RELEASE), where I noticed clamd (0.96.2_1) segfaults when queried. > > The issue seems specific to 32bit/64bit compatibility. I have