Skip to content
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 #13

Open
Jackson88 opened this issue Feb 18, 2014 · 2 comments
Open

Segmentation fault #13

Jackson88 opened this issue Feb 18, 2014 · 2 comments

Comments

@Jackson88
Copy link

Segmentation fault when try to get data after disconnect.

$storage = new MogileFS();
//connect
$storage->connect('192.168.0.10', 6001, 'test');
//after disconnect
$storage->disconnect();
//try get
$fileInfo = $storage->get('test_name');

Expected result: MogileFsException
result: Segmentation fault

(https://bugs.php.net/bug.php?id=66734 - I added)

@Jackson88
Copy link
Author

Versions:
mogilefs - 0.9.2-dev
PHP - 5.4.14, 5.4.21, 5.4.25

@lstrojny
Copy link
Owner

Thanks, I will look into it.

marceltoben pushed a commit to researchgate/pecl-mogilefs that referenced this issue Jul 29, 2015
…jny#13). Throws exception instead. Connection state is set to 'disconnected'.
lstrojny added a commit that referenced this issue Jul 29, 2015
Fixed Segmentation fault when try to get data after disconnect (#13)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants