JuliaDebug / Gallium.jl

The Julia debugger
Other
174 stars 23 forks source link

conditional breakpoint caused seg fault 11 #196

Open Dlng opened 7 years ago

Dlng commented 7 years ago

Gallium

Pkg.installed("Gallium") v"0.0.4"

Version info

versioninfo() Julia Version 0.5.2 Commit f4c6c9d4bb (2017-05-06 16:34 UTC) Platform Info: OS: macOS (x86_64-apple-darwin13.4.0) CPU: Intel(R) Core(TM) i5-4278U CPU @ 2.60GHz WORD_SIZE: 64 BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NOAFFINITY Haswell) LAPACK: libopenblas64 LIBM: libopenlibm LLVM: libLLVM-3.7.1 (ORCJIT, haswell)

The log is

signal (11): Segmentation fault: 11 while loading ~/CR_code/src/main.jl, in expression starting on line 75 gc_setmark_pool at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/gc.c:503 [inlined] gc_setmark at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/gc.c:531 [inlined] push_root at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/gc.c:1466 gc_push_root at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/gc.c:1183 [inlined] push_root at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/gc.c:1484 gc_push_root at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/gc.c:1183 [inlined] push_root at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/gc.c:1434 gc_push_root at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/gc.c:1183 [inlined] push_root at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/gc.c:1484 gc_push_root at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/gc.c:1183 [inlined] push_root at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/gc.c:1484 gc_push_root at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/gc.c:1183 [inlined] push_root at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/gc.c:1434 gc_push_root at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/gc.c:1183 [inlined] push_root at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/gc.c:1434 gc_push_root at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/gc.c:1183 [inlined] push_root at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/gc.c:1484 gc_push_root at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/gc.c:1183 [inlined] push_root at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/gc.c:1484 gc_push_root at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/gc.c:1183 [inlined] push_root at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/gc.c:1484 gc_push_root at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/gc.c:1183 [inlined] push_root at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/gc.c:1484 gc_push_root at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/gc.c:1183 [inlined] push_root at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/gc.c:1484 gc_push_root at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/gc.c:1183 [inlined] gc_mark_module at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/gc.c:1212 push_root at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/gc.c:1447 _jl_gc_collect at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/gc.c:1706 [inlined] jl_gc_collect at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/gc.c:1883 jl_gc_pool_alloc at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/gc.c:828

55 at ./:0

unknown function (ip: 0x32228817d) evaluate at ~/CR_code/src/./train.jl:72 unknown function (ip: 0x32228776d) jl_call_method_internal at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/./julia_internal.h:211 [inlined] jl_apply_generic at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/gf.c:1950 jl_apply at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/./julia.h:1388 [inlined] jl_f__apply at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/builtins.c:547 _step_expr at xxxx/.julia/v0.5/ASTInterpreter/src/ASTInterpreter.jl:629 step_expr at xxxx/.julia/v0.5/ASTInterpreter/src/ASTInterpreter.jl:666 [inlined]

finish!#81 at xxxx/.julia/v0.5/ASTInterpreter/src/ASTInterpreter.jl:1720

finish! at xxxx/.julia/v0.5/ASTInterpreter/src/ASTInterpreter.jl:1705 unknown function (ip: 0x32226f2b2) jl_call_method_internal at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/./julia_internal.h:211 [inlined] jl_apply_generic at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/gf.c:1950

47 at ./:0

unknown function (ip: 0x32227e7fb) jl_call_method_internal at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/./julia_internal.h:211 [inlined] jl_apply_generic at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/gf.c:1950

p_norm_optimizer at ./:0

train#360 at ~/CR_code/src/./train.jl:52

unknown function (ip: 0x32227bd03) jl_call_method_internal at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/./julia_internal.h:211 [inlined] jl_apply_generic at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/gf.c:1950

train at ./:0

unknown function (ip: 0x32227b8fa) jl_call_method_internal at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/./julia_internal.h:211 [inlined] jl_apply_generic at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/gf.c:1950 main at ~/CR_code/src/main.jl:66 unknown function (ip: 0x32227af9f) jl_call_method_internal at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/./julia_internal.h:211 [inlined] jl_apply_generic at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/gf.c:1950 do_call at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/interpreter.c:66 eval at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/interpreter.c:190 jl_toplevel_eval_flex at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/toplevel.c:558 jl_parse_eval_all at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/ast.c:717 include_string at ./loading.jl:441 jlcall_include_string_33641 at /Applications/Julia-0.5.app/Contents/Resources/julia/lib/julia/sys.dylib (unknown line) jl_call_method_internal at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/./julia_internal.h:211 [inlined] jl_apply_generic at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/gf.c:1950 do_call at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/interpreter.c:66 eval at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/interpreter.c:190 jl_toplevel_eval_flex at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/toplevel.c:558 jl_toplevel_eval_in_warn at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/builtins.c:590 include_string at xxxx/.julia/v0.5/Compat/src/Compat.jl:464 unknown function (ip: 0x31d820b4d) jl_call_method_internal at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/./julia_internal.h:211 [inlined] jl_apply_generic at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/gf.c:1950

59 at xxxx/.julia/v0.5/Atom/src/eval.jl:73

withpath at xxxx/.julia/v0.5/CodeTools/src/utils.jl:30 unknown function (ip: 0x31d820066) jl_call_method_internal at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/./julia_internal.h:211 [inlined] jl_apply_generic at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/gf.c:1950 withpath at xxxx/.julia/v0.5/Atom/src/eval.jl:38 unknown function (ip: 0x31d81fcc6) jl_call_method_internal at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/./julia_internal.h:211 [inlined] jl_apply_generic at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/gf.c:1950 macro expansion at xxxx/.julia/v0.5/Atom/src/eval.jl:71 [inlined]

58 at ./task.jl:60

unknown function (ip: 0x31d81e66f) jl_call_method_internal at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/./julia_internal.h:211 [inlined] jl_apply_generic at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/gf.c:1950 jl_apply at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/./julia.h:1388 [inlined] start_task at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/task.c:254 Allocations: 236328766 (Pool: 236303936; Big: 24830); GC: 274