Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Apr 2017 10:58:41 -0500
From:      Antonio Olivares <olivares14031@gmail.com>
To:        Arthur Chance <freebsd@qeng-ho.org>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: Segmentation fault at address 0x818007000
Message-ID:  <CAJ5UdcO1AzFfHXyy4F1qW04GqB%2BGrEXSt49wUwxc2DsAbunBJg@mail.gmail.com>
In-Reply-To: <790c8e32-0a83-a39b-ed1e-7d18a8aa474f@qeng-ho.org>
References:  <CAJ5UdcMd=PiszQjk-dHSaNMdnMmg%2Bm5mMnyEGDTmoC8-32rT9g@mail.gmail.com> <CAJ5UdcO4vSUtW1__P-WCW5FwN4GV6UrbUBvJtvUhb9%2BOQrh9Xg@mail.gmail.com> <790c8e32-0a83-a39b-ed1e-7d18a8aa474f@qeng-ho.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Apr 4, 2017 at 10:43 AM, Arthur Chance <freebsd@qeng-ho.org> wrote:
> On 04/04/2017 16:32, Antonio Olivares wrote:
>> On Mon, Apr 3, 2017 at 2:30 PM, Antonio Olivares
>> <olivares14031@gmail.com> wrote:
>>> Dear Folks,
>>>
>>> on an 11-RELEASE-p8 amd64 bit machine, updated to latest with pkg
>>> update and pkg upgrade.  Machine was working great. I update to latest
>>> packages, now I get a segmenation fault.  How do I fix this ?  I can
>>> get screenshoot if needed.  How does one downgrade Xorg?
>>>
>>> Any Ideas?
>>>
>>> Thanks,
>>>
>>>
>>> Antonio
> [cut]
>>
>> [ 712.646] (EE) 4: /usr/local/llvm39/lib/libLLVM-3.9.so
>> (_ZN4llvm13StringMapImpl15LookupBucketForENS_9StringRefE+0xf0)
>> [0x8094c0340]
>>
>> [ 712.651] (EE) 5: /usr/local/llvm39/lib/libLLVM-3.9.so
>> (LLVMParseCommandLineOptions+0x7cf) [0x80948497f]
>>
>> [ 712.656] (EE) 6: /usr/local/llvm39/lib/libLLVM-3.9.so
>> (LLVMParseCommandLineOptions+0x92c) [0x809484c1c]
>>
>> [ 712.660] (EE) 7: /usr/local/llvm39/lib/libLLVM-3.9.so
>> (_ZN4llvm2cl6Option11addArgumentEv+0x7c) [0x809478dec]
>>
>> [ 712.664] (EE) 8: /usr/local/llvm37/lib/libLLVMSupport.so.3.7
>> (_ZNSt3__127__insertion_sort_incompleteIRNS_6__lessINS_4pairIN4llvm10TimeRecordENS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEEESB_EEPSB_EEbT0_SF_T_+0x67d)
>> [0x817fae31d]
>>
>> [ 712.669] (EE) 9: /usr/local/llvm37/lib/libLLVMSupport.so.3.7
>> (_ZN4llvm3sys8WatchdogD1Ev+0x32) [0x817fe6264]
>>
>> [ 712.673] (EE) 10: /usr/local/llvm37/lib/libLLVMSupport.so.3.7
>> (_init+0xe) [0x817f44ebc]
> [more cut]
>
> Notice you have a mix of llvm37 and llvm39 in there. This keeps coming
> up. You have two versions of llvm present, and X is getting a mix of
> both, leading to a screwed up runtime system. Delete llvm37 and you
> should be OK.
>
> --
> By June 1949, people had begun to realize that it was not so easy to
> get a program right as had at one time appeared. It was on one of my
> journeys between the EDSAC room and the punching equipment that the
> realization came over me with full force that a good part of the
> remainder of my life was going to be spent in finding errors in my own
> programs.
>
>         -- Maurice Wilkes

Thank you for your advice.  Doing a
# pkg delete llvm37

fixed the segmentation fault error.  Now I have a working X again :)
 How to prevent something like this to happen again?  I was worried
that I had to downgrade Xorg packages or similar.

Best Regards,


Antonio



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ5UdcO1AzFfHXyy4F1qW04GqB%2BGrEXSt49wUwxc2DsAbunBJg>