-
Notifications
You must be signed in to change notification settings - Fork 26
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 (core dumped) #37
Comments
This has been fixed in the new implementation. I have refactored the code to make it work.
The output that I get prints up to 248. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have a program with
If the size of the list is <= 245 then the elements are printed correctly. With a size > 245 I get a segmentation fault and, as you can see in the file output.txt, some of the numbers printed are not in the list.
I have a method invocation worker.init(); in the main. if I remove it, then I have the expected result.
There is also a similar list with some numbers that I do not use. But if I remove the lines 13-16 (they add a number to this list) there is no seg fault.
You can find the code (SegFault.enc) and result (output.txt) here:
https://www.dropbox.com/sh/jhocug46ugv3hse/AADnyHApsKUJvYMTo1E74SZ1a?dl=0
Any idea why this is happening?
Thanks,
Juliana
The text was updated successfully, but these errors were encountered: