The loop handler comes directly from libsamsung-ipc device drivers, which in turn wrap the vendor kernel interfaces.
Given that there is some possible variation between the way that the .loop implementations behaves, it's a good idea to add prints to understand better what is going on in case of issues. With the development of a new set of kernel drivers and libsamsung-ipc device driver for Replicant 11, we had a situation where that code was triggered. Note that, at the time of writing, we are not (yet) aware of any behavior difference with the different .loop implementations, but it would be worth checking if they all behave in the same way. Signed-off-by: Denis 'GNUtoo' Carikli <gnu...@cyberdimension.org> --- client.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client.c b/client.c index 3fa313e..2fc5944 100644 --- a/client.c +++ b/client.c @@ -180,7 +180,8 @@ void *ril_client_thread(void *data) rc = client->handlers->loop(client); if (rc < 0) { - RIL_LOGE("%s client loop failed", client->name); + RIL_LOGE("%s client loop failed with error %d", + client->name, rc); goto failure; } else { RIL_LOGE("%s client loop terminated", client->name); -- 2.30.1 _______________________________________________ Replicant mailing list Replicant@osuosl.org https://lists.osuosl.org/mailman/listinfo/replicant