Skip to content

Instantly share code, notes, and snippets.

@hayatoikoma
Created February 13, 2018 06:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hayatoikoma/921e51cf5e5954b10c94fadad37eaa0a to your computer and use it in GitHub Desktop.
Save hayatoikoma/921e51cf5e5954b10c94fadad37eaa0a to your computer and use it in GitHub Desktop.
Segmentation fault on Julia
GNU gdb (Ubuntu 7.7.1-0ubuntu5~14.04.3) 7.7.1
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from julia-debug...done.
(gdb) r
Starting program: /home/hayato/Development/julia-debug/julia-debug segfault.jl
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7ffff3ecd700 (LWP 32738)]
[New Thread 0x7fffe8b46700 (LWP 32739)]
[New Thread 0x7fffe8345700 (LWP 32740)]
[New Thread 0x7fffe5b44700 (LWP 32741)]
[New Thread 0x7fffe3343700 (LWP 32742)]
[New Thread 0x7fffe0b42700 (LWP 32743)]
[New Thread 0x7fffde341700 (LWP 32744)]
[New Thread 0x7fffdbb40700 (LWP 32745)]
[Thread 0x7fffdbb40700 (LWP 32745) exited]
[Thread 0x7fffde341700 (LWP 32744) exited]
[Thread 0x7fffe8b46700 (LWP 32739) exited]
[Thread 0x7fffe3343700 (LWP 32742) exited]
[Thread 0x7fffe0b42700 (LWP 32743) exited]
[Thread 0x7fffe5b44700 (LWP 32741) exited]
[Thread 0x7fffe8345700 (LWP 32740) exited]
[New Thread 0x7fffdbb40700 (LWP 317)]
[New Thread 0x7fffde341700 (LWP 318)]
[New Thread 0x7fffe0b42700 (LWP 319)]
[New Thread 0x7fffe3343700 (LWP 320)]
[New Thread 0x7fff4e1ef700 (LWP 334)]
ArrayFire v3.5.1 (CUDA, 64-bit Linux, build 0a675e8)
Platform: CUDA Toolkit 8, Driver: 361.93.02
[0] GeForce GT 720, 978 MB, CUDA Compute 3.5
WARNING: Method definition vecnorm(ArrayFire.AFArray{T, N} where N) in module ArrayFire at /home/hayato/.julia/v0.6/ArrayFire/src/util.jl:329 overwritten in module FM at /home/hayato/.julia/v0.6/FM/src/utils/utils.jl:172.
WARNING: using ArrayFire.add in module WaveOptics conflicts with an existing identifier.
/home/hayato/.pyenv/versions/anaconda2-4.1.1/lib/python2.7/site-packages/cmocean/tools.py:76: MatplotlibDeprecationWarning: The is_string_like function was deprecated in version 2.1.
if not mpl.cbook.is_string_like(rgbin[0]):
Program received signal SIGSEGV, Segmentation fault.
0x00007fff4908f651 in julia_deserialize_msg_63801 () at distributed/messages.jl:100
100 distributed/messages.jl: No such file or directory.
(gdb) bt
#0 0x00007fff4908f651 in julia_deserialize_msg_63801 () at distributed/messages.jl:100
#1 0x00007fff4908fe83 in jlcall_deserialize_msg_63800 ()
#2 0x00007ffff77062c8 in jl_call_fptr_internal (fptr=<synthetic pointer>, fptr=<synthetic pointer>,
nargs=2, args=0x7fffffffd8e0, meth=<optimized out>)
at /home/hayato/Development/julia-debug/src/julia_internal.h:339
#3 jl_call_method_internal (nargs=2, args=0x7fffffffd8e0, meth=<optimized out>)
at /home/hayato/Development/julia-debug/src/julia_internal.h:358
#4 jl_apply_generic (args=args@entry=0x7fffffffd8e0, nargs=2)
at /home/hayato/Development/julia-debug/src/gf.c:1926
#5 0x00007ffff7712ed9 in jl_apply (nargs=<optimized out>, args=0x7fffffffd8e0)
at /home/hayato/Development/julia-debug/src/julia.h:1424
#6 jl_f__apply (F=F@entry=0x0, args=args@entry=0x7fffffffdd90, nargs=nargs@entry=2)
at /home/hayato/Development/julia-debug/src/builtins.c:426
#7 0x00007ffff7713352 in jl_f__apply_latest (F=<optimized out>, args=0x7fffffffdd90, nargs=2)
at /home/hayato/Development/julia-debug/src/builtins.c:464
#8 0x00007fffd353e52b in julia_message_handler_loop_63063 () at distributed/process_messages.jl:161
#9 0x00007fffd353efcb in julia_process_tcp_streams_63061 () at distributed/process_messages.jl:118
#10 0x00007fffd3535513 in julia_#99_63060 () at event.jl:73
#11 0x00007fffd3535530 in jlcall_#99_63059 ()
#12 0x00007ffff77062c8 in jl_call_fptr_internal (fptr=<synthetic pointer>, fptr=<synthetic pointer>,
nargs=1, args=0x7fffd1277a10, meth=<optimized out>)
at /home/hayato/Development/julia-debug/src/julia_internal.h:339
#13 jl_call_method_internal (nargs=1, args=0x7fffd1277a10, meth=<optimized out>)
at /home/hayato/Development/julia-debug/src/julia_internal.h:358
#14 jl_apply_generic (args=args@entry=0x7fffd1277a10, nargs=nargs@entry=1)
at /home/hayato/Development/julia-debug/src/gf.c:1926
#15 0x00007ffff77204ba in jl_apply (nargs=1, args=0x7fffd1277a10)
at /home/hayato/Development/julia-debug/src/julia.h:1424
#16 start_task () at /home/hayato/Development/julia-debug/src/task.c:267
#17 0x0000000000000000 in ?? ()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment