Segmentation fault at address 0x818007000

Antonio Olivares olivares14031 at gmail.com
Tue Apr 4 15:58:43 UTC 2017


On Tue, Apr 4, 2017 at 10:43 AM, Arthur Chance <freebsd at 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 at 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


More information about the freebsd-questions mailing list