[ragel-users] Segment fault using Ruby Ragel 6.4 or 6.5 in Linux 32 and 64 bits

Adrian Thurston adrian.thurston at esentire.com
Tue Nov 17 16:33:24 UTC 2009


It should be printing an error instead of crashing.

identity.rl:27:3: no machine instantiations to write

It's been fixed in trunk. A new release is needed soon.

Thanks,
  Adrian

Iñaki Baz Castillo wrote:
> El Martes, 17 de Noviembre de 2009, Iñaki Baz Castillo escribió:
>> If doesn't occur if I remove the line "write data".
>> It occurs in Debian and Ubuntu of 32 and 64 bits, with Ragel 6.4 and 6.5,
>> using Ruby 1.8 or 1.9 (for sure Ruby version doesn't affect here).
>>
>> Is it a bug?
> 
> I forgot to add "main := display_name;" before "write data". Now it doesn't 
> crash. Is it the expected behavior?
> 
> 




More information about the ragel-users mailing list