{"action":"created","issue":{"url":"https://api.github.com/repos/barche/QML.jl/issues/27","repository_url":"https://api.github.com/repos/barche/QML.jl","labels_url":"https://api.github.com/repos/barche/QML.jl/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/barche/QML.jl/issues/27/comments","events_url":"https://api.github.com/repos/barche/QML.jl/issues/27/events","html_url":"https://github.com/barche/QML.jl/issues/27","id":194724624,"number":27,"title":"plot.jl gives segfault when selecting GR backend","user":{"login":"KajWiik","id":868360,"avatar_url":"https://avatars.githubusercontent.com/u/868360?v=3","gravatar_id":"","url":"https://api.github.com/users/KajWiik","html_url":"https://github.com/KajWiik","followers_url":"https://api.github.com/users/KajWiik/followers","following_url":"https://api.github.com/users/KajWiik/following{/other_user}","gists_url":"https://api.github.com/users/KajWiik/gists{/gist_id}","starred_url":"https://api.github.com/users/KajWiik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KajWiik/subscriptions","organizations_url":"https://api.github.com/users/KajWiik/orgs","repos_url":"https://api.github.com/users/KajWiik/repos","events_url":"https://api.github.com/users/KajWiik/events{/privacy}","received_events_url":"https://api.github.com/users/KajWiik/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":33,"created_at":"2016-12-09T23:47:23Z","updated_at":"2016-12-16T14:15:34Z","closed_at":null,"body":"```julia \r\njulia> include(joinpath(Pkg.dir(\"QML\"),\"example\",\"plot.jl\"))\r\n\r\nsignal (11): Segmentation fault\r\nwhile loading /home/kjwiik/.julia/v0.5/QML/example/plot.jl, in expression starting on line 45\r\n__libc_siglongjmp at /build/glibc-Qz8a69/glibc-2.23/setjmp/longjmp.c:30\r\nunknown function (ip: 0x7f6d607c0fe1)\r\npng_error at /usr/lib/x86_64-linux-gnu/libpng12.so.0 (unknown line)\r\npng_create_write_struct_2 at /usr/lib/x86_64-linux-gnu/libpng12.so.0 (unknown line)\r\npng_create_write_struct at /usr/lib/x86_64-linux-gnu/libpng12.so.0 (unknown line)\r\nunknown function (ip: 0x7f6d607c118e)\r\ncairo_surface_write_to_png at /home/kjwiik/.julia/v0.5/GR/src/../deps/gr/lib/./cairoplugin.so (unknown line)\r\nunknown function (ip: 0x7f6d60761387)\r\ngks_cairoplugin at /home/kjwiik/.julia/v0.5/GR/src/../deps/gr/lib/./cairoplugin.so (unknown line)\r\nunknown function (ip: 0x7f6d60e9ba59)\r\ngks_close_ws at /home/kjwiik/.julia/v0.5/GR/src/../deps/gr/lib/libGR.so (unknown line)\r\ngks_emergency_close at /home/kjwiik/.julia/v0.5/GR/src/../deps/gr/lib/libGR.so (unknown line)\r\ngr_emergencyclosegks at /home/kjwiik/.julia/v0.5/GR/src/../deps/gr/lib/libGR.so (unknown line)\r\n_show at /home/kjwiik/.julia/v0.5/Plots/src/backends/gr.jl:1090\r\ndisplay at /home/kjwiik/.julia/v0.5/QML/src/QML.jl:111\r\nunknown function (ip: 0x7f6d91820bd6)\r\njl_call_method_internal at /home/centos/buildbot/slave/package_tarball64/build/src/julia_internal.h:189 [inlined]\r\njl_apply_generic at /home/centos/buildbot/slave/package_tarball64/build/src/gf.c:1942\r\nplotsin at /home/kjwiik/.julia/v0.5/QML/example/plot.jl:33\r\nunknown function (ip: 0x7f6d917d1a92)\r\njl_call_method_internal at /home/centos/buildbot/slave/package_tarball64/build/src/julia_internal.h:189 [inlined]\r\njl_apply_generic at /home/centos/buildbot/slave/package_tarball64/build/src/gf.c:1942\r\njl_apply at /home/centos/buildbot/slave/package_tarball64/build/src/julia.h:1392 [inlined]\r\njl_call at /home/centos/buildbot/slave/package_tarball64/build/src/jlapi.c:126\r\n_ZN7qmlwrap8JuliaAPI4callERK7QStringRK5QListI8QVariantE at /home/kjwiik/.julia/v0.5/QML/deps/usr/lib/libqmlwrap.so (unknown line)\r\nunknown function (ip: 0x7f6d90f76405)\r\n_ZN7qmlwrap8JuliaAPI11qt_metacallEN11QMetaObject4CallEiPPv at /home/kjwiik/.julia/v0.5/QML/deps/usr/lib/libqmlwrap.so (unknown line)\r\nunknown function (ip: 0x7f6d902c1318)\r\nunknown function (ip: 0x7f6d9024667b)\r\nunknown function (ip: 0x7f6d90247ebb)\r\n_ZN3QV413QObjectMethod12callInternalEPNS_8CallDataE at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5 (unknown line)\r\n_ZN3QV47Runtime12callPropertyEPNS_15ExecutionEngineEiPNS_8CallDataE at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5 (unknown line)\r\nunknown function (ip: 0x7f6d68024afc)\r\nunknown function (ip: 0x7f6d901fef36)\r\nunknown function (ip: 0xb56d51471f3b2bff)\r\nAllocations: 18685626 (Pool: 18683953; Big: 1673); GC: 33\r\nSegmentation fault (core dumped)\r\n`"},"comment":{"url":"https://api.github.com/repos/barche/QML.jl/issues/comments/267602755","html_url":"https://github.com/barche/QML.jl/issues/27#issuecomment-267602755","issue_url":"https://api.github.com/repos/barche/QML.jl/issues/27","id":267602755,"user":{"login":"barche","id":966001,"avatar_url":"https://avatars.githubusercontent.com/u/966001?v=3","gravatar_id":"","url":"https://api.github.com/users/barche","html_url":"https://github.com/barche","followers_url":"https://api.github.com/users/barche/followers","following_url":"https://api.github.com/users/barche/following{/other_user}","gists_url":"https://api.github.com/users/barche/gists{/gist_id}","starred_url":"https://api.github.com/users/barche/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/barche/subscriptions","organizations_url":"https://api.github.com/users/barche/orgs","repos_url":"https://api.github.com/users/barche/repos","events_url":"https://api.github.com/users/barche/events{/privacy}","received_events_url":"https://api.github.com/users/barche/received_events","type":"User","site_admin":false},"created_at":"2016-12-16T14:15:34Z","updated_at":"2016-12-16T14:15:34Z","body":"@jheinen I wouldn't go for that solution, but rather try to automate building the GR dependency (controlled by an environment variable) so users can choose to build their own binary in cases like this. I haven't checked if the GR source maybe already has this? An additional benefit is that you can use something like Travis to build a binary release automatically."}}
{"actor":{"display_login":"barche"}}