I'm trying to use the siginfo_t structure that's described in Section 5.4,
"Realtime Signal Handling", of the Guide to Realtime Programming.
As I read it, when a SIGFPE is generated, siginfo_t should contain the
address of the bad instruction in member si_addr.
理论上应该可以通过si_addr来判断事故发生位置。但Linux是否实现,是个问题。你可以试试,然后告诉咱们。