From: Timothy Hunter Date: 2009-10-14T05:25:12+09:00 Subject: [ruby-core:26073] Re: Ruby 1.8.6-p383 hangs in dln_load on Snow Leopard On Oct 12, 2009, at Oct 12 7:56 AM, Andrew White wrote: > On Oct 3, 10:26 pm, Timothy Hunter wrote: >> An RMagick user reports that Ruby 1.8.6 hangs when requiring RMagick. >> I've determined that Ruby hangs in semaphore_wait_signal_trap() >> called >> from dln_load(). I've pasted the full traceback below. > > It looks like Snow Leopard broke backwards compatibility with > NSLinkModule as backporting the changes in dln.c from 1.8.7 to 1.8.6 > seems to fix the problems for me - at least it lets me load RMagick > without hanging. NSLinkModule and friends have been deprecated for a > while now (10.4, I think) and I'm betting that they didn't get much > attention when Apple were optimising dyld for Snow Leopard. > Fascinating. Thanks for running this down, Andrew. Do you think I should open a bug on Redmine? Were you planning to submit a patch?