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

Assertion failed: "_addrSize == 0 && addrSize != 0"

claudepi
Beginner
808 Views
Hello,
I am having an issue with the debugger idb when I try to open it (see error below). Note that the error only occurs when, in my main program, there is a call to a function that resides in a shared object (.so). When I do not make a call to this function in the external .so file, I encounter no issues with the idb. I also note that the main program executes without issue when I call the function in the .so. It is just the debugger that will not open correctly. I have reproduced this error on 64-bit FC13, FC14, and CentOS 5.7.

Thank you,
Seth

Intel Debugger for applications running on Intel 64, Build [1.2097.2.385]
Copyright(C) 2009-2010 Intel Corporation. All rights reserved.
------------------
object file name: *******_v2
Reading symbols from /************_v2...done.
(idb)
Assertion failed: "_addrSize == 0 && addrSize != 0" src/st/file/pil_parsesymsdwarf2.C:1592
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.
/usr/tcs/intel/Compiler/11.1/073/bin/intel64/iidb(_ZN15IDBAssertFailed3runEPKcS1_j+0xe) [0x5eec68]
/usr/tcs/intel/Compiler/11.1/073/bin/intel64/iidb(_ZN14DTLU_namespace12assertFailedEPKcS1_j+0x24) [0xb402c4]
/usr/tcs/intel/Compiler/11.1/073/bin/intel64/iidb(_ZN15ParseSymsDwarf219makeCompilationUnitER16WalkCtxDebugInfo+0x250) [0xb159f2]
/usr/tcs/intel/Compiler/11.1/073/bin/intel64/iidb(_ZN15ParseSymsDwarf220readTopLevelEntitiesEv+0x18d) [0xb1542f]
/usr/tcs/intel/Compiler/11.1/073/bin/intel64/iidb(_ZN15ParseSymsDwarf218readPartialSymbolsEb14PreferFileEnum+0x15a) [0xb1496c]
/usr/tcs/intel/Compiler/11.1/073/bin/intel64/iidb(_ZN23LoadableFileSymbolTable18readPartialSymbolsEb+0xce) [0xae1e24]
/usr/tcs/intel/Compiler/11.1/073/bin/intel64/iidb(_ZNK23LoadableFileSymbolTable22getDataFromPartialReadEv+0xd2) [0xae4a86]
/usr/tcs/intel/Compiler/11.1/073/bin/intel64/iidb(_ZNK23LoadableFileSymbolTable23unrelocatedAddrToSourceEv+0x6) [0xad9fda]
/usr/tcs/intel/Compiler/11.1/073/bin/intel64/iidb(_ZN11LoadedFiles12walkChaptersEPFbP7ChapterPvES2_+0x39) [0xa3457f]
/usr/tcs/intel/Compiler/11.1/073/bin/intel64/iidb(_ZN17WritableSymtabDef12walkChaptersEPFbP7ChapterPvES2_+0xa) [0xa34544]
/usr/tcs/intel/Compiler/11.1/073/bin/intel64/iidb(_ZN16DataRetrieverDef19onRequestModuleListERKSsS1_+0x4a6) [0xa508cc]
/usr/tcs/intel/Compiler/11.1/073/idb/lib/intel64/libDebuggerServices.so(_ZN4IUDG2DS13DataRetriever9onRequestERNS_7DbgData14DbgDataManager13DataHierarchyE+0xdd4) [0x7f444bc41494]
/usr/tcs/intel/Compiler/11.1/073/idb/lib/intel64/libDebuggerServices.so(_ZN4IUDG2DS12DataServices10processMsgEPNS_15MSGCLASSFACTORY9ClientMsgE+0x325) [0x7f444bc41ead]
/usr/tcs/intel/Compiler/11.1/073/idb/lib/intel64/libDebuggerServices.so(_ZN4IUDG2DS10Dispatcher11dispatchMsgEPNS_15MSGCLASSFACTORY9ClientMsgE+0x207) [0x7f444bc4f793]
/usr/tcs/intel/Compiler/11.1/073/idb/lib/intel64/libDebuggerServices.so(_ZN4IUDG2DS12DSPostOffice13flushMsgQueueEv+0x280) [0x7f444bc540c6]
/usr/tcs/intel/Compiler/11.1/073/bin/intel64/iidb(_ZN8IudgGlue18processPendingMsgsEb+0x16e) [0xa87600]
/usr/tcs/intel/Compiler/11.1/073/bin/intel64/iidb(vfprintf+0x37a0) [0x5ea0d8]
/usr/tcs/intel/Compiler/11.1/073/bin/intel64/iidb(_Z15ProcessCommandsv+0x4a) [0x5e9d3a]
/usr/tcs/intel/Compiler/11.1/073/bin/intel64/iidb(_Z7idbMainiPPKcS1_+0x1b3) [0x5e97b1]
/usr/tcs/intel/Compiler/11.1/073/bin/intel64/iidb(main+0x3c) [0x5e8800]
/lib64/libc.so.6(__libc_start_main+0xfd) [0x3b7a81ec5d]
/usr/tcs/intel/Compiler/11.1/073/bin/intel64/iidb(_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c+0x52) [0x5e872a]
(idb)
0 Kudos
3 Replies
Steven_L_Intel1
Employee
808 Views
It looks like you're using compiler version 11.1, is that correct? 11.1 is not supported on the Linux versions you listed. Please try the current product, Intel Fortran Composer XE 2011 Update 8.
0 Kudos
Georg_Z_Intel
Employee
808 Views
Hello,

besides Steve's proposal to switch to the latest version of IDB: Was the application you tried to debug 64 bit?
If so, you should also use the 64 bit version of IDB which you can get via

$ source compilervars.sh intel64


Best regards,

Georg Zitzlsberger
0 Kudos
claudepi
Beginner
808 Views
Thank you both. Steve's note to upgrade to Intel XE did in fact solve the issue I was having with idb. I have it working on 64-bit Fedora 14. Thank you.
--Seth
0 Kudos
Reply