You are viewing a plain text version of this content. The canonical link for it is here.
Posted to embperl@perl.apache.org by Gerald Richter <ri...@ecos.de> on 2002/05/01 11:11:00 UTC
Re: located segfault, Embperl 2.0b7 Solaris 2.8, epmain.c
>
>
> Compiling and testing Embperl 2.0b7 on Solaris 2.8, gcc 2.95.3, without
> mod_perl or XML libs, produces segfault on "make test". The segfault can
be
> corrected, and the test script then runs perfectly, by commenting out line
> 596 of epmain.c :
>
> lprintf (r -> pApp, "[%d]PERF: input = %s\n", r -> pThread -> nPid,
> sInputfile) ;
>
> In this line, the parameter 'sInputfile' is null, and causes a segfault as
Yes, this is a "feature" of solaris clib. All other OS I know will display
<null> instead of segfaulting...
I have already found this bug and corrected it in my developement version.
Anyway thanks for the hint
Gerald
-------------------------------------------------------------
Gerald Richter ecos electronic communication services gmbh
Internetconnect * Webserver/-design/-datenbanken * Consulting
Post: Tulpenstrasse 5 D-55276 Dienheim b. Mainz
E-Mail: richter@ecos.de Voice: +49 6133 925131
WWW: http://www.ecos.de Fax: +49 6133 925152
-------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org