Default orc crash simple jester httpbeast

2022-12-27 Thread niminuse001
Glad you understand. I hope help nim take a step.

Default orc crash simple jester httpbeast

2022-12-27 Thread niminuse001
and I do apologize for using this forum to report this but it's been around since orc became default and I really wanted to get it to someone. This was my best effort. I'll take your personal email though. I'm at: wmcont...@protonmail.com

Default orc crash simple jester httpbeast

2022-12-27 Thread niminuse001
Thanks Araq. When Microsoft (owners of github) finally make me a job offer after all the rejections since 1992 I'll stop boycotting an account on github. :) I don't think I can file a bug therefore. I encourage you to do as I really want to see Nim surge.

Default orc crash simple jester httpbeast

2022-12-27 Thread niminuse001
BTW, I didn't do that font change I just cut and paste into the forum. It just blew up weirdly.

Default orc crash simple jester httpbeast

2022-12-27 Thread niminuse001
This the line I was referring to saying no check on incoming ptr p. It's the first line. let h = head(p) inc h.rc, rcIncrement

Default orc crash simple jester httpbeast

2022-12-27 Thread niminuse001
There is this triple X comment at the definition though. What is still not correct? const optimizedOrc = false # not defined(nimOldOrc) # XXX Still incorrect, see tests/arc/tdestroy_in_loopcond

Default orc crash simple jester httpbeast

2022-12-27 Thread niminuse001
to offer a bit more on my version of nim that I checked out on Dec 23 this is the code the error cites. The line is 47 which is the 'when' line. proc nimIncRefCyclic(p: pointer; cyclic: bool) {.compilerRtl, inl.} = let h = head(p) inc h.rc, rcIncrement when optimizedOrc: if cyclic:

Default orc crash simple jester httpbeast

2022-12-27 Thread niminuse001
And optimizedOrc is a constant that is false. Not a ptr. So it doesn't make much sense to me.

Default orc crash simple jester httpbeast

2022-12-27 Thread niminuse001
An older version of httpbeast that is as relates to prologue.

Default orc crash simple jester httpbeast

2022-12-27 Thread niminuse001
So, in short httpbeast seems to not play well with orc on my machine. :) Old as it is I think this shouldn't happen eh?

Default orc crash simple jester httpbeast

2022-12-27 Thread niminuse001
It orignates in httpbeast both in jester using it externally and from what I understand prologue is using an older version cloned from time past.

Default orc crash simple jester httpbeast

2022-12-27 Thread niminuse001
And here is the error: `/home/myhome/.nimble/pkgs2/httpbeast-0.4.1-b23e57a401057dcb9b7fae1fb8279a6a2ce1d0b8/httpbeast.nim(83) eventLoop` `/home/myhome/nim/lib/system/orc.nim(46) nimIncRefCyclic` SIGSEGV: Illegal storage access. (Attempt to read from nil?) Segmentation fault (core dumped)

Default orc crash simple jester httpbeast

2022-12-27 Thread niminuse001
I looked at orc impl and noticed that nimIncRefCyclic does not check the incoming pointer for nil which maybe be the spot but I don't know rather is should never get there with a non nil as I don't know the full impl.

Default orc crash simple jester httpbeast

2022-12-27 Thread niminuse001
This code causes the crash: import htmlgen import jester routes: > get "/": > resp h1("Hello world")

Default orc crash simple jester httpbeast

2022-12-27 Thread niminuse001
And BTW, the failures are happening with orc.

Default orc crash simple jester httpbeast

2022-12-27 Thread niminuse001
More info. I have developed a web crud web service with jester and prologue both of which work fine with getting data under stress with refc and markandsweep. Jester fails right away as above. Prologue runs for indeterminate time and then segv's. The stress is just running GETs on small datamode

Default orc crash simple jester httpbeast

2022-12-27 Thread niminuse001
The basic jester app produced second result: # example.nim import htmlgen import jester routes: get "/": resp h1("Hello world")

Default orc crash simple jester httpbeast

2022-12-27 Thread niminuse001
System is older debian linux. Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper OFFLOAD_TARGET_NAMES=nvptx-none OFFLOAD_TARGET_DEFAULT=1 Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu 7.5.0-3ubuntu1~18

Default orc crash simple jester httpbeast

2022-12-27 Thread niminuse001
Hello: Built nim on linux amd64 and tried simple jester route cited on jester page. Got this: INFO Jester is making jokes at Starting 2 threads Listening on port 5000 No stack traceback available SIGSEGV: Illegal storage access. (Attempt to read from nil?) Segmentation fa