wireplumber/lib/wp
Stefan Ursella 7ee69a9a47 log: set empty string to not set log_fields
not all functions in glib returns a value for the used log fields
in this case a 'g_return_val_if_fail(..) will only set 4 fields an
set the other field to NULL which leads to a segfault

Jul 22 13:41:37 Cynap-Pro-01121508 systemd-coredump[7247]: Process 496 (wireplumber) of user 4242 dumped core.

                                                           Stack trace of thread 496:
                                                           #0  0x00007f6b2ce58e99 __strlen_avx2 (libc.so.6 + 0x150e99)
                                                           #1  0x00007f6b2cf3ebe5 g_log_writer_journald (libglib-2.0.so.0 + 0x5fbe5)
                                                           #2  0x00007f6b2d0a9316 wp_log_fields_write_to_journal (libwireplumber-0.5.so.0 + 0x2b316)
                                                           #3  0x00007f6b2d0a96f5 wp_log_writer_default (libwireplumber-0.5.so.0 + 0x2b6f5)
                                                           #4  0x00007f6b2cf3cf3e g_log_structured_array (libglib-2.0.so.0 + 0x5df3e)
                                                           #5  0x00007f6b2cf3d0ae g_log_structured_array (libglib-2.0.so.0 + 0x5e0ae)
                                                           #6  0x00007f6b2cf3d4b7 g_logv (libglib-2.0.so.0 + 0x5e4b7)
                                                           #7  0x00007f6b2cf3d7ef g_log (libglib-2.0.so.0 + 0x5e7ef)
                                                           #8  0x00007f6b29efafef get_node_by_id (libwireplumber-module-cb-ipc.so + 0x24fef)
                                                           #9  0x00007f6b29efb032 wp_cb_ipc_get_app_properties (libwireplumber-module-cb-ipc.so + 0x25032)
2023-08-01 08:30:05 +00:00
..
private config: make it possible to have feature profiles 2023-06-23 20:15:26 +03:00
client.c log: implement a log topics system, like pipewire 2023-05-16 20:42:28 +03:00
client.h client: add _send_error() method 2021-10-13 11:09:11 +03:00
component-loader.c comp-loader: register the component & feature only if it activates successfully 2023-06-20 17:20:01 +03:00
component-loader.h core: introduce the notion of provided features on components 2023-06-20 12:39:29 +03:00
conf.c core: make the object registration functions public 2023-06-20 12:39:29 +03:00
conf.h lib: add WpConf API 2023-04-17 07:48:18 -04:00
core.c config: make it possible to have feature profiles 2023-06-23 20:15:26 +03:00
core.h core: load components internally and refactor main to just activate it 2023-06-23 18:01:26 +03:00
defs.h lib: add struct paddings to be able to maintain ABI compatibility 2021-06-08 17:38:14 +03:00
device.c log: rename "message" level to "notice" and print criticals with "E" 2023-05-18 16:19:49 +03:00
device.h device: add new wp_spa_device_managed_object_new_iterator API 2022-06-27 08:52:36 +00:00
error.c docs: fix C API documentation to work nicely with doxygen & sphinx 2021-05-25 14:19:53 +03:00
error.h core: load components internally and refactor main to just activate it 2023-06-23 18:01:26 +03:00
event-dispatcher.c core: make the object registration functions public 2023-06-20 12:39:29 +03:00
event-dispatcher.h event-dispatcher: refactor to use before/after dependencies on hooks 2023-04-17 07:48:18 -04:00
event-hook.c event-hook: fix different signedness comparison warning 2023-06-05 15:20:44 -04:00
event-hook.h event-dispatcher: refactor to use before/after dependencies on hooks 2023-04-17 07:48:18 -04:00
event.c log: implement a log topics system, like pipewire 2023-05-16 20:42:28 +03:00
event.h event-dispatcher: refactor to use before/after dependencies on hooks 2023-04-17 07:48:18 -04:00
factory.c log: implement a log topics system, like pipewire 2023-05-16 20:42:28 +03:00
factory.h wp-factory: enumerate pw_factory objects 2021-10-19 05:46:46 +00:00
global-proxy.c log: implement a log topics system, like pipewire 2023-05-16 20:42:28 +03:00
global-proxy.h lib: add struct paddings to be able to maintain ABI compatibility 2021-06-08 17:38:14 +03:00
iterator.c log: implement a log topics system, like pipewire 2023-05-16 20:42:28 +03:00
iterator.h lib: Use #define instead of 'static const' for constants 2021-06-24 09:24:16 -04:00
link.c log: implement a log topics system, like pipewire 2023-05-16 20:42:28 +03:00
link.h link: add WP_LINK_FEATURE_ESTABLISHED to track when a link is PAUSED/ACTIVE 2022-07-02 17:10:22 +03:00
log.c log: set empty string to not set log_fields 2023-08-01 08:30:05 +00:00
log.h log: fix log level mask to be able to test the trace level 2023-05-25 17:59:56 +03:00
meson.build dbus: refactor WpDBus into a plugin called dbus-connection 2023-06-20 12:39:29 +03:00
metadata.c log: implement a log topics system, like pipewire 2023-05-16 20:42:28 +03:00
metadata.h metadata: use pw_impl_metadata for WpImplMetadata 2021-09-17 09:08:48 -04:00
module.c log: implement a log topics system, like pipewire 2023-05-16 20:42:28 +03:00
module.h docs: impl-module: add since markers and improve the Lua doc appearence 2021-08-19 17:58:07 +03:00
node.c Merge branch '0.4' into next 2023-06-21 20:59:04 +03:00
node.h docs: fix C API documentation to work nicely with doxygen & sphinx 2021-05-25 14:19:53 +03:00
object-interest.c log: implement a log topics system, like pipewire 2023-05-16 20:42:28 +03:00
object-interest.h lib: Use #define instead of 'static const' for constants 2021-06-24 09:24:16 -04:00
object-manager.c core: make the object registration functions public 2023-06-20 12:39:29 +03:00
object-manager.h docs: fix C API documentation to work nicely with doxygen & sphinx 2021-05-25 14:19:53 +03:00
object.c object: make wp_object_get_core() return itself if it's the core 2023-06-23 18:01:26 +03:00
object.h object.h: don't include core.h 2023-06-23 18:01:26 +03:00
plugin.c object.h: don't include core.h 2023-06-23 18:01:26 +03:00
plugin.h core: make the object registration functions public 2023-06-20 12:39:29 +03:00
port.c log: implement a log topics system, like pipewire 2023-05-16 20:42:28 +03:00
port.h docs: fix C API documentation to work nicely with doxygen & sphinx 2021-05-25 14:19:53 +03:00
properties.c properties: add json to properties converters 2023-06-20 12:39:29 +03:00
properties.h properties: add json to properties converters 2023-06-20 12:39:29 +03:00
proxy-interfaces.c log: implement a log topics system, like pipewire 2023-05-16 20:42:28 +03:00
proxy-interfaces.h lib: add struct paddings to be able to maintain ABI compatibility 2021-06-08 17:38:14 +03:00
proxy.c log: implement a log topics system, like pipewire 2023-05-16 20:42:28 +03:00
proxy.h proxy: abort activation if error or destroyed 2021-12-13 08:37:07 -05:00
session-item.c object.h: don't include core.h 2023-06-23 18:01:26 +03:00
session-item.h object.h: don't include core.h 2023-06-23 18:01:26 +03:00
settings.c core: make the object registration functions public 2023-06-20 12:39:29 +03:00
settings.h scripts: use WpConf API to get configuration values 2023-04-17 07:48:18 -04:00
si-factory.c core: make the object registration functions public 2023-06-20 12:39:29 +03:00
si-factory.h core: make the object registration functions public 2023-06-20 12:39:29 +03:00
si-interfaces.c log: implement a log topics system, like pipewire 2023-05-16 20:42:28 +03:00
si-interfaces.h lib: remove WpEndpoint and WpSiEndpoint APIs 2023-04-17 07:48:18 -04:00
spa-json.c Merge branch '0.4' into next 2023-06-21 20:59:04 +03:00
spa-json.h spa-json: add _add_from_string() and _add_from_stringn() builder APIs 2023-04-17 07:47:09 -04:00
spa-pod.c log: implement a log topics system, like pipewire 2023-05-16 20:42:28 +03:00
spa-pod.h spa-pod: add missing API sentinel 2022-01-21 13:59:03 +00:00
spa-type.c log: implement a log topics system, like pipewire 2023-05-16 20:42:28 +03:00
spa-type.h docs: Add brief descriptions to all functions 2021-06-02 17:38:34 +00:00
state.c log: implement a log topics system, like pipewire 2023-05-16 20:42:28 +03:00
state.h state: remove support for groups and propagate save errors 2021-06-04 18:36:19 +03:00
transition.c log: implement a log topics system, like pipewire 2023-05-16 20:42:28 +03:00
transition.h lib: add struct paddings to be able to maintain ABI compatibility 2021-06-08 17:38:14 +03:00
wp.c log: improve the initialization process 2023-05-18 12:50:52 +03:00
wp.h dbus: refactor WpDBus into a plugin called dbus-connection 2023-06-20 12:39:29 +03:00
wpversion.h.in lib: add a version header 2020-06-02 18:26:40 +03:00