[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[sc-dev] Psycollider openTextFile crashable - no tthread-safe?
- To: "SuperCollider developers list" <sc-dev@xxxxxxxxxxxxxxxx>
- Subject: [sc-dev] Psycollider openTextFile crashable - no tthread-safe?
- From: "Dan Stowell" <danstowell@xxxxxxxxx>
- Date: Wed, 24 Dec 2008 12:42:14 +0000
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=sF4qJejOsht4uKbY4sjlPOmwMkuvSwxRhyKWzjCsgxc=; b=uMWhjls+TnnTuGIY+Gd2YSAxmz6vnF8N5SBrkH2Zq39ZyQtj6KbQ8dP1im4Vmj+RzF xW9QxMUL0eCUAC9Cw66dolSuq6X238o/D7+Q76K9+jNXf5VhdLduIMksgiA/AsxjflyZ 8lH7uVg2tkGOmcwqxVWSRBCDDfNOhO2raSMmg=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=otnsiEU+BXnls+1ZTvThWS7JitCsIvBbPIXOu5QQIXBhJNejmQdzVnlbToMdHfvb3M cbdMtzLF8Wc6HkwjNspqCH3TCcOx44FrOZbEn+q17ECTTomCoZECLKTsGd1lLAylpasE hiZzZG9D0I8IZme5ponIMdCSbDBflmsGmpD04=
- List-id: SuperCollider developers mailing list <sc-devel.create.ucsb.edu>
- Reply-to: sc-dev@xxxxxxxxxxxxxxxx
- Sender: owner-sc-dev@xxxxxxxxxxxxxxxx
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/