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 error (python3.5) #1

Open
rongfeng-china opened this issue Apr 13, 2017 · 6 comments
Open

Segmentation fault error (python3.5) #1

rongfeng-china opened this issue Apr 13, 2017 · 6 comments

Comments

@rongfeng-china
Copy link

Building ray voxel grid
Making... 1150247 (1150247, 3)
Allocating raygrid. Mem: 0.31 Gb
Segmentation fault (core dumped)

kitizz added a commit that referenced this issue Apr 21, 2017
For certain platforms glob.glob doesn't not automatically
return a sorted list of files. This has been manually added.
@kitizz
Copy link
Owner

kitizz commented Apr 21, 2017

Hi! Thanks for taking a look at the project.
I think the issue was due to glob.glob not returning a properly sorted list of the image files on Ubuntu.
I've committed a fix to this, let me know if you have better luck :)

@rongfeng-china
Copy link
Author

rongfeng-china commented Jun 8, 2017

Thanks for your reply, and the problem still exists.
I debugged and found the error was in RaySoup.py file "raygrid = RayGrid(80,center,size,30000)".
This error was originated from RayVoxel.py and the init function of class Grid.
I guess some mistakes existed in the init function...

@kitizz
Copy link
Owner

kitizz commented Jul 12, 2017

Damn.
Are you using the accompanying datasets, or your own? I'll try to recreate it.
Bounds checks should be stopping this kind of thing from happening...

@rongfeng-china
Copy link
Author

Yes, using the accompanying datasets.

@kitizz
Copy link
Owner

kitizz commented Aug 24, 2017

Could you uncomment the @jitclass(_spec) line in RayVoxel.py and let me know what happens?
Depending on what happens, can you then try to reduce RayGrid.Grid(80...) to RayGrid.Grid(40)?

And could you let me know what OS you're running, and how much RAM your machine has?

@kitizz
Copy link
Owner

kitizz commented Aug 28, 2017

Correction: "Could you comment out the @jitclass(_spec) ..."

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