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 08:16:52 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:18.0) Gecko/20100101 Firefox/18.0 SeaMonkey/2.15

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

"
and:
//octave_initialize_interpreter (octave_cmdline_argc, octave_cmdline_argv,
// octave_embedded);

//octave_execute_interpreter ();
exec();
--> file dialog *did not freeze"
But I guess that was no surprise? 
"

Not a surprise, no.  But confirming is good to prevent going off track.

If you are not seeing SIGHUP or SIGINT in your signals.h file, then I assume
that KUbuntu is not using those signals so I doubt that is where the problem
lies.

I think the thing to do next is just a process of elimination.  Go back to the
unmodified octave-main-thread.cc.

In the file libinterp/octave.cc is a function octave_initialize_interpreter
().  Most of the lines of code look pretty innocuous, but let's confirm it is
the signal handler configuration that is the problem.  Place comments around
this install_signal_handlers:


/*
  if (! embedded)
    install_signal_handlers ();
  else
    quit_allowed = false;
*/


Hopefully there are no real important signals within Octave core for Octave to
run, at least for a little while and not taxing the system too much.

    _______________________________________________________

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]