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

idb - time to debug the debugger

oh_moose
Beginner
637 Views

Here is a traceback of a typical idb crash. I call idb with the -gui option. Even if I do not start my program, idb still crashs randomly and far too often. Pressing the wrong button on the GUI can trigger the crash.

(Gentoo Linux 2.6.21)

Intel Debugger for applications running on IA-32, Version 10.1-32 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.
[0xffffe420]
/usr/lib/libstdc++-v3/libstdc++.so.5(_ZNSi4syncEv+0x5c) [0xb7ca1c5c]
/opt/intel/idb/10.1.008/bin/iidb(_ZN9FilterBuf4syncEv+0x4c) [0x8895e42]
/usr/lib/libstdc++-v3/libstdc++.so.5(_ZNSi4syncEv+0x5f) [0xb7ca1c5f]
/opt/intel/idb/10.1.008/bin/iidb(_ZN9FilterBuf4syncEv+0x4c) [0x8895e42]
/usr/lib/libstdc++-v3/libstdc++.so.5(_ZNSi4syncEv+0x5f) [0xb7ca1c5f]
/opt/intel/idb/10.1.008/bin/iidb(_ZN9FilterBuf4syncEv+0x4c) [0x8895e42]
/opt/intel/idb/10.1.008/bin/iidb(_ZN10FilterBaseD2Ev+0x52) [0x8896dca]
/opt/intel/idb/10.1.008/bin/iidb(_ZN11FilteredIOSD0Ev+0xd1) [0x8896f4f]
/opt/intel/idb/10.1.008/bin/iidb(_ZThn108_N11FilteredIOSD0Ev+0xf) [0x8897099]
/opt/intel/idb/10.1.008/bin/iidb [0x88817b5]
/opt/intel/idb/10.1.008/bin/iidb(_Z11parseStringPKcN7Session4ModeEb+0x48) [0x88814c4]
/opt/intel/idb/10.1.008/bin/iidb(_Z20parseStringAsCommandPKcN7Session4ModeEb+0x18) [0x8881474]
/opt/intel/idb/10.1.008/bin/iidb(_Z20parseStringAsCommandPKcb+0x1e) [0x8881458]
/opt/intel/idb/10.1.008/bin/iidb(_ZN9GuiSmarts20parseStringAsCommandEPc+0x32) [0x86dd4a0]
/opt/intel/idb/10.1.008/bin/iidb(_ZN9GuiSmarts25executeUserDefinedCommandEPKcS1_RK17EGIDebuggeeHandleRK15EGIThreadHandleRK14EGIFrameHandle+0x164) [0x86e0fa0]
/opt/intel/idb/10.1.008/bin/iidb(_ZThn4_N9GuiSmarts25executeUserDefinedCommandEPKcS1_RK17EGIDebuggeeHandleRK15EGIThreadHandleRK14EGIFrameHandle+0x1e) [0x86e0e34]
/opt/intel/idb/10.1.008/bin/iidb(_ZN11EngineModel35handle_ExecuteCustomCommand_RequestEP32M2E_ExecuteCustomCommand_Request+0x2b9) [0x83fa6d3]
/opt/intel/idb/10.1.008/bin/iidb(_ZN32M2E_ExecuteCustomCommand_Request4doItEP11EngineModel+0x28) [0x83ec03e]
/opt/intel/idb/10.1.008/bin/iidb(_ZN11EngineActor12makeProgressEv+0x265) [0x83fa09f]
/opt/intel/idb/10.1.008/bin/iidb(_ZN12SchedulerDef10runOnePassERb+0x9c) [0x86c9502]
/opt/intel/idb/10.1.008/bin/iidb(_ZN12SchedulerDef22runUntilQueuesAreEmptyERb+0x91) [0x86c9437]
/opt/intel/idb/10.1.008/bin/iidb(_Z19runSchedulerOnePassRb+0x26) [0x86c9866]
/opt/intel/idb/10.1.008/bin/iidb(_ZNK13GuiCtrlApiDef21letOtherComponentsRunEv+0x22) [0x83d5df2]
/opt/intel/idb/10.1.008/bin/iidb(_ZNK9GuiSmarts21letOtherComponentsRunERb+0x2f) [0x86d7f2f]
/opt/intel/idb/10.1.008/bin/iidb(_ZN7Session21letOtherComponentsRunEb+0x4b) [0x8873047]
/opt/intel/idb/10.1.008/bin/iidb [0x889ce74]
/opt/intel/idb/10.1.008/bin/iidb(_Z15ProcessCommandsv+0x32) [0x889cb98]
/opt/intel/idb/10.1.008/bin/iidb [0x889c776]
/opt/intel/idb/10.1.008/bin/iidb(_Z7idbMainiPPKcS1_+0x12b) [0x889c4c5]
/opt/intel/idb/10.1.008/bin/iidb(main+0x29) [0x87a330d]
/lib/libc.so.6(__libc_start_main+0xe0) [0xb7b29fe0]
/opt/intel/idb/10.1.008/bin/iidb(_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c+0x69) [0x83b8011]

Intel Debugger for applications running on IA-32, Version 10.1-32 caught signal "Abort ed" (6).
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.
[0xffffe420]
[0xffffe410]
/lib/libc.so.6(gsignal+0x50) [0xb7b3cf60]
/lib/libc.so.6(abort+0xfe) [0xb7b3e75e]
/usr/lib/libstdc++-v3/libstdc++.so.5 [0xb7ce8b57]
/usr/lib/libstdc++-v3/libstdc++.so.5 [0xb7ce89f7]
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libgcc_s.so.1 [0xb7c48de5]
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libgcc_s.so.1(_Unwind_RaiseException+0x12e) [0xb7c4946e]
/usr/lib/libstdc++-v3/libstdc++.so.5(__cxa_throw+0x69) [0xb7ce8d49]
/opt/intel/idb/10.1.008/bin/iidb [0x889bb1e]
[0xffffe420]
/opt/intel/idb/10.1.008/bin/iidb(_ZN9FilterBuf4syncEv+0x4c) [0x8895e42]
/usr/lib/libstdc++-v3/libstdc++.so.5(_ZNSi4syncEv+0x5f) [0xb7ca1c5f]
/opt/intel/idb/10.1.008/bin/iidb(_ZN9FilterBuf4syncEv+0x4c) [0x8895e42]
/usr/lib/libstdc++-v3/libstdc++.so.5(_ZNSi4syncEv+0x5f) [0xb7ca1c5f]
/opt/intel/idb/10.1.008/bin/iidb(_ZN9FilterBuf4syncEv+0x4c) [0x8895e42]
/opt/intel/idb/10.1.008/bin/iidb(_ZN10FilterBaseD2Ev+0x52) [0x8896dca]
/opt/intel/idb/10.1.008/bin/iidb(_ZN11FilteredIOSD0Ev+0xd1) [0x8896f4f]
/opt/intel/idb/10.1.008/bin/iidb(_ZThn108_N11FilteredIOSD0Ev+0xf) [0x8897099]
/opt/intel/idb/10.1.008/bin/iidb [0x88817b5]
/opt/intel/idb/10.1.008/bin/iidb(_Z11parseStringPKcN7Session4ModeEb+0x48) [0x88814c4]
/opt/intel/idb/10.1.008/bin/iidb(_Z20parseStringAsCommandPKcN7Session4ModeEb+0x18) [0x8881474]
/opt/intel/idb/10.1.008/bin/iidb(_Z20parseStringAsCommandPKcb+0x1e) [0x8881458]
/opt/intel/idb/10.1.008/bin/iidb(_ZN9GuiSmarts20parseStringAsCommandEPc+0x32) [0x86dd4a0]
/opt/intel/idb/10.1.008/bin/iidb(_ZN9GuiSmarts25executeUserDefinedCommandEPKcS1_RK17EGIDebuggeeHandleRK15EGIThreadHandleRK14EGIFrameHandle+0x164) [0x86e0fa0]
/opt/intel/idb/10.1.008/bin/iidb(_ZThn4_N9GuiSmarts25executeUserDefinedCommandEPKcS1_RK17EGIDebuggeeHandleRK15EGIThreadHandleRK14EGIFrameHandle+0x1e) [0x86e0e34]
/opt/intel/idb/10.1.008/bin/iidb(_ZN11EngineModel35handle_ExecuteCustomCommand_RequestEP32M2E_ExecuteCustomCommand_Request+0x2b9) [0x83fa6d3]
/opt/intel/idb/10.1.008/bin/iidb(_ZN32M2E_ExecuteCustomCommand_Request4doItEP11EngineModel+0x28) [0x83ec03e]
/opt/intel/idb/10.1.008/bin/iidb(_ZN11EngineActor12makeProgressEv+0x265) [0x83fa09f]
/opt/intel/idb/10.1.008/bin/iidb(_ZN12SchedulerDef10runOnePassERb+0x9c) [0x86c9502]
/opt/intel/idb/10.1.008/bin/iidb(_ZN12SchedulerDef22runUntilQueuesAreEmptyERb+0x91) [0x86c9437]
/opt/intel/idb/10.1.008/bin/iidb(_Z19runSchedulerOnePassRb+0x26) [0x86c9866]
/opt/intel/idb/10.1.008/bin/iidb(_ZNK13GuiCtrlApiDef21letOtherComponentsRunEv+0x22) [0x83d5df2]
/opt/intel/idb/10.1.008/bin/iidb(_ZNK9GuiSmarts21letOtherComponentsRunERb+0x2f) [0x86d7f2f]
/opt/intel/idb/10.1.008/bin/iidb(_ZN7Session21letOtherComponentsRunEb+0x4b) [0x8873047]
/opt/intel/idb/10.1.008/bin/iidb [0x889ce74]
/opt/intel/idb/10.1.008/bin/iidb(_Z15ProcessCommandsv+0x32) [0x889cb98]
/opt/intel/idb/10.1.008/bin/iidb [0x889c776]
/opt/intel/idb/10.1.008/bin/iidb(_Z7idbMainiPPKcS1_+0x12b) [0x889c4c5]
/opt/intel/idb/10.1.008/bin/iidb(main+0x29) [0x87a330d]
/lib/libc.so.6(__libc_start_main+0xe0) [0xb7b29fe0]
/opt/intel/idb/10.1.008/bin/iidb(_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c+0x69) [0x83b8011]

 

0 Kudos
3 Replies
Steven_L_Intel1
Employee
637 Views
Please provide details and a test case, if possible, to Intel Premier Support.
0 Kudos
oh_moose
Beginner
637 Views
I just start the debugger with the option -gui. Then I set a breakpoint, or increase the window size. The host runs Gentoo Linux 2.6.21. The X11 output goes to a VMS DEC Windows system. I have not started the program (besides, that should not affect the debugger, right?!). First I thought the crashs could be related to the option -args which I also used, but now the debugger crashed again, without -args. So, all I do is

idb -gui myprogram.exe

Doesn't the traceback tell you where the debugger crashed? You could use a debugger to find the location. :)

0 Kudos
Steven_L_Intel1
Employee
637 Views
Please provide this information to Intel Premier Support. That way your issue will get the proper attention by the product developers.
0 Kudos
Reply