Skip to content

sys.so (sysimg) file corruption #8200

Closed

Description

from the mailing list, but i'm also seeing this on 32-bit linux too

When I updated Julia today on my Mac (10.9.2), I got the following error:

/bin/sh: line 1: 23089 Segmentation fault: 11
/Users/danluu/dev/julia/usr/bin/julia --build
/Users/danluu/dev/julia/usr/lib/julia/sys
-J/Users/danluu/dev/julia/usr/lib/julia/$([ -e
/Users/danluu/dev/julia/usr/lib/julia/sys.ji ] && echo sys.ji || echo
sys0.ji) -f sysimg.jl
* This error is usually fixed by running 'make clean'. If the error
persists, try 'make cleanall'. *
make[1]: * [/Users/danluu/dev/julia/usr/lib/julia/sys.o] Error 1
make: * [release] Error 2

I've tried doing make cleanall, and even wiping out my repository and
re-cloning in case it's a problem with deps, and I still get the same
error.

On Linux (64-bit, 3.2.0-65-generic), the build doesn't error out, but
Julia segfaults on startup. The gdb backtrace for that is:
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff6e2328c in jl_deserialize_gv (v=0x7bb138, s=0x7fffffffdcc0)
at dump.c:145
145             *sysimg_gvars[gvname_index] = v;
(gdb) bt
#0  0x00007ffff6e2328c in jl_deserialize_gv (v=0x7bb138,
s=0x7fffffffdcc0) at dump.c:145
#1  jl_deserialize_value_internal (s=0x7fffffffdcc0) at dump.c:854
#2  0x00007ffff6e233e5 in jl_deserialize_value (s=0x7fffffffdcc0) at dump.c:950
#3  jl_deserialize_value_internal (s=0x7fffffffdcc0) at dump.c:937
#4  0x00007ffff6e2350d in jl_deserialize_value (s=0x7fffffffdcc0) at dump.c:950
#5  jl_deserialize_datatype (pos=403560, s=0x7fffffffdcc0) at dump.c:646
#6  jl_deserialize_value_internal (s=0x7fffffffdcc0) at dump.c:886
#7  0x00007ffff6e22818 in jl_deserialize_value (s=0x7fffffffdcc0) at dump.c:950
#8  jl_deserialize_value_internal (s=0x7fffffffdcc0) at dump.c:715
...
#134 jl_deserialize_value_internal (s=0x7fffffffdcc0) at dump.c:715
#135 0x00007ffff6e233e5 in jl_deserialize_value (s=0x7fffffffdcc0) at dump.c:950
#136 jl_deserialize_value_internal (s=0x7fffffffdcc0) at dump.c:937
#137 0x00007ffff6e233e5 in jl_deserialize_value (s=0x7fffffffdcc0) at dump.c:950
#138 jl_deserialize_value_internal (s=0x7fffffffdcc0) at dump.c:937
#139 0x00007ffff6e23881 in jl_deserialize_value (s=0x7fffffffdcc0) at dump.c:950
#140 jl_restore_system_image (fname=<optimized out>) at dump.c:1060
#141 0x00007ffff6e1f33b in julia_init (
    imageFile=0x608e60
"/home/dluu/dev/julia/usr/bin/../lib/julia/sys.ji") at init.c:826
#142 0x000000000040140a in main (argc=0, argv=0x7fffffffe1c0) at repl.c:378
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    bugIndicates an unexpected problem or unintended behavior

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions