Summary

(declare (lambda-lift)) infinite loop.

Metadata

Description

I have done some refactoring to my package genturfa'i. After completing my refactoring, the lambda-lift option now never terminates while compiling genturfa'i.

To recreate this problem:

 svn co -r23157 https://code.call-cc.org/svn/chicken-eggs/release/4/genturfahi/trunk
 cd trunk
 chicken-install

The problem is occurring in the function compute-extra-variables in optimizer.scm. I narrowed this down using the verbose option to the compiler invoked by chicken-install, but attempts on my part to provide a simpler test case have failed.

Turning off (declare (lambda-lift)) causes genturfa'i to compile normally. I would expect to be able to compile my module with lambda lifting, rather than having in never terminate.

Changes and comments

[2011-03-21 15:34:37 UTC] felix changed priority from major to critical

[2011-03-21 15:34:37 UTC] felix changed status from new to assigned

[2011-03-21 15:34:37 UTC] felix set owner to felix

[2011-03-22 12:34:05 UTC] felix wrote:

Ok, this is the last time this optimization has caused any trouble. I will remove it. Really, now.

[2011-03-22 12:49:25 UTC] felix wrote:

I noted that the tests fail with errors of this type:

 Warning: error in group outside of tests
 
 Error: (length) bad argument type - not a proper list: a-5067

Is this a known problem, or specific to the `experimental` chicken version?

[2011-03-22 16:43:07 UTC] alanpost wrote:

Replying to felix: > I noted that the tests fail with errors of this type: > > { > Warning: error in group outside of tests > > Error: (length) bad argument type - not a proper list: a-5067 > } > > Is this a known problem, or specific to the `experimental` chicken version?

I've just pulled and rebuilt the latest experimental branch, and made sure I had a clean checkout of genturfa'i. I don't see this problem, I'm sorry to report.

I can't say what is going on as a result. I did not recompile any of my dependent eggs with the latest version of the code, perhaps that is where this problem is manifesting.

I checked the salmonella report for the master branch, and genturfa'i compiled fine last night. The experimental branch hasn't been running for 10 days, so I couldn't check that.

[2011-03-28 09:30:06 UTC] felix changed status from assigned to closed

[2011-03-28 09:30:06 UTC] felix set resolution to fixed

[2011-03-28 09:30:06 UTC] felix wrote:

I must have made a mistake. Well, I'll close this ticket then.

[2011-06-01 09:00:41 UTC] felix changed milestone from 4.7.0 to 4.8.0

[2011-06-01 09:00:41 UTC] felix wrote:

Milestone 4.7.0 deleted

[2012-09-24 21:47:48 UTC] felix changed milestone from 4.8.0 to 4.9.0

[2012-09-24 21:47:48 UTC] felix wrote:

Milestone 4.8.0 deleted