add core-dump example