Comments (9)
Another workaround is to use --mm:refc
.
from prologue.
I just got the exact same error on Arch using siege
for concurrency testing - same nim + prologue versions, and same test code 😆
from prologue.
I downgraded some deps:
nim = 1.6.0
prologue = 0.5.0
No more error - a prologue downgrade didn't fix the issue, so I'm thinking it's something in the nim 2.0 (I'll try the last non 2.0 version for comparison with the latest prologue possible).
from prologue.
I also noticed the (per request) DEBUG log does not show on nim 2.0 either - only the boot up message does.
from prologue.
These versions do not produce the issue:
requires "nim == 1.6.14"
requires "prologue == 0.6.4"
from prologue.
https://github.com/nim-lang/Nim/issues?q=is%3Aissue+is%3Aopen+sigsegv+ - looks like a lot of this in 2.0 release usage.
from prologue.
Maybe helpful to prologue, httpbeast is having a similar issue: nim-lang/Nim#21422
from prologue.
One stack trace mentioned httpx for me - and if I use -d:usestd
, I no longer receive the error (on nim 2.0) - so I'm guessing this is something httpx is doing incorrectly.
from prologue.
I updated httpx issue here: ringabout/httpx#33 with a link to the httpbeast solution - I think httpx needs to incorporate it from httpbeast HEAD, add a new tag, then include the new tag on prologue.
from prologue.
Related Issues (20)
- Provide a debug log message when a route is added to prologue
- Error: unhandled exception: cannot read from file HOT 1
- Help with unknown error: "Error: type mismatch: got <Prologue, HttpCode, proc (ctx: Context): Future[system.void]{.locks: <unknown>.}>" HOT 2
- RFC - Add generic proc to parse `FormPart` into a nim object type HOT 1
- Trouble running with --threads:on HOT 2
- Error: You do not have permission to access this file. HOT 2
- Add docs that provide a general approach to testing prologue
- Feature Request: Middleware to map exceptions to response status codes
- Empty memorysession when route contains path params
- Enable subpixel hinting for fonts in the documentation
- FormPart does not handle multiple selections correctly HOT 1
- SIGSEV with --mm:orc and --threads:on HOT 1
- Is there a way to return HTTP 204 No Content without Content-Length and Content-Type headers?
- Getting client IP information (like in Jester) HOT 1
- Cannot serve dynamic websites HOT 2
- Type mismatch error HOT 1
- how to access global shared variables in async handler
- [Question] Does Context Request includes json body passed to requests? HOT 3
- Graphql support?
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 prologue.