go2v
go2v copied to clipboard
Crash struct declaration
go2v "D:\[Downloads]\go2v-main\asd\ss.go" -o "D:\[Downloads]\go2v-main\asd\ss.v"
src:
package main
import (
"bytes"
"net"
"sync"
"github.com/df-mc/atomic"
)
//delete any line from here and everything will be ok
type Conn struct {
rtt atomic.Int64
closing atomic.Int64
conn net.PacketConn
addr net.Addr
once sync.Once
closed chan struct{}
close func()
mu sync.Mutex
buf *bytes.Buffer
}
output:
Unhandled Exception 0xC0000005
C:/Users/russo/AppData/Local/Temp/v_0/go2v.5994634581376769932.tmp.c:20344: at print_backtrace_skipping_top_frames_tcc: Backtrace
C:/Users/russo/AppData/Local/Temp/v_0/go2v.5994634581376769932.tmp.c:20311: by print_backtrace_skipping_top_frames
C:/Users/russo/AppData/Local/Temp/v_0/go2v.5994634581376769932.tmp.c:20369: by unhandled_exception_handler
7ffa572e81bc : by ???
RUNTIME ERROR: invalid memory access