Red Hat Bugzilla – Bug 38191
sun java sdk incompatible with textutils
Last modified: 2007-04-18 12:32:53 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.76 [en] (X11; U; Linux 2.4.2-2 i686)
The Sun Java sdk is incompatible with the version of textutils shipped in
rh7.1 due to cut being moved from /usr/bincut to /bin/cut. This can be
fixed with "ln -s /bin/cut /usr/bin/cut" however the jvm will still not
work (reason unknown). The compiler does now work however.
Steps to Reproduce:
1.java <class file>
Actual Results: starts three java threads and hangs
Expected Results: successful program execution
Since they refuse to release the source code, there's nothing whatsoever we
can do to fix their bugs. For cut, they should search $PATH - neither FHS nor
LSB guarantee you'll find a version of cut in /usr/bin. I've added a symlink
in textutils though, since some other apps are stupid enough to hardcode
/usr/bin/cut, as well.
The segmentation fault is releated to their (again stupid and not standards
compliant) insistence on the stack being fixed-size and 2 MB, neither of which
is the case in the i686 build of glibc. Check the release notes for more
details and the workaround for terribly broken applications like jdk.