Skip to content

Instantly share code, notes, and snippets.

@RX14
Created August 4, 2017 15:36
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 RX14/b468ea7cd78dddcc004ffa704b5238cf to your computer and use it in GitHub Desktop.
Save RX14/b468ea7cd78dddcc004ffa704b5238cf to your computer and use it in GitHub Desktop.
$ bin/crystal run --release spec/std/http/client/client_spec.cr
Using compiled compiler at `.build/crystal'
.........Invalid memory access (signal 11) at address 0x0
[0xba9d0fc7c6] ???
[0xba9d06b2d0] __crystal_sigfault_handler +32
[0xba9d0fc911] sigfault_handler +57
[0x7f9457e367e0] ???
[0xba9d0f8697] ???
[0xba9d04f27a] ???
[0x0] ???
$ bin/crystal run spec/std/http/client/client_spec.cr
Using compiled compiler at `.build/crystal'
..............
Finished in 28.84 milliseconds
14 examples, 0 failures, 0 errors, 0 pending
$ bin/crystal run --release --debug spec/std/http/client/client_spec.cr
Using compiled compiler at `.build/crystal'
Invalid memory access (signal 11) at address 0x1c
[0xea4d403ed6] *CallStack::print_backtrace:Int32 +118
[0xea4d3df23d] __crystal_sigfault_handler +61
[0xea4e229d35] sigfault_handler +57
[0x7f40f0ae17e0] ???
[0x7f40f259b6f0] ???
[0x7f40f25b8d71] _ZN4llvm10DwarfDebug25finishVariableDefinitionsEv +97
[0x7f40f25baa16] _ZN4llvm10DwarfDebug18finalizeModuleInfoEv +70
[0x7f40f25c0711] _ZN4llvm10DwarfDebug9endModuleEv +33
[0x7f40f259010a] _ZN4llvm10AsmPrinter14doFinalizationERNS_6ModuleE +714
[0x7f40f2064c79] _ZN4llvm13FPPassManager14doFinalizationERNS_6ModuleE +73
[0x7f40f2070fc5] _ZN4llvm6legacy15PassManagerImpl3runERNS_6ModuleE +885
[0x7f40f3002e8e] ???
[0x7f40f3003104] LLVMTargetMachineEmitToFile +244
[0xea4e020d79] *LLVM::TargetMachine#emit_to_file<LLVM::Module, String, LLVM::CodeGenFileType>:Bool +89
[0xea4e020d0e] *LLVM::TargetMachine#emit_obj_to_file<LLVM::Module, String>:Bool +46
[0xea4e159369] *Crystal::Compiler::CompilationUnit#compile:(LLVM::Module | Nil) +873
[0xea4e04f779] *Crystal::Compiler#codegen<Crystal::Program, Array(Crystal::Compiler::CompilationUnit), String, String>:Tuple(Array(Crystal::Compiler::CompilationUnit), Array(String)) +601
[0xea4e04eb20] *Crystal::Compiler#codegen<Crystal::Program, Crystal::ASTNode+, Array(Crystal::Compiler::Source), String>:(Tuple(Array(Crystal::Compiler::CompilationUnit), Array(String)) | Nil) +1184
[0xea4e050fb3] *Crystal::Compiler#compile<Array(Crystal::Compiler::Source), String>:Crystal::Compiler::Result +179
[0xea4e18a1c9] *Crystal::Command::CompilerConfig#compile<String>:Crystal::Compiler::Result +57
[0xea4d522952] *Crystal::Command#run_command<Bool>:Nil +402
[0xea4d51e96a] *Crystal::Command#run:(Bool | Crystal::Compiler::Result | IO::FileDescriptor | Nil) +1434
[0xea4d51e2fb] *Crystal::Command::run<Array(String)>:(Bool | Crystal::Compiler::Result | IO::FileDescriptor | Nil) +27
[0xea4d51e2bb] *Crystal::Command::run:(Bool | Crystal::Compiler::Result | IO::FileDescriptor | Nil) +27
[0xea4d3ca4ab] ???
[0xea4d3df0c9] main +41
[0x7f40efed14ca] __libc_start_main +234
[0xea4d3c959a] _start +42
[0x0] ???
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment