How to take part in discussions on other sites? (e.g. the LiveJournal)
linux jdk 1.4.2_12 may fail with Linux procfs mounted
Hello Guest
  
  • Login
• Register…
• Start blog
  • Who, Where, When
• What can I do?
• What to Read?
  • Polls
• Avatars
• Interests
  • Cities and Countries
• Random blog
• Users search
  • Search
• Games
• Tests
• QAIX
  • Сообщества
• Talxy Chat
• Horoscope
• Online
 
Зарегистрируйся!

QAIX > Web-hosting, dedicated, colocation > linux jdk 1.4.2_12 may fail with Linux procfs mounted 18 September 2006 00:22:11

  Recent blog posts: 
  They have birthday today: 
  Forums:   
  Discuss: 
  Recent forum topics: 
  Recent forum comments:
  Moderators:

linux jdk 1.4.2_12 may fail with Linux procfs mounted

Marcin Cieslak 18 September 2006 00:22:11
 I have just installed Linux JDK 1.4.2_12 to check for various incompatibities
(http://people.free­bsd.org/~tjr/linux32­.html) I noticed that according to
comment to http://bugs.sun.com­/bugdatabase/view_bu­g.do?bug_id=4881146:­


In the short term, developers using this product [Rational ClearCase] can easily
develop their own interposer library that will cause readlink of /proc/self/exe
to fail. The java launcher does not require /proc to be present and will
fallback to another mechanism when /proc is not present (chroot environments for
example).


And running without /proc has been fixed according to
http://bugs.sun.com­/bugdatabase/view_bu­g.do?bug_id=4881146

java without /proc just issues warning message:

% /usr/local/linux-su­n-jdk1.4.2/bin/java -jar
/usr/local/linux-su­n-jdk1.4.2/demo/jfc/­Java2D/Java2Demo.jar­
Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location
<application runs happily>

but when /compat/linux/proc is mounted fails reading some values from
/proc/self/stat on my machine:

% /usr/local/linux-su­n-jdk1.4.2/bin/java -jar
/usr/local/linux-su­n-jdk1.4.2/demo/jfc/­Java2D/Java2Demo.jar­
Fatal: Stack size too small. Use 'java -Xss' to increase default stack size.

The fix should be relatively easy, probably implementing some more entries in
the linprocfs_doprocsta­t() function.

Just in case somebody hits this problem...

--
<< Marcin Cieslak // saper@system.pl >>
Add comment
 

Add new comment

As:
Login:  Password:  
 
 
  
 
Пожалуйста, относитесь к собеседникам уважительно, не используйте нецензурные слова, не злоупотребляйте заглавными буквами, не публикуйте рекламу и объявления о купле/продаже, а также материалы нарушающие сетевой этикет или УК РФ.


QAIX > Web-hosting, dedicated, colocation > linux jdk 1.4.2_12 may fail with Linux procfs mounted 18 September 2006 00:22:11

see also:
Re: Can't find hosts.frm -- *directory*…
cleanup standard includes
Re: additional patch for…
пройди тесты:
see also:
How to convert protected and…
MelodyCan YouTube Ripper
Convert video (AVI, WMV, MOV) to iPod

  Copyright © 2001—2008 QAIX
Idea: Miсhael Monashev
Помощь и задать вопросы можно в сообществе support.qaix.com.
Сообщения об ошибках оставляем в сообществе bugs.qaix.com.
Предложения и комментарии пишем в сообществе suggest.qaix.com.
Информация для родителей.
Write us at:
If you would like to report an abuse of our service, such as a spam message, please .