[Libwebsockets] SIGNAL 6

peks geshkov pezalot at yahoo.com
Tue May 19 08:06:56 CEST 2020


Hello Andy,

Strange exception arise in my peerflow app. I see something goes wrong 
in lws_buflist_use_segment routine used by lws_write. Cannot provide 
more information- this is my backtrace and I sorry. In ConsumeMsgTimer I 
have queue and send messages in 50ms period. In fact works very well but 
this signal 6 annoying me.


[Mon May 18 10:51:46:30533 2020] FATAL: SIGNAL: 6 (Aborted) address: 0x1 
from: 0x7fbb79833e97
[Mon May 18 10:51:46:31186 2020] INFO: Disconnect: signalling
[Mon May 18 10:51:46:35063 2020] ERROR: BackTrace: 1 
/lib/x86_64-linux-gnu/libc.so.6(gsignal+0xc7) [0x7fbb79833e97]
[Mon May 18 10:51:46:35121 2020] ERROR: BackTrace: 2 
/lib/x86_64-linux-gnu/libc.so.6(gsignal+0xc7) [0x7fbb79833e97]
[Mon May 18 10:51:46:35164 2020] ERROR: BackTrace: 3 
/lib/x86_64-linux-gnu/libc.so.6(abort+0x141) [0x7fbb79835801]
[Mon May 18 10:51:46:35178 2020] ERROR: BackTrace: 4 
/lib/x86_64-linux-gnu/libc.so.6(+0x3039a) [0x7fbb7982539a]
[Mon May 18 10:51:46:35191 2020] ERROR: BackTrace: 5 
/lib/x86_64-linux-gnu/libc.so.6(+0x30412) [0x7fbb79825412]
[Mon May 18 10:51:46:35203 2020] ERROR: BackTrace: 6 
/usr/lib/libwebsockets.so.16(lws_buflist_use_segment+0xa2) [0x7fbb7d26d723]
[Mon May 18 10:51:46:35214 2020] ERROR: BackTrace: 7 
/usr/lib/libwebsockets.so.16(+0x1db29) [0x7fbb7d277b29]
[Mon May 18 10:51:46:35229 2020] ERROR: BackTrace: 8 
/usr/lib/libwebsockets.so.16(+0x38af8) [0x7fbb7d292af8]
[Mon May 18 10:51:46:35248 2020] ERROR: BackTrace: 9 
/usr/lib/libwebsockets.so.16(lws_write+0x167) [0x7fbb7d277efb]
[Mon May 18 10:51:46:35267 2020] ERROR: BackTrace: 10 
/home/peerflow-streamer/peerstreamer(_ZN3wsc15WebSocketClient15ConsumeMsgTimerEv+0x2f0) 
[0x55d62c968da8]
[Mon May 18 10:51:46:35290 2020] ERROR: BackTrace: 11 
/home/peerflow-streamer/peerstreamer(_ZN5boost6detail8function26void_function_obj_invoker0INS_3_bi6bind_tIvNS_4_mfi3mf0IvN3wsc15WebSocketClientEEENS3_5list1INS3_5valueIPS8_EEEEEEvE6invokeERNS1_15function_bufferE+0x21) 
[0x55d62c96d9d7]
[Mon May 18 10:51:46:35311 2020] ERROR: BackTrace: 12 
/home/peerflow-streamer/peerstreamer(_ZN5boost8signals26detail11signal_implIFvvENS0_19optional_last_valueIvEEiSt4lessIiENS_8functionIS3_EENS8_IFvRKNS0_10connectionEEEENS0_5mutexEEclEv+0x38d) 
[0x55d62c9a70c3]
[Mon May 18 10:51:46:35330 2020] ERROR: BackTrace: 13 
/home/peerflow-streamer/peerstreamer(_ZN9WorkTimer7ConsumeEv+0x44) 
[0x55d62ca4904a]
[Mon May 18 10:51:46:35350 2020] ERROR: BackTrace: 14 
/home/peerflow-streamer/peerstreamer(_ZN5boost4asio6detail12wait_handlerINS_3_bi6bind_tIvNS_4_mfi3mf0Iv9WorkTimerEENS3_5list1INS3_5valueIPS7_EEEEEENS1_18io_object_executorINS0_8executorEEEE11do_completeEPvPNS1_19scheduler_operationERKNS_6system10error_codeEm+0xc9) 
[0x55d62ca4a253]
[Mon May 18 10:51:46:35370 2020] ERROR: BackTrace: 15 
/home/peerflow-streamer/peerstreamer(_ZN5boost4asio6detail9scheduler3runERNS_6system10error_codeE+0x473) 
[0x55d62c9b5995]
[Mon May 18 10:51:46:35382 2020] ERROR: BackTrace: 16 
/home/peerflow-streamer/peerstreamer(_ZN5boost4asio10io_context3runEv+0x3e) 
[0x55d62c9f46c8]
[Mon May 18 10:51:46:35394 2020] ERROR: BackTrace: 17 
/home/peerflow-streamer/peerstreamer(_ZN5boost6detail11thread_dataINS_3_bi6bind_tImNS_4_mfi3mf0ImNS_4asio10io_contextEEENS2_5list1INS_17reference_wrapperIS7_EEEEEEE3runEv+0x2b) 
[0x55d62ca49443]
[Mon May 18 10:51:46:35406 2020] ERROR: BackTrace: 18 
/usr/lib/libboost_thread.so.1.72.0(+0xf26c) [0x7fbb7cd6926c]
[Mon May 18 10:51:46:35417 2020] ERROR: BackTrace: 19 
/lib/x86_64-linux-gnu/libpthread.so.0(+0x76db) [0x7fbb7dae06db]
[Mon May 18 10:51:46:35428 2020] ERROR: BackTrace: 20 
/lib/x86_64-linux-gnu/libc.so.6(clone+0x3f) [0x7fbb7991688f]



More information about the Libwebsockets mailing list