perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gerald Richter" <rich...@ecos.de>
Subject Re: sub.htm segfault on sparc (patch)
Date Wed, 19 Mar 2003 20:08:10 GMT
>
> on sparc (at least), embperl dies with:
....
>
>      pCV = perl_get_cv (s, 0) ;
>      if (pCV)
>         {
> +       dSP ;
>         if (bDebug)
>             lprintf (r -> pApp,  "[%d]CUP: Call &%s::CLEANUP\n", r ->
pThread -> nPid, sPackage) ;
> +       PUSHMARK(sp) ;
>         perl_call_sv ((SV *)pCV, G_EVAL | G_NOARGS | G_DISCARD) ;

PUSHMARK tells Perl where on the stack the argument for a sub starts.
Because on the G_NOARGS it shouldn't be necessary here, so it seems more
like a bug in Perl. Anyway most important is that it fixes the problem.

>
> (btw Gerald, Debian autobuilder logs are always available from
> http://buildd.debian.org/build.php?pkg=libembperl-perl, if you want
> some info/propoganda to say "Embperl works on xxx architecture".
>

Ah, this is very interesting.

Thanks for the info

Gerald



--------------------------------------------------------------
Gerald Richter     ecos electronic communication services gmbh
IT-Securitylösungen * dynamische Webapplikationen * Consulting

Post:       Tulpenstrasse 5          D-55276 Dienheim b. Mainz
E-Mail:     richter@ecos.de          Voice:   +49 6133 939-122
WWW:        http://www.ecos.de/      Fax:     +49 6133 939-333
--------------------------------------------------------------
|
|   Besuchen Sie uns auf der CeBIT vom 12. - 19. März 2003
|   Messe Hannover * Halle 17 * Stand F 36
|   http://www.cebit.de/
|
+-------------------------------------------------------------


---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Mime
View raw message