You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What did you do?
use os.read_lines to read a large file (about 20G csv)
import os
a := os.read_lines(os.args[1]) or { panic(err) }
What did you expect to see?
file being read
What did you see instead?
V panic: int(20983250944) cast results in -491585536
v hash: 385acb4
/tmp/v_1000/sv.11979449102949368545.tmp.c:7535: at _v_panic: Backtrace
/tmp/v_1000/sv.11979449102949368545.tmp.c:17156: by main__main
/tmp/v_1000/sv.11979449102949368545.tmp.c:17557: by main
The text was updated successfully, but these errors were encountered:
OS: linux, "Arch Linux"
Processor: 128 cpus, 64bit, little endian, AMD Ryzen Threadripper 3990X 64-Core Processor
CC version: cc (GCC) 12.2.0
getwd: /home/leo/Downloads
vmodules: /home/leo/.vmodules
vroot: /home/leo/v
vexe: /home/leo/v/v
vexe mtime: 2022-09-28 06:56:48
is vroot writable: true
is vmodules writable: true
V full version: V 0.3.1 d6b594c.bdf4c67
Git version: git version 2.37.3
Git vroot status: weekly.2022.39-5-gbdf4c679
.git/config present: true
thirdparty/tcc status: thirdparty-linux-amd64 827f7452
What did you do?
use os.read_lines to read a large file (about 20G csv)
What did you expect to see?
file being read
What did you see instead?
V panic: int(20983250944) cast results in -491585536
v hash: 385acb4
/tmp/v_1000/sv.11979449102949368545.tmp.c:7535: at _v_panic: Backtrace
/tmp/v_1000/sv.11979449102949368545.tmp.c:17156: by main__main
/tmp/v_1000/sv.11979449102949368545.tmp.c:17557: by main
The text was updated successfully, but these errors were encountered: