{"action":"created","issue":{"url":"https://api.github.com/repos/JuliaLang/julia/issues/10913","labels_url":"https://api.github.com/repos/JuliaLang/julia/issues/10913/labels{/name}","comments_url":"https://api.github.com/repos/JuliaLang/julia/issues/10913/comments","events_url":"https://api.github.com/repos/JuliaLang/julia/issues/10913/events","html_url":"https://github.com/JuliaLang/julia/issues/10913","id":69636518,"number":10913,"title":"Invalid Memory Access after downloading two libraries through Pkg.add and using some classes","user":{"login":"Bradan","id":729926,"avatar_url":"https://avatars.githubusercontent.com/u/729926?v=3","gravatar_id":"","url":"https://api.github.com/users/Bradan","html_url":"https://github.com/Bradan","followers_url":"https://api.github.com/users/Bradan/followers","following_url":"https://api.github.com/users/Bradan/following{/other_user}","gists_url":"https://api.github.com/users/Bradan/gists{/gist_id}","starred_url":"https://api.github.com/users/Bradan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bradan/subscriptions","organizations_url":"https://api.github.com/users/Bradan/orgs","repos_url":"https://api.github.com/users/Bradan/repos","events_url":"https://api.github.com/users/Bradan/events{/privacy}","received_events_url":"https://api.github.com/users/Bradan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-20T17:23:06Z","updated_at":"2015-04-20T17:45:39Z","closed_at":null,"body":"Hello,\r\n\r\nI don't think this is very well reproducible, but simply copying and pasting the following lines into the julia environment made julia crash on arch linux:\r\n\r\n    Pkg.add(\"Images\");\r\n    Pkg.add(\"ImageView\");\r\n    using Images, Color, FixedPointNumbers, ImageView;\r\n\r\n    println(\"test\")\r\n\r\nThe output:\r\n\r\n    $ julia\r\n                   _\r\n       _       _ _(_)_     |  A fresh approach to technical computing\r\n      (_)     | (_) (_)    |  Documentation: http://docs.julialang.org\r\n       _ _   _| |_  __ _   |  Type \"help()\" for help.\r\n      | | | | | | |/ _` |  |\r\n      | | |_| | | | (_| |  |  Version 0.3.7 (2015-03-23 21:36 UTC)\r\n     _/ |\\__'_|_|_|\\__'_|  |  \r\n    |__/                   |  x86_64-unknown-linux-gnu\r\n\r\n    julia> Pkg.add(\"Images\");\r\n    INFO: Initializing package repository /home/myuser/.julia/v0.3\r\n    INFO: Cloning METADATA from git://github.com/JuliaLang/METADATA.jl\r\n    INFO: Cloning cache of BinDeps from git://github.com/JuliaLang/BinDeps.jl.git\r\n    INFO: Cloning cache of Color from git://github.com/JuliaLang/Color.jl.git\r\n    INFO: Cloning cache of Compat from git://github.com/JuliaLang/Compat.jl.git\r\n    INFO: Cloning cache of FixedPointNumbers from git://github.com/JeffBezanson/FixedPointNumbers.jl.git\r\n    INFO: Cloning cache of Graphics from git://github.com/JuliaLang/Graphics.jl.git\r\n    INFO: Cloning cache of Images from git://github.com/timholy/Images.jl.git\r\n    INFO: Cloning cache of SHA from git://github.com/staticfloat/SHA.jl.git\r\n    INFO: Cloning cache of SIUnits from git://github.com/Keno/SIUnits.jl.git\r\n    INFO: Cloning cache of TexExtensions from git://github.com/Keno/TexExtensions.jl.git\r\n    INFO: Cloning cache of URIParser from git://github.com/JuliaWeb/URIParser.jl.git\r\n    INFO: Cloning cache of Zlib from git://github.com/dcjones/Zlib.jl.git\r\n    INFO: Installing BinDeps v0.3.11\r\n    INFO: Installing Color v0.4.4\r\n    INFO: Installing Compat v0.4.1\r\n    INFO: Installing FixedPointNumbers v0.0.7\r\n    INFO: Installing Graphics v0.1.0\r\n    INFO: Installing Images v0.4.36\r\n    INFO: Installing SHA v0.0.4\r\n    INFO: Installing SIUnits v0.0.2\r\n    INFO: Installing TexExtensions v0.0.2\r\n    INFO: Installing URIParser v0.0.5\r\n    INFO: Installing Zlib v0.1.8\r\n    INFO: Building Images\r\n    INFO: Package database updated\r\n\r\n    julia> Pkg.add(\"ImageView\");\r\n    INFO: Cloning cache of Cairo from git://github.com/JuliaLang/Cairo.jl.git\r\n    INFO: Cloning cache of ImageView from git://github.com/timholy/ImageView.jl.git\r\n    INFO: Cloning cache of IniFile from git://github.com/JuliaLang/IniFile.jl.git\r\n    INFO: Cloning cache of Tk from git://github.com/JuliaLang/Tk.jl.git\r\n    INFO: Cloning cache of Winston from git://github.com/nolta/Winston.jl.git\r\n    INFO: Installing Cairo v0.2.26\r\n    INFO: Installing ImageView v0.1.13\r\n    INFO: Installing IniFile v0.2.4\r\n    INFO: Installing Tk v0.3.1\r\n    INFO: Installing Winston v0.11.9\r\n    INFO: Building Cairo\r\n    INFO: Building Images\r\n    INFO: Building Tk\r\n    INFO: Package database updated\r\n\r\n    julia> using Images, Color, FixedPointNumbers, ImageView;\r\n\r\n    signal (11): Speicherzugriffsfehler\r\n    unknown function (ip: 457927034)\r\n    unknown function (ip: 457927139)\r\n    jl_get_binding at /usr/bin/../lib/julia/libjulia.so (unknown line)\r\n    jl_get_global at /usr/bin/../lib/julia/libjulia.so (unknown line)\r\n    jl_module_run_initializer at /usr/bin/../lib/julia/libjulia.so (unknown line)\r\n    unknown function (ip: 457810210)\r\n    unknown function (ip: 457808997)\r\n    unknown function (ip: 457810800)\r\n    jl_load at /usr/bin/../lib/julia/libjulia.so (unknown line)\r\n    include at /usr/bin/../lib/julia/sys.so (unknown line)\r\n    jl_apply_generic at /usr/bin/../lib/julia/libjulia.so (unknown line)\r\n    include_from_node1 at /usr/bin/../lib/julia/sys.so (unknown line)\r\n    jl_apply_generic at /usr/bin/../lib/julia/libjulia.so (unknown line)\r\n    unknown function (ip: 457742888)\r\n    unknown function (ip: 457739417)\r\n    unknown function (ip: 457808093)\r\n    jl_f_top_eval at /usr/bin/../lib/julia/libjulia.so (unknown line)\r\n    reload_path at loading.jl:152\r\n    _require at loading.jl:67\r\n    jl_apply_generic at /usr/bin/../lib/julia/libjulia.so (unknown line)\r\n    require at loading.jl:54\r\n    jlcall_require_20676 at  (unknown line)\r\n    jl_apply_generic at /usr/bin/../lib/julia/libjulia.so (unknown line)\r\n    unknown function (ip: 457803902)\r\n    unknown function (ip: 457808683)\r\n    unknown function (ip: 457808231)\r\n    unknown function (ip: 457809809)\r\n    unknown function (ip: 457808997)\r\n    unknown function (ip: 457810800)\r\n    jl_load at /usr/bin/../lib/julia/libjulia.so (unknown line)\r\n    include at /usr/bin/../lib/julia/sys.so (unknown line)\r\n    jl_apply_generic at /usr/bin/../lib/julia/libjulia.so (unknown line)\r\n    include_from_node1 at /usr/bin/../lib/julia/sys.so (unknown line)\r\n    jl_apply_generic at /usr/bin/../lib/julia/libjulia.so (unknown line)\r\n    unknown function (ip: 457742888)\r\n    unknown function (ip: 457739417)\r\n    unknown function (ip: 457808093)\r\n    jl_f_top_eval at /usr/bin/../lib/julia/libjulia.so (unknown line)\r\n    reload_path at loading.jl:152\r\n    _require at loading.jl:67\r\n    jl_apply_generic at /usr/bin/../lib/julia/libjulia.so (unknown line)\r\n    require at loading.jl:54\r\n    jlcall_require_20676 at  (unknown line)\r\n    jl_apply_generic at /usr/bin/../lib/julia/libjulia.so (unknown line)\r\n    unknown function (ip: 457803902)\r\n    unknown function (ip: 457808683)\r\n    unknown function (ip: 457808231)\r\n    unknown function (ip: 457809809)\r\n    unknown function (ip: 457808997)\r\n    unknown function (ip: 457810800)\r\n    jl_load at /usr/bin/../lib/julia/libjulia.so (unknown line)\r\n    include at /usr/bin/../lib/julia/sys.so (unknown line)\r\n    jl_apply_generic at /usr/bin/../lib/julia/libjulia.so (unknown line)\r\n    include_from_node1 at /usr/bin/../lib/julia/sys.so (unknown line)\r\n    jl_apply_generic at /usr/bin/../lib/julia/libjulia.so (unknown line)\r\n    unknown function (ip: 457742888)\r\n    unknown function (ip: 457739417)\r\n    unknown function (ip: 457808093)\r\n    jl_f_top_eval at /usr/bin/../lib/julia/libjulia.so (unknown line)\r\n    reload_path at loading.jl:152\r\n    _require at loading.jl:67\r\n    jl_apply_generic at /usr/bin/../lib/julia/libjulia.so (unknown line)\r\n    require at loading.jl:51\r\n    jlcall_require_20676 at  (unknown line)\r\n    jl_apply_generic at /usr/bin/../lib/julia/libjulia.so (unknown line)\r\n    unknown function (ip: 457803902)\r\n    unknown function (ip: 457808683)\r\n    unknown function (ip: 457808231)\r\n    jl_f_top_eval at /usr/bin/../lib/julia/libjulia.so (unknown line)\r\n    eval_user_input at REPL.jl:53\r\n    jlcall_eval_user_input_20063 at  (unknown line)\r\n    jl_apply_generic at /usr/bin/../lib/julia/libjulia.so (unknown line)\r\n    anonymous at task.jl:95\r\n    jl_handle_stack_switch at /usr/bin/../lib/julia/libjulia.so (unknown line)\r\n    julia_trampoline at /usr/bin/../lib/julia/libjulia.so (unknown line)\r\n    unknown function (ip: 4199613)\r\n    __libc_start_main at /usr/bin/../lib/libc.so.6 (unknown line)\r\n    unknown function (ip: 4199673)\r\n    unknown function (ip: 0)\r\n    Speicherzugriffsfehler (Speicherabzug geschrieben)\r\n"},"comment":{"url":"https://api.github.com/repos/JuliaLang/julia/issues/comments/94521904","html_url":"https://github.com/JuliaLang/julia/issues/10913#issuecomment-94521904","issue_url":"https://api.github.com/repos/JuliaLang/julia/issues/10913","id":94521904,"user":{"login":"Bradan","id":729926,"avatar_url":"https://avatars.githubusercontent.com/u/729926?v=3","gravatar_id":"","url":"https://api.github.com/users/Bradan","html_url":"https://github.com/Bradan","followers_url":"https://api.github.com/users/Bradan/followers","following_url":"https://api.github.com/users/Bradan/following{/other_user}","gists_url":"https://api.github.com/users/Bradan/gists{/gist_id}","starred_url":"https://api.github.com/users/Bradan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bradan/subscriptions","organizations_url":"https://api.github.com/users/Bradan/orgs","repos_url":"https://api.github.com/users/Bradan/repos","events_url":"https://api.github.com/users/Bradan/events{/privacy}","received_events_url":"https://api.github.com/users/Bradan/received_events","type":"User","site_admin":false},"created_at":"2015-04-20T17:45:39Z","updated_at":"2015-04-20T17:45:39Z","body":"Only if Pkg.add is used and it downloads all the libraries. I couldn't reproduce it the second time when the libraries were already downloaded, but I thought the stacktrace might still be helpful for you."}}