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

Reply via email to