gstreamer/subprojects/gst-devtools/validate/gst/validate
Piotr Brzeziński 2cc30770cf tools: Disable fault signal handlers in gst-launch/gst-validate on macOS
By default, macOS attempts to run lldb against a misbehaving process to handle the crash. This does not play well
with the SISEGV/SIGQUIT handler we add in gst-launch/gst-validate. The 'spinning' mechanism causes the lldb
and debugserver processes ran by macOS to misbehave, taking 100% CPU and rendering both themselves and the GStreamer
instance frozen and very hard to effectively kill. macOS's Activity Monitor is also unusable while this is happening.

This patch takes the quickest possible solution of just disabling those signal handlers entirely on macOS.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5190>
2023-08-16 08:52:36 +00:00
..
flow validate: flow: Handle ignored fields for caps 2023-04-12 15:07:28 +00:00
gst-validate-bin-monitor.c validate: Add/fix various annotations 2022-10-18 08:56:58 +00:00
gst-validate-bin-monitor.h validate: Cleanup ABI and make it ready to be stabilized this cycle 2022-03-17 14:48:34 +00:00
gst-validate-element-monitor.c validate: Add/fix various annotations 2022-10-18 08:56:58 +00:00
gst-validate-element-monitor.h validate: Cleanup ABI and make it ready to be stabilized this cycle 2022-03-17 14:48:34 +00:00
gst-validate-enum-types.c.template validate: cleanup the use of GST_VALIDATE_API on Windows 2022-11-18 02:17:27 +00:00
gst-validate-enum-types.h.template Move files from gst-devtools into the "subprojects/gst-devtools/" subdir 2021-09-24 16:15:38 -03:00
gst-validate-enums.h validate: Add a way to avoid checking property value after setting it 2023-04-26 00:03:06 +00:00
gst-validate-extra-checks.c validate: cleanup the use of GST_VALIDATE_API on Windows 2022-11-18 02:17:27 +00:00
gst-validate-i18n-lib.h Move files from gst-devtools into the "subprojects/gst-devtools/" subdir 2021-09-24 16:15:38 -03:00
gst-validate-internal.h validate: Handle testfiles that need an HTTP server 2022-10-05 20:29:22 +00:00
gst-validate-media-info.c validate: drop use of GSlice allocator 2023-02-03 17:48:10 +00:00
gst-validate-media-info.h validate: Cleanup ABI and make it ready to be stabilized this cycle 2022-03-17 14:48:34 +00:00
gst-validate-mockdecryptor.c Move files from gst-devtools into the "subprojects/gst-devtools/" subdir 2021-09-24 16:15:38 -03:00
gst-validate-mockdecryptor.h validate: Cleanup ABI and make it ready to be stabilized this cycle 2022-03-17 14:48:34 +00:00
gst-validate-monitor-factory.c Move files from gst-devtools into the "subprojects/gst-devtools/" subdir 2021-09-24 16:15:38 -03:00
gst-validate-monitor-factory.h Move files from gst-devtools into the "subprojects/gst-devtools/" subdir 2021-09-24 16:15:38 -03:00
gst-validate-monitor.c validate: Add/fix various annotations 2022-10-18 08:56:58 +00:00
gst-validate-monitor.h validate: Cleanup ABI and make it ready to be stabilized this cycle 2022-03-17 14:48:34 +00:00
gst-validate-override-registry.c validate: drop use of GSlice allocator 2023-02-03 17:48:10 +00:00
gst-validate-override-registry.h validate: Cleanup ABI and make it ready to be stabilized this cycle 2022-03-17 14:48:34 +00:00
gst-validate-override.c validate: Change IssueId type to guint32 2022-03-17 14:48:34 +00:00
gst-validate-override.h validate: Cleanup ABI and make it ready to be stabilized this cycle 2022-03-17 14:48:34 +00:00
gst-validate-pad-monitor.c validate: drop use of GSlice allocator 2023-02-03 17:48:10 +00:00
gst-validate-pad-monitor.h validate: Cleanup ABI and make it ready to be stabilized this cycle 2022-03-17 14:48:34 +00:00
gst-validate-pipeline-monitor.c validate: Add/fix various annotations 2022-10-18 08:56:58 +00:00
gst-validate-pipeline-monitor.h validate: Cleanup ABI and make it ready to be stabilized this cycle 2022-03-17 14:48:34 +00:00
gst-validate-report.c validate: drop use of GSlice allocator 2023-02-03 17:48:10 +00:00
gst-validate-report.h validate-scenario: Avoid timeouts on EOS 2022-11-15 07:47:49 +01:00
gst-validate-reporter.c validate: drop use of GSlice allocator 2023-02-03 17:48:10 +00:00
gst-validate-reporter.h validate: Cleanup ABI and make it ready to be stabilized this cycle 2022-03-17 14:48:34 +00:00
gst-validate-runner.c validate: drop use of GSlice allocator 2023-02-03 17:48:10 +00:00
gst-validate-runner.h validate: Cleanup ABI and make it ready to be stabilized this cycle 2022-03-17 14:48:34 +00:00
gst-validate-scenario.c validate: Add a way to avoid checking property value after setting it 2023-04-26 00:03:06 +00:00
gst-validate-scenario.h validate: scenario: Add a vmethod to free GstValidateActionParameter-s 2023-03-27 01:25:43 +00:00
gst-validate-types.h Move files from gst-devtools into the "subprojects/gst-devtools/" subdir 2021-09-24 16:15:38 -03:00
gst-validate-utils.c tools: Disable fault signal handlers in gst-launch/gst-validate on macOS 2023-08-16 08:52:36 +00:00
gst-validate-utils.h validate: Add a way to avoid checking property value after setting it 2023-04-26 00:03:06 +00:00
media-descriptor-parser.c validate: drop use of GSlice allocator 2023-02-03 17:48:10 +00:00
media-descriptor-parser.h validate: Cleanup ABI and make it ready to be stabilized this cycle 2022-03-17 14:48:34 +00:00
media-descriptor-writer.c gst-devtools: re-indent with GNU indent 2.2.12 2023-03-17 03:18:54 +00:00
media-descriptor-writer.h validate: Cleanup ABI and make it ready to be stabilized this cycle 2022-03-17 14:48:34 +00:00
media-descriptor.c validate: drop use of GSlice allocator 2023-02-03 17:48:10 +00:00
media-descriptor.h validate: Totally hide media descriptor node types from the API 2022-03-18 23:30:37 +00:00
meson.build gir: Checkout all .gir files and check that they are updated on the CI 2023-04-22 09:32:32 -04:00
validate-prelude.h validate: cleanup the use of GST_VALIDATE_API on Windows 2022-11-18 02:17:27 +00:00
validate.c validate: Protect init function with a recursive mutex 2023-03-02 02:50:45 +00:00
validate.h validate: Expose all public headers in main header 2022-03-17 14:48:34 +00:00