process module cannot handle big results on Windows

Bug #866855 reported by David Graf
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zorba
New
Wishlist
Dennis Knochenwefel

Bug Description

On Windows, the function exec from the process module cannot handle big results. If the result returned in the tag 'stdout' exceeds a certain size, the process execution gets blocked. The problem can be reproduced with the query attached to the bug.
We guess, the problem can be fixed by using threads to execute subprocesses on Windows. Example Code how to do that can be found at http://support.microsoft.com/kb/190351. Currently, the subprocess pipes the resulting stream into a Windows-pipe, but the parent process doesn't consume it till the end of the subprocess. Therefore, the subprocess blocks as soon as the pipe is full.

Revision history for this message
David Graf (davidagraf) wrote :

The file query.xq was added: None

Revision history for this message
Dennis Knochenwefel (dennis-knochenwefel) wrote :

changed priority to 4 as this bug doesn't block anybody and it still works for 90% of all use cases.

Chris Hillery (ceejatec)
tags: removed: v2.0
Changed in zorba:
importance: Medium → Wishlist
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.