bug-gplusplus
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

When does 'new' cause segfault?


From: Tony Simons
Subject: When does 'new' cause segfault?
Date: Tue, 6 Sep 2005 09:05:34 +0100 (BST)

Dear GNU Bug folk,

Are there any known circumstances when g++ is known to make code in 
which operator new raises a segmentation fault?

I have a highly dynamic program, in which I have traced the seg fault
to a call of operator new char[n], which seems pretty unusual.

--Tony

==========================================================================

Dr Anthony J H Simons                   address@hidden
Senior Lecturer in Computer Science     http://www.dcs.shef.ac.uk/~ajhs
Director of Teaching Quality

Department of Computer Science          tel:  (+44) 114 22 21838
University of Sheffield                 dept: (+44) 114 22 21800
Regent Court, 211 Portobello Street     fax:  (+44) 114 22 21810
SHEFFIELD, S1 4DP                       univ: (+44) 114 22 22000
United Kingdom

==========================================================================






reply via email to

[Prev in Thread] Current Thread [Next in Thread]