> > Alexander Larsson <[EMAIL PROTECTED]> writes:
> >
> > > Yes, this was probably it. I got the same backtrace making a bezier
> > > (Sybase log) object very small. I fixed this in CVS.
> > >
> > > Daniel, can you try the latest CVS and see if it fixes your problem?
> >
> > Just, did. I'm still getting the same behavior... I think this is a storage
> > allocation bug.
> Ugh? Do you get the same backtrace? That fix i did might not be the
> best, but it sure should stop that crash.
Yep still does...
I just got extra paranoid and did a make distclean and complete rebuild and
I'm still getting the core dump.
> > After I redefine malloc to be a wrapper around
> > calloc so that all memory is zeroed out. The bug goes away. Maybe there's a
> > bug where you should be calling g_malloc0 rather than g_malloc or you're
> > assuming some values are 0.0 by default when they aren't?
>
> Maybe. It'll be a bit hard to find for me though, as i don't get the
> crash. Doesn't anyone have purify for Solaris?
*sigh* I've played various games trying to isolate this... I guess you really
need purify to make sure you don't read from properly initialized memory...
Oh, well.. I seem to be able to work around this... for now...
Thanks... I hope you get lucky and find the bug...