[L2Ork-dev] Won’t finish starting up
Bukvic, Ivica
ico at vt.edu
Sun Oct 20 13:54:26 EDT 2024
That should've read Deken (not Deke uzn). Hope this helps.
Best,
Ico
--
Ivica Ico Bukvic, D.M.A.
Director, Creativity + Innovation
Director, Human-Centered Design iPhD
Institute for Creativity, Arts, and Technology
Virginia Tech
Creative Technologies in Music
School of Performing Arts – 0141
Blacksburg, VA 24061
(540) 231-6139
ico at vt.edu
ci.icat.vt.edu
l2ork.icat.vt.edu
ico.bukvic.net
________________________________
From: L2Ork-dev <l2ork-dev-bounces at disis.music.vt.edu> on behalf of Bukvic, Ivica <ico at vt.edu>
Sent: Sunday, October 20, 2024 1:53:43 PM
To: l2ork-dev at disis.music.vt.edu <l2ork-dev at disis.music.vt.edu>
Subject: Re: [L2Ork-dev] Won’t finish starting up
Thank you, Jeff. So, did erasing plist fix the start-up issue? If so, glad to hear.
Regarding downloading externals, you should not mix vanilla or Deke uzn externals with pd-l2ork, because they're not guaranteed to be binary compatible. In fact, we are increasingly diverging which is making this less and less safe. Recompiling external from the same spurce should be fairly straightforward, however, and as long as it has been recompiled and the object runs as expected, it should run fine.
With this in mind, it may be a good idea to separate issues of crashing while having third party externals open versus just pd-l2ork crashing.
Lastly, I think the node webkit that we are using is becoming increasingly outdated and that may play a role in issues that you might be encountering, especially if they have coincided with your OS update. One thing that you could do is download the latest version of node webkit (nw.jd) for your platform and once you unzip the file rename the newdound folder into nw and replace the one that's inside of the pd-l2ork app (I think the prepackaged new folder is in the Contents/Resources/app.nw/bin/ folder. If that fixes things, then it is likely a node webkit issue. That also is something that the crash log points towards.
Best,
Ico
--
Ivica Ico Bukvic, D.M.A.
Director, Creativity + Innovation
Director, Human-Centered Design iPhD
Institute for Creativity, Arts, and Technology
Virginia Tech
Creative Technologies in Music
School of Performing Arts – 0141
Blacksburg, VA 24061
(540) 231-6139
ico at vt.edu
ci.icat.vt.edu
l2ork.icat.vt.edu
ico.bukvic.net
________________________________
From: L2Ork-dev <l2ork-dev-bounces at disis.music.vt.edu> on behalf of Jeff Morris <jeff at morrismusic.org>
Sent: Sunday, October 20, 2024 1:10:33 PM
To: l2ork-dev at disis.music.vt.edu <l2ork-dev at disis.music.vt.edu>
Subject: Re: [L2Ork-dev] Won’t finish starting up
Thanks, Ico.
Hmm, well this is cute. I was about to send the message below, and then the part about paths made me try deleting the plist again, and that fixed it! Which is curious, because I did that many times yesterday, fixing nothing—I checked my terminal history to be sure. So, I was about to delete all of the following, and then Pd-L2Ork crashed upon quitting! It was nwjs experiencing a memory segmentation fault, just like I had just written about Purr Data doing.
So, something is still up, which makes me wonder if it's relevant to this other issue that's been getting to me: [hid] yields a "couldn't create" message (even if I download the external and open its help patcher from the same folder as the external), and [mousestate] looks just fine but will never do anything (even with polling on)—however, these issues affect me in all versions of Pd as well as all of my students, so I thought it was unrelated.
Anyway, here's the message I had been writing this morning, with the new crash log at the bottom.
No new updates had been installed, and it had been running fine for months prior; however, while troubleshooting yesterday, I did update to macOS 14.7 (with no improvement).
Whitelisting Pd-L2Ork in the firewall didn't help, and I had the firewall off for some time while troubleshooting before.
In the DevTools console, I do see
TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined index.html:1
I was able to get Purr-Data working finally using sudo spctl --master-disable and it mostly works okay, except that it crashed upon quitting. The macOS console crash log shows the following. Looks like a memory segmentation fault experienced by nwjs.
Process: nwjs [5931]
Path: /Applications/Purr-Data.app/Contents/MacOS/nwjs
Identifier: net.purrdata.nwjs
Version: 2.20.0 (20241018-rev.2a261df4)
Code Type: X86-64 (Translated)
Parent Process: launchd [1]
User ID: 503
Date/Time: 2024-10-20 11:37:06.6460 -0500
OS Version: macOS 14.7 (23H124)
Report Version: 12
Anonymous UUID: 1BC23BFE-C11F-4613-471A-0AE84A365533
Sleep/Wake UUID: 8AE49111-EF90-486A-AD0D-3EC481CCFFAA
Time Awake Since Boot: 3800 seconds
Time Since Wake: 2360 seconds
System Integrity Protection: enabled
Notes:
PC register does not match crashing frame (0x0 vs 0x102BBCAD0)
Crashed Thread: 0 CrBrowserMain Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000008
Exception Codes: 0x0000000000000001, 0x0000000000000008
Termination Reason: Namespace SIGNAL, Code 11 Segmentation fault: 11
Terminating Process: exc handler [5931]
VM Region Info: 0x8 is not in any region. Bytes before following region: 4338950136
REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL
UNUSED SPACE AT START
--->
__TEXT 1029f2000-102a1e000 [ 176K] r-x/r-x SM=COW /Applications/Purr-Data.app/Contents/MacOS/nwjs
Error Formulating Crash Report:
PC register does not match crashing frame (0x0 vs 0x102BBCAD0)
______________________________
And here's the crash report from quitting Pd-L2Ork. Curiously, the macOS Console didn't add a "Translated Report" at the top this time.
{"app_name":"nwjs","timestamp":"2024-10-20 11:49:22.00 -0500","app_version":"20241014","slice_uuid":"4c4c4433-5555-3144-a1b7-b7a16950b103","build_version":"rev.61476ebf","platform":1,"bundleID":"net.pd-l2ork.nwjs","share_with_app_devs":0,"is_first_party":0,"bug_type":"309","os_version":"macOS 14.7 (23H124)","roots_installed":0,"name":"nwjs","incident_id":"FA458F67-37F4-48EB-8938-E64603047CB0"}
{
"uptime" : 4600,
"procRole" : "Foreground",
"version" : 2,
"userID" : 503,
"deployVersion" : 210,
"modelCode" : "Mac14,6",
"coalitionID" : 2356,
"osVersion" : {
"train" : "macOS 14.7",
"build" : "23H124",
"releaseType" : "User"
},
"captureTime" : "2024-10-20 11:49:17.1071 -0500",
"codeSigningMonitor" : 1,
"incident" : "FA458F67-37F4-48EB-8938-E64603047CB0",
"pid" : 6737,
"translated" : true,
"cpuType" : "X86-64",
"roots_installed" : 0,
"bug_type" : "309",
"procLaunch" : "2024-10-20 11:44:52.0551 -0500",
"procStartAbsTime" : 104763426427,
"procExitAbsTime" : 111124257500,
"procName" : "nwjs",
"procPath" : "\/Applications\/Pd-L2Ork.app\/Contents\/MacOS\/nwjs",
"bundleInfo" : {"CFBundleShortVersionString":"20241014","CFBundleVersion":"rev.61476ebf","CFBundleIdentifier":"net.pd-l2ork.nwjs"},
"storeInfo" : {"deviceIdentifierForVendor":"E70E8F79-8739-5220-93FD-F797E8F94304","thirdParty":true},
"parentProc" : "launchd",
"parentPid" : 1,
"coalitionName" : "net.pd-l2ork.nwjs",
"crashReporterKey" : "1BC23BFE-C11F-4613-471A-0AE84A365533",
"codeSigningID" : "net.pd-l2ork.nwjs",
"codeSigningTeamID" : "",
"codeSigningFlags" : 570425345,
"codeSigningValidationCategory" : 10,
"codeSigningTrustLevel" : 4294967295,
"wakeTime" : 3090,
"sleepWakeUUID" : "8AE49111-EF90-486A-AD0D-3EC481CCFFAA",
"sip" : "enabled",
"vmRegionInfo" : "0x8 is not in any region. Bytes before following region: 4377985016\n REGION TYPE START - END [ VSIZE] PRT\/MAX SHRMOD REGION DETAIL\n UNUSED SPACE AT START\n---> \n __TEXT 104f2c000-104f6c000 [ 256K] r-x\/r-x SM=COW \/Applications\/Pd-L2Ork.app\/Contents\/MacOS\/nwjs",
"exception" : {"codes":"0x0000000000000001, 0x0000000000000008","rawCodes":[1,8],"type":"EXC_BAD_ACCESS","signal":"SIGSEGV","subtype":"KERN_INVALID_ADDRESS at 0x0000000000000008"},
"termination" : {"flags":0,"code":11,"namespace":"SIGNAL","indicator":"Segmentation fault: 11","byProc":"exc handler","byPid":6737},
"vmregioninfo" : "0x8 is not in any region. Bytes before following region: 4377985016\n REGION TYPE START - END [ VSIZE] PRT\/MAX SHRMOD REGION DETAIL\n UNUSED SPACE AT START\n---> \n __TEXT 104f2c000-104f6c000 [ 256K] r-x\/r-x SM=COW \/Applications\/Pd-L2Ork.app\/Contents\/MacOS\/nwjs",
"extMods" : {"caller":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"system":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"targeted":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"warnings":0},
"faultingThread" : 0,
Thanks,
𐌌
Jeff Morris
http://morrismusic.org<http://morrismusic.org/>
http://weblogmusic.org<http://weblogmusic.org/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://disis.music.vt.edu/pipermail/l2ork-dev/attachments/20241020/a8657737/attachment-0001.htm>
More information about the L2Ork-dev
mailing list