Skip to content
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

Module validation failed: with sidekiq.cr get started #4139

Closed
dotswing opened this issue Mar 12, 2017 · 1 comment
Closed

Module validation failed: with sidekiq.cr get started #4139

dotswing opened this issue Mar 12, 2017 · 1 comment

Comments

@dotswing
Copy link

I was playing with sidekiq.cr and follow the basic get started when I reach the Web UI part I copied this code in web.cr

require 'sidekiq/web'

Kemal.config do |config|
end

Sidekiq::Client.default_context = Sidekiq::Client::Context.new

Kemal.run

And after run 'crystal run web.cr' I got error

Module validation failed: inlinable function call in a function with debug info must have a !dbg location
  %605 = call i8* @__crystal_malloc(i32 ptrtoint (i1** getelementptr (i1*, i1** null, i32 1) to i32))

0x10cb61c13: *raise<String>:NoReturn at ??
0x10db32c6b: *Crystal::CodeGenVisitor#finish:Nil at ??
0x10da5e53e: *Crystal::Compiler#codegen<Crystal::Program, Crystal::ASTNode+, Array(Crystal::Compiler::Source), String>:(Tuple(Array(Crystal::Compiler::CompilationUnit), Array(String)) | Nil) at ??
0x10e3041b4: *Crystal::Compiler#compile<Array(Crystal::Compiler::Source), String>:Crystal::Compiler::Result at ??
0x10e3ab219: *Crystal::Command#run_command<Bool>:Nil at ??
0x10cbc1229: *Crystal::Command#run:(Bool | Crystal::Compiler::Result | IO::FileDescriptor | Nil) at ??
0x10cb8b99d: main at ??

I was using crystal Crystal 0.21.1 (2017-03-07) LLVM 3.9.1
My os is OSX 10.11.5 El Capitan

@asterite
Copy link
Member

Seems to be a duplicate of #4166 (will be fixed in the next release)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants