Project

General

Profile

Actions

Bug #2220

closed

Hang in dln.c when using 1.8.6-p383 on Snow Leopard

Added by pixeltrix (Andrew White) over 14 years ago. Updated almost 13 years ago.

Status:
Closed
ruby -v:
ruby 1.8.6 (2009-08-04 patchlevel 383) [i686-darwin10.0.0]
[ruby-core:26117]

Description

=begin
Snow Leopard seems to have introduced some backward compatibility issues with the old NextStep era NSLinkModule group of functions. When trying to load RMagick the process hangs in dln_load and has to be killed using kill -9. The best fix going forward is to switch to dlopen as NSLinkModule has been deprecated since Tiger and is less efficient than dlopen in Snow Leopard.

The attached patch is a backport of r11810:
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=11810

Original Ruby-Core discussion:
http://www.ruby-forum.com/topic/196606
=end


Files

dln-snow-leopard.patch (1.91 KB) dln-snow-leopard.patch pixeltrix (Andrew White), 10/16/2009 03:11 PM
Actions #1

Updated by wyhaines (Kirk Haines) over 14 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

=begin
This issue was solved with changeset r26361.
Andrew, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.

=end

Actions

Also available in: Atom PDF

Like0
Like0