You can try to catch exceptions before your finally:
try:
f1()
except NameError as error: # Change as needed
print "Error caught:", error # Or simply "raise", in order to raise the error caught
finally:
raise Exception("segfault here")
print "finally"
That said, abamert is right: a segmentation fault is not an exception, so you might be looking for something else.