In ply_event_loop_process_pending_events(), sizeof (events) is passed for the maxevents parameter to epoll_wait().
events is a pointer, to sizeof (events) is 4 or 8 on most architectures.
This seems unlikely to have been what was intended.
Is PLY_EVENT_LOOP_NUM_EVENT_HANDLERS supposed to be passed for maxevents instead? (This is the number if event structures allocated to events.) If so, the attached patch ought to fix it.
Binary package hint: plymouth
In ply_event_ loop_process_ pending_ events( ), sizeof (events) is passed for the maxevents parameter to epoll_wait().
events is a pointer, to sizeof (events) is 4 or 8 on most architectures.
This seems unlikely to have been what was intended.
Is PLY_EVENT_ LOOP_NUM_ EVENT_HANDLERS supposed to be passed for maxevents instead? (This is the number if event structures allocated to events.) If so, the attached patch ought to fix it.