Skip to content

Segmentation fault: 11 error #14

@jilieryuyi

Description

@jilieryuyi

I got an error Segmentation fault: 11

run with code :

$base = event_base_new();
$event = event_new();

event_set($event, 0, EV_TIMEOUT, function() {
echo "function called";
});
event_base_set($event, $base);

event_add($event, 5000000);
event_base_loop($base);

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions