Home
| Calendar
| Mail Lists
| List Archives
| Desktop SIG
| Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings Linux Cafe | Meeting Notes | Linux Links | Bling | About BLU |
gdb 5.2 and up has a "gcore" command.. you can attach to a running process, type gcore <optional filename for corefile> (which will drop a corefile), and then detach - all without killing the process. if interactive gdb scares the customer send them a little file (cmdfile) that contains 2 lines: gcore /tmp/mycore quit and run it as "gdb -x cmdfile binary pid" [FRamsay at castelhq.com: Sep 03 09:09] > Does anyone know of a way to get a core from a running process without > crashing the process? I have a process > that occasionally stops responding but doesn't actually crash. Worse this > only happens at one client site and > I can't reproduce it in the office, so I can't attach dbg to it. To > complicate matters the application spawns several > other processes so I don't know which one is causing the problem :( So > does anyone know a very simple way I > can get core file, and it has to be _very_ simple because I have to talk > the client through it over the phone. > > -fjr > > > Frank Ramsay > Systems Programmer > Castel, Inc > 14 Summer St, 3rd Floor > Malden, MA 02148 > (781) 324-0140 (voice) > (781) 324-0277 (fax) > Emal: framsay at castel.com > > > _______________________________________________ > Discuss mailing list > Discuss at blu.org > http://www.blu.org/mailman/listinfo/discuss
BLU is a member of BostonUserGroups | |
We also thank MIT for the use of their facilities. |