[Gretl-devel] bug which is new in 1.7.4

Riccardo (Jack) Lucchetti r.lucchetti at univpm.it
Thu Apr 3 10:26:06 EDT 2008


On Thu, 3 Apr 2008, Sven Schreiber wrote:

> Allin Cottrell schrieb:
>> On Thu, 3 Apr 2008, Sven Schreiber wrote:
>> 
>>> I haven't been able to find a stripped-down testcase so far; however, I 
>>> have some more information on my case -- sorry for the longish 
>>> explanation, but that's all I can come up with. I could prepare a 
>>> non-stripped-down testcase tomorrow if that's useful.
>> 
>> Yes, a non-stripped-down testcase would still be helpful.
>
> Ok, the necessary files are attached; probably needless to say, the frontend 
> script ("kpsw_testfrontend.inp") should be run with the other files in the 
> same directory (or somewhere else where gretl will find them), and then gretl 
> 1.7.4 will hang. For comparison, with gretl 1.7.3 the pre-configured 50 
> bootstrap replications only take a couple of seconds on my computer, so after 
> ten seconds you can already be pretty sure it will not come back.
>
> BTW, the latest snapshot doesn't change anything, as expected.
>
> Good luck for the hunting!

Somehow, the problem lies with the fact that the return type is a list. If 
you modify the big file as per:

--- permaconfbackend.inp        2008-04-03 16:21:27.000000000 +0200
+++ permaconfbackend_2.inp      2008-04-03 16:23:35.000000000 +0200
@@ -725,5 +725,7 @@
      list results = results GGlownaive GGupnaive SWPlownaive SWPupnaive
      list results = results GGlowHall GGupHall SWPlowHall SWPupHall
    end if
-  return list results
+
+  matrix ret = { results }
+  return matrix ret
  end function

and modify kpsw_testfrontend.inp accordingly, it runs fine.

Riccardo (Jack) Lucchetti
Dipartimento di Economia
Università Politecnica delle Marche

r.lucchetti at univpm.it
http://www.econ.univpm.it/lucchetti


More information about the Gretl-devel mailing list