Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29276 Discussions

Problem with debugger in OS X with idb Build [1.1510.2.69]

jmorales75
Beginner
778 Views

I've been trying to use idb to debug some fortran code under OS X. I am using ifort 11.0 (build 056) and its associated debugger version. When I compile the code with the -g option I get the following error when invoking the compiler:

$ idb nm.x
Intel Debugger for applications running on Intel 64, Version 11.0, Build [1.1510.2.69]
------------------
object file name: nm.x
Reading symbols from /Users/jaime/Documents/Research/ztmc51/nm.x...Assertion failed: "found" src/st/mem/pil_loadablefileformatMachO.C:1702
This is an unexpected condition and may indicate the presence of a defect.
If you wish to report this, please include the stack trace that follows.
Could not start process for nm.x
No image loaded ... Recovering ...
(idb) quit

However, when I repete this on a Linux system there are no problems. What could be causing the error, i.e. the failed assertion revolving around "src/st/mem/pil_loadablefileformatMachO.C:1702"? There is not C code in my file, so I assume this is refering to the source code used to build idb. Any help wold be appreciated.

-jmj

0 Kudos
2 Replies
Ron_Green
Moderator
778 Views

jmj,

This certainly does look like a bug in idb. Could you open a problem report at http://premier.intel.com. Include the version of Mac OS you are using, the Xcode version you use (we need to know the linker version, and that comes with Xcode), if possible include a tarball with your source files and makefile. If you cannot share your sources, upload nm.x and detail the exact compiler and linker options used to build it.

As you may have seen, we are working on an assertion failure for idb/linux. This is the first we've seen of an assertion failure on Mac and this one is interesting since in your case the Linux idb is working fine.

thanks

ron

0 Kudos
jmorales75
Beginner
778 Views

Ron,

I have submitted the information. We are very much looking forward to a bug fix.

Thanks,

jmj

0 Kudos
Reply