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

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

[Octave-bug-tracker] [bug #50400] exit() in forked child doesn't return


From: Olaf Till
Subject: [Octave-bug-tracker] [bug #50400] exit() in forked child doesn't return
Date: Sat, 25 Feb 2017 15:08:58 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0

Follow-up Comment #2, bug #50400 (project octave):

At exit(), octave_qt_link::do_confirm_shutdown() tries to lock a QMutex
(which, since it's constructed before forking, is unusable in the child).

QMutex is initialized at construction, doesn't provide a method for
re-initialization, and has copying disabled. So it can't be made usable again
in the forked child.

What can be done to prevent the child from deadlocking at exit()?


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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