Bug #1348
closedCrash in library under Ruby 1.9.1
Description
=begin
We have a small C library that now crashes under Ruby 1.9.1. It appears to compile cleanly, but gives the following error:
validates_vulgarity.rb:6: [BUG] unknown type 0x22 (0xc given) ruby 1.9.1p0 (2009-01-30 revision 21907) [i686-linux]
This crash happens in the call to "initialize" (eg, new) in the Teragram class:
@teragram = Teragram.new(@vulgarity_dictionary_path)
Our source file and crash dump are attached.
Thanks,
Nate Wiger
PlayStation
=end
Files
Updated by nobu (Nobuyoshi Nakada) over 15 years ago
=begin
Hi,
At Thu, 2 Apr 2009 10:53:11 +0900,
Nate Wiger wrote in [ruby-core:23104]:
We have a small C library that now crashes under Ruby 1.9.1.
It appears to compile cleanly, but gives the following error:validates_vulgarity.rb:6: [BUG] unknown type 0x22 (0xc given) ruby 1.9.1p0 (2009-01-30 revision 21907) [i686-linux]
0x22 and 0xc are T_DATA in 1.8 and 1.9 respectively. You seem
not to clean old object files.
--
Nobu Nakada
=end
Updated by nwiger (Nate Wiger) over 15 years ago
=begin
A make clean fixed it, thank you. You can close this ticket as invalid.
=end
Updated by nobu (Nobuyoshi Nakada) over 15 years ago
- Category changed from core to ext
- Status changed from Open to Rejected
=begin
=end