Message: Re: memory error when creating many Histogram1D's Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: memory error when creating many Histogram1D's 

Forum: Analysis
Re: Question memory error when creating many Histogram1D's (Victor_Makarov)
Date: 04 Jul, 2007
From: Andreas Pfeiffer <Andreas Pfeiffer>

Hi Victor,

> [...]
> Jaida. Both times my program run crashes complaining about memory  
> (Linux
> message - *** glibc detected *** malloc(): memory corruption (fast):
> 0x0913a518 ***)! I don't know. Maybe I have my RunAction not  
> written in

this message is normally an indication that somewhere in
your program you write beyond allowed/allocated memory
causing other parts of the program to be overwritten. It
is only by coincidence that the fourth histogram triggers
this as booking it changes the memory-layout.

You could try to run the program inside a memory checking
program (on linux try valgrind for example) to see where
the problem is.

	cheers,  andreas

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 None: Re: memory error when creating many Histogram1D's   (Victor - 04 Jul, 2007)
(_ None: Re: memory error when creating many Histogram1D's   (Andreas Pfeiffer - 04 Jul, 2007)
 Add Message Add Message
to: "Re: memory error when creating many Histogram1D's"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]