IIRC, the only C library used by the web stack is http-parser
<https://github.com/joyent/http-parser>. Given that LD_LIBRARY_PATH has all
those system library locations in it, it's entirely possible that you're
loading the wrong version of that library and it's causing the segfault, so
maybe Jameson's concern is actually related.

On Mon, May 4, 2015 at 4:08 PM, Jameson Nash <[email protected]> wrote:

> I don't think this is related, but its usually a bad idea to set
> LD_LIBRARY_PATH and an even worse idea to put /usr/local/lib, /usr/lib,
> /usr/local/lib64, /usr/lib64, /lib64, or any other default system location
> in that variable.
>
>
> On Mon, May 4, 2015 at 4:03 PM George Thomas <[email protected]>
> wrote:
>
>> Hi -
>> I get a server segmentation fault immediately as I connect to the server
>> via URL `localhost:8000/hello/name/` from a browser (firefox or chrome). I
>> initiate the server listening mode via `julia example/Hello.jl' that is
>> included in the Morsel package (installed via Pkg.add("Morsel").
>>
>> This is the exact error that I see on the console running the server:
>>
>> signal (11): Segmentation fault
>> unknown function (ip: -165069216)
>> write at /usr/bin/../lib64/julia/sys.so (unknown line)
>> unknown function (ip: 393195536)
>> Segmentation fault
>> Fontconfig error: Cannot load default config file
>>
>>
>> I am on linux, Fedora 20. I ran 'yum update' to get the most recent
>> updates of system libraries etc. I have
>> LD_LIBRARY_PATH=/usr/local/lib:/usr/lib:/usr/local/lib64:/usr/lib64
>>
>> I have Julia version 0.3.7. This runs perfectly fine for any other
>> package I experimented with so far.
>>
>> Thanks for useful hints that you might have to help fix this server
>> segmentation error.
>>
>> Regards.
>>
>

Reply via email to