Where did you get those planet extract files?

Also, the segfault happens long after the extract files have been processed. Those ‘Stopped table’ messages are part of the index building and vacuum analyse parts of osm2pgsql. You might want to run osm2pgsql in gdb to gather more info about what exactly it’s doing when it segfaults.