I've reduced the test case down to the attached program. Note that nothing needs to be mounted on /mnt, and uncommenting the chdir call avoids the crash.
I've reduced the test case down to the attached program. Note that nothing needs to be mounted on /mnt, and uncommenting the chdir call avoids the crash.