[clamav-users] Clamd Segmentation Fault when built on Mac OS X Yosemite

Larry Stone lstone19 at stonejongleux.com
Thu Apr 30 15:39:00 UTC 2015


Yes, that did it. Thank you.

Where can that bug report be found? I've searched for it and am not 
finding it.

I'll note that the same Segmentation Fault occurs when trying to build 
0.98.6 on 10.10.3 so it would appear to be an OS X 10.10.3 issue, not a 
0.98.7 issue. I went directily from 10.9.latest to 10.10.3 so I don't know 
if 10.10.x x<3 has the same issue.

-- Larry Stone
    lstone19 at stonejongleux.com

On Thu, 30 Apr 2015, Steven Morgan wrote:

> Please try ./configure --enable-llvm=no. There was a bug report for Clam
> 0.98.7 on MacOS X 10.10.3 involving llvm, so this is worth a try.
>
> On Wed, Apr 29, 2015 at 11:43 PM, Larry Stone <lstone19 at stonejongleux.com>
> wrote:
>
>> I tried building with the options from ClamXav article you referenced
>> below but it was no help. Still ?Segmentation Fault: 11?.
>>
>> I have 0.98.6 restored from backup so OK for now. Probably no time to work
>> further on this until the weekend.
>>
>> --
>> Larry Stone
>> lstone19 at stonejongleux.com
>> http://www.stonejongleux.com/
>>
>> > On Apr 29, 2015, at 7:22 PM, Al Varnell <alvarnell at mac.com> wrote:
>> >
>> > I wouldn?t spend a lot of time on it until we get some confirmation from
>> ClamAV?, but the instructions on the ClamXav site for Bring Your Own Engine
>> > <http://www.clamxav.com/docs_byo.html> might help.
>> >
>> > -Al-
>> > ?
>> ...
>>
>> >>>
>> >>> On Wed, Apr 29, 2015 at 01:03PM, Larry Stone wrote:
>> >>>>
>> >>>> Clamd throws a "Segmentation Fault: 11" error when attempting to run
>> it when built on Mac OS X 10.10 Yosemite. This happens with both 0.98.6 and
>> 0.98.7 when built on Yosemite (my version of 0.98.6 built on 10.9 ran fine
>> on 10.10). But I just upgraded my server from 10.9 to 10.10 and with
>> today's relase of 0.98.7, this was my first time attempting to build ClamAV
>> under Yosemite.
>> >>>>
>> >>>> Various articles I've found are pointing to an issue with libtool
>> where 10.10 gets treated as if it's 10.1. This article (
>> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63610) seems to describe the
>> issue but a lot of it is beyond me. I've attempted defining
>> MACOSX_DEPLOYMENT_TARGET=10.9 as described in that article but that didn't
>> make a difference (nor am I seeing anything else defining it to 10.10 so I
>> didn't expect it make a difference).
>> >>>>
>> >>>> ./configure is happy and make generates a lot of warning but no
>> errors. The error only happens when trying to run it.
>> >>>>
>> >>>> Note this is ClamAV, not ClamXav.
>> >>>>
>> >>>> -- Larry Stone
>> >>>> lstone19 at stonejongleux.com
>>
>>
>>
>>
>> _______________________________________________
>> Help us build a comprehensive ClamAV guide:
>> https://github.com/vrtadmin/clamav-faq
>>
>> http://www.clamav.net/contact.html#ml
>>
> _______________________________________________
> Help us build a comprehensive ClamAV guide:
> https://github.com/vrtadmin/clamav-faq
>
> http://www.clamav.net/contact.html#ml




More information about the clamav-users mailing list