perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ilia Lobsanov <i...@lobsanov.com>
Subject Re: Embperl 2.0b8 and HTML::Embperl 1.3.4 coexistence
Date Sun, 20 Oct 2002 05:17:43 GMT
Yet more info: 
segfault happens only with "EMBPERL_SESSION_MODE 2" and only with that
page I attached.
"EMBPERL_SESSION_MODE 1" works.

ilia.

On Sun, Oct 20, 2002 at 12:45:03AM -0400, Ilia Lobsanov wrote:
> More info about the segfault. Coexistence is not the problem.
> 
> The problem is the file I'm attaching. Apache segfaults when loading
> this file.
> 
> ilia.
> 
> On Sat, Oct 19, 2002 at 10:38:12PM -0400, Ilia Lobsanov wrote:
> > I'm trying to get Embperl 2.0b8 and HTML::Embperl 1.3.4 to co-exist.
> > 
> > First I got Embperl 2.0b8 working alone with apache 1.3.27, mod_perl
> > 1.27, perl 5.6.1, Apache::SessionX configured with MySQL.
> > 
> > Then I installed HTML::Embperl 1.3.4 and the trouble started.
> > 
> > I run apache with -X and it segfaults on request of an epl page.
> > The apache conf is set to use only Embperl (not HTML::Embperl)
> > The apache conf also contains EMBPERL_SESSION directives. When I comment
> > them out, apache runs fine.
> > 
> > gdb output goes like this:
> > Program received signal SIGSEGV, Segmentation fault.
> > [Switching to Thread 1024 (LWP 11458)]
> > 0x4060e398 in embperlCmd_AddSessionIdToLink ()
> >    from
> >    /usr/lib/perl5/site_perl/5.6.1/i686-linux/auto/Embperl/Embperl.so
> > 
> > 
> > ilia.
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
> > For additional commands, e-mail: embperl-help@perl.apache.org
> > 

> <script language="JavaScript">
> <!--
> function MM_preloadImages() { //v3.0
> var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
> var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
> if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
> }
> function MM_findObj(n, d) { //v4.0
> var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length)
{
> d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
> if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++)
x=d.forms[i][n];
> for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
> if(!x && document.getElementById) x=document.getElementById(n); return x;
> }
> function MM_nbGroup(event, grpName) { //v3.0
> var i,img,nbArr,args=MM_nbGroup.arguments;
> if (event == "init" && args.length > 2) {
> if ((img = MM_findObj(args[2])) != null && !img.MM_init) {
> img.MM_init = true; img.MM_up = args[3]; img.MM_dn = img.src;
> if ((nbArr = document[grpName]) == null) nbArr = document[grpName] = new Array();
> nbArr[nbArr.length] = img;
> for (i=4; i < args.length-1; i+=2) if ((img = MM_findObj(args[i])) != null) {
> if (!img.MM_up) img.MM_up = img.src;
> img.src = img.MM_dn = args[i+1];
> nbArr[nbArr.length] = img;
> } }
> } else if (event == "over") {
> document.MM_nbOver = nbArr = new Array();
> for (i=1; i < args.length-1; i+=3) if ((img = MM_findObj(args[i])) != null) {
> if (!img.MM_up) img.MM_up = img.src;
> img.src = (img.MM_dn && args[i+2]) ? args[i+2] : args[i+1];
> nbArr[nbArr.length] = img;
> }
> } else if (event == "out" ) {
> for (i=0; i < document.MM_nbOver.length; i++) {
> img = document.MM_nbOver[i]; img.src = (img.MM_dn) ? img.MM_dn : img.MM_up; }
> } else if (event == "down") {
> if ((nbArr = document[grpName]) != null)
> for (i=0; i < nbArr.length; i++) { img=nbArr[i]; img.src = img.MM_up; img.MM_dn =
0; }
> document[grpName] = nbArr = new Array();
> for (i=2; i < args.length-1; i+=2) if ((img = MM_findObj(args[i])) != null) {
> if (!img.MM_up) img.MM_up = img.src;
> img.src = img.MM_dn = args[i+1];
> nbArr[nbArr.length] = img;
> } }
> }
> //-->
> </script>
> </head>
> <body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" marginwidth="0"
marginheight="0" onLoad="MM_preloadImages('/images/top_02on.jpg','/images/top_03on.jpg','/images/top_04on.jpg','/images/top_05on.jpg','/images/top_06on.jpg','/images/top_07on.jpg')">
> <table border="0" cellspacing="0" cellpadding="0" align="center">
> <tr> 
> <td><a href="/index.epl"><img src="/images/top_01.jpg" width="290" height="116"
border=0></a></td>
> <td><a href="/index.epl" onClick="MM_nbGroup('down','group1','home','/images/top_02on.jpg',1)"
onMouseOut="MM_nbGroup('out')" onMouseOver="MM_nbGroup('over','home','/images/top_02on.jpg','/images/top_02on.jpg',1)"><img
src="/images/top_02.jpg" width="92" height="116" border="0" name="home"></a></td>
> <td><a href="/content/whatisthis.rtbc" onClick="MM_nbGroup('down','group1','top_03','/images/top_03on.jpg',1)"
onMouseOut="MM_nbGroup('out')" onMouseOver="MM_nbGroup('over','top_03','/images/top_03on.jpg','/images/top_03on.jpg',1)"
><img src="/images/top_03.jpg" width="72" height="116" name="top_03" border="0"></a></td>
> <td><a href="/ta/register.epl" onClick="MM_nbGroup('down','group1','top_04','/images/top_04on.jpg',1)"
onMouseOut="MM_nbGroup('out')" onMouseOver="MM_nbGroup('over','top_04','/images/top_04on.jpg','/images/top_04on.jpg',1)"
><img src="/images/top_04.jpg" width="78" height="116" border="0" name="top_04"></a></td>
> <td><a href="/content/advertise.epl" onClick="MM_nbGroup('down','group1','top_05','/images/top_05on.jpg',1)"
onMouseOut="MM_nbGroup('out')" onMouseOver="MM_nbGroup('over','top_05','/images/top_05on.jpg','/images/top_05on.jpg',1)"
><img src="/images/top_05.jpg" width="70" height="116" border="0" name="top_05"></a></td>
> <td><a href="/content/rep.epl" onClick="MM_nbGroup('down','group1','top_06','/images/top_06on.jpg',1)"
onMouseOut="MM_nbGroup('out')" onMouseOver="MM_nbGroup('over','top_06','/images/top_06on.jpg','/images/top_06on.jpg',1)"
><img src="/images/top_06.jpg" width="76" height="116" border="0" name="top_06"></a></td>
> <td><a href="/news" onClick="MM_nbGroup('down','group1','top_07','/images/top_07on.jpg',1)"
onMouseOut="MM_nbGroup('out')" onMouseOver="MM_nbGroup('over','top_07','/images/top_07on.jpg','/images/top_07on.jpg',1)"
><img src="/images/top_07.jpg" width="51" height="116" border="0" name="top_07"></a></td>
> <td align="center" valign="top" background="/images/top_08.jpg" width="74" height="112">
> <div align="center">
> <font style="font-size: 8pt;font-style: italic; color:#036; text-decoration: none">
> [- 
> use Time::CTime;
> -]
> [+ strftime("%b %d", localtime(time)) +]
> [#
> Day [Date_Difference:(Server_Date),'10/27/2001',Daysbetween]<br>
> [Server_time]
> #]
> </div>
> </td>
> </tr>
> <tr> 
> <td>&nbsp;</td>
> <td colspan="7">&nbsp;</td>
> </tr>
> </table>
> 

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

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


Mime
View raw message