[RPL/2] Lot RPL2, Vol 39, Parution 2

Woody Jeon woody at posdata.co.kr
Ven 16 Nov 05:32:46 CET 2007


Hello,

I'm grad to hear from you :)

I checked the source code as you mentioned

Comparing two archives with sha256 checksum gives;

                 
70b02347723e463c381a315a3695681f0addb831bb4ba009dc4ec8ea3bf235f6  
rpl-4.0.0.prerelease.2.tar.bz2
                 
d7c674f8c45da752531d4250e781e6eb633e09865d572fbf1144c20cbd419827  
rpl-4.0.0.prerelease.2.tar.bz2.Oct1

It's different!

    I've looked into the source code(src/encart.c), and found that  
XtDestroyWidget() functions were missing in my archive,

    which I downloaded the source (rpl-4.0.0.prerelease.2.tar.bz2) from 
the official RPL/2 web directly before Oct. 1

             XtDestroyWidget(pixmap);
             XtDestroyWidget(cadre);
             XtDestroyWidget(form);
             XtDestroyWidget(popup);
             XtDestroyWidget(objet_principal);


I don't understand why this happened ;-)

I have some suggestions regarding this issue,

It's a good idea to give checksums(i.e, md5) on the official web site, and


Another suggestion is;

    it's also useful to offer some links to access HP RPL document

    For your convenience,

              
http://h20000.www2.hp.com/bc/docs/support/SupportManual/c00554621/c00554621.pdf

        or, RPL wiki page

              http://en.wikipedia.org/wiki/RPL_(programming_language)

Thanks a million for your help, and

I cannot help but appreciate your a great deal of efforts into RPL/2

Please keep your good work!


Best regards,

Woody Jeon



rpl2-request at rayleigh.systella.fr wrote:
> Envoyez vos messages pour la liste RPL2 à
> 	rpl2 at rayleigh.systella.fr
>
> Pour vous (dés)abonner par le web, consultez
> 	https://www.systella.fr/cgi-bin/mailman/listinfo/rpl2
>
> ou, par email, envoyez un message avec 'help' dans le corps ou dans le
> sujet à
> 	rpl2-request at rayleigh.systella.fr
>
> Vous pouvez contacter l'administrateur de la liste à l'adresse
> 	rpl2-owner at rayleigh.systella.fr
>
> Si vous répondez, n'oubliez pas de changer l'objet du message afin
> qu'il soit plus spécifique que "Re: Contenu du digest de RPL2..."
>
>
> Thèmes du jour :
>
>    1. Access violation (stack overflow) (Woody Jeon)
>    2. Re: Access violation (stack overflow) (BERTRAND Joël)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Thu, 15 Nov 2007 12:01:52 +0900
> From: Woody Jeon <woody at posdata.co.kr>
> Subject: [RPL/2] Access violation (stack overflow)
> To: rpl2 at rayleigh.systella.fr
> Message-ID: <473BB6A0.2030400 at posdata.co.kr>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> I compiled the prerelease.2  and got a message right after rpl started,
>
>      "+++System : Access violation (stack overflow)"
>
> Even though I have no idea this is harmful or not, it doesn't seem a 
> good sign
>
> Any idea on this?
>
> cheers,
> woody
>
> ------------------------------------------------------------------------------------------------------------------------------------
> $ rpl -i
> +++RPL/2 version 4.0.0.prerelease.2 (Monday 10/01/07, 20:46:21 KST)
> +++Copyright (C) 1989 to 2006, 2007 BERTRAND Joël
>
> +++This is a free software with absolutely no warranty.
> +++For details, type 'warranty'.
>
> +++System : Access violation (stack overflow)
> RPL/2>
>
>
>
> ------------------------------
>
> Message: 2
> Date: Thu, 15 Nov 2007 09:54:09 +0100
> From: BERTRAND Joël <joel.bertrand at systella.fr>
> Subject: Re: [RPL/2] Access violation (stack overflow)
> To: RPL/2 mailing list <rpl2 at rayleigh.systella.fr>
> Message-ID: <473C0931.9000300 at systella.fr>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Woody Jeon wrote:
>   
>> I compiled the prerelease.2  and got a message right after rpl started,
>>
>>      "+++System : Access violation (stack overflow)"
>>
>> Even though I have no idea this is harmful or not, it doesn't seem a 
>> good sign
>>
>> Any idea on this?
>>     
>
> 	Yes, I have ;-)
>
> 	Please try to launch RPL/2 with rpl -is. I think you shouldn't receive 
> a stack overflow error. Where have you downloaded sources ? This very 
> minor bug (segfault when a child process ends) was fixed a long time 
> ago. I have verified that it is fixed in 4.0.0.prerelease.2 on the 
> official web page.
>
> 	You can check too that src/encart.c ends by :
>
>              XmDestroyPixmap(XtScreen(popup), pixmap_rpl);
>              XmDestroyPixmap(XtScreen(popup), pixmap_rpl_masque);
>
>              XtDestroyWidget(pixmap);
>              XtDestroyWidget(cadre);
>              XtDestroyWidget(form);
>              XtDestroyWidget(popup);
>              XtDestroyWidget(objet_principal);
>
>              if (sigaction(SIGINT, &action_passee, NULL) != 0)
>              {
>                  (*s_etat_processus).erreur_systeme = d_es_signal;
>                  return;
>              }
>
>              exit(0);
>          }
>          else
>          {
>              if (sigaction(SIGINT, &action_passee, NULL) != 0)
>              {
>                  (*s_etat_processus).erreur_systeme = d_es_signal;
>                  return;
>              }
>
>              (*s_etat_processus).erreur_systeme = d_es_signal;
>              return;
>          }
>      }
> #   endif
>
>      return;
> }
>
> // vim: ts=4
>
> 	That being said, it is possible you have found a new bug. In this case, 
> you can start RPL/2 with (of course in bash ulimit -c unlimited) rpl -id 
> to avoid signal management.
>
> 	Regards,
>
> 	JKB
>
>
> ------------------------------
>
> _______________________________________________
> RPL2 mailing list
> RPL2 at rayleigh.systella.fr
> https://www.systella.fr/cgi-bin/mailman/listinfo/rpl2
> http://www.systella.fr/~bertrand/rpl2/english.html
>
> Fin de Lot RPL2, Vol 39, Parution 2
> ***********************************
>
>
>   

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.systella.fr/pipermail/rpl2/attachments/20071116/303e23ae/attachment.html 


Plus d'informations sur la liste de diffusion RPL2