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

Error while running ui/examples/demo_canvaslayout.v on window. #13485

Open
Avocadocs opened this issue Feb 15, 2022 · 0 comments
Open

Error while running ui/examples/demo_canvaslayout.v on window. #13485

Avocadocs opened this issue Feb 15, 2022 · 0 comments
Labels
Bug This tag is applied to issues which reports bugs. OS: Windows Bugs/feature requests, that are specific to Windows OS.

Comments

@Avocadocs
Copy link

V version: V 0.2.4 5071a54.3ac4155
OS: Window 10

Code used: ui/examples/demo_canvaslayout.v

What did you do?
I compiled the code with "normal" v compiler with v demo_canvaslayout.v

What did you expect to see?
I expect to test the demo.

What did you see instead?
Compile worked whitout error but while running programme (.exe) crashes.
I'm getting this error:

C:/Users/ELVE~1/AppData/Local/Temp/v_0/demo_canvaslayout.14499362594653518543.tmp.c:15126: at print_backtrace_skipping_top_frames_tcc: Backtrace
C:/Users/ELVE~1/AppData/Local/Temp/v_0/demo_canvaslayout.14499362594653518543.tmp.c:15093: by print_backtrace_skipping_top_frames
C:/Users/ELVE~1/AppData/Local/Temp/v_0/demo_canvaslayout.14499362594653518543.tmp.c:15151: by unhandled_exception_handler7ff8e4988a3c : by ???
7ff8e3c04500 : at ???: RUNTIME ERROR: invalid memory access
C:/Users/ELVE~1/AppData/Local/Temp/v_0/demo_canvaslayout.14499362594653518543.tmp.c:35004: by ui__CanvasLayout_draw      
C:/Users/ELVE~1/AppData/Local/Temp/v_0/demo_canvaslayout.14499362594653518543.tmp.c:36176: by ui__Stack_draw
C:/Users/ELVE~1/AppData/Local/Temp/v_0/demo_canvaslayout.14499362594653518543.tmp.c:40976: by ui__frame
C:/Users/ELVE~1/AppData/Local/Temp/v_0/demo_canvaslayout.14499362594653518543.tmp.c:29979: by gg__gg_frame_fn
C:/vlang/v/thirdparty/sokol/sokol_app.h:2589: by _sapp_call_frame
C:/vlang/v/thirdparty/sokol/sokol_app.h:2792: by _sapp_frame
C:/vlang/v/thirdparty/sokol/sokol_app.h:7027: by _sapp_win32_run
C:/vlang/v/thirdparty/sokol/sokol_app.h:10995: by sapp_run
C:/Users/ELVE~1/AppData/Local/Temp/v_0/demo_canvaslayout.14499362594653518543.tmp.c:28763: by sokol__sapp__run
C:/Users/ELVE~1/AppData/Local/Temp/v_0/demo_canvaslayout.14499362594653518543.tmp.c:30215: by gg__Context_run
C:/Users/ELVE~1/AppData/Local/Temp/v_0/demo_canvaslayout.14499362594653518543.tmp.c:36769: by ui__run
C:/Users/ELVE~1/AppData/Local/Temp/v_0/demo_canvaslayout.14499362594653518543.tmp.c:42241: by main__main
C:/Users/ELVE~1/AppData/Local/Temp/v_0/demo_canvaslayout.14499362594653518543.tmp.c:42869: by wmain
005ac3f8 : by ???
005ac55b : by ???
7ff8e2b97034 : by ???```

- I tryed to compile with tcc, working but programme also crashes.
- I tryed with gcc, programme working but longer to compile it.
Thanks for your time :)
@Avocadocs Avocadocs added the Bug This tag is applied to issues which reports bugs. label Feb 15, 2022
@JalonSolov JalonSolov added the OS: Windows Bugs/feature requests, that are specific to Windows OS. label Feb 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug This tag is applied to issues which reports bugs. OS: Windows Bugs/feature requests, that are specific to Windows OS.
Projects
None yet
Development

No branches or pull requests

2 participants