-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Segmentation fault @ zval_ptr_dtor(&arg_list); #5
Comments
The segfault is reproducible. If I comment out the
line there doesn't seem to be a segfault so I'm wondering if this is a problem with the buffer passed to fuse via df(). |
This issue disappeared after I disabled the xdebug extension. Xdebug doesn't seem to be compatible with this extension which doesn't surprise me as this extension is very advanced and xdebug is very intrusive. |
The segmentation fault is back and I still have xdebug disabled. It's in the same function and reproducible/deterministic. What causes it is listing directories in certain ways. It would be nice if you could take a look at php_fuse_getdir() again and see if you find any obvious mistakes... |
Here's a more precise backtrace:
|
I made 3 changes: removed "convert_to_array_ex(entry);" and the "zval_ptr_dtor(tmp_type);" and "zval_ptr_dtor(tmp_ino);". I can no longer seem to reproduce the segfault although it's possible that it's a coincidence. What do you think might cause this? |
I get a segmentation fault at line
in function
From gdb:
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?
The text was updated successfully, but these errors were encountered: