From Little Dolphin, 6 Years ago, written in Plain Text.
- view diff
Embed
  1. app@deb92:~/blade/vm/mod_signalwire$ ./testcli 127.0.0.1:2100 a.json
  2.  [DEBUG] 17:34:17 #0000661B                      ks_thread.c:768   __ks_thread_create_ex                            Allocating new thread, current active and attached count: 1, current active and detatched count: 0
  3.  
  4.  [DEBUG] 17:34:17 #0000661B                      ks_thread.c:783   __ks_thread_create_ex                            Thread state change: KS_THREAD_CALLER_STATE_INIT => KS_THREAD_STARTING, address: 0x7ffd66b3a848, tid: 00000000
  5.  
  6.  [DEBUG] 17:34:17 #0000661B                      ks_thread.c:786   __ks_thread_create_ex                            Thread state change: KS_THREAD_CALLER_STATE_INIT => KS_THREAD_CALLER_STATE_START_REQUESTED, address: 0x7ffd66b3a848, tid: 00000000
  7.  
  8.  [DEBUG] 17:34:17 #0000661B                      ks_thread.c:794   __ks_thread_create_ex                            Waiting for thread thread to set running, with address: 0x55aff5917358, tid: 00000000
  9.  
  10.  [DEBUG] 17:34:17 #0000661C                      ks_thread.c:203   thread_launch                                    Thread has launched with address: 0x55aff5917358, tid: 00000000
  11.  
  12.  [DEBUG] 17:34:17 #0000661C                      ks_thread.c:217   thread_launch                                    Marking thread as running, with address: 0x55aff5917358, tid: 00000000
  13.  
  14.  [DEBUG] 17:34:17 #0000661C                      ks_thread.c:224   thread_launch                                    Thread state change: KS_THREAD_STARTING => KS_THREAD_RUNNING, address: 0x7f6ef5a29850, tid: 00000000
  15.  
  16.  [DEBUG] 17:34:17 #0000661B                      ks_thread.c:821   __ks_thread_create_ex                            Allocated (attached) thread context ptr: 0x55aff5917358, tid: 0000661c
  17.  
  18.  [DEBUG] 17:34:17 #0000661C                      ks_thread.c:244   thread_launch                                    START call user thread callback with address: 0x55aff5917358, tid: 0000661c
  19.  
  20.   [INFO] 17:34:17 #0000661C                 handle_manager.c:222   __manager_loop                                   Manager loop starting
  21.   [INFO] 17:34:17 #0000661C                 handle_manager.c:202   __requested_service_in_ms                        Manager over due for service, last service interval was 1530092057309ms ago (max allowed is 300000ms)
  22.   [INFO] 17:34:17 #0000661C                 handle_manager.c:238   __manager_loop                                   Manager sleeping for service in: 1ms
  23.   [INFO] 17:34:17 #0000661C                 handle_manager.c:244   __manager_loop                                   Manager timed out waiting for 1ms
  24.   [INFO] 17:34:17 #0000661C                 handle_manager.c:147   __service_handle_type                            Service manager enumerating handles of type: Connection
  25.   [INFO] 17:34:17 #0000661C                 handle_manager.c:162   __service_handle_type                            Service manager serviced: 0 handles of type: Connection
  26.   [INFO] 17:34:17 #0000661C                 handle_manager.c:147   __service_handle_type                            Service manager enumerating handles of type: Session
  27.   [INFO] 17:34:17 #0000661C                 handle_manager.c:162   __service_handle_type                            Service manager serviced: 0 handles of type: Session
  28.   [INFO] 17:34:17 #0000661C                 handle_manager.c:147   __service_handle_type                            Service manager enumerating handles of type: Websocket
  29.   [INFO] 17:34:17 #0000661C                 handle_manager.c:162   __service_handle_type                            Service manager serviced: 0 handles of type: Websocket
  30.   [INFO] 17:34:17 #0000661C                 handle_manager.c:238   __manager_loop                                   Manager sleeping for service in: 300000ms
  31.  [DEBUG] 17:34:17 #0000661B                      ks_handle.c:284   __ks_handle_alloc_ex                             ALLOC - GROUP: 10 TOTAL: 0
  32.  [DEBUG] 17:34:17 #0000661B                      ks_handle.c:340   __ks_handle_alloc_ex                             ALLOCHANDLE: 000a0003276e0001
  33.  [DEBUG] 17:34:17 #0000661B                      ks_handle.c:605   ks_handle_set_ready                              READYHANDLE: 000a0003276e0001
  34.  [ERROR] 17:34:17 #0000661B                      ks_handle.c:623   ks_handle_set_ready                              READYHANDLE: 000a0003276e0001 SUCCESS
  35.   [INFO] 17:34:17 #0000661B                        testcli.c:225   main                                             connecting to 127.0.0.1:2100 ...
  36.  
  37.  [DEBUG] 17:34:17 #0000661B                      ks_handle.c:284   __ks_handle_alloc_ex                             ALLOC - GROUP: 11 TOTAL: 0
  38.  [DEBUG] 17:34:17 #0000661B                      ks_handle.c:340   __ks_handle_alloc_ex                             ALLOCHANDLE: 000b0005497f0001
  39.  [DEBUG] 17:34:17 #0000661B                       identity.c:12    swclt_ident_from_str                             Parsing 127.0.0.1:2100
  40.  
  41.  [DEBUG] 17:34:17 #0000661B                      ks_handle.c:284   __ks_handle_alloc_ex                             ALLOC - GROUP: 10 TOTAL: 0
  42.  [DEBUG] 17:34:17 #0000661B                      ks_handle.c:340   __ks_handle_alloc_ex                             ALLOCHANDLE: 000a0002276f0002
  43.  [DEBUG] 17:34:17 #0000661B                      ks_handle.c:605   ks_handle_set_ready                              READYHANDLE: 000a0002276f0002
  44.  [ERROR] 17:34:17 #0000661B                      ks_handle.c:623   ks_handle_set_ready                              READYHANDLE: 000a0002276f0002 SUCCESS
  45.  [DEBUG] 17:34:17 #0000661B                      ks_handle.c:605   ks_handle_set_ready                              READYHANDLE: 000b0005497f0001
  46.  [ERROR] 17:34:17 #0000661B                      ks_handle.c:623   ks_handle_set_ready                              READYHANDLE: 000b0005497f0001 SUCCESS
  47.  [DEBUG] 17:34:17 #0000661B                      ks_handle.c:284   __ks_handle_alloc_ex                             ALLOC - GROUP: 10 TOTAL: 0
  48.  [DEBUG] 17:34:17 #0000661B                      ks_handle.c:340   __ks_handle_alloc_ex                             ALLOCHANDLE: 000a000427700003
  49.  [DEBUG] 17:34:17 #0000661B                      ks_handle.c:605   ks_handle_set_ready                              READYHANDLE: 000a000427700003
  50.  [ERROR] 17:34:17 #0000661B                      ks_handle.c:623   ks_handle_set_ready                              READYHANDLE: 000a000427700003 SUCCESS
  51.   [INFO] 17:34:17 #0000661B                   handle_state.c:233   __swclt_hstate_initiate_change_in                Handle: Normal is initiating state change (state change: Online=>SWCLT Session - SWCLT Session - ) in: 1ms
  52.   [INFO] 17:34:17 #0000661B                 handle_manager.c:314   swclt_hmgr_request_service_in                    Handle: SWCLT Session - SWCLT Session - SWCLT Session -  is requesting manager service in: 1ms
  53.   [INFO] 17:34:17 #0000661B                 handle_manager.c:180   __set_sleep_amount_ms                            Client service interval: 1ms is < current service interval of: 300000ms, signalling manager
  54.   [INFO] 17:34:17 #0000661C                 handle_manager.c:257   __manager_loop                                   Manager signalled, checking sleep amount
  55.   [INFO] 17:34:17 #0000661C                 handle_manager.c:238   __manager_loop                                   Manager sleeping for service in: 3000ms
  56.   [INFO] 17:34:20 #0000661C                 handle_manager.c:244   __manager_loop                                   Manager timed out waiting for 3000ms
  57.   [INFO] 17:34:20 #0000661C                 handle_manager.c:147   __service_handle_type                            Service manager enumerating handles of type: Connection
  58.   [INFO] 17:34:20 #0000661C                 handle_manager.c:162   __service_handle_type                            Service manager serviced: 0 handles of type: Connection
  59.   [INFO] 17:34:20 #0000661C                 handle_manager.c:147   __service_handle_type                            Service manager enumerating handles of type: Session
  60.   [INFO] 17:34:20 #0000661C                 handle_manager.c:155   __service_handle_type                            Service begin: SWCLT Session - SWCLT Session -
  61.   [INFO] 17:34:20 #0000661C                        session.c:214   __do_connect                                     Session is performing connect
  62.  [ERROR] 17:34:20 #0000661C                            ssl.c:19    swclt_ssl_create_context                         Failed to allocate ssl context returning status: 21
  63.   [INFO] 17:34:20 #0000661C                        session.c:221   __do_connect                                     FAILED TO SETUP SSL: 21
  64.   [INFO] 17:34:20 #0000661C                 handle_manager.c:112   __service_handle                                 State change attempt (Normal=>Online) failed (21) re-queueing in: 5000ms
  65.   [INFO] 17:34:20 #0000661C                   handle_state.c:233   __swclt_hstate_initiate_change_in                Handle: Normal is initiating state change (state change: Online=>SWCLT Session - SWCLT Session - SWCLT Session - ) in: 5000ms
  66.   [INFO] 17:34:20 #0000661C                 handle_manager.c:314   swclt_hmgr_request_service_in                    Handle: SWCLT Session - SWCLT Session - SWCLT Session - SWCLT Session -  is requesting manager service in: 5000ms
  67.   [INFO] 17:34:20 #0000661C                 handle_manager.c:180   __set_sleep_amount_ms                            Client service interval: 5000ms is < current service interval of: 300000ms, signalling manager
  68.   [INFO] 17:34:20 #0000661C                 handle_manager.c:157   __service_handle_type                            Service end: SWCLT Session - SWCLT Session - SWCLT Session - SWCLT Session - SWCLT Session -
  69.   [INFO] 17:34:20 #0000661C                 handle_manager.c:162   __service_handle_type                            Service manager serviced: 1 handles of type: Session
  70.   [INFO] 17:34:20 #0000661C                 handle_manager.c:147   __service_handle_type                            Service manager enumerating handles of type: Websocket
  71.   [INFO] 17:34:20 #0000661C                 handle_manager.c:162   __service_handle_type                            Service manager serviced: 0 handles of type: Websocket
  72.   [INFO] 17:34:20 #0000661C                 handle_manager.c:238   __manager_loop                                   Manager sleeping for service in: 3000ms
  73.   [INFO] 17:34:23 #0000661C                 handle_manager.c:244   __manager_loop                                   Manager timed out waiting for 3000ms
  74.   [INFO] 17:34:23 #0000661C                 handle_manager.c:147   __service_handle_type                            Service manager enumerating handles of type: Connection
  75.   [INFO] 17:34:23 #0000661C                 handle_manager.c:162   __service_handle_type                            Service manager serviced: 0 handles of type: Connection
  76.   [INFO] 17:34:23 #0000661C                 handle_manager.c:147   __service_handle_type                            Service manager enumerating handles of type: Session
  77.   [INFO] 17:34:23 #0000661C                 handle_manager.c:155   __service_handle_type                            Service begin: SWCLT Session - SWCLT Session - SWCLT Session - SWCLT Session - SWCLT Session - SWCLT Session -
  78.   [INFO] 17:34:23 #0000661C                        session.c:214   __do_connect                                     Session is performing connect
  79.  [ERROR] 17:34:23 #0000661C                            ssl.c:19    swclt_ssl_create_context                         Failed to allocate ssl context returning status: 21
  80.   [INFO] 17:34:23 #0000661C                        session.c:221   __do_connect                                     FAILED TO SETUP SSL: 21
  81.   [INFO] 17:34:23 #0000661C                 handle_manager.c:112   __service_handle                                 State change attempt (Normal=>Online) failed (21) re-queueing in: 5000ms
  82.   [INFO] 17:34:23 #0000661C                   handle_state.c:233   __swclt_hstate_initiate_change_in                Handle: Normal is initiating state change (state change: Online=>SWCLT Session - SWCLT Session - SWCLT Session - SWCLT Session - SWCLT Session - SWCLT Session - SWCLT Session - ) in: 5000ms
  83.   [INFO] 17:34:23 #0000661C                 handle_manager.c:314   swclt_hmgr_request_service_in                    Handle: SWCLT Session - SWCLT Session - SWCLT Session - SWCLT Session - SWCLT Session - SWCLT Session - SWCLT Session - SWCLT Session -  is requesting manager service in: 5000ms
  84.   [INFO] 17:34:23 #0000661C                 handle_manager.c:180   __set_sleep_amount_ms                            Client service interval: 5000ms is < current service interval of: 300000ms, signalling manager
  85.   [INFO] 17:34:23 #0000661C                 handle_manager.c:157   __service_handle_type                            Service end: SWCLT Session - SWCLT Session - SWCLT Session - SWCLT Session - SWCLT Session - SWCLT Session - SWCLT Session - SWCLT Session - SWCLT Session -
  86.   [INFO] 17:34:23 #0000661C                 handle_manager.c:162   __service_handle_type                            Service manager serviced: 1 handles of type: Session
  87.   [INFO] 17:34:23 #0000661C                 handle_manager.c:147   __service_handle_type                            Service manager enumerating handles of type: Websocket
  88.   [INFO] 17:34:23 #0000661C                 handle_manager.c:162   __service_handle_type                            Service manager serviced: 0 handles of type: Websocket
  89.   [INFO] 17:34:23 #0000661C                 handle_manager.c:238   __manager_loop                                   Manager sleeping for service in: 3000ms
  90.   [INFO] 17:34:26 #0000661C                 handle_manager.c:244   __manager_loop                                   Manager timed out waiting for 3000ms
  91.   [INFO] 17:34:26 #0000661C                 handle_manager.c:147   __service_handle_type                            Service manager enumerating handles of type: Connection
  92.   [INFO] 17:34:26 #0000661C                 handle_manager.c:162   __service_handle_type                            Service manager serviced: 0 handles of type: Connection
  93.   [INFO] 17:34:26 #0000661C                 handle_manager.c:147   __service_handle_type                            Service manager enumerating handles of type: Session
  94.   [INFO] 17:34:26 #0000661C                 handle_manager.c:155   __service_handle_type                            Service begin: SWCLT Session - SWCLT Session - SWCLT Session - SWCLT Session - SWCLT Session - SWCLT Session - SWCLT Session - SWCLT Session - SWCLT Session - SWCLT Session -
  95.   [INFO] 17:34:26 #0000661C                        session.c:214   __do_connect                                     Session is performing connect
  96.  [ERROR] 17:34:26 #0000661C                            ssl.c:19    swclt_ssl_create_context                         Failed to allocate ssl context returning status: 21
  97.   [INFO] 17:34:26 #0000661C                        session.c:221   __do_connect                                     FAILED TO SETUP SSL: 21
  98.   [INFO] 17:34:26 #0000661C                 handle_manager.c:112   __service_handle                                 State change attempt (Normal=>Online) failed (21) re-queueing in: 5000ms
  99.   [INFO] 17:34:26 #0000661C                   handle_state.c:233   __swclt_hstate_initiate_change_in                Handle: Normal is initiating state change (state change: Online=>SWCLT Session - SWCLT Session - SWCLT Session - SWCLT Session - SWCLT Session - SWCLT Session - SWCLT Session - SWCLT Session - SWCLT Session - SWCLT Session - SWCLT Session - ) in: 5000ms
  100.   [INFO] 17:34:26 #0000661C                 handle_manager.c:314   swclt_hmgr_request_service_in                    Handle: SWCLT Session - SWCLT Session - SWCLT Session - SWCLT Session - SWCLT Session - SWCLT Session - SWCLT Session - SWCLT Session - SWCLT Session - SWCLT Session - SWCLT Session - SWCLT Session -  is requesting manager service in: 5000ms
  101.   [INFO] 17:34:26 #0000661C                 handle_manager.c:180   __set_sleep_amount_ms                            Client service interval: 5000ms is < current service interval of: 300000ms, signalling manager
  102.   [INFO] 17:34:26 #0000661C                 handle_manager.c:157   __service_handle_type                            Service end: SWCLT Session - SWCLT Session - SWCLT Session - SWCLT Session - SWCLT Session - SWCLT Session - SWCLT Session - SWCLT Session - SWCLT Session - SWCLT Session - SWCLT Session - SWCLT Session - SWCLT Session -
  103.   [INFO] 17:34:26 #0000661C                 handle_manager.c:162   __service_handle_type                            Service manager serviced: 1 handles of type: Session
  104.   [INFO] 17:34:26 #0000661C                 handle_manager.c:147   __service_handle_type                            Service manager enumerating handles of type: Websocket
  105.   [INFO] 17:34:26 #0000661C                 handle_manager.c:162   __service_handle_type                            Service manager serviced: 0 handles of type: Websocket
  106.   [INFO] 17:34:26 #0000661C                 handle_manager.c:238   __manager_loop                                   Manager sleeping for service in: 3000ms
  107.   [INFO] 17:34:29 #0000661C                 handle_manager.c:244   __manager_loop