[MacRuby-devel] [MacRuby] #637: Segmentation fault error with NSSearchPathForDirectoriesInDomains function
MacRuby
ruby-noreply at macosforge.org
Sat Mar 27 13:18:35 PDT 2010
#637: Segmentation fault error with NSSearchPathForDirectoriesInDomains function
---------------------------------+------------------------------------------
Reporter: aldarisb@… | Owner: lsansonetti@…
Type: defect | Status: new
Priority: major | Milestone: MacRuby 0.5
Component: MacRuby | Keywords: NSSearchPathForDirectoriesInDomains "Segmentation fault"
---------------------------------+------------------------------------------
Hello MacRuby Team,
I have a segmentation fault error with in a macruby class.
To reproduce this problem with macirb tape follow lines :
{{{
def function_test
NSSearchPathForDirectoriesInDomains(NSDownloadsDirectory,
NSUserDomainMask)
end
function_test
}}}
We should have the segmentation fault error.
I reproduce this problem under an MacRuby Xcode Project.
But if I use directly the
"NSSearchPathForDirectoriesInDomains(NSDownloadsDirectory,
NSUserDomainMask)", I don't have the error.
Regards
--
Ticket URL: <http://www.macruby.org/trac/ticket/637>
MacRuby <http://macruby.org/>
More information about the MacRuby-devel
mailing list