public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* vector<> appears to cause seg-fault
@ 1998-11-29 18:32 Richard Andrews
  0 siblings, 0 replies; only message in thread
From: Richard Andrews @ 1998-11-29 18:32 UTC (permalink / raw)
  To: egcs-bugs

  Are there known bugs with the vector<> class template?

  I have a working set of libraries I wrote which compile and run fine. I am
trying to use the vector class to work as a stack but when I construct a
vector<> of any type (whether it gets initialised or not) it causes the program
to suffer random seg-faults. The seg-faults occur at the same place each time
but changing the program around causes the seg-fault to occur at a different
random position. In particular initiallising the vector to different sizes 
changes the point of seg-fault
  If I don't define any vector then the program runs fine.

  Please reply direct to me; I am not subscribed to the list

TIA

Rich

-- 
P		| Richard Andrews
O		| Graduate Research Student (Image Compression)
W		| Electrical Engineering and Computer Science
E	L	| University of Tasmania
R	I	| BOX 252-65, Hobart, Australia
E	N	|
D	U	| email     :  <Richard.Andrews@utas.edu.au>
	X	| phone (w) :  +61 3 6226 2137
B		| web	: http://www.eecs.utas.edu.au/people/andrews
Y		|
		| "Worrying is meditation for realists"



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1998-11-29 18:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-11-29 18:32 vector<> appears to cause seg-fault Richard Andrews

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).