OK, this is weird, any #php peeps out there who can help me?
I am building a .phar file using "phar pack" to put files into the archive, including dependencies from a separate git repository.
If I use a symbolic link to the separate git repository, the phar works fine. But if I create a git submodule, the phar builds, but causes a kernel NULL pointer dereference when it runs!
What's going on there?
Looking at a diff of hex dumps of the .phar files created under each scenario, apart from some trailing binary, the only change seems to be some bytes being swapped from 0x33 to 0x12
So the null pointer deref seems to be coming from virtualbox which makes sense, but is no more explicable. What is PHP doing to cause it?!
The personal Mastodon instance of Gavin Brown.