This is a Go package for multiplexing a 9P service. It's a port of 9pserve.
go get github.com/fhs/mux9p
Go package for multiplexing a 9P service
License: MIT License
This is a Go package for multiplexing a 9P service. It's a port of 9pserve.
go get github.com/fhs/mux9p
fatal error: concurrent map writes
https://github.com/fhs/mux9p
goroutine 148 [running]:
runtime.throw(0x43855ed, 0x15)
/Users/kyle.nusbaum/sdk/go1.14.11/src/runtime/panic.go:1116 +0x72 fp=0xc000387d78 sp=0xc000387d48 pc=0x4034892
runtime.mapassign(0x431c160, 0xc000390030, 0xc000296598, 0x464b260)
/Users/kyle.nusbaum/sdk/go1.14.11/src/runtime/map.go:585 +0x59d fp=0xc000387df8 sp=0xc000387d78 pc=0x4010c5d
github.com/fhs/mux9p.(*Config).conninthread(0xc000076000, 0xc0003a4000)
/Users/kyle.nusbaum/go/pkg/mod/github.com/fhs/[email protected]/mux9p.go:240 +0x20f fp=0xc000387fd0 sp=0xc000387df8 pc=0x418597f
runtime.goexit()
/Users/kyle.nusbaum/sdk/go1.14.11/src/runtime/asm_amd64.s:1373 +0x1 fp=0xc000387fd8 sp=0xc000387fd0 pc=0x4063b81
created by github.com/fhs/mux9p.(*Config).listenthread
/Users/kyle.nusbaum/go/pkg/mod/github.com/fhs/[email protected]/mux9p.go:203 +0x4a
Full stack trace: crash-20190321-mux9p.txt
fatal error: concurrent map read and map write
goroutine 138 [running]:
runtime.throw(0x6c7984, 0x21)
/home/big/go/src/runtime/panic.go:617 +0x72 fp=0xc0001c6650 sp=0xc0001c6620 pc=0x42cfb2
runtime.mapaccess2(0x669260, 0xc0004b8600, 0xc0001c66ce, 0xc0001c66e8, 0x46ac67)
/home/big/go/src/runtime/map.go:472 +0x272 fp=0xc0001c6698 sp=0xc0001c6650 pc=0x40ee52
github.com/fhs/mux9p.(*Config).deleteTag(0xc00009cab0, 0xc0004b8600, 0x2, 0xc0002322c0, 0xb)
/home/fhs/go/src/github.com/fhs/mux9p/mux9p.go:767 +0x55 fp=0xc0001c6718 sp=0xc0001c6698 pc=0x5e05a5
github.com/fhs/mux9p.(*Config).connoutthread(0xc00009cab0, 0xc00039e230)
/home/fhs/go/src/github.com/fhs/mux9p/mux9p.go:481 +0x13a fp=0xc0001c67d0 sp=0xc0001c6718 pc=0x5de82a
runtime.goexit()
/home/big/go/src/runtime/asm_amd64.s:1337 +0x1 fp=0xc0001c67d8 sp=0xc0001c67d0 pc=0x459591
created by github.com/fhs/mux9p.(*Config).listenthread
/home/fhs/go/src/github.com/fhs/mux9p/mux9p.go:204 +0x79
Would it make sense for 9serve to also serve an http.FileSystem on another port for looking around?
Or are there other methods for debugging that you use?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.