If j2c segfaults, the resulting core file can be loaded in gdb using the following command:
gdb ovm core
You will not be able to run the program, but you will be able to see where it crashed and inspect the values that were present in memory at that time.