[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[sc-dev] Psycollider openTextFile crashable - no tthread-safe?



Hi -

In Psycollider the following works fine:

  "startup..sc".openTextFile

but the following causes an ugly and unexplained Psycollider crash:

 Task{"startup..sc".openTextFile}.play(AppClock)

Same goes if you specify SystemClock.

Now, the PYSCLang code includes a little bit of code which is supposed
(according to the comments) to make it thread-safe, but it feels like
somehow this isn't working. Three questions:

(1) Does this happen on Psyco 3.2 (my test is on my recent build)?
(2) Has it been discovered/discussed before?
(3) Any suggestions for a fix/workaround?

Unfortunately the bad crash can be triggered during use of Help.gui so
it's particularly horrible!

Dan
-- 
http://www.mcld.co.uk

_______________________________________________
sc-dev mailing list

info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-dev/
search: https://listarc.bham.ac.uk/lists/sc-dev/search/