On 1/24/2014 1:43 PM, Robert Ellenberg wrote: > Hi Curtis, > > Thanks for taking the plunge with the new TP!I think I've seen something > like this too. Typically it's when I move an ngc file, then try to open it > from the 'recent files' list. Predictably, the file isn't there and it > throws an error, but then segfaults in milltask. > > Has anyone had experience using GDB to debug the "task" portion of > LinuxCNC? I've run rtapi_app through GDB in simulation to catch segfaults > in motion, but I'm not sure how to set this up for the task stuff or GUI's. > > -Rob I've found that a quick way to attack problems of that nature are to: 1 -- ulimit -c unlimited // enable core dumps -- I may have the command wrong. 2 -- run the application 3 -- find the core dump -- I think it will look like core.nnnnn where nnnnn is the process id of the process that crashed. It is sometimes hard to figure out which directory to look in for the core files. "find" is your friend. 4 -- then look at the core file using gdb -- the where command will give a traceback. Of course, if you didn't compile with -g (debug symbols), the traceback will be hard to read.
[Details to be provided by the user....] Ken > > > On Fri, Jan 24, 2014 at 10:00 AM, Curtis Dutton <curtd...@gmail.com> wrote: > >> It has not happened to me again. It was a one time thing so far. >> >> When I'm working with the machine, I copy down .ngc files to a folder on >> the cnc controller machine. Then run through them. Often I delete these >> files at the end of working with the cnc. I may have left the file open in >> Axis, deleted them from the computer, ran my toolchange program, and when >> it finished... bang! On the older 2.5 version this would just freeze axis >> occasionally. I'm wondering if the beta branch has different code that >> faults instead of freezes axis. >> >> >> On Wed, Jan 22, 2014 at 9:28 PM, Jon Elson <el...@pico-systems.com> wrote: >> >>> On 01/22/2014 02:04 PM, Sebastian Kuzminsky wrote: >>> Oh, signal 11! I know that one. It can be caused by bad >>> memory or >>> cache. The OP might want to run the memtest86 that at least >>> used >>> to be included on the live CD. >>> >>> Jon >>> >>> >>> >> ------------------------------------------------------------------------------ >>> CenturyLink Cloud: The Leader in Enterprise Cloud Services. >>> Learn Why More Businesses Are Choosing CenturyLink Cloud For >>> Critical Workloads, Development Environments & Everything In Between. >>> Get a Quote or Start a Free Trial Today. >>> >>> >> http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk >>> _______________________________________________ >>> Emc-developers mailing list >>> Emc-developers@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/emc-developers >>> >> ------------------------------------------------------------------------------ >> CenturyLink Cloud: The Leader in Enterprise Cloud Services. >> Learn Why More Businesses Are Choosing CenturyLink Cloud For >> Critical Workloads, Development Environments & Everything In Between. >> Get a Quote or Start a Free Trial Today. >> >> http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk >> _______________________________________________ >> Emc-developers mailing list >> Emc-developers@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/emc-developers >> > ------------------------------------------------------------------------------ > CenturyLink Cloud: The Leader in Enterprise Cloud Services. > Learn Why More Businesses Are Choosing CenturyLink Cloud For > Critical Workloads, Development Environments & Everything In Between. > Get a Quote or Start a Free Trial Today. > http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk > _______________________________________________ > Emc-developers mailing list > Emc-developers@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-developers ------------------------------------------------------------------------------ CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments & Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk _______________________________________________ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers