v icon indicating copy to clipboard operation
v copied to clipboard

-live examples doesn't work on windows

Open wreftdev opened this issue 3 years ago • 5 comments

I tried to run the examples from hot_reload folder on windows and got a segmentation fault message.

Unhandled Exception 0xC0000005 C:/Users/Usuario/AppData/Local/Temp/v/message.16639114429911819996.tmp.c:7593: at print_backtrace_skipping_top_frames_tcc: Backtrace C:/Users/Usuario/AppData/Local/Temp/v/message.16639114429911819996.tmp.c:7560: by print_backtrace_skipping_top_frames C:/Users/Usuario/AppData/Local/Temp/v/message.16639114429911819996.tmp.c:7618: by unhandled_exception_handler 7ff912a5db8a : by ??? RUNTIME ERROR: invalid memory access

wreftdev avatar Oct 16 '21 01:10 wreftdev

Try adding [console] on the line above fn main() { in bounce.v

JalonSolov avatar Oct 16 '21 01:10 JalonSolov

same error, for bounce it doesnt close anymore, but give me the same error everytime

wreftdev avatar Oct 16 '21 02:10 wreftdev

I can confirm this.

Wertzui123 avatar Oct 19 '21 15:10 Wertzui123

confirm

andorxornot avatar Nov 23 '21 06:11 andorxornot

PS C:\v\examples\hot_reload> v -live message.v PS C:\v\examples\hot_reload> ./message Unhandled Exception 0xC0000005 C:/Users/Michael.Bi/AppData/Local/Temp/v_0/message.10376688462142266248.tmp.c:8665: at print_backtrace_skipping_top_frames_tcc: Backtrace C:/Users/Michael.Bi/AppData/Local/Temp/v_0/message.10376688462142266248.tmp.c:8632: by print_backtrace_skipping_top_frames C:/Users/Michael.Bi/AppData/Local/Temp/v_0/message.10376688462142266248.tmp.c:8690: by unhandled_exception_handler 7ff9f66590b6 : by ??? RUNTIME ERROR: invalid memory access

same error here on windows. the whole hot_reload examples are all the same.

vajrabisj avatar Jul 22 '22 08:07 vajrabisj