[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

890.0. "4.0-33 seg fault on derived class" by DECC::MJHANS (Matthew Hanselman, DEC C/C++) Tue Mar 18 1997 16:29

    Using DEC C++ 5.6 and ladebug 4.0-33:
    
    In this test program, "Base" will not have a full DST entry, but
    "Derived" does.  Trying a "whatis Derived::Derived" causes ladebug to
    seg fault.
    
    ========================================
    class Base {
    public:
        virtual int frob() = 0;
    };
    
    
    class Derived: public Base {
    public:
        Derived()  { return; }
        int frob() { return 0; }
    };
    
    main()
    {
        Derived t;
        return 0;
    }
    ========================================
    ladebug a.out 
    Welcome to the Ladebug Debugger Version 4.0-33
    ------------------ 
    object file name: a.out 
    Reading symbolic information ...done
    (ladebug) whatis Derived::Derived
    
    Ladebug Debugger Version 4.0-33 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.
    Diagnostic stack trace ...
    0x12572f1c
    0x12482fdc
    0x12483d40
    0x12483f64
    0x12485514
    0x12485b0c
    0x122d34cc
    0x122c6554
    0x1227467c
    0x1223b964
    0x12226dd4
    0x12216b5c
    0x12213c0c
    end of diagnostic stack trace.
    Fatal error: Segmentation fault
    
    
    							- Matt
T.RTitleUserPersonal
Name
DateLines
890.1side noteDECC::MJHANSMatthew Hanselman, DEC C/C++Wed Mar 19 1997 12:064
    As an aside, this is the only problem I've found with the new C++ V5.6
    class-completion support.  Things are looking pretty good....
    
    							- Matt
890.2I'll take a lookTLE::MERRITTSteve Merritt, Ladebug TeamWed Mar 19 1997 14:062
I'll take at look at this...
890.3fixedTLE::MERRITTSteve Merritt, Ladebug TeamThu Mar 27 1997 09:101
This has been fixed in 4.0-34