NodeOS / NodeOS

Lightweight operating system using Node.js as userspace

Home Page:http://node-os.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`slap` hangs indefinitely

LoganDark opened this issue · comments

Running slap hangs indefinitely.

Description

I think the text editor should work...

Expected Behavior

The text editor should work?

Actual Behavior

image

Steps to Reproduce

  1. login with user nodeos:nodeos
  2. run slap

Context

I was trying to use a text editor.

Your Environment

  • Operating System used: macOS 10.14 Mojave build 18A293u
  • Platform used: x86_64-img on QEMU
  • Node Version used (locally): N/A
  • NPM Version used (locally): N/A
  • NodeOS Version used: v1.0.0-RC3.2017-06-12
  • Special Environment Variables used: N/A
  • Link to your project: N/A

slap still hanging after leaving QEMU running overnight. I've pretty much confirmed this is not working..

A .slap file was still created though, checked after reboot and ls.

@piranna you seem to be active here, do you mind checking this out?

We had problems with slap in the past, seems could be related to the terminal and blessed library.

I think it's the console. VGA output could be the problem.

Yes, probably.

Maybe I could instruct QEMU to use a different output? Do you have any recommendations?

QEmu should be using a SVGA output instead of default VGA, but that doesn't matter, if there's any problem related to this is in the Linux console terminal, or its integration with blessed.

Have you gotten it to work in the past? If so, how?

This has only ever been dismissed as a bug with no solution.

@LoganDark is this still an issue? i'm running v1.0.0-RC3.2017-06-12 and slap does load after about a minute. It crashes after about another minute with anout of memory error. Specifically the error I see is:

Out of memory: Kill process 1048, score 466 or sacrifice child

I wonder if you could allocate more memory to qemu instead of the default 256M.d

cc @piranna