Index: [thread] [date] [subject] [author]
  From: Ville Hallik <ville@tartu.cyber.ee>
  To  : ggi-develop@eskimo.com
  Date: Wed, 14 Jul 1999 09:07:53 +0300 (EEST)

Re: hacking methods to find out bugs

On Tue, 13 Jul 1999, Christoph Egger wrote:

> On Tue, 13 Jul 1999, Ville Hallik wrote:
> > 
> > But You can raise SIGSEGV again after cleanup and voila: coredump is here.
> > This works at least for the following simple program under glibc2.1
> > (core shows exactly the right crashpoint: *p = 'a'; ):

[code example removed]

> Can you give an more common example that works under glibc2.0 too?

Same example works perfectly under RedHat-5.2 (glibc2.0 based system).
Unfortunately, coredump is not very helpful under libc5 based system I
have access to, but running under debugger still shows the exact location
of the crash. But this may be gdb's problem.

-- 

Ville Hallik   +372-52-77891
http://home.cyber.ee/~ville/

Index: [thread] [date] [subject] [author]