-
-
Notifications
You must be signed in to change notification settings - Fork 419
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
examples/httpserver collapse #937
Comments
I haven't been able to reproduce this. Is this something you can easily reproduce? |
@SeanTAllen |
what platform are you running on? if on linux, which distro? what version of pony? what version of llvm? |
linuxmint18 |
Remove logger no longer crashes |
Where you using VirtualBox? Can you try again using the latest ponyc from masteR? |
linuxmint18 siege -c 100 -r 100 http://127.0.0.1:50000/
|
I can confirm the Segmentation fault result on Linux Mint 18 with the latest version of ponyc (1e96984) and llvm 3.8.0. It should also be noted that I ran siege from a separate computer. |
Running lldb gives this result:
|
out of curiousity. @Theodus could you apply and run this again and see if the bug still exists. I assume it does, but... I'm wondering if it might fix. Mostly shot in the dark. |
@SeanTAllen, it made no difference. It was worth a shot though. |
I get the same behavior, and using I'm on LinuxMint 17.3 with LLVM 3.6. I did some digging, and was able to eliminate the seg fault by screwing around with the code in the It's a little long to describe, so I put it into a gist. Hope it helps. |
./httpserver It happens consistently on the 3. get, on a 32 bit Linux machine Distributor ID: ManjaroLinux ponyc --version llvm-config --version |
@Theodus can you verify you still get this with the latest master and using llvm 3.8.1? |
@SeanTAllen I get the same segfault.
|
Thanks. Just wanted to verify @Theodus. |
We are assuming this is the same issue as #1118 and once that is fixed, will test this again to verify. |
I have not been able to reproduce this with recent versions of Pony. |
interesting |
Commit f9591b2 seems to be the first commit that doesn't segfault. |
@Perelandric That's interesting. I guess there is a bug somewhere in the code generation for GC tracing. I'll look into it. |
I'm closing this because I think its fixed based on the above comments. |
The text was updated successfully, but these errors were encountered: