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

Segfault if you offer an integer to HyperBuilder #7

Open
jeremywadsack opened this issue Nov 17, 2012 · 0 comments
Open

Segfault if you offer an integer to HyperBuilder #7

jeremywadsack opened this issue Nov 17, 2012 · 0 comments

Comments

@jeremywadsack
Copy link

Here's a simple repro:

builder = HyperBuilder.new(11)
builder.offer(4)

I would expect this to take "4" and record it as a value. That is, if I offer [1, 2, 3] to the builder I would expect to get an estimated cardinality of 3.

What actually happens is a segfault.

$ ruby -v
ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-darwin11.4.0]
Process:         ruby [66977]
Path:            /Users/USER/*/ruby
Identifier:      ruby
Version:         ??? (???)
Code Type:       X86-64 (Native)
Parent Process:  bash [9136]

Date/Time:       2012-11-16 17:08:32.339 -0800
OS Version:      Mac OS X 10.7.5 (11G63)
Report Version:  9

Crashed Thread:  0  Dispatch queue: com.apple.main-thread

Exception Type:  EXC_BAD_ACCESS (SIGABRT)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000009
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant