[ https://jira.nuxeo.com/browse/NXP-7319?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Julien Carsique updated NXP-7319: --------------------------------- Affects Version/s: (was: 5.4.3-SNAPSHOT) 5.2 GA SP: 2 Fix Version/s: 5.4.3 Tags: rdit rdit-w30 > External commands sometimes hang in Windows > ------------------------------------------- > > Key: NXP-7319 > URL: https://jira.nuxeo.com/browse/NXP-7319 > Project: Nuxeo Enterprise Platform > Issue Type: Bug > Components: Transforms / Preview > Affects Versions: 5.2 GA > Environment: Windows (XP, Vista, 7, 2008R2) > Reporter: Mathieu Guillaume > Assignee: Julien Carsique > Priority: Major > Fix For: 5.4.3 > > > External command executions sometimes don't return. > This can be seen in unit tests. Example: > org.nuxeo.ecm.platform.convert.tests.TestPDFToImage > Steps to reproduce: > - install ImageMagick but not Ghostscript > - run "mvn test" in nuxeo-platform-convert > -> the process hangs > If you check the command that is run, it's a simple "convert a.tmp b.png". > The same command run manually outputs a (verbose) error message and ends. > Possible analysis: > The external command is run through the CommandLineExecutor, in this case I > think it's the ShellExecutor implementation. > The ShellExecutor doesn't read the error stream. > Buffer saturation is known to hang processes on some platform (like Windows > in this case): cf. Process java documentation. > -> buffer fills -> process hangs -> waitFor() never returns -> the executor > never returns -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira _______________________________________________ ECM-tickets mailing list ECM-tickets@lists.nuxeo.com http://lists.nuxeo.com/mailman/listinfo/ecm-tickets