[erlang-patches] Optimize handling of local fun variables in v3_kernel

Anthony Ramine <>
Tue Oct 8 18:57:19 CEST 2013

Hello Kostis,

Any idea why this still segfaults if HiPE is enabled?


Le 19 sept. 2013 à 15:18, Anthony Ramine a écrit :

> Received the core dump.
> In this GDB session (https://gist.github.com/nox/6623009) you can notice at the end that HiPE tries to patch a LOT of fun entries for the same erl_prettypr:lay/2 function. This is because I forgot to strip the eta-abstracted id annotations when compiling local fun references to Core Erlang in v3_core. I amended the first commit of that branch to fix that.
> Please refetch.
> Regards,
> Le 16 sept. 2013 à 11:37, Anthony Ramine a écrit :
>> I can't reproduce the issue, you were supposed to give me a core dump or something by "tomorrow", that was May 27th :)
>> Le 16 sept. 2013 à 11:08, Fredrik a écrit :
>>> Hello Anthony,
>>> Afaik the same issue is remaining as we discussed in private conversation i.e
>>> with these flags the build aborts:
>>> CONFIG_FLAGS = --enable-hipe --enable-smp-support --enable-native-libs

Anthony Ramine

More information about the erlang-patches mailing list