-
Notifications
You must be signed in to change notification settings - Fork 10
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
Problem when converting data #5
Comments
@welcheb is this something you might want to take a look at? |
@QQRider What debugging did you do so far? Did you run it in a debugger and figure out which line is causing the segfault? |
I didn't run it in a debugger. Actually I don't know how to do it under Linux. |
You compile the converter with debug symbols:
Then you run it in the debugger:
When it fails, you get the back trace in the debugger by typing I would recommend reading a tutorial on debugging with |
Thanks Michael, so the message looks like this
|
So now you have to do some debugging. You have the exact line number where it goes wrong. It is probably trying to index beyond the bounds of that |
Thanks, glad to be on board. |
@QQRider let me know what you find out. The radial data is probably some special case that we have not tested. The first thing I would test is if the array |
Looking back at this old issue it appears that dptr is out of bounds for some reason. The problem is in trying to assign dptr[45696] when the last accessible element is dptr[45695] which has a value of 0+j. For this part of the code c=0 and s=45696. nsamp=80000. Next steps would be to figure out how large this array is by looking at how it is allocated. |
Dear Michael and Philips users
I have a problem when converting a set of 2D radial raw data from Philips scanner. The command I used is
philips_to_ismrmrd -f aa -x ./IsmrmrdPhilips.xsl -o radial2d.h5
And the error says
Segmentation fault (core dumped)
I'm wondering if you could help take a look at this. The raw data files are attached in the google group thread.
If you need more data, please let me know.
Best Regards!
Yishi
The text was updated successfully, but these errors were encountered: