[Libwebsockets] Segmentation fault on Raspberry

Andy Green andy at warmcat.com
Mon Aug 24 17:57:56 CEST 2020

On 8/24/20 4:55 PM, Stefano Mora wrote:

Isn't this -->

> #1  0xb6f43f60 in lws_write (wsi=0x688a8, buf=0x10 <error: Cannot access memory at address 0x10>,
>      len=0, wp=LWS_WRITE_TEXT) at /home/pi/libwebsockets/lib/core-net/output.c:269
> #2  0x0001ca24 in wsCallback(lws*, lws_callback_reasons, void*, void*, unsigned int) ()

telling us that you are calling, in your wsCallback() implementation, 
lws_write() with buf set to 0x10 (ie, NULL + 0x10)?


More information about the Libwebsockets mailing list