{"action":"created","issue":{"url":"https://api.github.com/repos/rubinius/rubinius/issues/3245","labels_url":"https://api.github.com/repos/rubinius/rubinius/issues/3245/labels{/name}","comments_url":"https://api.github.com/repos/rubinius/rubinius/issues/3245/comments","events_url":"https://api.github.com/repos/rubinius/rubinius/issues/3245/events","html_url":"https://github.com/rubinius/rubinius/issues/3245","id":52498063,"number":3245,"title":"Segmentation fault while creating gem documentation","user":{"login":"Mazwak","id":120138,"avatar_url":"https://avatars.githubusercontent.com/u/120138?v=3","gravatar_id":"","url":"https://api.github.com/users/Mazwak","html_url":"https://github.com/Mazwak","followers_url":"https://api.github.com/users/Mazwak/followers","following_url":"https://api.github.com/users/Mazwak/following{/other_user}","gists_url":"https://api.github.com/users/Mazwak/gists{/gist_id}","starred_url":"https://api.github.com/users/Mazwak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mazwak/subscriptions","organizations_url":"https://api.github.com/users/Mazwak/orgs","repos_url":"https://api.github.com/users/Mazwak/repos","events_url":"https://api.github.com/users/Mazwak/events{/privacy}","received_events_url":"https://api.github.com/users/Mazwak/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rubinius/rubinius/labels/crash","name":"crash","color":"ff0000"},{"url":"https://api.github.com/repos/rubinius/rubinius/labels/JIT","name":"JIT","color":"a6d18e"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2014-12-19T16:01:37Z","updated_at":"2015-01-09T02:06:31Z","closed_at":null,"body":"Hi\r\n\r\nI'm experiencing a crash when installing or updating gems on 2.4.0 and 2.4.1.\r\n\r\nEnvironment :\r\nLinux Mint 17.1 64 bits\r\nLLVM 3.4\r\n\r\nTried :\r\nrbenv/ruby-build 2.4.0\r\nrbenv/ruby-build 2.4.1\r\ngit clone latest (commit 4f38c3364f36c5ca059c2ef9443d92a997d6734c)\r\n\r\nHere is a sample output :\r\n~ % gem install sinatra sequel sqlite3 prawn rails\r\nSuccessfully installed sinatra-1.4.5\r\nParsing documentation for sinatra-1.4.5\r\nDone installing documentation for sinatra after 1 seconds\r\nSuccessfully installed sequel-4.17.0\r\nParsing documentation for sequel-4.17.0\r\ngem: /usr/lib/llvm-3.4/include/llvm/Support/Casting.h:97: static bool llvm::isa_impl_cl<To, const From*>::doit(const From*) [with To = llvm::Constant; From = llvm::Value]: Assertion `Val && \"isa<> used on a null pointer\"' failed.\r\nThe Rubinius process is aborting with signal: SIGABRT\r\n--- begin system info ---\r\nsysname: Linux\r\nnodename: NNAN0040-2\r\nrelease: 3.13.0-37-generic\r\nversion: #64-Ubuntu SMP Mon Sep 22 21:28:38 UTC 2014\r\nmachine: x86_64\r\n--- end system info ---\r\n--- begin system backtrace ---\r\ngem() [0x68e4d9]\r\n/lib/x86_64-linux-gnu/libpthread.so.0(+0x10340) [0x7f2c8d443340]\r\n/lib/x86_64-linux-gnu/libc.so.6(gsignal+0x39) [0x7f2c8c65abb9]\r\n/lib/x86_64-linux-gnu/libc.so.6(abort+0x148) [0x7f2c8c65dfc8]\r\n/lib/x86_64-linux-gnu/libc.so.6(+0x2fa76) [0x7f2c8c653a76]\r\n/lib/x86_64-linux-gnu/libc.so.6(+0x2fb22) [0x7f2c8c653b22]\r\ngem() [0x75acdc]\r\ngem() [0x7790a6]\r\ngem() [0x77962c]\r\ngem() [0x78525d]\r\ngem() [0x791cc3]\r\ngem() [0x792620]\r\ngem(_ZN8rubinius3jit7Builder13generate_bodyEv+0x69d) [0x77403d]\r\ngem(_ZN8rubinius3jit8Compiler15compile_builderERNS_13JITMethodInfoERNS0_7BuilderE+0x20) [0x7928e0]\r\ngem(_ZN8rubinius3jit8Compiler13compile_blockEPNS_17JITCompileRequestE+0x27d) [0x79309d]\r\ngem(_ZN8rubinius9LLVMState7performEPNS_5StateE+0x60a) [0x7b211a]\r\ngem(_ZN8rubinius19jit_llvm_trampolineEPNS_5StateE+0x1f) [0x7b2b9f]\r\ngem(_ZN8rubinius6Thread13in_new_threadEPv+0x481) [0x71b931]\r\n/lib/x86_64-linux-gnu/libpthread.so.0(+0x8182) [0x7f2c8d43b182]\r\n/lib/x86_64-linux-gnu/libc.so.6(clone+0x6d) [0x7f2c8c71eefd]\r\n--- end system backtrace ---\r\n--- begin Ruby backtraces ---\r\n--- Thread 1 backtrace ---\r\n[1]    13810 segmentation fault (core dumped)  gem install sinatra sequel sqlite3 prawn rails\r\ngem install sinatra sequel sqlite3 prawn rails  26,73s user 0,38s system 164% cpu 16,500 total"},"comment":{"url":"https://api.github.com/repos/rubinius/rubinius/issues/comments/69283384","html_url":"https://github.com/rubinius/rubinius/issues/3245#issuecomment-69283384","issue_url":"https://api.github.com/repos/rubinius/rubinius/issues/3245","id":69283384,"user":{"login":"jemc","id":4623870,"avatar_url":"https://avatars.githubusercontent.com/u/4623870?v=3","gravatar_id":"","url":"https://api.github.com/users/jemc","html_url":"https://github.com/jemc","followers_url":"https://api.github.com/users/jemc/followers","following_url":"https://api.github.com/users/jemc/following{/other_user}","gists_url":"https://api.github.com/users/jemc/gists{/gist_id}","starred_url":"https://api.github.com/users/jemc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jemc/subscriptions","organizations_url":"https://api.github.com/users/jemc/orgs","repos_url":"https://api.github.com/users/jemc/repos","events_url":"https://api.github.com/users/jemc/events{/privacy}","received_events_url":"https://api.github.com/users/jemc/received_events","type":"User","site_admin":false},"created_at":"2015-01-09T02:06:31Z","updated_at":"2015-01-09T02:06:31Z","body":"It seems plausible as long as you know you're starting each thread with that guard in mind.  But I haven't actually looked into it so I'll keep my mouth shut for now until I do."}}