Now works great. Thanks.

On 24.11.2016 11:40, David Coppa wrote:
On Thu, Nov 24, 2016 at 9:32 AM, Denis Lapshin <den...@mindall.org> wrote:
Hello All,

There is a problem with starting jdk from packages on AMD64 platform. It
doesn't matter what versions of jdk installed: jdk-1.7.0 or jdk-1.8.0. The
same issue is present on both.

# java
Abort trap (core dumped)

# gdb /usr/local/jdk-1.7.0/bin/java java.core
GNU gdb 6.3
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "amd64-unknown-openbsd6.0"...(no debugging
symbols found)

Core was generated by `java'.
Program terminated with signal 6, Aborted.
Reading symbols from /usr/lib/libpthread.so.22.0...done.
Loaded symbols for /usr/lib/libpthread.so.22.0
Loaded symbols for /usr/local/jdk-1.7.0/bin/java
Reading symbols from /usr/lib/libz.so.5.0...done.
Loaded symbols for /usr/lib/libz.so.5.0
Symbols already loaded for /usr/lib/libpthread.so.22.0
Reading symbols from /usr/lib/libc.so.88.0...done.
Loaded symbols for /usr/lib/libc.so.88.0
Reading symbols from /usr/libexec/ld.so...done.
Loaded symbols for /usr/libexec/ld.so
Reading symbols from
/usr/local/jdk-1.7.0/jre/lib/amd64/server/libjvm.so...done.
Loaded symbols for /usr/local/jdk-1.7.0/jre/lib/amd64/server/libjvm.so
Reading symbols from /usr/lib/libstdc++.so.57.0...done.
Loaded symbols for /usr/lib/libstdc++.so.57.0
Reading symbols from /usr/lib/libm.so.9.0...done.
Loaded symbols for /usr/lib/libm.so.9.0
Reading symbols from /usr/local/jdk-1.7.0/jre/lib/amd64/libverify.so...done.
Loaded symbols for /usr/local/jdk-1.7.0/jre/lib/amd64/libverify.so
Reading symbols from /usr/local/jdk-1.7.0/jre/lib/amd64/libjava.so...done.
Loaded symbols for /usr/local/jdk-1.7.0/jre/lib/amd64/libjava.so
Reading symbols from /usr/local/jdk-1.7.0/jre/lib/amd64/libzip.so...done.
Loaded symbols for /usr/local/jdk-1.7.0/jre/lib/amd64/libzip.so
#0  0x000012b62e14c0ca in mprotect () at <stdin>:2
2       <stdin>: No such file or directory.
         in <stdin>
(gdb) where
#0  0x000012b62e14c0ca in mprotect () at <stdin>:2
#1  0x000012b65861b5c8 in os::pd_commit_memory () from
Your '/usr/local' filesystem does not have the "wxallowed" mount option.

Read the mount(8) manual page.

Ciao!
David

--
Denis Lapshin
mailto: den...@mindall.org

Reply via email to