On Feb 7, 2010, at 9:15 , Hazen Babcock wrote: > > On Feb 6, 2010, at 8:31 PM, David MacMahon wrote: > >> Have you actually experienced a crash due to this on Snow Leopard or >> are you expressing concern about a potential crash? > > I have not personally experienced this but a user of cl-plplot (the > lisp bindings for Plplot) ran into this problem. If you are running a > multi-threaded lisp process in a terminal window (a pretty common way > to run lisp) and then try and use the aquaterm driver in Plplot the > lisp process will crash with a "Trace / BPT trap" message.
Pardon the blasphemy :-), but is there any way to invoke gnuplot (or pgplot) with its aquaterm driver in a similar manner from a multi- threaded lisp process? That should crash in a similar manner. I had been thinking in the back of my mind that maybe this was really related to the plargs bug on MacOSX that I recently sent in a patch for, but that crashed with a "Bus Error" message, but the "Trace / BPT trap" message seems inconsistent with that idea and consistent with the posting you initially referenced. >> This is probably not unique to the aquaterm driver. I think loading >> the xcairo driver also ends up loading CoreFoundation if it hasn't >> been loaded already, so that too would be subjected to this behavior. > > The user said that the xwin driver was ok, so maybe the xcairo driver > will work as well? I believe the xwin driver does not use any libraries that ultimately depend on CoreFoundation, whereas the xcairo driver does. I expect that it will crash in the same way. Requiring that CoreFoundation be loaded from the main thread seems like a such a dlopen-unfriendly constraint that I suspect there is an easy way to ensure that it always happens that way. I suppose one could just always link one's application with CoreFoundation on MacOSX even if it doesn't use it unless/until a CoreFoundation dependent library is loaded. Dave ------------------------------------------------------------------------------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel