Re: seg. fault
Rene Brun (Rene.Brun@cern.ch)
Fri, 28 May 1999 10:03:00 +0000
Marek Idzik wrote:
>
> Dear Rooters,
>
> I'm running root on Debian linux with egcs 1.1.
> By know I have ~6000 lines of my application.
> (I have 256MB Ram)
> After last changes in my program it compiles
> but after launching it I get only "segmentation fault",
> and so I cannot trace the bug easily.
> Most probably I have a bug in my program but to be sure about
> I'd like to ask if
> is it possible that there are some memory or program size
> limitations in root itself ?
>
> Thanks,
> marek
Marek,
6000 lines is a very small program. However, a 2 lines long program
like
void big() {
float *crazy = new float[1000000000];
}
can crash !
You have to provide more info (please not on this list)
Could you run under gdb and send me teh trace back info:
gdb myapplication.exe
gdb > run
gdb > info stack when you get the crask
Rene Brun