Project

General

Profile

Actions

Bug #1348

closed

Crash in library under Ruby 1.9.1

Added by nwiger (Nate Wiger) about 12 years ago. Updated almost 10 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Target version:
ruby -v:
ruby 1.9.1p0 (2009-01-30 revision 21907) [i686-linux]
Backport:
[ruby-core:23104]

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

teragram.c (5.34 KB) teragram.c source file to C extension nwiger (Nate Wiger), 04/02/2009 10:53 AM
ruby_crash.txt (15.3 KB) ruby_crash.txt crash dump from Ruby 1.9.1 nwiger (Nate Wiger), 04/02/2009 10:53 AM
Actions #1

Updated by nobu (Nobuyoshi Nakada) about 12 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

Actions #2

Updated by nwiger (Nate Wiger) about 12 years ago

=begin
A make clean fixed it, thank you. You can close this ticket as invalid.

=end

Actions #3

Updated by nobu (Nobuyoshi Nakada) about 12 years ago

  • Category changed from core to ext
  • Status changed from Open to Rejected

=begin

=end

Actions

Also available in: Atom PDF