Skip to content
This repository has been archived by the owner on Nov 25, 2020. It is now read-only.

Segmentation fault when indexing samba share with space in directory names #1396

Closed
Madko opened this issue Oct 23, 2017 · 15 comments
Closed

Comments

@Madko
Copy link

Madko commented Oct 23, 2017

I’m trying for the first time pydio so maybe I’m doing something wrong. I have activated the samba plugin, and in the web interface I can browse any samba shares. It’s working fine. But, the indexation is not working and seems to get stuck.

So I run the indexation with the CLI and I get this error:

[root@pydio-test pydio]# /opt/rh/rh-php56/root/usr/bin/php /usr/share/pydio/cmd.php -u=madko -a=index -r=samba
Please enter the password: 
*****************************
Current User is 'madko'
*****************************
Applying action 'index' on workspace Samba (3b683f9zz3ddfbcb960a670e7fa5b81)
<?xml version="1.0" encoding="UTF-8"?><tree ><message type="ERROR">FILE_IS_A_DIRECTORY opening remote file \TEST\SUBDIR\0 -</message></tree>
PHP Fatal error:  FILE_IS_A_DIRECTORY opening remote file \TEST\SUBDIR\0 - in /usr/share/pydio/plugins/access.smb/smb.php on line 280
PHP Fatal error:  Access to undeclared static property: Pydio\Access\Driver\StreamProvider\SMB\SMBAccessWrapper::$crtZip in /usr/share/pydio/plugins/access.smb/SMBAccessWrapper.php on line 198
Segmentation fault

So I have this directory “\TEST\SUBDIR\0 – TEST”, it seems that spaces in names are a problem ??

I’m using pydio-8.0.1-2.el7.centos.noarch

Best regards,
Edouard

@Madko
Copy link
Author

Madko commented Nov 15, 2017

Hello ? is there someone?

@cdujeu
Copy link
Member

cdujeu commented Nov 15, 2017

hi madko,
sorry for the delay
can you please use the forum instead of posting in github? GH is for qualified bugs only,
thx
-c

@cdujeu
Copy link
Member

cdujeu commented Nov 15, 2017

https://forum.pydio.com

@Madko
Copy link
Author

Madko commented Nov 16, 2017

I've come here because I had no answer on the forum, which was full of spam by the way... Seems now it has moved to discourse, but google auth is broken I can't log in anymore "Sorry, there was an error authorizing your account. Perhaps you did not approve authorization? "

@cdujeu
Copy link
Member

cdujeu commented Nov 16, 2017

can you try to register with an email instead of google maybe?

@Madko
Copy link
Author

Madko commented Nov 16, 2017

done with github auth, so something is definitively broken with google auth
https://forum.pydio.com/t/pydio-segfault-on-samba-share-with-spaces/110

@cdujeu cdujeu closed this as completed Dec 7, 2017
@Madko
Copy link
Author

Madko commented Dec 7, 2017

where should we report bugs ?

@cdujeu
Copy link
Member

cdujeu commented Dec 7, 2017

it's not a bug until it's not qualified as such = easily reproducible :-)
I'll ping c12simple again to carry on the discussion on your thread in the forums.

@cdujeu
Copy link
Member

cdujeu commented Dec 7, 2017

if it's a bug we'll reopen for sure

@Madko
Copy link
Author

Madko commented Dec 7, 2017

I can give you my ansible playbooks if you'd like to try to reproduce the segfault. btw how a segfault can't be a bug ? Interesting subject ;)

@cdujeu
Copy link
Member

cdujeu commented Dec 8, 2017

to answer your question : pydio is part of a broader system and believe me, many many issues can be linked to anything but pydio.

@Madko
Copy link
Author

Madko commented Dec 8, 2017

I understand, but look what is happening from a user perspective :

  • I tried to use the forum, which is online but not used anymore (why??)
  • I tried to report on github, as for any serious project (no more luck)
  • I tried on twitter, no response (not a big deal)
  • I was sent from here to an other forum (mmm ok...)
  • There it was more like "this is how you can do it without the part you want to use" (ok an abvious workaround)
  • And at last here, I'm told that the bug is certainly not from pydio.
  • And that it has to be qualified first as a bug before opening an issue.

So If users can't open ticket here because it's not yet qualified as a bug, how do we qualified an issue as a bug ? I'm really willing to conform to your original process, because pydio seems such a good product, and it really deserves a community.

@cdujeu
Copy link
Member

cdujeu commented Dec 8, 2017

Hey madko
Sorry about all that, this forum stuff has been really broken lately. And thank you for your patience.
Our basic process is explained all around in both the README and https://pydio.com/fr/community. The base was : please discuss in the forum first, and open a github issue once you are invited to do so. But indeed forum was broken (very very heavy spamming), so we changed to a new platform (as indicated clearly on the old forum), so we can start again the normal process.
So, again, once we have a clear way to reproduce the bug, we will open an issue with clear scenario, on which os to reproduce it etc.
You will not be left aside ;-)

@cdujeu
Copy link
Member

cdujeu commented Dec 8, 2017

And finally : this "qualified bug" may seems obvious to you, but I can assure you that 90% of what [non-technical] people think as a bug are in fact simple configuration problems. Thus the distinction.

@Madko
Copy link
Author

Madko commented Dec 16, 2017

I've made PR #1403 to fix indexation launch from CLI. Still not sure if it fix the segfault yet.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants