samiponkanen commented on pull request #377: URL: https://github.com/apache/guacamole-server/pull/377#issuecomment-1071231622
> In what case does a plugin call `openlog()`? Why does a segfault occur if guacd does not re-call `openlog()`? Hi Mike, Vanilla guacamole-server does not call openlog() from plugin code. In my use case I have integrated external code to protocols/rdp/channels/rdpdr/, and it is this external code that calls openlog(). This causes guacd to segfault everytime guacd_log() is called after the client plugin has been unloaded via dlclose() in libguac/client.c. While debugging this issue I happened to find this: https://bugs.freedesktop.org/attachment.cgi?bugid=24589&action=viewall It is in no way related to guacamole-server, but it helped me to understand the problem and to verify the same pattern was the root cause for the guacd_log() segfault I was debugging. Br, Sami -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
