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 with --track-allocation on Windows #21838

Closed
davidanthoff opened this issue May 12, 2017 · 2 comments
Closed

Segfault with --track-allocation on Windows #21838

davidanthoff opened this issue May 12, 2017 · 2 comments

Comments

@davidanthoff
Copy link
Contributor

This is on julia 0.5.2 and on the current julia 0.6 release candidate. I have a file named test3.jl with this content:

using CSV
           
file = "data.csv"      # make sure some file like that exists

io = open(file, "r")

csv = CSV.Source(io, delim = ';')

Data.close!(csv)
close(io)

quit()

When I execute this command line: julia --track-allocation=user .\test3.jl, I get a very long segfault output (multiple screens).

I also tried running the same code interactive, and in that case calling quit() throws an error at the end:

julia> quit()
ERROR: ReadOnlyMemoryError()
 in quit() at .\initdefs.jl:23

CCing @quinnj, although I feel that no matter what the CSV.jl package is doing, this shouldn't segfault.

@musm
Copy link
Contributor

musm commented May 12, 2017

BTW I was seeing something similar yesterday with --code-coverage that also segfaulted on rc1-0.6
https://github.com/JuliaCI/Coverage.jl/pull/127/files

@yuyichao
Copy link
Contributor

Dup of #21289

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

3 participants