[Bug 1032] New: readStructured fails to close array on LHS.
https://bugzilla.mcs.anl.gov/swift/show_bug.cgi?id=1032 Summary: readStructured fails to close array on LHS. Product: Swift Version: 0.94 Platform: PC OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: General AssignedTo: [email protected] ReportedBy: [email protected] When using foreach to read all rows from an array populated by readStructured, swift hangs (I think waiting for the array to close). Test to confirm this has been committed to the test-suite to tests/language-behaviour/IO/readStructured* type matrix { string rows[]; } matrix m; m = readStructured("readStructured.in"); foreach item,index in m.rows { tracef("Row[%i] : %s \n", index, item); } Content of readStructured.in: Row[0] : "hello" Row[1] : "World!" Here's a compressed error log : No events in 10s. Finding dependency loops... Registered futures: string[int] m Open, 2 elements, 1 listeners ---- Waiting threads: Thread: 0-1, waiting on m.rows (declared on line 5) ---- No dependency loops found. The following threads are independently hung: Thread: 0-1, waiting on m.rows (declared on line 5) -- Configure bugmail: https://bugzilla.mcs.anl.gov/swift/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
https://bugzilla.mcs.anl.gov/swift/show_bug.cgi?id=1032 Mihael Hategan <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #1 from Mihael Hategan <[email protected]> 2013-07-16 14:38:43 --- Fixed in trunk and 0.94 (r6652, r6653). -- Configure bugmail: https://bugzilla.mcs.anl.gov/swift/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
participants (1)
-
bugzilla-daemon@mcs.anl.gov