Comments (9)
I just pushed a new version af2f9de where I refactored the concurrency mechanism. This will change some things for all people which use webanalyze as a library (because they have to do the concurrency on their own now). For all others, there should be no change except the better formatting when printing to stdout.
Please let me know if there are any problems with this version. I think I will tag this as a new release in the next days.
from webanalyze.
I'm able to reproduce this, will let you know when I've fixed this.
$ ./webanalyze -hosts <(echo "doestnotexist.io") -output csv
2020/02/07 09:47:38 Scanning with 4 workers.
panic: sync: negative WaitGroup counter
goroutine 13 [running]:
sync.(*WaitGroup).Add(0xc00001c380, 0xffffffffffffffff)
/usr/local/go/src/sync/waitgroup.go:74 +0x139
sync.(*WaitGroup).Done(...)
/usr/local/go/src/sync/waitgroup.go:99
github.com/rverton/webanalyze.process(0xc000794660, 0x0, 0x0, 0x0, 0x0, 0x0)
/Users/robin/go/src/github.com/rverton/webanalyze/webanalyze.go:251 +0x1a23
github.com/rverton/webanalyze.worker(0xc000086120, 0xc0000860c0, 0xc00001c370)
/Users/robin/go/src/github.com/rverton/webanalyze/webanalyze.go:137 +0x73
created by github.com/rverton/webanalyze.initWorker
/Users/robin/go/src/github.com/rverton/webanalyze/webanalyze.go:122 +0x77
from webanalyze.
I plan to make a bigger refactor here and pulling all goroutine stuff out of the lib so the callee has to do it. This will take some time.
As a quick fix, you should be fine putting a valid URL at the beginning of your file.
from webanalyze.
Hi @rverton what is the issue here??
from webanalyze.
Hi, I will try to reproduce this and then come back to you.
from webanalyze.
@rverton Thanks (:
from webanalyze.
Knock Knock.
from webanalyze.
I have this too.
panic: sync: negative WaitGroup counter
goroutine 7 [running]:
sync.(*WaitGroup).Add(0xc0000942f0, 0xffffffffffffffff)
/usr/lib/go-1.11/src/sync/waitgroup.go:74 +0x139
sync.(*WaitGroup).Done(...)
/usr/lib/go-1.11/src/sync/waitgroup.go:99
github.com/rverton/webanalyze.process(0xc000baa480, 0x0, 0x0, 0x0, 0x0, 0x0)
/root/go/src/github.com/rverton/webanalyze/webanalyze.go:251 +0x1a23
github.com/rverton/webanalyze.worker(0xc00006c180, 0xc00006c120, 0xc0000942e0)
/root/go/src/github.com/rverton/webanalyze/webanalyze.go:137 +0x73
created by github.com/rverton/webanalyze.initWorker
/root/go/src/github.com/rverton/webanalyze/webanalyze.go:122 +0x77
from webanalyze.
Wow 🔥️, Thanks @rverton
from webanalyze.
Related Issues (20)
- Feature: Add option to specify timeout
- De-duplication of results
- didnt match AngularJS HOT 2
- -silent option doesn't filter the -update output status HOT 2
- Add custom http request headers HOT 1
- Update does not work due to source format change HOT 4
- Compare schema, find out differences and implement them
- build yourself doesn't work anymore HOT 3
- -update option downloads technologies.json file from the wrong location HOT 2
- Not all rules are processed due to inconsistent field type HOT 2
- Anyway to store the results in json or csv format? HOT 9
- 'Unexpected EOF' Error When Compiling HOT 1
- "go get" command is depreciated in new GO versions , Write "Go install" in installing notes HOT 1
- error: can not open apps file technologies.json: open technologies.json: no such file or directory HOT 5
- Latest version showing wrong version
- Docker build error missing shared library libresolv.so.2 when running update in last stage in Dockerfile HOT 1
- Error on running on macOS HOT 1
- -apps param with absolute path not working
- Update failure due to wappalyzer deletion HOT 5
- Piping of exact output to external tools / scripts HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from webanalyze.