question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Backend issue - compilations stopped

See original GitHub issue

After a long while of running, it seems like POST requests aren’t being satisfied. Happened Sep 18th 2017 11am ish.

Symptom is at least one node (longest running) seems to work OK but POSTing locally just hangs:

time curl 'http://localhost:10240/api/compiler/g72/compile' -H 'origin: https://gcc.godbolt.org' -H 'accept-encoding: gzip, deflate, br' -H 'x-requested-with: XMLHttpRequest' -H 'accept-language: en-US,en;q=0.8' -H 'user-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.86 Safari/537.36' -H 'content-type: application/json' -H 'accept: application/json, text/javascript, */*; q=0.01' -H 'referer: https://gcc.godbolt.org/' -H 'authority: gcc.godbolt.org' -H 'cookie: __utma=64966969.976725685.1422038700.1473257226.1473690382.13; __utma=193728187.46355192.1421958863.1475157449.1475251429.418; _ga=GA1.2.976725685.1422038700; _gid=GA1.2.1670398990.1505739837; _gat=1' --data-binary '{"source":"using T = __int128;\n\nT f(T x) {\n    return x + 10;\n}","compiler":"clang_trunk","options":{"userArguments":"-Ofast -std=c++11 -Wall -march=native ","compilerOptions":{"produceAst":true,"produceOptInfo":false},"filters":{"0":{},"labels":true,"commentOnly":true,"directives":true,"intel":true,"jquery":"3.2.1","length":1,"prevObject":{"0":{"sizzle1505752105753":{"undefined":{"legend":[5,0,false]}}},"length":1,"prevObject":{"0":{"sizzle1505752105753":{"undefined":{"legend":[5,0,false]}},"jQuery321036841117693893711":{"display":""}},"length":1}},"trim":true}}}' --compressed

(just hangs)

strace shows it’s not even trying to exec anything. I suspect something’s going on in the queueing/restricted number of compiles code.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:15 (15 by maintainers)

github_iconTop GitHub Comments

1reaction
mattgodboltcommented, Sep 20, 2017

With the clue from above was able to reproduce using the old promise-queue library, and then show the new promise-queue version fixes it! Hooray.

0reactions
mattgodboltcommented, Sep 21, 2017

Ahhh!!! Yes! I bet the exec output has been truncated in this case! The offsets are suspiciously like 1MB in, and the output errors on [ and T correspond to the [Truncated] thing that gets put at the end. Mystery solved!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Pessimistic calls to std::move stop compilation on new gcc ...
On up to date Arch Linux using GCC 9.1.0 I get errors due to the pessimistic use of std::move in 2 places. I've...
Read more >
Script compilation take a too long time - Stack Overflow
Script compilation problems usually show themselves with massive scripts or an excessive number of variables. Since you don't have that ...
Read more >
stop compilation when there is an error with bibtex - TeX
I use windows 7 and 8.1, both with the most recent versions of mikTeX and TeXworks. In my preamble I have: \usepackage[backend=bibtex, citestyle ......
Read more >
Incident affecting Gmail - Google Workspace Status Dashboard
The notification is then compiled by the compilation engine and the output of the compilation is sent to a backend setting service which...
Read more >
Is Magento 2 backend not working? Solutions for 3 main issues
When installing a new extension in production mode you may forget to restart the compilation. As a result, the Magento 2 backend is...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found