Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

C++ program on sun blade 2000 - Bus Error

Status
Not open for further replies.

jiang

Advanced Member level 4
Joined
Dec 31, 1999
Messages
111
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,296
Location
Taiwan
Activity points
855
Bus Error

Hi,

I wrote a C++ program on sun blade 2000.
The compiler is g++, version 2.95.3.
Sometimes the program was crashed by bus error.
I traced the program via gdb and found the program crashed on _malloc_unlocked().
I used 'new' to create a dynamic data structure, but why memory allocation errors still happened?
Does anyone help me to fix this problem?

Best Regards,
jiang
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top