Changes between Initial Version and Version 4 of Ticket #6993


Ignore:
Timestamp:
Mar 24, 2016, 2:18:47 PM (8 years ago)
Author:
ryandesign (Ryan Carsten Schmidt)
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #6993

    • Property Cc olegb@… added
    • Property Status changed from new to closed
    • Property Resolution changed from to fixed
    • Property Port ruby added
  • Ticket #6993 – Description

    initial v4  
    77This is a patch to fix the following issue that occurs on OS X.  If you run
    88
     9{{{
    910$ irb -r rubygems -r XXX
     11}}}
    1012
    1113where XXX may be Imagemagick, Postgres, etc then you may get a core dump.
     
    1416I've reproduced the core dump with the following combinations of platforms:
    1517
    16 Fink's Ruby 1.8.3, postgres 0.7.1 (against Postgresql 8.1.1)
    17 Fink's Ruby 1.8.4, postgres 0.7.1 (against Postgresql 8.1.2)
    18 Fink's Ruby 1.8.4, ruby-postgres 0.7.1.2005.12.21 (against Postgresql 8.1.2)
     18Fink's Ruby 1.8.3, postgres 0.7.1 (against Postgresql 8.1.1)\\
     19Fink's Ruby 1.8.4, postgres 0.7.1 (against Postgresql 8.1.2)\\
     20Fink's Ruby 1.8.4, ruby-postgres 0.7.1.2005.12.21 (against Postgresql 8.1.2)\\
    1921Darwin Ports 1.8.4, postgres 0.7.1 (against Postgresql 8.1.2)
    2022
     
    4042Here's the patch:
    4143
     44{{{
    4245diff -ru ruby-1.8.4.orig/ruby.c ruby-1.8.4/ruby.c
    4346--- ruby-1.8.4.orig/ruby.c      2005-12-11 16:36:52.000000000 -0800
     
    5255     rb_progname = rb_tainted_str_new2(origargv[0]);
    5356 #endif
     57}}}
    5458
    5559I'm going to roll this into the Fink ruby package.  It would be nice to see
    5660it in Darwin Ports, as I got the same core dumps in DP.
    5761
    58 Regards,
     62Regards,\\
    5963Blair