To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=111711 Issue #|111711 Summary|jvmfwk: let javaldx call java with closed stdin Component|udk Version|DEV300m77 Platform|All URL| OS/Version|All Status|NEW Status whiteboard| Keywords| Resolution| Issue type|DEFECT Priority|P3 Subcomponent|code Assigned to|jl Reported by|sb
------- Additional comments from [email protected] Wed May 19 13:39:49 +0000 2010 ------- Quoting from a Sun-Hamburg internal problem report: "That Linux machine unfortunately mounts /usr/dist (which, I assume, is mainly aimed at Solaris, not Linux). If you happen to have /usr/dist/exe in PATH, starting OOo on that machine will hang: javaldx searches through PATH for Java installations, finds /usr/dist/exe/java, which executes /usr/dist/share/cam,v1.8.3/softdist/exe/.cam,v1.8.3_wrapper, which in turn executes /bin/grep $cmdname $DIST_HOME/exe/prep after setting PATH=/bin and cmdname=`basename $0` which sets cmdname to the empty string on that machine, as it has no /bin/basename, so the grep line is effectively /bin/grep /usr/dist/exe/prep which hangs waiting for input on stdin." This problem could be worked around in the OOo code base by letting getJavaProps in jvmfwk/plugins/sunmajor/pluginlib/util.cxx immediately close stdin of the spawned java process. --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
