Skip to content

Segfault when parsing data #27

@andreasnoack

Description

@andreasnoack
julia> raw = JuliaDB.loadfiles(joinpath.(datadir, files), '\t', header_exists = false,
           colnames = colnames, usecache = false, indexcols = colnames[1:2],
           colparsers = [String, dateformat"yyyymmddHHMMSS", Int, String, String,
                         String, String, String, String, String,
                         String, String, String, String, String,
                         Float32, String, String, String, String,
                         String, String, String, String, String,
                         String, String]);
Metadata for 0 / 201 files can be loaded from cache.
Reading 201 csv files totalling 3.393 GiB...
Could not determine which type to promote column to.
Error reading file /data/andreasnoack/gdelt/20160102043000.gkg.csv
ERROR:
signal (11): Segmentation fault
while loading no file, in expression starting on line 0
getlineat at /home/andreasnoack/.julia/v0.6/TextParse/src/util.jl:182
unknown function (ip: 0x7fccde005db5)
jl_call_fptr_internal at /home/centos/buildbot/slave/package_tarball64/build/src/julia_internal.h:339
[inlined]
jl_call_method_internal at /home/centos/buildbot/slave/package_tarball64/build/src/julia_internal.h:3$
8 [inlined]
jl_apply_generic at /home/centos/buildbot/slave/package_tarball64/build/src/gf.c:1933
showerror at /home/andreasnoack/.julia/v0.6/TextParse/src/csv.jl:408

on

julia> versioninfo()
Pkg.Julia Version 0.6.0
Commit 9036443 (2017-06-19 13:05 UTC)
Platform Info:
  OS: Linux (x86_64-pc-linux-gnu)
  CPU: Intel(R) Xeon(R) CPU E7- 8850  @ 2.00GHz
  WORD_SIZE: 64
  BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Nehalem)
  LAPACK: libopenblas64_
  LIBM: libopenlibm
  LLVM: libLLVM-3.9.1 (ORCJIT, westmere)

julia> Pkg.status("TextParse")
 - TextParse                     0.1.8              master

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions