[Top][All Lists]

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

[Octave-bug-tracker] [bug #30685] Segmentation fault in ./run-octave [si

From: Keith Godfrey
Subject: [Octave-bug-tracker] [bug #30685] Segmentation fault in ./run-octave [sigemptyset() in liboctinterp-3.3.52.so]
Date: Fri, 11 Mar 2011 20:56:48 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20110107 Iceweasel/3.5.16 (like Firefox/3.5.16)

Follow-up Comment #27, bug #30685 (project octave):

Compiling octave 3.4.0 on Redhat Enterprise 5.4, gcc 4.1.2, results in same
problem (segmentation fault when calling run-octave). 

A change (similar to Leonardo's) that seems to work while theoretically
maintaining sigaction functionality is to explicitly call the sigemptyset
macro (bits/sigset.h):

octave-3.4.0/src/sighandlers.cc   line 225
  //gnulib::sigemptyset (&act.sa_mask);
  //gnulib::sigemptyset (&oact.sa_mask);
  //gnulib::sigaction (sig, &act, &oact);
  __sigemptyset (&act.sa_mask);
  __sigemptyset (&oact.sa_mask);
  sigaction (sig, &act, &oact);

(only removing the namespace didn't work for me either)


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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