Software Archive
Read-only legacy content
17061 Discussions

idb crash in _ZN23LoadableFileSymbolTable9mainEntryERK15UnrelocatedAddr

vanswaaij
Beginner
959 Views

Trying to start up idb I get the crash below.

Probably hard to debug without the executable, but I can't send it without permission, so let me know if you need it and I'll see what I can do.

Intel(R) Debugger for applications running on Intel(R) 64, Version 13.0, Build [80.483.23]
------------------
object file name: <snip>
Reading symbols from <snip>
Intel(R) Debugger for applications running on Intel(R) 64, Version 13.0 caught signal "Segmentation fault" (11).
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.
/lib64/libc.so.6(+0x340e0) [0x7f438f92a0e0]
/opt/intel/composer_xe_2013_sp1.2.144/bin/intel64/iidb(_ZN23LoadableFileSymbolTable9mainEntryERK15UnrelocatedAddr+0x17) [0xb1b737]
/opt/intel/composer_xe_2013_sp1.2.144/bin/intel64/iidb(_ZN30PSD2_LineStateMachine_Consumer3runER21PSD2_LineStateMachineb+0x444) [0xadd584]
/opt/intel/composer_xe_2013_sp1.2.144/bin/intel64/iidb(_ZN15ParseSymsDwarf222emitLinesForCompilUnitERK11WalkCtxDIEsRK11AttrBindingRK12AttrBindings+0xb7a) [0xadcfba]
/opt/intel/composer_xe_2013_sp1.2.144/bin/intel64/iidb(_ZN15ParseSymsDwarf227emitSTForDIECompilationUnitER11WalkCtxDIEsbRK12AttrBindings+0x564) [0xadbea4]
/opt/intel/composer_xe_2013_sp1.2.144/bin/intel64/iidb(_ZN15ParseSymsDwarf212emitSTForDIEER11WalkCtxDIEsbRK12AttrBindings+0x3ac) [0xad58dc]
/opt/intel/composer_xe_2013_sp1.2.144/bin/intel64/iidb(_ZN15ParseSymsDwarf214walkTreeOfDIEsER11WalkCtxDIEs+0xd0) [0xada6a0]
/opt/intel/composer_xe_2013_sp1.2.144/bin/intel64/iidb(_ZN15ParseSymsDwarf214walkCommonUnitER16WalkCtxDebugInfo9CuSection+0x4de) [0xaca9ee]
/opt/intel/composer_xe_2013_sp1.2.144/bin/intel64/iidb(_ZN15ParseSymsDwarf220readTopLevelEntitiesEv+0x615) [0xac8745]
/opt/intel/composer_xe_2013_sp1.2.144/bin/intel64/iidb(_ZN15ParseSymsDwarf218readPartialSymbolsEb14PreferFileEnum+0x15d) [0xac7c7d]
/opt/intel/composer_xe_2013_sp1.2.144/bin/intel64/iidb(_ZN23LoadableFileSymbolTable18readPartialSymbolsEb+0xd6) [0xb1b4a6]
/opt/intel/composer_xe_2013_sp1.2.144/bin/intel64/iidb(_ZN10LoadedFile11readSymbolsERSob+0x166) [0x8f3f3c]
/opt/intel/composer_xe_2013_sp1.2.144/bin/intel64/iidb(_ZN11LoadedFiles8loadAOUTERSoPK6FileId+0x81) [0x8e2bdb]
/opt/intel/composer_xe_2013_sp1.2.144/bin/intel64/iidb(_ZN17WritableSymtabDef8loadAOUTEPK6FileId+0x1f) [0x8f4907]
/opt/intel/composer_xe_2013_sp1.2.144/bin/intel64/iidb(_ZN21ControlDefTargetAgent14getLoadedFilesEPK6FileId+0x10f) [0x92570b]
/opt/intel/composer_xe_2013_sp1.2.144/bin/intel64/iidb(_ZN12AddrSpaceDef10noteLoadedEPK6FileIdS2_P7Program+0xe1) [0x9b2779]
/opt/intel/composer_xe_2013_sp1.2.144/bin/intel64/iidb(_ZN10ProcessDef10noteExecedEPKc+0xe9) [0x9ac653]
/opt/intel/composer_xe_2013_sp1.2.144/bin/intel64/iidb(_ZN21ControlDefTargetAgent12startProcessEPKcRK7ArgListPK11EnvironmentS1_S1_S1_Ri+0xe95) [0x91c30f]
/opt/intel/composer_xe_2013_sp1.2.144/bin/intel64/iidb(_ZN14ProcessFactory22createLocalLiveProcessEP3JobP7ArgListPcS4_S4_22IsOrIsNotADummyProcess+0x1b8) [0x9a8688]
/opt/intel/composer_xe_2013_sp1.2.144/bin/intel64/iidb(_ZN3Job22createLocalLiveProcessEP7ArgListPcS2_S2_22IsOrIsNotADummyProcess+0x3e) [0x99a090]
/opt/intel/composer_xe_2013_sp1.2.144/bin/intel64/iidb(_ZN11SessionBase17startLocalProcessEP3JobP7ArgList22IsOrIsNotADummyProcess+0x8c) [0x948288]
/opt/intel/composer_xe_2013_sp1.2.144/bin/intel64/iidb(_Z17StartDummyProcessP3Job+0xaf) [0x6891f9]
/opt/intel/composer_xe_2013_sp1.2.144/bin/intel64/iidb(_ZN7CmdLoad5do_itER19CmdExecutionContextRN10BaseForCmd9CmdResultE+0x274) [0x68b0a8]
/opt/intel/composer_xe_2013_sp1.2.144/bin/intel64/iidb(_ZN10BaseForCmd7executeEb+0xfc5) [0x65e469]
/opt/intel/composer_xe_2013_sp1.2.144/bin/intel64/iidb(_ZN3Cmd20executeAsInternalCmdEv+0x23) [0x62615f]
/opt/intel/composer_xe_2013_sp1.2.144/bin/intel64/iidb(_ZN12InitialState10executeCmdEv+0x29) [0x61456d]
/opt/intel/composer_xe_2013_sp1.2.144/bin/intel64/iidb(_Z15decladebug_initiPPKcS1_+0xff1) [0x611c47]
/opt/intel/composer_xe_2013_sp1.2.144/bin/intel64/iidb(_Z7idbMainiPPKcS1_+0x161) [0x60dfe7]
/opt/intel/composer_xe_2013_sp1.2.144/bin/intel64/iidb(main+0x3a) [0x60dd1a]
/lib64/libc.so.6(__libc_start_main+0xfd) [0x7f438f914e7d]
/opt/intel/composer_xe_2013_sp1.2.144/bin/intel64/iidb(__gxx_personality_v0+0x232) [0x60db8a]

Could not start process for <snip>
No image loaded ... Recovering ...

Fatal error: Segmentation fault

 

0 Kudos
3 Replies
Georg_Z_Intel
Employee
959 Views

Hello,

that's a bug in loading the debug information from the executable. Unfortunately we don't have any further update of the last Intel(R) Composer XE package containing IDB. Hence we cannot solve that within IDB. (IDB has been deprecated as you might know)

What you can do, though, is to alternate the debug information. I cannot tell you exactly how to compile your application differently because I don't know your compiler options. What I'd recommend in first place is -O0 & -g, and no higher optimization levels or additional debug information flags (e.g. -gdwarf-3). If this is still failing you might want to try recompiling with -O0, -g & -gdwarf-2.

In the end I propose to use GNU* GDB (gdb-ia) that comes with our compilers with version 14.0 and later. This is also the preferred solution.

Best regards,

Georg Zitzlsberger

0 Kudos
vanswaaij
Beginner
959 Views

Hi I tried gdb-ia and got the problem below. The software is compiled with Clang 3.3.

Thanks

oldfield$ /opt/intel/bin/gdb-ia $S
GNU gdb (GDB) 7.5-1.0.194
Copyright (C) 2012 Free Software Foundation, Inc; (C) 2013 Intel Corp.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-unknown-linux-gnu".
For information about how to find Technical Support, Product Updates,              
User Forums, FAQs, tips and tricks, and other support information, please visit:
<http://www.intel.com/software/products/support/>...
Reading symbols from <snip>.../nfs/iul/disks/gdb/bb/src/bb-rhel53-64.0/gdb/gdb/cp-name-parser.y:220: internal-error: make_operator: Assertion `i' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n) n

/nfs/iul/disks/gdb/bb/src/bb-rhel53-64.0/gdb/gdb/cp-name-parser.y:220: internal-error: make_operator: Assertion `i' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Create a core file of GDB? (y or n) n

 

0 Kudos
Georg_Z_Intel
Employee
959 Views

Hello,

could you please use the latest version we ship with Intel® Parallel Studio XE 2015 Composer Edition. It is version 7.7.

Btw.: I assume in all cases you used CLang. We'd recommend to use lldb for this anyways (unless parts are compiled with the Intel(R) Compiler). Please note that we don't support CLang for our debuggers (on Linux*).

Thank you & best regards,

Georg Zitzlsberger

0 Kudos
Reply