Min,
can you check that the patch was applied correctly? If it was, could you
send some test data demonstrating the bug?
Thanks,
Tom
On Mon, 30 Apr 2001 13:01:55 -0400
Min Song <[EMAIL PROTECTED]> wrote:
> Thanks for the information, Tim. However, I still got the same error
> after I
> patched it.
>
> Min
>
> Tim Crook wrote:
>
> > This has already been addressed in a patch attached to an email from
> Tom on
> > April 20.
> >
> > -----Original Message-----
> > From: Min Song [mailto:[EMAIL PROTECTED]]
> > Sent: April 30, 2001 12:26 PM
> > To: Sablotron Mailing List
> > Subject: [Sab] expr.cpp:1435
> >
> > Dear Sablotron mailing list members,
> >
> > I have run into the problem of core dump after I upgraded from
> Sablotron
> > 0.44 to Sablotron 0.52. It seemed to depend on the length of the
> > string, and its contents... but not in any obvious way. The error
> > message I get is as follows:
> > expr.cpp:1435: const class Str & Expression::tostringRef()
> const:
> >
> > Assertion `(functor == EXF_ATOM) && (type == EX_STRING)'
> failed.
> >
> > So I tried to the following crude hack to get it past this error.
> > if (!(functor == EXF_ATOM && type == EX_STRING)) return 0;
> > assert((functor == EXF_ATOM) && (type == EX_STRING));
> > return (*NZ(patomstring));
> >
> > After I had this work-around solution, it seems working fine. I would
> > appreciate any helps on this.
> >
> > Thanks,
> >
> > Min
>
>