[Openmcl-devel] What's the minimal way to start using the ObjectiveC bridge?
sdl.web at gmail.com
Mon Apr 28 23:39:20 UTC 2014
On 2014-04-28 12:48 -0600, Gary Byers wrote:
> That (the "trace/bpt trap") is usually a symptom of Apple leaving a debugger
> breakpoint in some shared library (CoreFoundation, IIRC) if that library's
> initialization code discovers that it's running on something other than
> the initial thread. (Apple's a multibillion dollar company; they'd have
> several K$ less in the bank if they bothered to think about this a bit more.)
That sounds familiar ;) Years ago I ran into this (plplot I think) and
you provided a workaround.
> CCL has worked around this for the last several years by forcing shared libraries
> to be opened on the main thread. It's apparently the case that (at least on 10.9
> and whatever OSX version you're using) some library initialization code runs lazily,
> e.g., when some ObjC method is first invoked. I'm curious enough about this to
> want to look at things under GDB, but not curious enough to build GDB from source
> or learn lldb ...
More information about the Openmcl-devel