darling icon indicating copy to clipboard operation
darling copied to clipboard

Package installer crashes when installing Python.org Python 3.10.5

Open hamishmb opened this issue 3 years ago • 10 comments

Expected Result Python 3.10.5 installs successfully (worked previously with Darling using the LKM).

Actual Result Installation fails with lots of "Resource Temporarily Unavailable" errors, followed by a Python stack trace.

Steps To Reproduce Consistently crashes the same way when trying to install Python 3.10.5 the usual way with the package installer.

System Information

Software Version
Debian 11
Linux Kernel 5.10.0
Darling e385bb9d9898987119c6514d01d403204e00704d

I don't know how to debug this but I'd be happy to try if someone's willing to hand-hold me through the process.

hamishmb avatar Aug 16 '22 19:08 hamishmb

I'm unable to reproduce this locally on the latest commit; both 3.10.5 and the newest release, 3.10.6, install and run without issue. Could you try this again in a new prefix? (set DPREFIX to some path before running Darling).

If the issue persists, one thing you can try is running it with xtrace: just prepend xtrace to the beginning of the command (e.g. xtrace echo hello).

Just to be sure, you're installing the package using installer -pkg python-3.10.5-macos11.pkg -target /, right?

facekapow avatar Sep 05 '22 17:09 facekapow

Yes, I'll rebuild and try again - there have been quite a few commits since I found this one.

I was indeed using that command.

hamishmb avatar Sep 05 '22 18:09 hamishmb

My laptop's CPU fan has just died, so it'll be a few days before I can fire up the VM again to check, ah well.

hamishmb avatar Sep 08 '22 18:09 hamishmb

Okay, fixed it, updated and rebuilt Darling with the latest changes as instructed in the build instructions.

I still have the crash. I did a debug build though, so when I have some more time I'll report back with some debugging results.

hamishmb avatar Sep 16 '22 14:09 hamishmb