64bit java/linux-oracle-jdk18 crashed on my machine, 32bit is ok

Yaocl chunlinyao at gmail.com
Thu Mar 15 02:23:20 UTC 2018


Hi

I did a clean install in virtualbox, and updated to FreeBSD-11.1-RELEASE-p8.

Tried these combinations

jdk1.8.0-u73  x64  + glassfish 4.1.1
jdk1.8.0-u73  i586  + glassfish 4.1.1
jdk1.8.0-u73  x64  + eclipse-jee-oxygen-2-linux-gtk-x64
jdk1.8.0-u73  i586  + eclipse-jee-oxygen-2-linux-gtk

32bit is stable in any situation.

64bit have some funny behavior.
With 1 vCPU, I can start eclipse and compile some project, glassfish
can startup and deploy some war, only seen a SIGSEGV when I deploy a
very large EAR file.
But If I config the VBox to use 4 vCPUs, both eclipse and glassfish
crashed frequently.



2018-03-10 20:27 GMT+08:00 Yaocl <chunlinyao at gmail.com>:
> Hi
>
> There's many packages installed in this PC, it my develop desktop.
>
> =====
> [yaochunlin at yaochunlin-desktop ~]$ freebsd-version -ku
> 11.1-RELEASE-p7
> 11.1-RELEASE-p7
> [yaochunlin at yaochunlin-desktop ~]$ df
> Filesystem         1K-blocks      Used    Avail Capacity  Mounted on
> zroot/ROOT/default  48226796  35499756 12727040    74%    /
> devfs                      1         1        0   100%    /dev
> procfs                     4         4        0   100%    /proc
> tmpfs                5035028         4  5035024     0%    /compat/linux/dev/shm
> sdb1               432845420 339449656 93395764    78%    /media/sdb1
> sdb1/bhyve         100348224   6952460 93395764     7%    /media/sdb1/bhyve
> sdb1/bhyve/win10   120232892  26837128 93395764    22%
> /media/sdb1/bhyve/win10
> sdb1/packages       98067600   4671836 93395764     5%    /media/sdb1/packages
> zroot/tmp           13208616    481576 12727040     4%    /tmp
> zroot/usr/home      78341692  65614652 12727040    84%    /usr/home
> zroot/usr/ports     27555724  14828684 12727040    54%    /usr/ports
> zroot/usr/src       13683916    956876 12727040     7%    /usr/src
> zroot/var/audit     12727128        88 12727040     0%    /var/audit
> zroot/var/crash     12727128        88 12727040     0%    /var/crash
> zroot/var/log       12788456     61416 12727040     0%    /var/log
> zroot/var/mail      12742172     15132 12727040     0%    /var/mail
> zroot/var/tmp       12727128        88 12727040     0%    /var/tmp
> zroot               12727128        88 12727040     0%    /zroot
> fdescfs                    1         1        0   100%    /dev/fd
> linprocfs                  4         4        0   100%    /compat/linux/proc
> map -hosts                 0         0        0   100%    /net
> map -media                 0         0        0   100%    /vols
> map auto_share             0         0        0   100%    /share
> =====
>
> Other infomation is in the attachment file.
>
> I installed linux emulation from binary packages.
> enable `linux_enable='YES'` in rc.conf
>
> Maybe some package conflict with linux java.
>
> 2018-03-10 20:05 GMT+08:00 Palle Girgensohn <girgen at freebsd.org>:
>> Hello,
>>
>> Can you please supply more information about your installation
>>
>> pkg info
>>
>> freebsd-version -ku
>>
>> df
>>
>> are a good start. How did you set up linux emulation?
>>
>> Thanks
>> Palle
>>
>>> 10 mars 2018 kl. 02:15 skrev YaoCL <chunlinyao at gmail.com>:
>>>
>>> Hello
>>>
>>> x64 oracle jdk 1.8.0 always core dumped on my environment. I use it to run glassfish 4.1.1, linux eclipse crashed. even an swing application crashed.
>>> All SIGSEGV errors. The attachment is a log.
>>>
>>> 32bit oracle jdk can work on my machine. Are there any other user reported this issue.
>>>
>>>>>> Bese Regard
>>> <hs_err_pid69887.log>_______________________________________________
>>> freebsd-java at freebsd.org mailing list
>>> https://lists.freebsd.org/mailman/listinfo/freebsd-java
>>> To unsubscribe, send any mail to "freebsd-java-unsubscribe at freebsd.org"
>>


More information about the freebsd-java mailing list