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

Crash on Mouse cursors demo #29

Closed
YongHeeK opened this issue Jul 28, 2020 · 1 comment
Closed

Crash on Mouse cursors demo #29

YongHeeK opened this issue Jul 28, 2020 · 1 comment

Comments

@YongHeeK
Copy link

YongHeeK commented Jul 28, 2020

I've ran into this issue while trying demo.jl
all things works super smoothly πŸ˜„ thank you for such extensive examples.

Reproduce Step

  1. run examples/demo.jl
  2. click Inputs, Navigatoions & Focus -> Mouse cursors
    CImGui

Stacktrace

β”Œ Error: Error in renderloop!
β”‚   exception = AssertionError: length(mouse_cursors_names) == CImGui.ImGuiMouseCursor_COUNT
β”” @ Main c:\Users\devsisters\.julia\packages\CImGui\Hqms9\examples\demo.jl:105

Stacktrace:
 [1] ShowDemoWindowMisc() at c:\Users\devsisters\.julia\packages\CImGui\Hqms9\examples\demo_misc.jl:206
 [2] ShowDemoWindow(::Base.RefValue{Bool}) at c:\Users\devsisters\.julia\packages\CImGui\Hqms9\examples\demo_window.jl:239
 [3] top-level scope at c:\Users\devsisters\.julia\packages\CImGui\Hqms9\examples\demo.jl:83
 [4] include_string(::Module, ::String, ::String) at .\loading.jl:1080
 [5] #invokelatest#1 at .\essentials.jl:712 [inlined]
 [6] invokelatest at .\essentials.jl:711 [inlined]
 [7] inlineeval(::Module, ::String, ::Int64, ::Int64, ::String) at c:\Users\devsisters\.vscode\extensions\julialang.language-julia-0.17.1\scripts\packages\VSCodeServer\src\eval.jl:78
 [8] (::VSCodeServer.var"#43#45"{String,Int64,Int64,String,Module,Bool})() at c:\Users\devsisters\.vscode\extensions\julialang.language-julia-0.17.1\scripts\packages\VSCodeServer\src\eval.jl:45
 [9] withpath(::VSCodeServer.var"#43#45"{String,Int64,Int64,String,Module,Bool}, ::String) at c:\Users\devsisters\.vscode\extensions\julialang.language-julia-0.17.1\scripts\packages\VSCodeServer\src\repl.jl:113
 [10] (::VSCodeServer.var"#42#44"{String,Int64,Int64,String,Module,Bool,Bool})() at c:\Users\devsisters\.vscode\extensions\julialang.language-julia-0.17.1\scripts\packages\VSCodeServer\src\eval.jl:43
 [11] hideprompt(::VSCodeServer.var"#42#44"{String,Int64,Int64,String,Module,Bool,Bool}) at c:\Users\devsisters\.vscode\extensions\julialang.language-julia-0.17.1\scripts\packages\VSCodeServer\src\repl.jl:34
 [12] repl_runcode_request(::VSCodeServer.JSONRPC.JSONRPCEndpoint, ::VSCodeServer.ReplRunCodeRequestParams) at c:\Users\devsisters\.vscode\extensions\julialang.language-julia-0.17.1\scripts\packages\VSCodeServer\src\eval.jl:23     
 [13] dispatch_msg(::VSCodeServer.JSONRPC.JSONRPCEndpoint, ::VSCodeServer.JSONRPC.MsgDispatcher, ::Dict{String,Any}) at c:\Users\devsisters\.vscode\extensions\julialang.language-julia-0.17.1\scripts\packages\JSONRPC\src\typed.jl:66
 [14] macro expansion at c:\Users\devsisters\.vscode\extensions\julialang.language-julia-0.17.1\scripts\packages\VSCodeServer\src\VSCodeServer.jl:95 [inlined]
 [15] (::VSCodeServer.var"#60#62"{Bool,String})() at .\task.jl:358

Versioninfo

Julia Version 1.4.1
Commit 381693d3df* (2020-04-14 17:20 UTC)
Platform Info:
  OS: Windows (x86_64-w64-mingw32)
  CPU: Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-8.0.1 (ORCJIT, skylake)
Environment:
  JULIA_EDITOR = "C:\Users\devsisters\AppData\Local\Programs\Microsoft VS Code\Code.exe"
  JULIA_NUM_THREADS =
@Gnimuc
Copy link
Owner

Gnimuc commented Jul 28, 2020

Nice catch! Fixed by adc603b.

@Gnimuc Gnimuc closed this as completed Aug 23, 2020
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