Skip to content

Sporadic segfaults #166

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

Closed
galenlynch opened this issue Jun 4, 2017 · 2 comments
Closed

Sporadic segfaults #166

galenlynch opened this issue Jun 4, 2017 · 2 comments

Comments

@galenlynch
Copy link

I am using ODBC 0.5.2 with Julia 0.6.0-rc2 and PostgreSQL, and experience sporadic segfaults that happen more frequently when I run small queries. For example:

julia> db = ODBC.DSN("PostgreSQL")
ODBC.DSN(PostgreSQL)

julia> ODBC.query(db, "SELECT 1;")

signal (11): Segmentation fault
while loading no file, in expression starting on line 0
julia_type_to_llvm at /home/glynch/julia-0.6.0-rc2/src/cgutils.cpp:382
typed_store at /home/glynch/julia-0.6.0-rc2/src/cgutils.cpp:1221
emit_setfield at /home/glynch/julia-0.6.0-rc2/src/cgutils.cpp:2249
emit_builtin_call at /home/glynch/julia-0.6.0-rc2/src/codegen.cpp:3073
emit_call at /home/glynch/julia-0.6.0-rc2/src/codegen.cpp:3441
emit_expr at /home/glynch/julia-0.6.0-rc2/src/codegen.cpp:4139
emit_stmtpos at /home/glynch/julia-0.6.0-rc2/src/codegen.cpp:4058 [inlined]
emit_function at /home/glynch/julia-0.6.0-rc2/src/codegen.cpp:6242
... (output truncated)

Here is the full coredump.txt.

@galenlynch
Copy link
Author

This happens about 80% of the time when I run that query. Disabling the garbage collector before I run it seems to help.

@galenlynch
Copy link
Author

It looks like this is an issue with Julia instead of ODBC. I have made in issue in JuliaLang.

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