Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recent changes produce segfaulting julia #8180

Closed
rickhg12hs opened this issue Aug 29, 2014 · 1 comment
Closed

Recent changes produce segfaulting julia #8180

rickhg12hs opened this issue Aug 29, 2014 · 1 comment

Comments

@rickhg12hs
Copy link
Contributor

On the master branch ...

$ git branch -v
* master eb487b1 Merge pull request #8167 from JuliaLang/jq/dates

... executing ./julia now segfaults ...

$ ./julia 
Segmentation fault (core dumped)

... and it doesn't find libjulia.so

$ ldd ./julia 
    linux-gate.so.1 =>  (0xb77a7000)
    libjulia.so => not found
    libdl.so.2 => /lib/libdl.so.2 (0x4ec2a000)
    librt.so.1 => /lib/librt.so.1 (0x4ec85000)
    libpthread.so.0 => /lib/libpthread.so.0 (0x4ec31000)
    libstdc++.so.6 => /lib/libstdc++.so.6 (0x418f0000)
    libm.so.6 => /lib/libm.so.6 (0x4ebe5000)
    libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x418d1000)
    libc.so.6 => /lib/libc.so.6 (0x4ea24000)
    /lib/ld-linux.so.2 (0x4ea01000)

But even after setting LD_LIBRARY_PATH (which I've never done before), it still segfaults.

$ echo $LD_LIBRARY_PATH
/usr/local/src/julia/julia/usr/lib/
$ ldd ./julia 
    linux-gate.so.1 =>  (0xb77df000)
    libjulia.so => /usr/local/src/julia/julia/usr/lib/libjulia.so (0xb6984000)
    libdl.so.2 => /lib/libdl.so.2 (0x4ec2a000)
    librt.so.1 => /lib/librt.so.1 (0x4ec85000)
    libpthread.so.0 => /lib/libpthread.so.0 (0x4ec31000)
    libstdc++.so.6 => /lib/libstdc++.so.6 (0x418f0000)
    libm.so.6 => /lib/libm.so.6 (0x4ebe5000)
    libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x418d1000)
    libc.so.6 => /lib/libc.so.6 (0x4ea24000)
    libz.so.1 => /lib/libz.so.1 (0x4ec4d000)
    /lib/ld-linux.so.2 (0x4ea01000)
$ ./julia 
Segmentation fault (core dumped)

In addition, make cleanall && make produces the same thing.

Is there something else that needs to be "cleaned" before rebuilding, or is there something wrong with the build process?

In case it makes a difference:

$ uname -a
Linux steelers.net 3.14.17-100.fc19.i686.PAE #1 SMP Thu Aug 14 17:37:00 UTC 2014 i686 i686 i386 GNU/Linux
$ gcc --version
gcc (GCC) 4.8.3 20140624 (Red Hat 4.8.3-1)
Copyright (C) 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

@rickhg12hs
Copy link
Contributor Author

[Insert red-faced emoticon]

After I cleared my ccache and rebuilt, things seem to be working normally now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant