https://bugzilla.mcs.anl.gov/swift/show_bug.cgi?id=1026 Summary: Concurrent mapper fails in a recursion loop. Product: Swift Version: 0.94 Platform: PC URL: http://ci.uchicago.edu/~yadunandb/reiteration.tar OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: General AssignedTo: [email protected] ReportedBy: [email protected] I'm trying to implement a simple feedback pattern in swift. Here's what I have : An application foo( ), which feeds back its output till ome condition cond( ) returns true. cond( ) just checks if a counter in the file has reached 100. The work( ) app, increments the counter in the input file by 1. The following pseudo swift code should go to a 100 level deep recursion, but fails with could not create file error. (file output) foo (file input) { if ( input meets conditions ){ output = input; // tail end of recursion } else { // do some work on input and pass it back to foo ( ) file temp = work (input); output = foo ( temp ); } }
From what I understand here, the concurrent mapper is creating temporary files by appending the filename at each level of the recursion with some chars resulting in filenames exceeding the 255 char limit by the 50th level.
Please check the URL attached for a test script which would reproduce this issue. -- Configure bugmail: https://bugzilla.mcs.anl.gov/swift/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.