octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #38305] file dialog causes crash


From: Dan Sebald
Subject: [Octave-bug-tracker] [bug #38305] file dialog causes crash
Date: Mon, 27 May 2013 06:24:14 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:18.0) Gecko/20100101 Firefox/18.0 SeaMonkey/2.15

Follow-up Comment #31, bug #38305 (project octave):

Just writing some lines of investigation here...

I notice in the sighandlers.cc file is this configuration for SIGIO:


octave_set_signal_handler (SIGIO, SIG_IGN);


Here is a description of SIGIO:

http://www.gnu.org/software/libc/manual/html_node/Asynchronous-I_002fO-Signals.html#Asynchronous-I_002fO-Signals

And here is a description of what SIG_IGN means:

http://www.gnu.org/software/libc/manual/html_node/Basic-Signal-Handling.html

I'm wondering if we need a valid signal handler or use the default signal
handler (i.e., SIG_DFL) rather than ignoring the signal.  The documentation
says to not ignore something for which there could be a valid signal sent. 
I'm wondering if perhaps under the scenario you describe, i.e., a Samba server
there might be some asynchronous signal sent (i.e., a meaningful SIGIO
signal).  Perhaps if that is the case then ignoring the signal is the wrong
thing to do because the OS kernel believes (rightfully so) that the QProcesses
are not responding.

If you want to give something a try, see what happens when you change that
line above to:


octave_set_signal_handler (SIGIO, SIG_DFL);



    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?38305>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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