libweston program segfaults on weston_compositor_load_backend
matt.hoosier at gmail.com
Fri May 4 15:09:09 UTC 2018
On Fri, May 4, 2018 at 8:46 AM, Pekka Paalanen <ppaalanen at gmail.com> wrote:
> 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>
> > > 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
> > if no handler has been installed yet.
> Definitely. :-)
> A shout to stderr and abort() would be fine. Or even have the handlers
> initilized to ones that shout and abort().
Done and published on the list for comments.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the wayland-devel