Skip to content

Segmentation fault @ zval_ptr_dtor(&arg_list); #5

Description

@hnsl

I get a segmentation fault at line

zval_ptr_dtor(&arg_list);

in function

PHP_FUSE_API int php_fuse_getdir(const char * path, fuse_dirh_t dh, fuse_dirfil_t df) 

From gdb:

Program received signal SIGSEGV, Segmentation fault.
0x00000000006839d7 in _zval_ptr_dtor ()
(gdb) backtrace
#0  0x00000000006839d7 in _zval_ptr_dtor ()
#1  0x000000000069f6c3 in zend_hash_destroy ()
#2  0x000000000069132f in _zval_dtor_func ()
#3  0x0000000000683a12 in _zval_ptr_dtor ()
#4  0x000000000069f6c3 in zend_hash_destroy ()
#5  0x000000000069132f in _zval_dtor_func ()
#6  0x0000000000683a12 in _zval_ptr_dtor ()
#7  0x00007f942a8438fa in php_fuse_getdir (path=<value optimized out>, dh=0x7fff30f029e0, df=0x7f942a60f3f0)

Could it be some obvious mistake? I'm not a PHP extension ninja so I can't look for obvious mistakes etc. Does this signify something special?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions