aquatone icon indicating copy to clipboard operation
aquatone copied to clipboard

Error: signal: trace/breakpoint trap

Open andrei8055 opened this issue 4 years ago • 9 comments

Hei, maybe someone can help. Aquatone doesn't take any screenshots, and i get the following errors:

[agent:url_screenshotter] Error: signal: trace/breakpoint trap
http://x.x.x.x/: screenshot failed: signal: trace/breakpoint trap

I'm using aquatone_linux_arm64_1.7.0.zip on a raspberry pie 3, and chromium browser (sudo apt install -y chromium-browser)

Report output:

Calculating page structures... done
Clustering similar pages... done
Generating HTML report... done

Writing session file...Time:
 - Started at  : 2019-07-13T10:33:19+01:00
 - Finished at : 2019-07-13T10:33:51+01:00
 - Duration    : 32s

Requests:
 - Successful : 15
 - Failed     : 1

 - 2xx : 13
 - 3xx : 0
 - 4xx : 2
 - 5xx : 0

Screenshots:
 - Successful : 0
 - Failed     : 15

Wrote HTML report to: xaa/aquatone_report.html

andrei8055 avatar Jul 13 '19 10:07 andrei8055

Got the same issue

d0xo avatar Aug 08 '19 12:08 d0xo

It turns out that there is a missing parameter for starting Chrome browser: --disable-features=VizDisplayCompositor

I run the screenshot command manually with that extra parameter, and now the error is gone and the screenshot is made. I found this on: https://github.com/puppeteer/puppeteer/issues/3774#issuecomment-480210268

So adding that to the lines at: https://github.com/michenriksen/aquatone/blob/master/agents/url_screenshotter.go#L129 should make it all work.

At least for running it on a Raspberry pi

theyosh avatar Nov 24 '19 16:11 theyosh

great, can you make a pull request to be fixed in the future releases

andrei8055 avatar Nov 25 '19 20:11 andrei8055

Done, but there are more pull requests waiting... so lets see how fast this goes

theyosh avatar Nov 25 '19 20:11 theyosh

So, how would you fix that?

sgxgsx avatar May 31 '20 22:05 sgxgsx

if you installed chromium with snap, try uninstalling snap and wiping everything. then restart, then install snap and chromium again. this way works for me. ubuntu server 18

marz-hunter avatar Feb 07 '21 23:02 marz-hunter

hi @theyosh, I am facing this problem! Any temporary solution?

shelld3v avatar May 01 '21 07:05 shelld3v

Sorry, I stopped using this software. And it looks like this is abandoned by the author... So I can't help

theyosh avatar May 05 '21 14:05 theyosh

Sorry, I stopped using this software. And it looks like this is abandoned by the author... So I can't help

Well, I actually fixed this in my repo: https://github.com/shelld3v/aquatone. I implemented a lot of features too

shelld3v avatar May 05 '21 16:05 shelld3v