[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: weird bug(?) on segmentation fault

From: adler
Subject: Re: weird bug(?) on segmentation fault
Date: Thu, 24 May 2001 21:00:41 -0400 (EDT)

If you want to restore normal seg fault
behaviour, you can run a *.oct file such
as this

#include <signal.h>
#include <octave/oct.h>

DEFUN_DLD( normal_segfault, args, , "blah")
   signal (SIGSEGV, SIG_DFL);
   octave_value_list retval;
   return retval;

This can be useful for debugging, when
you want gdb to get involved at the
point of segfault.
Andy Adler,                address@hidden

On Thu, 24 May 2001, E. Joshua Rigler wrote:
> It's nice that Octave is fairly robust, and can attempt to save a
> session even on a segmentation fault, but I'm encountering a strange
> problem.  I haven't attempted to track the cause of the seg fault
> itself, but when it occurs, octave attempts to save the session to
> "octave-core".  It does this, then doesn't exit.  This is bad, because
> then every single attempted command after that causes another seg fault,
> which then causes Octave to try to save the session...even when the
> command is "exit" or "quit".  This was an issue when I had a session
> running with several hundred MB of data, which takes quite a bit of time
> to save to disk.  Ideally there wouldn't be a seg fault, but why isn't
> Octave exitting after it saves the session?
> I'm using 2.1.33.  Has anyone else esperienced something similar?
> -EJR

Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:
How to fund new projects:
Subscription information:

reply via email to

[Prev in Thread] Current Thread [Next in Thread]