Ticket #637 (closed defect: fixed)
Segmentation fault error with NSSearchPathForDirectoriesInDomains function
| Reported by: | aldarisb@… | Owned by: | lsansonetti@… |
|---|---|---|---|
| Priority: | major | Milestone: | MacRuby 0.6 |
| Component: | MacRuby | Keywords: | NSSearchPathForDirectoriesInDomains "Segmentation fault" |
| Cc: |
Description
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
Change History
Note: See
TracTickets for help on using
tickets.

