Using OsBlockSignals() works also as suggested by Daniel. Here is a
second version of patches to fix this. For completeness, every abort
call is replaced by a call that blocks the signals before aborting.

Rami Ylimaki (2):
  os: Introduce OsAbort for proper core dumps.
  os: Prevent core dump from being truncated.

 composite/compwindow.c          |    2 +-
 glx/glthread.c                  |    2 +-
 hw/dmx/examples/xinput.c        |    2 +-
 hw/kdrive/src/kdrive.c          |    2 +-
 hw/xfree86/common/xf86Init.c    |    2 +-
 hw/xquartz/GL/capabilities.c    |    2 +-
 include/os.h                    |    2 ++
 miext/damage/damage.c           |   10 +++++-----
 miext/rootless/rootlessWindow.c |    2 +-
 os/log.c                        |    4 ++--
 os/utils.c                      |   13 +++++++++++++
 11 files changed, 29 insertions(+), 14 deletions(-)

_______________________________________________
xorg-devel mailing list
xorg-devel@lists.x.org
http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to