[SWLUG] how hard can it be... to get a core dump

Mark Summerfield mark at qtrac.eu
Thu Sep 25 15:59:02 UTC 2008


On 2008-09-25, Dave Cridland wrote:
> On Thu Sep 25 15:52:16 2008, Mark Summerfield wrote:
> > the -r6 says run 6 times. On the 5th run, prg2lout (the program lout
> > runs) exits with status 1 (and it shouldn't).
>
> I'm not sure I understand. An exit with status 1 won't cause a core
> dump. A core dump is caused by either a segfault or an abort, not a
> bad exit. An exi of 1 is normally called by the process calling
> exit(1), or return 1 from main(). Either is running the process to
> conclusion.

Yes, I think you and Justin are right... Sorry about that, I'm not used
to debugging other people's code where I have no idea how it works!



-- 
Mark Summerfield, Qtrac Ltd, www.qtrac.eu
    C++, Python, Qt, PyQt - training and consultancy
        "C++ GUI Programming with Qt 4" - ISBN 0132354160




More information about the Swlug mailing list