You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
using GR
f(x, y) = x + y
x =range(0.93, 0.94, length=500)
contour(x, x, f) # works well
p =contour(x, x, f; clabels=true) # <- crash
using GR
f(x, y) = x + y
y = x =range(0.93, 0.94, length=500)
z =f(x, y)
contour(x, y, z; clabels=true) # works with error msg# *** ALL COLLINEAR DATA POINTS.# NDP = 500# ERROR DETECTED IN ROUTINE IDTANG.contour(x, y, f; clabels=true) # <-- crash
Please submit a bug report with steps to reproduce this fault, and any error messages that follow (in their entirety). Thanks.
Exception: EXCEPTION_ACCESS_VIOLATION at 0x70a26af -- gradient.constprop.1 at C:\Users\inkyd\.julia\artifacts\09278fa5603af004623baf9d4731c325b0513e44\bin\libGR.dll (unknown line)
in expression starting at REPL[4]:1
gradient.constprop.1 at C:\Users\inkyd\.julia\artifacts\09278fa5603af004623baf9d4731c325b0513e44\bin\libGR.dll (unknown line)
....
full log
julia> p = contour(x, x, f; clabels=true)
Please submit a bug report with steps to reproduce this fault, and any error messages that follow (in their entirety). Thanks.
Exception: EXCEPTION_ACCESS_VIOLATION at 0x70a26af -- gradient.constprop.1 at C:\Users\inkyd\.julia\artifacts\09278fa5603af004623baf9d4731c325b0513e44\bin\libGR.dll (unknown line)
in expression starting at REPL[4]:1
gradient.constprop.1 at C:\Users\inkyd\.julia\artifacts\09278fa5603af004623baf9d4731c325b0513e44\bin\libGR.dll (unknown line)
label_line.constprop.0 at C:\Users\inkyd\.julia\artifacts\09278fa5603af004623baf9d4731c325b0513e44\bin\libGR.dll (unknown line)
gr_draw_contours at C:\Users\inkyd\.julia\artifacts\09278fa5603af004623baf9d4731c325b0513e44\bin\libGR.dll (unknown line)
gr_contour at C:\Users\inkyd\.julia\artifacts\09278fa5603af004623baf9d4731c325b0513e44\bin\libGR.dll (unknown line)
contour at C:\Users\inkyd\.julia\packages\GR\nDZgF\src\GR.jl:2638
unknown function (ip: 000001d8d78a1099)
plot_data at C:\Users\inkyd\.julia\packages\GR\nDZgF\src\jlgr.jl:1466
plot_data at C:\Users\inkyd\.julia\packages\GR\nDZgF\src\jlgr.jl:1242 [inlined]
plot_data at C:\Users\inkyd\.julia\packages\GR\nDZgF\src\jlgr.jl:1242 [inlined]
#contour#49 at C:\Users\inkyd\.julia\packages\GR\nDZgF\src\jlgr.jl:2149
contour at C:\Users\inkyd\.julia\packages\GR\nDZgF\src\jlgr.jl:2144
unknown function (ip: 000001d8d784632b)
jl_apply at C:/workdir/src\julia.h:1982 [inlined]
do_call at C:/workdir/src\interpreter.c:126
eval_value at C:/workdir/src\interpreter.c:223
eval_stmt_value at C:/workdir/src\interpreter.c:174 [inlined]
eval_body at C:/workdir/src\interpreter.c:635
jl_interpret_toplevel_thunk at C:/workdir/src\interpreter.c:775
jl_toplevel_eval_flex at C:/workdir/src\toplevel.c:934
jl_toplevel_eval_flex at C:/workdir/src\toplevel.c:877
ijl_toplevel_eval at C:/workdir/src\toplevel.c:943 [inlined]
ijl_toplevel_eval_in at C:/workdir/src\toplevel.c:985
eval at .\boot.jl:385 [inlined]
eval_user_input at C:\workdir\usr\share\julia\stdlib\v1.10\REPL\src\REPL.jl:150
repl_backend_loop at C:\workdir\usr\share\julia\stdlib\v1.10\REPL\src\REPL.jl:246
#start_repl_backend#46 at C:\workdir\usr\share\julia\stdlib\v1.10\REPL\src\REPL.jl:231
start_repl_backend at C:\workdir\usr\share\julia\stdlib\v1.10\REPL\src\REPL.jl:228
#run_repl#59 at C:\workdir\usr\share\julia\stdlib\v1.10\REPL\src\REPL.jl:389
run_repl at C:\workdir\usr\share\julia\stdlib\v1.10\REPL\src\REPL.jl:375
jfptr_run_repl_95862.1 at C:\Users\inkyd\.julia\juliaup\julia-1.10.5+0.x64.w64.mingw32\lib\julia\sys.dll (unknown line)
#1013 at .\client.jl:432
jfptr_YY.1013_86638.1 at C:\Users\inkyd\.julia\juliaup\julia-1.10.5+0.x64.w64.mingw32\lib\julia\sys.dll (unknown line)
jl_apply at C:/workdir/src\julia.h:1982 [inlined]
jl_f__call_latest at C:/workdir/src\builtins.c:812
#invokelatest#2 at .\essentials.jl:892 [inlined]
invokelatest at .\essentials.jl:889 [inlined]
run_main_repl at .\client.jl:416
exec_options at .\client.jl:333
_start at .\client.jl:552
jfptr__start_86663.1 at C:\Users\inkyd\.julia\juliaup\julia-1.10.5+0.x64.w64.mingw32\lib\julia\sys.dll (unknown line)
jl_apply at C:/workdir/src\julia.h:1982 [inlined]
true_main at C:/workdir/src\jlapi.c:582
jl_repl_entrypoint at C:/workdir/src\jlapi.c:731
mainCRTStartup at C:/workdir/cli\loader_exe.c:58
BaseThreadInitThunk at C:\WINDOWS\System32\KERNEL32.DLL (unknown line)
RtlUserThreadStart at C:\WINDOWS\SYSTEM32\ntdll.dll (unknown line)
Allocations: 8177138 (Pool: 8169080; Big: 8058); GC: 12
Version info
GR v0.73.7
julia 1.10.5
julia> versioninfo()
Julia Version 1.10.5
Commit 6f3fdf7b36 (2024-08-27 14:19 UTC)
Build Info:
Official https://julialang.org/ release
Platform Info:
OS: Windows (x86_64-w64-mingw32)
CPU: 32 × 13th Gen Intel(R) Core(TM) i9-13900HX
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-15.0.7 (ORCJIT, goldmont)
Threads: 1 default, 0 interactive, 1 GC (on 32 virtual cores)
julia v1.11.1, same crash
The text was updated successfully, but these errors were encountered:
The following code crashed julia:
Since the error occurs in libGR, it appears to be an error in the GR backend rather than in julia or Plots.jl.
xref: JuliaLang/julia#55883; JuliaPlots/Plots.jl#5003
full log
Version info
The text was updated successfully, but these errors were encountered: