[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Reply to: [list | sender only]
Re: [Imgcif-l] Debugging CBFlib fatal error 4 Invalid functionargument
- To: The Crystallographic Binary File and its imgCIF application to image data <imgcif-l@iucr.org>
- Subject: Re: [Imgcif-l] Debugging CBFlib fatal error 4 Invalid functionargument
- From: "Herbert J. Bernstein" <yaya@bernstein-plus-sons.com>
- Date: Mon, 16 Nov 2009 08:05:20 -0500 (EST)
- In-Reply-To: <4854F2500EA8C4478A508D2D92973E5206D6AFD9@EXCHANGE25.fed.cclrc.ac.uk>
- References: <4854F2500EA8C4478A508D2D92973E5206D6AFD9@EXCHANGE25.fed.cclrc.ac.uk>
Dear Graeme, First, please feel free to send me the code to look at. Second, what I do when I am tracing such problems in convert_image is to compile with the -g switch (and often with -O0 when optimizer make the debugger crazy), and then set a break point in local_exit. That then tells me where the error was reported. Then I drop the breakpoint back to that line and work forward until I get the call that actually tripped the error. Error 4 is unusual in convert_image. You may wish to run make tests first to be sure you have a clean kit in which convert_image works correctly on the standard test cases. As I said, feel free to send me a URL for the files and whatever code you are using, and I'll be happy to take a look. Regards, Herbert ===================================================== Herbert J. Bernstein, Professor of Computer Science Dowling College, Kramer Science Center, KSC 121 Idle Hour Blvd, Oakdale, NY, 11769 +1-631-244-3035 yaya@dowling.edu ===================================================== On Mon, 16 Nov 2009, Graeme.Winter@Diamond.ac.uk wrote: > Hi Folks, > > Is there a neat way to debug the above error? I am trying to fix a > template for convert_image and have got stuck... At the moment I am > trying debugging by random changes to see if I can identify the > offending data block. > > Thanks, > > Graeme > > Graeme Winter > Software and MX Support Scientist > Diamond Light Source > > +44 1235 778091 (work) > +44 7786 662784 (work mobile) > > > -- > This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail. > Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd. > Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments are free from viruses and we cannot accept liability for any damage which you may sustain as a result of software viruses which may be transmitted in or with the message. > Diamond Light Source Limited (company no. 4375679). Registered in England and Wales with its registered office at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom > > > > > _______________________________________________ > imgcif-l mailing list > imgcif-l@iucr.org > http://scripts.iucr.org/mailman/listinfo/imgcif-l > _______________________________________________ imgcif-l mailing list imgcif-l@iucr.org http://scripts.iucr.org/mailman/listinfo/imgcif-l
Reply to: [list | sender only]
- References:
- Prev by Date: [Imgcif-l] Debugging CBFlib fatal error 4 Invalid function argument
- Next by Date: [Imgcif-l] Questions of reference frames
- Prev by thread: [Imgcif-l] Debugging CBFlib fatal error 4 Invalid function argument
- Next by thread: [Imgcif-l] MATLAB support for CBF?
- Index(es):