GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — v8 bug fixes for s390x · Issue #22364 · nodejs/node

v8 bug fixes for s390x #22364

New issue
Copy link
New issue
Copy link
Closed
Closed
v8 bug fixes for s390x#22364
Copy link

Description

@john-yan
john-yan
opened on Aug 16, 2018
Issue body actions
  • Version: v8.11.3
  • Platform: Linux a5c5846b09b2 4.15.0-29-generic Updates README with IRC channel for #io.js #31-Ubuntu SMP Tue Jul 17 15:42:24 UTC 2018 s390x s390x s390x GNU/Linux

Please backport https://chromium-review.googlesource.com/c/v8/v8/+/1176424 to fix high 32 bit corruption issue which leading to seg fault crash in v8 on this test case:

simpleRandomString = function (size) {
  let ret = '';
  const ids = 'abcdefghijkmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ';    // <- this fails on Z
  for (let i = 0; i < size; i++) {
      let rand = Math.random ();
      console.log ('1 rand', rand);
      let numb = rand * ids.length;
      console.log ('2 numb', numb);
      let pos = Math.floor (numb);
      console.log ('3 pos', pos, typeof pos, ids.length);
      let id = ids[pos];        // <- RANDOM seg faults here
      console.log ('4 id', id);
      ret += id;
      console.log ('5 ret', ret);
    }
  return ret;
};

for (let i = 100000; i >= 0; i--) {                             // loop de loop
    let rand = simpleRandomString (2);  // call the troublesome function
    console.log ('iters left', i, ' word:', rand, '\n');
}

console.log ('success');

Reacted by Gireesh Punathil

Activity

  1. john-yan commented on Aug 17, 2018

    @john-yan
    john-yan
    on Aug 17, 2018
    Author
    More actions

    Create PR: #22375

  2. gdams commented on Aug 26, 2018

    @gdams
    gdams
    on Aug 26, 2018
    Member
    More actions

    This got landed in: 5294919. Closing

  3. gdams
    closed this as completedon Aug 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.