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

What does Segmentation fault mean? #3

Open
hyeon95y opened this issue Feb 4, 2021 · 4 comments
Open

What does Segmentation fault mean? #3

hyeon95y opened this issue Feb 4, 2021 · 4 comments

Comments

@hyeon95y
Copy link

hyeon95y commented Feb 4, 2021

image

  • It fails on specific file, what does it mean?
  • If some file fails, the whole procedure stop when it's applied on a directory. I think it should run anyway through other files whether if failed on specific file or not
@hyeon95y hyeon95y changed the title What does Segmenation fault mean? What does Segmentation fault mean? Feb 4, 2021
@rcshubhadeep
Copy link
Contributor

Segmentation fault generally comes from libraries and function calls closer to the system. I am afraid that from the Python level we won't have much to do. That said I experienced that yesterday in a brand new Ubuntu 20.04 machine with GPU with python 3.8 and Pytorch 1.6+cpu version. I started to look into the same issue. Can you tell me a bit about your configuration please?

Hope that we will find a solution easily.

(to give a better perspective, in this colab - https://colab.research.google.com/drive/19O7uvH2bZ-K0DGxnSW3_C7B4tzzvWUsT?usp=sharing the segmentation fault does not occur on same file for which I saw it happening in the machine I mentioned earlier.)

@hyeon95y
Copy link
Author

hyeon95y commented Feb 4, 2021

Thank you for your answer. I was working in docker image (rayproject/ray-ml:1.0.0), but not exactly same image from the docker hub as I installed more packages.

I also thought about just showing pip list, but it seems not a good way. If there's any formal way to share configuration, please tell me and I'll show you my configuation.

Furthermore, I think some non-english characters in the code may cause the error. As I'm reading the code from the other person for the first time for refactoring, I cannot say the code itself is perfect and may not cause any syntax, or any unknown error. I'll also tell you If I find something while refactoring that.

@rcshubhadeep
Copy link
Contributor

Ok great. Thanks. I hope that docly will be helpful for you. If you need to go ahead then clone the colab I linked in my last message and then you can upload some code files and run docly in the colab environment. That is not the optimal solution but until I find a fix that is a good way to go.

Anyway, it is nice to see that you consider docly in a real use case. Always happy to help

@hyeon95y
Copy link
Author

hyeon95y commented Feb 5, 2021

Thanks for your support. I'll share any information as it comes out. Hope your app become new standard like black, isort :)

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