Ticket #724 (closed defect: invalid)
malloc warning with bookmarkDataWithContentsOfURL on aliases
| Reported by: | tvmoore@… | Owned by: | lsansonetti@… |
|---|---|---|---|
| Priority: | minor | Milestone: | MacRuby 0.6 |
| Component: | MacRuby | Keywords: | |
| Cc: |
Description (last modified by martinlagardette@…) (diff)
Create a Mac OS alias (not a symbolic link) named test on the Desktop, run the following script:
framework 'cocoa' p = NSURL.fileURLWithPath(File.expand_path("~/Desktop/test")) data = NSURL.bookmarkDataWithContentsOfURL(p, error:nil)
It will result in this warning:
macruby(420,0x7fff70770be0) malloc: reference count underflow for 0x2004b9800, break on auto_refcount_underflow_error to debug.
Change History
Note: See
TracTickets for help on using
tickets.

