[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference turris::decladebug

Title:Digital Ladebug debugger
Moderator:TLE::LUCIA
Created:Fri Feb 28 1992
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:969
Total number of notes:3959

864.0. "Assertion failed: isComplete() src/libsrc/ladebug/symbol.C 2165" by DECC::SULLIVAN (Jeff Sullivan) Mon Mar 03 1997 17:04

I see an assertion failure  using Ladebug V4.0-30 on Digital UNIX V4.0 while
debugging a shared executable. In this case, xld_global is a global variable.

I had previously reported a problem in this same situation using ladebug V4.0-25
or so and it was fixed in V4.0-26. I had been using V4.0-26 until today.

Here's the assertion:

(ladebug)  whatis xld_global
Assertion failed: isComplete() src/libsrc/ladebug/symbol.C 2165
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.
Diagnostic stack trace ...
0x12383f8c
0x123842d0
0x123cd0c8
0x1226f1a4
0x1220165c
0x122062d0
0x121f61d4
0x121f32dc
end of diagnostic stack trace.
(ladebug) 


I found that I was able to get the correct information from ladebug if I
debugged a non-shared debuggable program (same code as the failure above).


Let me know if you need more information.

-Jeff 

Jeff Sullivan | Digital Equipment Corp | [email protected]
DEC C and C++ | Nashua, NH  ZK3-2/2X09 |     or     [email protected]


T.RTitleUserPersonal
Name
DateLines
864.1Simple reproducerDECC::SULLIVANJeff SullivanMon Mar 03 1997 17:1125
For at least a limited time, there will be a shared,debuggable gemc_cc on cosf:
   /usr/proj/decc2/cao56-stbl8/alphaosf/bl33/exe/gemc_cc.debugging

There is also a non_shared, debuggable gemc_cc:
   /usr/proj/decc2/cao56-stbl8/alphaosf/bl33/exe/gemc_cc.debugging_non_shared

The first demonstrates the problem, the second does not.
cosf has ladebug V4.0-30 installed.

% ladebug /usr/proj/decc2/cao56-stbl8/alphaosf/bl33/exe/gemc_cc.debugging
(ladebug) stop in cs_output_error_message
(ladebug) run hello.c
[4] stopped at [cs_output_error_message:645 0x6fef768c]
    645     message_severity_code return_severity;
(ladebug) whatis xld_global
Assertion failed: isComplete() src/libsrc/ladebug/symbol.C 2165
  ...


In the above case, hello.c is a simple "Hello world" program
(#include <stdio.h>)

Let me know if you need more info.

-Jeff
864.2TLE::MURRAYWanfang MurrayTue Mar 04 1997 08:585
Tim Lucia is aware of this regression.  This will be fixed in a very
near future.

Wanfang
864.3Fixed !TLE::LUCIAhttp://asaab.zko.dec.com/~lucia/biography.htmlTue Mar 11 1997 18:208
in 4.0-31 of ladebug...

(ladebug) run hello.c
whatis xld_global[1] stopped at [cs_output_error_message:645 0x6fef768c]
    645     message_severity_code return_severity;
(ladebug) whatis xld_global
xld_root xld_global
(ladebug)