Skip to content
This repository has been archived by the owner on Oct 15, 2024. It is now read-only.

Error occurs running readme-example #5

Open
YuliyaCl opened this issue Aug 23, 2023 · 1 comment
Open

Error occurs running readme-example #5

YuliyaCl opened this issue Aug 23, 2023 · 1 comment

Comments

@YuliyaCl
Copy link

Hi
I'm trying to run readme code example, but have an error:

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 0x6bd72b60 -- ZN11ImFontAtlas18GetTexDataAsRGBA32EPPhPiS2_S2 at C:\Users\yzh.julia\artifacts\27ef50bab46adeedd512c09d3e6ee063ba1da615\bin\libcimgui.dll (unknown line)
in expression starting at C:\Users\yzh.julia\dev\tmpGui\glfw_test.jl:31
ZN11ImFontAtlas18GetTexDataAsRGBA32EPPhPiS2_S2 at C:\Users\yzh.julia\artifacts\27ef50bab46adeedd512c09d3e6ee063ba1da615\bin\libcimgui.dll (unknown line)
ImFontAtlas_GetTexDataAsRGBA32 at C:\Users\yzh.julia\packages\LibCImGui\DfBwq\lib\x86_64-w64-mingw32.jl:5655 [inlined]
ImGui_ImplOpenGL3_CreateFontsTexture at C:\Users\yzh.julia\packages\ImGuiOpenGLBackend\GiVpF\src\font.jl:6
ImGui_ImplOpenGL3_CreateDeviceObjects at C:\Users\yzh.julia\packages\ImGuiOpenGLBackend\GiVpF\src\device.jl:114
new_frame at C:\Users\yzh.julia\packages\ImGuiOpenGLBackend\GiVpF\src\interface.jl:42
top-level scope at C:\Users\yzh.julia\dev\tmpGui\glfw_test.jl:35
jl_toplevel_eval_flex at C:/workdir/src\toplevel.c:903
jl_toplevel_eval_flex at C:/workdir/src\toplevel.c:856
ijl_toplevel_eval at C:/workdir/src\toplevel.c:921 [inlined]
ijl_toplevel_eval_in at C:/workdir/src\toplevel.c:971
eval at .\boot.jl:370 [inlined]
include_string at .\loading.jl:1903
_include at .\loading.jl:1963
include at .\Base.jl:457
jfptr_include_47593.clone_1 at C:\Users\yzh.julia\juliaup\julia-1.9.2+0.x64.w64.mingw32\lib\julia\sys.dll (unknown line)
exec_options at .\client.jl:307
_start at .\client.jl:522
jfptr__start_47602.clone_1 at C:\Users\yzh.julia\juliaup\julia-1.9.2+0.x64.w64.mingw32\lib\julia\sys.dll (unknown line)
jl_apply at C:/workdir/src\julia.h:1879 [inlined]
true_main at C:/workdir/src\jlapi.c:573
jl_repl_entrypoint at C:/workdir/src\jlapi.c:717
mainCRTStartup at C:/workdir/cli\loader_exe.c:59
BaseThreadInitThunk at C:\windows\System32\KERNEL32.DLL (unknown line)
RtlUserThreadStart at C:\windows\SYSTEM32\ntdll.dll (unknown line)
Allocations: 6343494 (Pool: 6337012; Big: 6482); GC: 11


Windows 10 Pro ver 10.0.17763, x64
Julia 1.9.2

I've delete artifacts, packages and compiled folders from .julia trying to fix it. But it doesn't help.

Examples from https://github.com/ocornut/imgui/tree/master/examples work.

I need some help to solve it, because I have no ideas what may be wrong.
Thanks.

@Gnimuc
Copy link
Member

Gnimuc commented Aug 31, 2023

This should be fixed now.

cc @sairus7

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants