libweston program segfaults on weston_compositor_load_backend

Matt Hoosier 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>
> 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.
>
> Definitely. :-)
> A shout to stderr and abort() would be fine. Or even have the handlers
> initilized to ones that shout and abort().
>
>
> Thanks,
> pq
>


Done and published on the list for comments.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-devel/attachments/20180504/50b5fba5/attachment.html>


More information about the wayland-devel mailing list