Re: check this please???

new topic     » goto parent     » topic index » view thread      » older message » newer message

>
> >with trace
> >trace(1)
> >procedure main()
> >    atom data
> >    data = allocate(8)
> >    free(data)
> >end procedure
> >
> >main()
> >
> >What exactly am I doing wrong here? This is a microcosm of the heart of
> >my world.
>
>   What value is data returning ?

data = 13473656 (just a pointer I am assuming)

>
>
>   Try declaring variable data outside the function and see if
>   that makes any difference.
>

no difference

>
>   Try allocate_low see if that makes any difference.
>   If that works you may have a bad memory chip.

Allocate_low doesn't work on linux platforms

>
>   Try running on a different PC.
>

Two different ones (one running Redhat and the other SuSe

>
>   These are just ideas to try.
>
>   Bernie

Just answering these to hopefully give more information to anyone reading
this thread.
Thanks Bernie!

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu