Sam Eiderman e6f9e0b0f6 python: Don't call Python functions if Python interpreter has already gone.
If you've registered a callback in Python and the handle is implicitly
closed when the Python interpreter exits, then it can be that the
following happens:

 - Python interpreter is finalized.
 - guestfs_close is called
 - callback is invoked (eg. close event or to display a debug message)
 - Python code runs from the callback wrapper

This cause a segfault on shutdown.  Catch this case and stop the
callback from running (we lose the event but given the above sequence
of events there's not much we can do about it).

See:
https://bugzilla.redhat.com/show_bug.cgi?id=1773520#c7
2019-11-18 15:35:17 +00:00
2019-08-20 17:32:19 +01:00
2019-11-13 12:49:55 +00:00
2019-04-23 18:08:19 +02:00
2019-11-16 08:38:51 +00:00
2019-09-10 17:52:16 +02:00
2019-04-23 18:08:19 +02:00
2019-04-23 18:08:19 +02:00
2019-11-13 12:49:55 +00:00
2019-04-23 18:08:19 +02:00
2019-04-23 18:08:19 +02:00
2019-04-23 18:08:19 +02:00
2019-01-23 13:05:59 +00:00
2019-01-08 11:58:30 +00:00
2019-01-08 11:58:30 +00:00
2019-11-13 12:49:55 +00:00
2019-11-13 12:49:55 +00:00
2019-01-08 11:58:30 +00:00
2019-11-13 12:49:55 +00:00
2019-11-13 12:49:55 +00:00
2019-01-08 11:58:30 +00:00
2019-11-13 12:49:55 +00:00
2019-11-13 12:49:55 +00:00
2018-02-22 15:06:13 +00:00
2019-01-08 11:58:30 +00:00
2019-01-08 11:58:30 +00:00
2019-11-13 12:49:55 +00:00
2013-01-24 15:00:49 +00:00
2019-11-13 12:49:55 +00:00
2019-11-13 12:49:55 +00:00
2019-11-13 12:49:55 +00:00
2019-11-13 12:49:55 +00:00
2019-09-06 09:42:35 +01:00
2019-01-08 11:58:30 +00:00
2019-11-13 12:49:55 +00:00
2019-11-13 12:49:55 +00:00
2019-11-13 12:49:55 +00:00
2016-02-10 14:15:05 +01:00

Libguestfs is tools and a library for accessing and modifying guest
disk images.  For more information see the home page:

  http://libguestfs.org/

For discussion, development, patches, etc. please use the mailing
list:

  http://www.redhat.com/mailman/listinfo/libguestfs

To find out how to build libguestfs from source, read:

  docs/guestfs-building.pod
  http://libguestfs.org/guestfs-building.1.html
  man docs/guestfs-building.1

Copyright (C) 2009-2019 Red Hat Inc.

The library is distributed under the LGPLv2+.  The programs are
distributed under the GPLv2+.  Please see the files COPYING and
COPYING.LIB for full license information.  The examples are under a
very liberal license.
Languages
C 42.7%
OCaml 35.5%
Shell 7.1%
Makefile 4%
Perl 2.6%
Other 8%