>
> Here's a gdb stacktrace. I compiled embperl with -g (but
> not the perl executable).

Looks like you forgot to link with debug infos (see
http://perl.apache.org/embperl/Faq.pod.1.html#How_do_I_build_Embperl_with_de
bu )

> I had to set heuristic-fence-post
> to a large value and run the trace twice to get any meaningful
> output.

Type "share" before printing the backtrace, should load the missing symbols

> Let me know if this isn't enough. I can try to
> recompile perl with -g.
>

Compiling perl with -g isn't necessary, but Embperl with full debug infos
(including line numbers, would be helpfull)

Additionaly you can serach in the function HtmlOption in epcmd.c for the
line (about 1595)

    pSV = newSVpv ((char *)pVal, vlen) ;

insert the lines

    lprintf (r, "name=%s\n", pName) ;
    lprintf (r, "len=%d\n", vlen) ;
    lprintf (r, "val=%s\n", pVal) ;

before this line and send me the resulting embperl logfile

Gerald

Reply via email to