-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Hot reloading invalid memory access on Windows #23214
Comments
I think it maybe a TCC compiler bug, because I use v -live -cc msvc run examples\hot_reload\message.v
OK reloads: 0 | Total reloads: 0 | Hello! Modify this message while the program is running.
OK reloads: 0 | Total reloads: 0 | Hello! Modify this message while the program is running.
OK reloads: 0 | Total reloads: 0 | Hello! Modify this message while the program is running.
OK reloads: 0 | Total reloads: 0 | Hello! Modify this message while the program is running.
OK reloads: 0 | Total reloads: 0 | Hello! Modify this message while the program is running.
OK reloads: 0 | Total reloads: 0 | Hello! Modify this message while the program is running.
OK reloads: 0 | Total reloads: 0 | Hello! Modify this message while the program is running.
OK reloads: 0 | Total reloads: 0 | Hello! Modify this message while the program is running.
OK reloads: 0 | Total reloads: 0 | Hello! Modify this message while the program is running.
OK reloads: 0 | Total reloads: 0 | Hello! Modify this message while the program is running.
OK reloads: 0 | Total reloads: 0 | Hello! Modify this message while the program is running.
OK reloads: 0 | Total reloads: 0 | Hello! Modify this message while the program is running. |
Apparently I'm a little blind, thanks @JalonSolov for pointing out that there are open issues on this. 😅 Succeeds:
|
investigationI had found Grepping for I saw Noting that those commit messages were by the author of
Line 33 in 74f0ce6
|
Awesome investigation work! |
I was wrong. I finally finished reading all of the V documentation today, and it's very plain that the program should continue running. (The So I guess it's just broken. @kbkpbot is probably right
So I will try msvc. If it's indeed tcc I can retitle this issue. |
Describe the bug
Hot reloading example seems to fail with
RUNTIME ERROR: invalid memory access
Reproduction Steps
v -live run examples/hot_reload/message.v
on a fresh V installation; Windows 11
Current Behavior
Additional Information/Context
I was able to run other examples without hot reloading fine, like
examples/gg/polygons.v
.V version
V 0.4.8 30ececc
Environment details (OS name and version, etc.)
V full version: V 0.4.8 30ececc
OS: windows, Microsoft Windows 11 Pro v26100 64-bit
Processor: 24 cpus, 64bit, little endian,
getwd: C:\Dropbox\vlang\examples\hot_reload
vexe: C:\Dropbox\vlang\v.exe
vexe mtime: 2024-12-19 21:25:10
vroot: OK, value: C:\Dropbox\vlang
VMODULES: OK, value: C:\Users\Chris.vmodules
VTMP: OK, value: C:\Users\Chris\AppData\Local\Temp\v_0
Git version: git version 2.45.1.windows.1
Git vroot status: weekly.2024.51-23-g30ececc2
.git/config present: true
CC version: Error: 'cc' is not recognized as an internal or external command,
operable program or batch file.
emcc version: Error: 'emcc' is not recognized as an internal or external command,
operable program or batch file.
thirdparty/tcc status: thirdparty-windows-amd64 b425ac82
Note
You can use the 👍 reaction to increase the issue's priority for developers.
Please note that only the 👍 reaction to the issue itself counts as a vote.
Other reactions and those to comments will not be taken into account.
The text was updated successfully, but these errors were encountered: