Code Monkey home page Code Monkey logo

eephttpd's Issues

stack overflow when running eephttpd

hey, I'm trying to use eephttpd with go1.19 and ubuntu 22.04 and it gives a stack overflow error due to recursion.

how I built it:

go get github.com/eyedeekay/eephttpd/eephttpd
cd eephttpd
go build

then (in eephttpd dir):

./eephttpd -d ~/website/ -f ../etc/eephttpd/eephttpd.conf 
2022/08/26 22:14:25 Found Labels: []
runtime: goroutine stack exceeds 1000000000-byte limit
runtime: sp=0xc020286360 stack=[0xc020286000, 0xc040286000]
fatal error: stack overflow

runtime stack:
runtime.throw({0xbd6ba6?, 0x1141500?})
	/usr/local/go/src/runtime/panic.go:992 +0x71
runtime.newstack()
	/usr/local/go/src/runtime/stack.go:1101 +0x5cc
runtime.morestack()
	/usr/local/go/src/runtime/asm_amd64.s:547 +0x8b

goroutine 1 [running]:
github.com/eyedeekay/sam-forwarder/config.(*Conf).Get(0xc00022a300?, {0xbba1e1?, 0x3?}, {0x0?, 0x0?, 0x0?})
	/root/go/pkg/mod/github.com/eyedeekay/[email protected]/config/tunconf.go:141 +0x12c fp=0xc020286370 sp=0xc020286368 pc=0x70e94c
github.com/eyedeekay/sam-forwarder/config.(*Conf).Get(0x0?, {0xbba1e1?, 0x0?}, {0x0?, 0x0?, 0x0?})
	/root/go/pkg/mod/github.com/eyedeekay/[email protected]/config/tunconf.go:149 +0xff fp=0xc0202863b0 sp=0xc020286370 pc=0x70e91f

// etc
...additional frames elided...

not sure exactly why this is happening, first I thought it was because I wasn't passing an ini file (https://github.com/eyedeekay/sam-forwarder/blob/master/config/tunconf.go#L149) but that didn't make a difference. any help is much appreciated :)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.