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

How to solve this segmentation fault? #86

Open
cswhjiang opened this issue Nov 9, 2016 · 2 comments
Open

How to solve this segmentation fault? #86

cswhjiang opened this issue Nov 9, 2016 · 2 comments

Comments

@cswhjiang
Copy link

Hi,
How to solve this segmentation fault? Thanks

-- local hdf5 = require('hdf5')

local threads = require 'threads'

threadPool = threads.Threads(3, function(threadid) require('hdf5') end )
-- threadPool = threads.Threads(3)

for i = 1, 10 do
     threadPool:addjob(function()  local a = hdf5.open(i .. '.hdf5','w'); a:close() end )
end

threadPool:synchronize()
threadPool:terminate()
@danieljf24
Copy link

Hi, @cswhjiang , I have the same problem. Did you solve it? Thanks in advance.

@cswhjiang
Copy link
Author

No. I transformed hdf5 to t7 to bypass this problem.

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