Path: utzoo!news-server.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!magnus.ircc.ohio-state.edu!zaphod.mps.ohio-state.edu!think.com!snorkelwacker.mit.edu!bu.edu!bucsf.bu.edu!jdubb From: jdubb@bucsf.bu.edu (jay dubb) Newsgroups: comp.unix.programmer Subject: process gets a SIGSEGV: how to find out where? Keywords: SIGSEGV core Message-ID: <76597@bu.edu.bu.edu> Date: 11 Mar 91 13:23:14 GMT Sender: news@bu.edu.bu.edu Distribution: usa Organization: Computer Science Department, Boston University, Boston, MA, USA Lines: 13 Originator: jdubb@bucsf.bu.edu I am posting this for a friend of mine who doesn't have access to USENET, so please respond directly to mlevin@jade.tufts.edu. I have a process that for some reason receives a SIGSEGV signal. It does not dump core, however. What is the best way to find out which function caused this? If there was a core file generated, I could use a debugger, but it does not create one. Is there any way I can force it to dump core on SIGSEGV, so that I can find out where it was when this happenned? Perhaps there is a way to find out, if I trap it using a signal handler or something. Any ideas? Thanks in advance. Mike Levin (mlevin@jade.tufts.edu)