{"action":"closed","issue":{"url":"https://api.github.com/repos/Keno/Cxx.jl/issues/177","labels_url":"https://api.github.com/repos/Keno/Cxx.jl/issues/177/labels{/name}","comments_url":"https://api.github.com/repos/Keno/Cxx.jl/issues/177/comments","events_url":"https://api.github.com/repos/Keno/Cxx.jl/issues/177/events","html_url":"https://github.com/Keno/Cxx.jl/issues/177","id":110751600,"number":177,"title":"register_booth crash on `using Cxx`","user":{"login":"jpata","id":69717,"avatar_url":"https://avatars.githubusercontent.com/u/69717?v=3","gravatar_id":"","url":"https://api.github.com/users/jpata","html_url":"https://github.com/jpata","followers_url":"https://api.github.com/users/jpata/followers","following_url":"https://api.github.com/users/jpata/following{/other_user}","gists_url":"https://api.github.com/users/jpata/gists{/gist_id}","starred_url":"https://api.github.com/users/jpata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpata/subscriptions","organizations_url":"https://api.github.com/users/jpata/orgs","repos_url":"https://api.github.com/users/jpata/repos","events_url":"https://api.github.com/users/jpata/events{/privacy}","received_events_url":"https://api.github.com/users/jpata/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-09T23:28:11Z","updated_at":"2015-10-10T00:20:25Z","closed_at":"2015-10-10T00:20:25Z","body":"\r\nOn julia 0.5 7dcc01 and Cxx.jl 4af228 `using Cxx` crashes.\r\n\r\n\r\nError on julia side\r\n~~~\r\njulia_type_to_llvm at /Users/joosep/Documents/julia-dev/src/./cgutils.cpp:675\r\nregister_booth at ./pointer.jl:16\r\ninitialize_instance! at /Users/joosep/.julia/v0.5/Cxx/src/initialization.jl:329\r\n__init__ at /Users/joosep/.julia/v0.5/Cxx/src/initialization.jl:347\r\nunknown function (ip: 0x3183a71ad)\r\n~~~\r\n\r\nstack trace from lldb\r\n~~~\r\n* thread #1: tid = 0x66583d, 0x0000000100036500 libjulia-debug.dylib`julia_type_to_llvm(jt=0x00000001058040d0, isboxed=0x0000000000000002) + 48 at cgutils.cpp:675, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x2)\r\n    frame #0: 0x0000000100036500 libjulia-debug.dylib`julia_type_to_llvm(jt=0x00000001058040d0, isboxed=0x0000000000000002) + 48 at cgutils.cpp:675\r\n   672 \tDLLEXPORT Type *julia_type_to_llvm(jl_value_t *jt, bool *isboxed)\r\n   673 \t{\r\n   674 \t    // this function converts a Julia Type into the equivalent LLVM type\r\n-> 675 \t    if (isboxed) *isboxed = false;\r\n   676 \t    if (jt == (jl_value_t*)jl_bool_type) return T_int1;\r\n   677 \t    if (jt == (jl_value_t*)jl_bottom_type) return T_void;\r\n   678 \t    if (!jl_is_leaf_type(jt)) {\r\n~~~\r\n\r\n\r\n~~~\r\njulia> versioninfo()\r\nJulia Version 0.5.0-dev+697\r\nCommit 7dcc01b* (2015-10-09 21:38 UTC)\r\nDEBUG build\r\nPlatform Info:\r\n  System: Darwin (x86_64-apple-darwin14.3.0)\r\n  CPU: Intel(R) Core(TM) i5-4278U CPU @ 2.60GHz\r\n  WORD_SIZE: 64\r\n  BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Haswell)\r\n  LAPACK: libopenblas64_\r\n  LIBM: libopenlibm\r\n  LLVM: libLLVM-svn\r\n~~~\r\n\r\nChecking out julia at\r\n~~~\r\ncommit 0f3ee7355066a5a4b561c95b0e2f968482b7d586\r\nAuthor: Keno Fischer <kfischer+github@college.harvard.edu>\r\nDate:   Tue Oct 6 20:18:44 2015 -0400\r\n\r\n    Fix test that my last fix broke\r\n~~~\r\nseems to fix this regression, didn't run bisect yet."}}