[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

897.0. "seg fault debugging STL ctor" by TLE::WHITMAN () Mon Mar 24 1997 11:08

hi,

I am running on:

    OSF1 cxxosf.zko.dec.com V4.0 564 alpha

My cxx line is:        

    cxx -g prog.cxx

The cxx version is:

    DEC CXX X5.6-121 on Digital UNIX (Alpha)

Here's the program:

#include <list>
typedef list<int> IntList;

int main ()
{
   IntList a;
   return 0;
} 

If I try to step through the construction of IntList a I get:


      6    IntList a;
(ladebug) s
stopped at [Internal Error: other of method def has type void
Internal Error: other of method def has type void
list<int,allocator<int>>&
list<int,allocator<int>>::list<int,allocator<int>>(con
st allocator<int>&):282 0x12000319c]
    282     explicit list(const Allocator & alloc = Allocator()) :
value_allocat
or(alloc),
(ladebug) s
stopped at [
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 ...
0x123d2448
0x12525edc
0x12469048
0x124587f8
0x1246aaa4
0x12469a40
0x1246c080
0x12468428
0x1245ff38
0x12458384
0x12457b20
0x12457124
0x12455f18
0x1258e464
0x125728f8
0x12571970
0x123afba8
0x123b0010
0x124c8bfc
0x124c8b2c
0x124c8de8
0x124c9148
0x124c9488
0x124c94d4
0x1225618c
0x1225bb64
0x12222a04
0x12226f50
0x12216b5c
0x12213c0c
end of diagnostic stack trace.
Fatal error: Segmentation fault


I didn't try to reduce the program  further.
    
T.RTitleUserPersonal
Name
DateLines
897.1Added to listTLE::MERRITTSteve Merritt, Ladebug TeamFri Apr 18 1997 15:563
Thanks for the report.  I've added it to the C++ bugs list.

-Steve