Hello:
Built nim on linux amd64 and tried simple jester route cited on jester page. Got this:
INFO Jester is making jokes at http://0.0.0.0:5000 Starting 2 threads Listening on port 5000 No stack traceback available SIGSEGV: Illegal storage access. (Attempt to read from nil?) Segmentation fault (core dumped)
When I switch to -mm:refc or --mm:markandsweep it works ok.
Is this known?
This is the better results from the example on jester page.
INFO Jester is making jokes at http://0.0.0.0:5000 Starting 2 threads Listening on port 5000 Traceback (most recent call last)
SIGSEGV: Illegal storage access. (Attempt to read from nil?) Segmentation fault (core dumped)
import htmlgen import jester
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.04' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-7 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04)
But there isn't any DB code in the crash of the simple jester example. Cited in the 2nd example above and on the jester github page.
It's just a hello world route.
In the larger services I've written the crashes are in the same place in org suggest in the segv message and originates in httpbeast.
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
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.
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: wmcontact@protonmail.com
Glad you understand.
I hope help nim take a step.
Fair enough. Can't blame anybody for avoiding Microsoft.
Part of the reason why I like nim's BDFL :-)