elastic / apm-agent-php

Apache License 2.0
252 stars 69 forks source link

Agent causing sigsegv when handling exception and filename is not resolved #1073

Closed intuibase closed 11 months ago

intuibase commented 11 months ago

Describe the bug Agent causing sigsegv when handling exception and filename is not resolved

To Reproduce

<?php

class a extends exception {
    public function __construct() {
        $this->line = 0;
        $this->file = "";
    }
}

throw new a;

?>

Expected behavior Handle error without application process crash