Skip to content

Instantly share code, notes, and snippets.

@wmoxam
Last active May 22, 2018 03:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wmoxam/e619c888aa638d1abb487b334102da75 to your computer and use it in GitHub Desktop.
Save wmoxam/e619c888aa638d1abb487b334102da75 to your computer and use it in GitHub Desktop.
Using /usr/local/bin/llvm-config [version=5.0.1]
./bin/crystal build --release -o .build/crystal src/compiler/crystal.cr -D without_openssl -D without_zlib
Invalid memory access (signal 11) at address 0x7d697e8df5c
[0x7d36a415306] __crystal_sigfault_handler +8343622
[0x7d369c202ee] __crystal_sigfault_handler +46
[0x7d36a4175e3] sigfault_handler +35
gmake: *** [Makefile:120: .build/crystal] Error 11
This GDB was configured as "amd64-unknown-openbsd6.3"...(no debugging symbols found)
(gdb) run build --release -o .build/crystal src/compiler/crystal.cr -D without_openssl -D without_zlib -D i_know_what_im_doing
Starting program: /usr/local/bin/crystal build --release -o .build/crystal src/compiler/crystal.cr -D without_openssl -D without_zlib -D i_know_what_im_doing
[New process 49287]
Program received signal SIGSEGV, Segmentation fault.
0x00001738d450b146 in *Fiber::switch_stacks<Pointer(Pointer(Void)), Pointer(Pointer(Void))>:Nil () from /usr/local/bin/crystal
Current language: auto; currently minimal
(gdb) bt
#0 0x00001738d450b146 in *Fiber::switch_stacks<Pointer(Pointer(Void)), Pointer(Pointer(Void))>:Nil () from /usr/local/bin/crystal
#1 0x00001738d4536c35 in __crystal_sigfault_handler () from /usr/local/bin/crystal
#2 0x00001738d450476f in __crystal_main () from /usr/local/bin/crystal
#3 0x00001738d4509224 in main () from /usr/local/bin/crystal
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment