I created TCP server application on legato now. (I complete TCP/UDP client). I run TCP server application but I saw the following error. Please let us know what kind of this error message and should I check which part?
root@swi-mdm9x28-wp:~# app runProc UART_TCP_Server UART_TCP_Server --exe=uart –
/dev/ttyUSB1 9600
PROCESS: 1873 ,TID 1873
SIGNAL: 11, ADDR (nil), AT 0xb6df310c SI_CODE 0x00000001
ILLEGAL ADDRESS (nil)
LEGATO VERSION
PROCESS COMMAND LINE
PROCESS MAP
BACKTRACE
PC at b6df310c
LR at b6df3260 [0xbeb44754]
r0 00000000 r1 beb44afc r2 00000010 r3 00000010 r4 b6f93000 r5 beb44fbe
r6 00000000 r7 b6fc04d0 r8 00000003 r9 00000000 r10 7f566000 cpsr 60080010
fp 00000000 ip b6df3250 sp beb44ac8 lr b6df3260 pc b6df310c
STACK beb44ac8, FRAME 00000000
beb44a48: 00000001 b6fc2000 00000000 b6fc21b8 00000000 00000000 00000000 00000000
beb44a68: 00000000 00000000 00000000 ffffffff 00000000 b6d0d2f4 b6fc2fd8 00000000
beb44a88: 00000000 00000000 00000000 00000000 00000000 b6f81000 00012070 b6fc04d0
beb44aa8: 00000000 00000001 b6f80000 7f566000 beb44b2c b6fa3518 b6fc3410 00000001
beb44ac8: 00000001 00000000 00000000 b6f93000 beb44fbe 00000000 beb44b60 00000003
beb44ae8: b6f80000 7f566000 beb44b2c b6df3260 7f567054 7f567008 b6f93000 b6f8279c
beb44b08: b6f82e28 000000c3 b6f82cf8 b6f33484 0000022d 00000001 7f569cec 7f5695a8
beb44b28: beb44b4c b6f33218 00000000 00000000 7f5695a8 beb44b60 00000003 b6f80000
beb44b48: beb44d6c b6f34714 b6f23408 b6f20458 00a06d1c b6f22728 00000001 beb44bf4
beb44b68: 00000000 00000000 7f56b3a8 7f56b674 00000000 b6f45820 00000000 00000000
beb44b88: 00000001 140da393 7f56b3a8 b6f80000 b6f808c0 b6f69d04 beb44bdc b6f45b14
beb44ba8: beb44bfc b6f9e30c beb44bfc b6fc5a64 00000002 00000000 7f56b378 7f56b720
beb44bc8: 0fffdac4 10000003 00000004 b6f80000 beb44c24 beb44c24 0000005c b6f6481c
beb44be8: b6f230c8 b6fc22c8 00000000 00000001 b6fc22c8 beb44c68 000002c7 b6f20388
beb44c08: 00000001 b6f9d9a8 00000001 b6f230c8 000002c7 b6f23408 b6fc22c8 beb44c6c
beb44c28: beb44c68 00000000 00000006 bcdb29c5 b6f23408 b6f20458 05e6d94e 7f555364
beb44c48: 7f555581 beb44cdc b6fc4fa4 004e2000 aaaaaaab 00000000 7f582c04 00000009
beb44c68: 00000000 00000000 7f582c6c bcdb29c5 00000000 b6fc5ac0 beb44cdc 7f555581
beb44c88: beb44d3c b6fc5908 beb44ce4 b6f9e30c beb44ce4 b6fc5a64 00000002 00000000
beb44ca8: 00000001 00000000 00000001 b6fc5908 00000000 b6fc5ac0 00000000 00000000
beb44cc8: 00000000 00000000 00004000 00000000 00000000 ffffffff 00000000 b6f230c8
beb44ce8: b6fc22c8 00000000 00000000 00000000 00000000 00000000 00000000 7f555000
beb44d08: 0001103c b6fc04d0 00000000 00000001 00000000 7f566000 beb44d94 b6fa3518
beb44d28: 00000000 00000001 00000001 00000000 00000000 b6f230c8 7f566000 00000000
beb44d48: 7f555948 00000000 00000000 b6fa972c 10000003 00000001 b6f80868 00000000
beb44d68: beb44d94 7f555ca0 b6e4408c 7f555ce4 7f555cc4 00000000 beb44ee4 00000003
beb44d88: 00000000 7f555cc4 00000000 b6d1d57c b6e42500 beb44ee4 00000003 7f555ba8
beb44da8: 05fdcdec 0d985540 7f555cc4 00000000 7f555948 00000000 00000000 00000000
beb44dc8: 7f566000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
beb44de8: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
beb44e08: 00000000 00000000 00000001 00000000 00000001 b6fc5908 b6f92ef4 b6fc5ac0
beb44e28: 00000000 b6f32c8c b6f824e4 00000000 b6f92ef4 b6f332c8 b6f824e4 ffffffff
beb44e48: b6f92ef4 b6d11594 b6fc2fd8 00000000 beb44ee4 b6f32e8c b6f32c8c b6f824e4
beb44e68: beb44e84 7f555000 00011024 b6fc04d0 00000000 00000001 00000000 7f566000
beb44e88: 00000000 b6fa3518 b6fc33d0 00000001 00000001 00000000 00000000 b6d11594
beb44ea8: 00000000 00000000 00000000 00000000 00000000 b6fa972c 00000000 00000000
beb44ec8: 7f555948 00000000 00000000 7f55598c 7f555d28 b6fa3f2c beb44ee4 beb44fae
beb44ee8: beb44fbe beb44fcb 00000000 beb44fd0 00000000 00000010 001fb0d6 00000006
beb44f08: 00001000 00000011 00000064 00000003 7f555034 00000004 00000020 00000005
beb44f28: 00000009 00000007 6c744000 00000008 00000000 00000009 7f555948 0000000b
beb44f48: 00000403 0000000c 00000403 0000000d 00000403 0000000e 00000403 00000017
beb44f68: 00000000 00000019 beb44f9a 0000001a 00000000 0000001f beb44ff2 0000000f
beb44f88: beb44faa 00000000 00000000 00000000 cb1a0000 8074ada1 09e3bb49 b96eb473
beb44fa8: 37763258 4155006c 545f5452 535f5043 65767265 642f0072 742f7665 53557974
beb44fc8: 39003142 00303036 48544150 73752f3d 6f6c2f72 2f6c6163 3a6e6962 7273752f
[…]
Abort while dumping the stack
DONE
Error log is below for logread
Jan 6 00:02:05 swi-mdm9x28-wp user.info Legato: INFO | UART_TCP_Server[1873]/UART_TCP_Server T=main | UART_TCP_Server.c _UART_TCP_Server_COMPONENT_INIT() 181 | UART_TCP_DEMO
Jan 6 00:02:05 swi-mdm9x28-wp user.info Legato: INFO | UART_TCP_Server[1873]/UART_TCP_Server T=main | UART_TCP_Server.c OpenPort() 76 | Opening serial /dev/ttyUSB1 at 9600 bps^M
Jan 6 00:02:05 swi-mdm9x28-wp user.info Legato: INFO | UART_TCP_Server[1873]/UART_TCP_Server T=main | UART_TCP_Server.c OpenPort() 97 | set serial at 9600 bps^M
Jan 6 00:02:05 swi-mdm9x28-wp user.info Legato: INFO | UART_TCP_Server[1873]/UART_TCP_Server T=main | UART_TCP_Server.c _UART_TCP_Server_COMPONENT_INIT() 187 | TCP_Server
Jan 6 00:02:05 swi-mdm9x28-wp user.info Legato: INFO | UART_TCP_Server[1873]/UART_TCP_Server T=main | UART_TCP_Server.c _UART_TCP_Server_COMPONENT_INIT() 195 | Socket created
Jan 6 09:02:05 swi-mdm9x28-wp user.info Legato: INFO | supervisor[832]/supervisor T=main | proc.c proc_SigChildHandler() 2065 | Process ‘UART_TCP_Server’ (PID: 1873) has exited due to signal 11 (Segmentation fault).
Jan 6 09:02:05 swi-mdm9x28-wp user.warn kernel: [ 122.019160] uart (1873) used greatest stack depth: 4272 bytes left
Jan 6 09:02:05 swi-mdm9x28-wp user.warn Legato: -WRN- | supervisor[832]/supervisor T=main | app.c app_SigChildHandler() 4015 | Process ‘UART_TCP_Server’ in app ‘UART_TCP_Server’ faulted: Ignored.