libweston program segfaults on weston_compositor_load_backend
ppaalanen at gmail.com
Fri May 4 13:46:04 UTC 2018
On Fri, 4 May 2018 07:55:10 -0500
Matt Hoosier <matt.hoosier at gmail.com> wrote:
> On Fri, May 4, 2018 at 2:13 AM, Pekka Paalanen <ppaalanen at gmail.com> wrote:
> > The crucial call to make is weston_log_set_handler() with non-NULL
> > arguments before any other libweston calls.
> I wonder if this could be made clearer by adding an assert in weston_log()
> if no handler has been installed yet.
A shout to stderr and abort() would be fine. Or even have the handlers
initilized to ones that shout and abort().
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 833 bytes
Desc: OpenPGP digital signature
More information about the wayland-devel