Post

Replies

Boosts

Views

Activity

Reply to Enable core dumps on Mac OS X Monterey M1 Pro
I found out that /cores directory was mounted as read-only file system. I used DiskUtility to fix that such that /cores was writeable. Unfortunately still no core files. I tested with a very simple program that called abort() immediately after starting the main function. I have set ulimit -c unlimited and tested with launctl to set core limit there unlimited as well. Still no success. This is extremely disturbing since it means that I cannot debug my application. It is impossible to figure out why a call to pthread_cond_signal fails with Bus error without having access to a core file.
Nov ’21
Reply to Building MySQL swapped to x86_64 from ARM64 after upgrading to Mac OS X 12.1 and Xcode 13.2
Seems like the 2 terminals I had created, one for Rosetta and one for ARM64 had been squashed and only the Rosetta terminal was remaining. By changing the terminal to use ARM64 it seems the problem disappeared.
Replies
Boosts
Views
Activity
Dec ’21
Reply to Enable core dumps on Mac OS X Monterey M1 Pro
I found out that /cores directory was mounted as read-only file system. I used DiskUtility to fix that such that /cores was writeable. Unfortunately still no core files. I tested with a very simple program that called abort() immediately after starting the main function. I have set ulimit -c unlimited and tested with launctl to set core limit there unlimited as well. Still no success. This is extremely disturbing since it means that I cannot debug my application. It is impossible to figure out why a call to pthread_cond_signal fails with Bus error without having access to a core file.
Replies
Boosts
Views
Activity
Nov ’21