|
OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD. |
|
Thread Tools | Display Modes |
|
|
|||
Java crashing after 6.0 upgrade
I just upgraded my 5.9 amd64 box to 6.0 and updated all the packages. However now java crashes with "Abort trap"
Code:
/usr/local/jdk-1.8.0/bin/java Abort trap Ok apparently the fix requires a change to the fstab entry. Last edited by epitaxial; 18th September 2016 at 04:59 AM. |
|
|||
Correct. /usr/local needs to mounted with the wxallowed option given that Java violated W^X. This is caught by pledge(2) which aborts execution.
|
|
||||
To my understanding this is caught by the kernel's virtual memory management subsystem, rather than by any pledge(2) syscall, but the end result of a policy violation is the same - the application is aborted.
The 6.0 Upgrade Guide describes the required configuration change to provision the wxallowed mount flag. Admins should always review the applicable Upgrade Guide before upgrading. For 6.1, individual application binaries that require this type of WX memory access will each require the wxneeded link edit flag, for finer control of memory management. The -current Ports tree has recently completed this wxneeded transition. Last edited by jggimi; 19th September 2016 at 06:07 PM. Reason: typo |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
OpenBSD keeps locking up/crashing | unixjingleman | OpenBSD General | 7 | 18th April 2012 02:26 PM |
Firefox 3.6.4 beta isolates crashing plug-ins | J65nko | News | 0 | 21st April 2010 05:31 PM |
System crashing constantly on P4/xeon | Mr-Biscuit | OpenBSD General | 6 | 5th April 2010 03:33 AM |
FreeBSD 6.3 Server Crashing - full /tmp? | cerulean | FreeBSD General | 2 | 11th November 2008 05:39 AM |
FAM keeps crashing with courier-imap | krreagan | FreeBSD General | 0 | 14th May 2008 11:15 PM |