On 16 Nov 2015, at 09:32, Mariano Martinez Peck <marianopeck@gmail.com> wrote:On Mon, Nov 16, 2015 at 8:56 AM, Marcus Denker <marcus.denker@inria.fr> wrote:On 16 Nov 2015, at 08:08, Henrik Johansen <henrik.s.johansen@veloxit.no> wrote:On 16 Nov 2015, at 11:49 , Boris Spasojevic <spasojev@inf.unibe.ch> wrote:Hey all,
How and where can I report the pharo VM crashing? if I have a class Tmp and it has a method
Tmp>>tmp
[ ^ true ]
and I try to execute Tmp new tmp. The VM segfaults.
-- Cheers, BoriS
That's a compiler (and probably a code) bug.It correctly eliminates the unused block, but it *should* emit a return self instruction (as it would for a method with an empty body), but it doesn't, which is why the VM crashes.Yes, that���s it. Should not be to hard to fix.. can you add an issue to the issue tracker?Hi guys,We were having a some crashes the other day with block closures compilation in 4.0. I didn't send a mail to the mailing list because I was not able to find a small reproducible test case. Maybe it is the same case as this one since my final thought was that it was a compiler problem and not VM.Marcus, do you think a workaround could also be applied to 4.0? If true, I can check if that solves my crashes or otherwise keep trying to see if I find a smaller case.