{"action":"opened","issue":{"number":1296,"created_at":"2011-10-19T06:13:52Z","pull_request":{"diff_url":null,"patch_url":null,"html_url":null},"body":"Garbage collection seems to be causing segfaults when Rinda is involved. This appears to be related to an issue that I filed last year and was resolved: https://github.com/rubinius/rubinius/issues/631\r\n\r\nHere is one crash report: http://pastebin.com/YwMAjzLx\r\n\r\nMy current code that is reproducing this problem is a distributed prime number generator which makes use of Ring and Tuplespace within Rinda. I can share the code if wanted, but it's several hundred lines and requires a bit of setup to run [just fair warning]. However, because it's long running it will reliably reproduce the error, so let me know on that.\r\n\r\nRunning the code in gdb provides the following additional information:\r\n\r\n```\r\nProgram received signal EXC_BAD_ACCESS, Could not access memory.\r\nReason: KERN_INVALID_ADDRESS at address: 0x00000001058f9000\r\n[Switching to process 96854 thread 0x200b]\r\n0x00000001001d11f0 in rubinius::CompiledMethod::stack_size () at /Users/jon/Desktop/rubinius/vm/builtin/compiledmethod.hpp:25\r\n25            return STRIP_FIXNUM_TAG(this);\r\n```\r\n\r\nHere's the full backtrace from gdb: http://pastebin.com/kWSL8fPt","comments":0,"title":"Threading in 2.0.testing branch segfaults with Rinda","updated_at":"2011-10-19T06:13:52Z","url":"https://api.github.com/repos/rubinius/rubinius/issues/1296","id":1990967,"assignee":null,"milestone":null,"closed_at":null,"user":{"avatar_url":"https://secure.gravatar.com/avatar/8636a492ab325037a209c64f117770fa?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"8636a492ab325037a209c64f117770fa","url":"https://api.github.com/users/jmstacey","id":72270,"login":"jmstacey"},"html_url":"https://github.com/rubinius/rubinius/issues/1296","labels":[],"state":"open"},"legacy":{"number":1296,"action":"opened","issue":1990967}}