This is a known issue. Its original root is some incompatibility in C++ exception handling (GCC vs MacOS X shared libs). Practically this means that if you have any configuration error (i e yam can not find config file, some missing params, etc) you will get Trap 6. Simplest way to check is to COPY original yam-mmc.cfg file to yam executable directory and run
./yam -c yam-mmc.cfg
from terminal.
If that works, modify .cfg file with your parameters.