elective-stereophonic
elective-stereophonic
NRS v1.11.2 singapore
Please login or register.

Login with username, password and session length
Advanced search  

News:

Latest Stable Nxt Client: Nxt 1.12.2

Pages: 1 [2]  All

Author Topic: NRS v1.11.2  (Read 22206 times)

Klokan

  • Sr. Member
  • ****
  • Karma: +28/-5
  • Offline Offline
  • Posts: 288
    • View Profile
Re: NRS v1.11.2
« Reply #20 on: January 25, 2017, 03:49:12 pm »

I have some strange problem with NRS 1.11.2 on newest linux kernel (4.9.5.200-fc25), evnt. newest OpenJDK - after compiling and ./run.sh, it crashes within 20-30 sec with this error :

Code: [Select]
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007fd69bbdb711, pid=16270, tid=0x00007fd60654c700
#
# JRE version: OpenJDK Runtime Environment (8.0_111-b16) (build 1.8.0_111-b16)
# Java VM: OpenJDK 64-Bit Server VM (25.111-b16 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C  [libc.so.6+0x14f711]  __memmove_avx_unaligned_erms+0x211
#
# Core dump written. Default location: /home/nextcoin/bin/nxt/core or core.16270
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
#

---------------  T H R E A D  ---------------

Current thread (0x00007fd62c01e800):  JavaThread "qtp2125238280-54" [_thread_in_vm, id=16357, stack(0x00007fd60644c000,0x00007fd6065
4d000)]

siginfo: si_signo: 11 (SIGSEGV), si_code: 1 (SEGV_MAPERR), si_addr: 0x0000000000000000

Registers:
RAX=0x00000005cc5e2518, RBX=0x00007fd62c01e800, RCX=0x00000000c0100800, RDX=0x00000000400ed788
RSP=0x00007fd60654a248, RBP=0x00007fd60654a2c0, RSI=0x0000000000000000, RDI=0x00000005cc5e2518
R8 =0x0000000000000000, R9 =0x00007fd69ba65d81, R10=0x00007fd694016df0, R11=0x0000000000000206
R12=0x00000000400ed788, R13=0x0000000000000000, R14=0x00007fd640120330, R15=0x00007fd62c01ea58
RIP=0x00007fd69bbdb711, EFLAGS=0x0000000000010206, CSGSFS=0x002b000000000033, ERR=0x0000000000000004
  TRAPNO=0x000000000000000e
.......

I'm not sure, if this is related to 4.9.X kernel, or to newest OpenJDK (1.8.0.111-5.b16). In any ase, in previous instance (kernels 4.8.14, 4.8.15, 4.8.16 && OpenJDK 1.8.0.111-4.b16) everything worked fine (without any crashes). With NRS 1.11.2 as well, of course.
Logged

Jean-Luc

  • Core Dev
  • Hero Member
  • *****
  • Karma: +816/-81
  • Offline Offline
  • Posts: 1610
    • View Profile
Re: NRS v1.11.2
« Reply #21 on: January 25, 2017, 07:13:33 pm »

I am on kernel 4.9.5 compiled from the kernel.org source, and openJDK 1.8.0_111-8u111-b14-2~bpo8+1-b14, works fine here.
Logged
GPG key fingerprint: 263A 9EB0 29CF C77A 3D06  FD13 811D 6940 E1E4 240C
NXT-X4LF-9A4G-WN9Z-2R322

Klokan

  • Sr. Member
  • ****
  • Karma: +28/-5
  • Offline Offline
  • Posts: 288
    • View Profile
Re: NRS v1.11.2
« Reply #22 on: January 25, 2017, 07:31:42 pm »

I am on kernel 4.9.5 compiled from the kernel.org source, and openJDK 1.8.0_111-8u111-b14-2~bpo8+1-b14, works fine here.

I used Fedora's style `dnf downgrade' option, for downgrading from 1.8.0.111-5.b16 to 1.8.0.111-1.b16 version (of OpenJDK). Nothing happened, still crashes, even if I'm trying the clean install of NRS 1.11.2 (and without ./compile.sh before ./run.sh). I'll try switch back to 4.8.X kernels later...
Logged

Klokan

  • Sr. Member
  • ****
  • Karma: +28/-5
  • Offline Offline
  • Posts: 288
    • View Profile
Re: NRS v1.11.2
« Reply #23 on: January 25, 2017, 08:44:06 pm »

I am on kernel 4.9.5 compiled from the kernel.org source, and openJDK 1.8.0_111-8u111-b14-2~bpo8+1-b14, works fine here.

I used Fedora's style `dnf downgrade' option, for downgrading from 1.8.0.111-5.b16 to 1.8.0.111-1.b16 version (of OpenJDK). Nothing happened, still crashes, even if I'm trying the clean install of NRS 1.11.2 (and without ./compile.sh before ./run.sh). I'll try switch back to 4.8.X kernels later...

Found the problem, this is the case (at least on Fedora, probably on Ubuntu as well) :

https://bugzilla.redhat.com/show_bug.cgi?id=1415137
https://bodhi.fedoraproject.org/updates/FEDORA-2017-4076cf8494
Logged

Jean-Luc

  • Core Dev
  • Hero Member
  • *****
  • Karma: +816/-81
  • Offline Offline
  • Posts: 1610
    • View Profile
Re: NRS v1.11.2
« Reply #24 on: February 01, 2017, 01:22:03 pm »

The missing plugin files error is a known bug in 1.11.2, it will be fixed in the next release. The error happens because we use a "HEAD" request to check for those files, but this request type was disabled server-side few versions ago. The fix is to modify html/www/js/nrs.plugins.js line 123 to use GET instead of HEAD:

Code: [Select]
    for (i=0; i<mandatoryFiles.length; i++) {
$.ajax({
    url: mandatoryFiles[i],
    type: 'GET',
                cache: false,
    success: function(data) {
    //nothing to do
    },
    error: function(data) {
                    NRS.logConsole(data.statusText + " error loading plugin file " + this.url);
    notFound = this.url;
    }
});
    }
Logged
GPG key fingerprint: 263A 9EB0 29CF C77A 3D06  FD13 811D 6940 E1E4 240C
NXT-X4LF-9A4G-WN9Z-2R322

CreativeDestruction

  • Jr. Member
  • **
  • Karma: +8/-0
  • Offline Offline
  • Posts: 59
    • View Profile
Re: NRS v1.11.2
« Reply #25 on: May 03, 2017, 02:01:44 pm »

I did not know about the apk version you guys should publish it on the main website.
Logged
Pages: 1 [2]  All
 

elective-stereophonic
elective-stereophonic
assembly
assembly