Noticing runtime error in socktools.cpp

Jean-Marc Lasgouttes lasgouttes at lyx.org
Tue Oct 22 12:21:05 UTC 2024


Le 22/10/2024 à 14:00, Kornel Benko a écrit :
> It is not compilation which gives the error output. Start the debug-version of lyx from
> the build directory:
>   $ ./bin/lyx2.5
> /usr2/src/lyx/lyx-git/src/support/socktools.cpp:121:56: runtime error: member access
> within null pointer of type 'struct sockaddr_un' SUMMARY: UndefinedBehaviorSanitizer:
> undefined-behavior /usr2/src/lyx/lyx-git/src/support/socktools.cpp:121:56 in

I understand that, but I cannot make sense of this code.

JMarc



More information about the lyx-devel mailing list