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

Segmentation fault #6

Closed
msakrejda opened this issue May 29, 2015 · 2 comments
Closed

Segmentation fault #6

msakrejda opened this issue May 29, 2015 · 2 comments

Comments

@msakrejda
Copy link
Contributor

I tried to write some stuff and broke it:

maciek@mothra:~/code/aux/crystal-pg$ crystal spec
Segmentation fault (core dumped)
Program terminated abnormally with error code: 35584

See msakrejda@4da9d40

@will will closed this as completed in cafe1f7 May 29, 2015
@will
Copy link
Owner

will commented May 29, 2015

one of the constants was made a global variable outside of the one you intended to change. So it was nil, and that caused a segfault. I made it nil can't make it in anymore goodbye nil

@will
Copy link
Owner

will commented May 29, 2015

The error you'd get now if you tried it would be

no overload matches 'PG::Connection#initialize' with types Nil
Overloads are:
 - PG::Connection#initialize(conninfo : String)

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

2 participants