Subject: Re: firefox-bin-java anyone?
To: None <netbsd-users@netbsd.org>
From: uhel <uhel@gmx.net>
List: netbsd-users
Date: 09/30/2005 13:22:47
Hi,

thanks for your suggestions.

> In article <1168038209.20050929143132@gmx.net>, uhel  <uhel@gmx.net> wrote:
>>Hi,
>>
>>yesterday i rebuild firefox-bin and firefox-bin-java form the
>>pkgsrc2005Q3 branch without any problems.
>>But when i try to use a website that uses a java-applet firefox exits
>>without any notice... When i start it from a terminal i get the
>>following error:
>>
>>Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location
>>Error occurred during initialization of VM
>>Could not reserve enough space for object heap
>>INTERNAL ERROR on Browser End: Could not read ack from child process
>>System error?:: Resource temporarily unavailable

> 1. You need to mount procfs with -o linux because the linux emulated java 
>    depends on procfs to find the stack location.

:~> mount -o linux -t procfs procfs /proc
:~> mount | grep proc
procfs on /proc type procfs (local)

> 2. You need to unlimit your datasize, because NetBSD defaults to a small
>    datasize segment.

:~> ulimit
unlimited

but firefox-linux still fails
(without the line: Java HotSpot(TM) Client VM warning.....):

Error occurred during initialization of VM
Could not reserve enough space for object heap
INTERNAL ERROR on Browser End: Could not read ack from child process
System error?:: Resource temporarily unavailable

I'm using NetBSD 2_STABLE.
'man mount' doesn't show 'linux' as option for '-o'. Is that OK?

> christos

-- regards Uli

  _     mailto:uhel@gmx.net
 ( )            --
  x    ASCII RIBBON CAMPAIGN
 / \     AGAINST HTML MAIL