[erlang-questions] "Internal Error" compiling RFC 5912 asn1 modules

Björn Gustavsson bjorn@REDACTED
Thu Apr 24 08:02:10 CEST 2014


On Sun, Apr 20, 2014 at 4:36 PM, Christoph Egger
<christoph@REDACTED> wrote:
> Hi all!
>
> I'm trying to compile the OCSP module from either RFC5912 or RFC6960
> definitions which seems to fail for me:
>
>> Internal error: error:{case_clause,
>>                           {type,[],
>>                               {'Externaltypereference',62,
>>                                   'AlgorithmInformation-2009',
>>                                   'DIGEST-ALGORITHM'},
>>                               [],[],no}}
>> [{asn1ct_check,check_class,2,[{file,"asn1ct_check.erl"},{line,575}]},
>>  {asn1ct_check,check_type,3,[{file,"asn1ct_check.erl"},{line,3262}]},
>>  {asn1ct_check,check_each_component2,4,
>>                [{file,"asn1ct_check.erl"},{line,5734}]},
>>  {asn1ct_check,check_sequence,3,[{file,"asn1ct_check.erl"},{line,5174}]},
>>  {asn1ct_check,check_type,3,[{file,"asn1ct_check.erl"},{line,3202}]},
>>  {asn1ct_check,check_type,3,[{file,"asn1ct_check.erl"},{line,3253}]},
>>  {asn1ct_check,check_each_component2,4,
>>                [{file,"asn1ct_check.erl"},{line,5734}]},
>>  {asn1ct_check,check_sequence,3,[{file,"asn1ct_check.erl"},{line,5174}]}]
>
> Erlang/OTP 17 [erts-6.0] [source] [64-bit] [smp:4:4] [async-threads:10] [kernel-poll:false]
> but also with R16B3.1
>
> Is that a erlang bug or some broken parts of the asn.1? doesn't seem to
> mention anything in the rfc errata at least. if it's the later how would
> I debug this?

It is a bug in the asn1 application in Erlang/OTP. I will try to
fix it in the next maintenance release.

Thanks for reporting this bug.

/Bjorn



More information about the erlang-questions mailing list