Send sigabrt to debug what the server is not ready 12/229312/1
authorYoungHun Kim <yh8004.kim@samsung.com>
Tue, 31 Mar 2020 06:08:36 +0000 (15:08 +0900)
committerYoungHun Kim <yh8004.kim@samsung.com>
Tue, 31 Mar 2020 06:08:42 +0000 (15:08 +0900)
Change-Id: I29b6da8faaa395381094a20ee27faa3357ca7a45

packaging/mused.spec
server/src/muse_server_private.c

index abc1dd8..3c7e0b5 100644 (file)
@@ -1,6 +1,6 @@
 Name:       mused
 Summary:    A multimedia daemon
-Version:    0.3.105
+Version:    0.3.106
 Release:    0
 Group:      System/Libraries
 License:    Apache-2.0
index cb4c6d8..b292662 100644 (file)
@@ -273,6 +273,8 @@ static gboolean _ms_connection_handler(GIOChannel *source, GIOCondition conditio
        if (!ms_is_server_ready()) {
                LOGW("Now mused state is not ready...");
                _ms_unlock_state();
+               muse_core_dump_fd_state(server_sockfd);
+               ms_respawn(SIGABRT);
                return FALSE;
        }