{"action":"created","issue":{"url":"https://api.github.com/repos/CausalityLtd/ponyc/issues/215","labels_url":"https://api.github.com/repos/CausalityLtd/ponyc/issues/215/labels{/name}","comments_url":"https://api.github.com/repos/CausalityLtd/ponyc/issues/215/comments","events_url":"https://api.github.com/repos/CausalityLtd/ponyc/issues/215/events","html_url":"https://github.com/CausalityLtd/ponyc/issues/215","id":79123548,"number":215,"title":"Mandelbrot example segmentation fault.","user":{"login":"rockneurotiko","id":1377584,"avatar_url":"https://avatars.githubusercontent.com/u/1377584?v=3","gravatar_id":"","url":"https://api.github.com/users/rockneurotiko","html_url":"https://github.com/rockneurotiko","followers_url":"https://api.github.com/users/rockneurotiko/followers","following_url":"https://api.github.com/users/rockneurotiko/following{/other_user}","gists_url":"https://api.github.com/users/rockneurotiko/gists{/gist_id}","starred_url":"https://api.github.com/users/rockneurotiko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rockneurotiko/subscriptions","organizations_url":"https://api.github.com/users/rockneurotiko/orgs","repos_url":"https://api.github.com/users/rockneurotiko/repos","events_url":"https://api.github.com/users/rockneurotiko/events{/privacy}","received_events_url":"https://api.github.com/users/rockneurotiko/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-05-21T19:08:06Z","updated_at":"2015-05-22T14:08:55Z","closed_at":null,"body":"Hi!\r\n\r\nWith build 0.1.5-71-gfa2f4e1 I've downloaded the mandelbrot example, compiled it, and gives me segmentation fault every time. Also, I've tried to put a single print at the start of Main.create and still gives me the segmentation fault.\r\n\r\n```\r\nλ ponyc                                                                                               \r\nBuilding .\r\nBuilding builtin\r\nBuilding files\r\nBuilding time\r\nBuilding collections\r\nBuilding options\r\nGenerating\r\nOptimising\r\nWriting ./mandelbrot.o\r\nLinking ./mandelbrot\r\n------------------------------------------------------------\r\nλ ./mandelbrot                                                                                       \r\n[1]    22729 segmentation fault (core dumped)  ./mandelbrot\r\n```"},"comment":{"url":"https://api.github.com/repos/CausalityLtd/ponyc/issues/comments/104669097","html_url":"https://github.com/CausalityLtd/ponyc/issues/215#issuecomment-104669097","issue_url":"https://api.github.com/repos/CausalityLtd/ponyc/issues/215","id":104669097,"user":{"login":"rockneurotiko","id":1377584,"avatar_url":"https://avatars.githubusercontent.com/u/1377584?v=3","gravatar_id":"","url":"https://api.github.com/users/rockneurotiko","html_url":"https://github.com/rockneurotiko","followers_url":"https://api.github.com/users/rockneurotiko/followers","following_url":"https://api.github.com/users/rockneurotiko/following{/other_user}","gists_url":"https://api.github.com/users/rockneurotiko/gists{/gist_id}","starred_url":"https://api.github.com/users/rockneurotiko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rockneurotiko/subscriptions","organizations_url":"https://api.github.com/users/rockneurotiko/orgs","repos_url":"https://api.github.com/users/rockneurotiko/repos","events_url":"https://api.github.com/users/rockneurotiko/events{/privacy}","received_events_url":"https://api.github.com/users/rockneurotiko/received_events","type":"User","site_admin":false},"created_at":"2015-05-22T14:08:55Z","updated_at":"2015-05-22T14:08:55Z","body":"The same result :-S \r\n```\r\nλ git checkout 3cc402b\r\nNote: checking out '3cc402b'.\r\n\r\nYou are in 'detached HEAD' state. You can look around, make experimental\r\nchanges and commit them, and you can discard any commits you make in this\r\nstate without impacting any branches by performing another checkout.\r\n\r\nIf you want to create a new branch to retain commits you create, you may\r\ndo so (now or later) by using -b with the checkout command again. Example:\r\n\r\n  git checkout -b <new-branch-name>\r\n\r\nHEAD is now at 3cc402b... non-mutable set/map operators\r\n\r\nλ make config=debug\r\nfatal: ref HEAD is not a symbolic ref\r\nstdfd.c\r\nsocket.c\r\n[...]\r\n\r\nλ ./build/debug/ponyc examples/mandelbrot\r\nBuilding examples/mandelbrot\r\nBuilding builtin\r\nBuilding files\r\nBuilding time\r\nBuilding collections\r\nBuilding options\r\nGenerating\r\nOptimising\r\nWriting ./mandelbrot.o\r\nLinking ./mandelbrot\r\n\r\nλ gdb mandelbrot\r\n(gdb) run\r\nStarting program: /home/rock/Git/ponyc/mandelbrot\r\n[Thread debugging using libthread_db enabled]\r\nUsing host libthread_db library \"/usr/lib/libthread_db.so.1\".\r\n[New Thread 0x7ffff40f8700 (LWP 10329)]\r\n[New Thread 0x7ffff48f9700 (LWP 10328)]\r\n\r\nProgram received signal SIGSEGV, Segmentation fault.\r\n0x000000000040d708 in pony_traceunknown (p=0x0) at src/libponyrt/gc/trace.c:68\r\n68        pony_type_t* type = *(pony_type_t**)p;\r\n(gdb) backtrace\r\n#0  0x000000000040d708 in pony_traceunknown (p=0x0) at src/libponyrt/gc/trace.c:68\r\n#1  0x0000000000410c92 in actor_run (actor=0x7ffff58fa200) at src/libponyrt/actor/actor.c:110\r\n#2  0x000000000040bc35 in run (sched=0x623010) at src/libponyrt/sched/scheduler.c:407\r\n#3  0x000000000040bcc4 in run_thread (arg=0x623010) at src/libponyrt/sched/scheduler.c:432\r\n#4  0x000000000040bffc in scheduler_start (library=false) at src/libponyrt/sched/scheduler.c:516\r\n#5  0x000000000040b311 in pony_start (library=false) at src/libponyrt/sched/start.c:145\r\n#6  0x00000000004099a9 in main ()\r\n(gdb)\r\n```"}}