Article View: news.software.readers
Article #2270Re: TIN 1.1 PL6: SIGSEGV upon entering
From: Tod McQuillin
Date: Mon, 28 Sep 1992 11:36
Date: Mon, 28 Sep 1992 11:36
23 lines
1728 bytes
1728 bytes
twpierce@unix.amherst.edu (Tim Pierce) writes: > One of my users reports that invoking TIN invariably results in a > SIGSEGV being caught. No one else seems to be having this problem, > and we have not been able to recreate it. Any suggestions as to what > we should look for? Sure! Compile the code for debugging (add -g to the CFLAGS in the Makefile (actually tin calls this COPTS)). Then you can use dbx on the core dump produced by the SIGSEGV. (Or if you have gdb, use that). e.g. 1. User starts tin. *blammo* SIGSEGV. Core dumped. 2. dbx /usr/local/bin/tin ~user/core 3. at the (dbx) prompt type "where" -- This will tell you where the program was when it crashed and how it got there. Stuff like this is almost always caused by dereferencing a NULL pointer or overflowing the end of a buffer retrieved with malloc(). Send me e-mail if you need more help than this. --tod
Technical Details
Message-ID:
<UelpubG00WB8Mo_4VR@andrew.cmu.edu>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!sparky!uunet!cis.ohio-state.edu!pacific.mps.ohio-state.edu!linac!uwm.edu!ogicse!das-news.harvard.edu!cantaloupe.srv.cs.cmu.edu!crabapple.srv.cs.cmu.edu!andrew.cmu.edu!tm8t+References:
<BvAMK9.4wz@unix.amherst.edu>Show Full Headers
Complete Article Headers
Message-ID: <UelpubG00WB8Mo_4VR@andrew.cmu.edu> Subject: Re: TIN 1.1 PL6: SIGSEGV upon entering Date: Mon, 28 Sep 1992 11:36:07 +0000 From: tm8t+@andrew.cmu.edu (Tod McQuillin) References: <BvAMK9.4wz@unix.amherst.edu> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!sparky!uunet!cis.ohio-state.edu!pacific.mps.ohio-state.edu!linac!uwm.edu!ogicse!das-news.harvard.edu!cantaloupe.srv.cs.cmu.edu!crabapple.srv.cs.cmu.edu!andrew.cmu.edu!tm8t+ Newsgroups: news.software.readers Article-I.D.: andrew.UelpubG00WB8Mo_4VR Organization: Carnegie Mellon, Pittsburgh, PA Lines: 23 In-Reply-To: <BvAMK9.4wz@unix.amherst.edu>