Skip to content

Server crashes on node:alpine images #4654

Closed
@Jagdeep1

Description

@Jagdeep1

Issue Description

Parse server is crashing on Login and Sign up requests for node:9-alpine or any other alpine images. It works fine on node:9 or any other node images.

Steps to reproduce

Expected Results

Should create new user

Actual Outcome

The server will crash with following trace
Segmentation fault npm ERR! code ELIFECYCLE npm ERR! errno 139 npm ERR! parse-server-example@1.4.0 start: node index.js npm ERR! Exit status 139 npm ERR! npm ERR! Failed at the parse-server-example@1.4.0 start script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. 2018-03-16T11:00:21.637131130Z npm ERR! A complete log of this run can be found in:

Environment Setup

  • Server

    • parse-server version (Be specific! Don't say 'latest'.) : [2.7.4]
    • Operating System: [node:9-alpine]
    • Localhost or remote server? (AWS, Heroku, Azure, Digital Ocean, etc): [localhost]
  • Database

    • MongoDB version: [3.2]
    • Storage engine: [FILL THIS OUT]
    • Hardware: [FILL THIS OUT]
    • Localhost or remote server? (AWS, mLab, ObjectRocket, Digital Ocean, etc): [Remote - cosmosdb]

Logs/Trace

Log output 1 verbose cli [ '/usr/local/bin/node', '/usr/local/bin/npm', 'start' ] 2 info using npm@5.6.0 3 info using node@v9.7.1 4 verbose run-script [ 'prestart', 'start', 'poststart' ] 5 info lifecycle parse-server-example@1.4.0~prestart: parse-server-example@1.4.0 6 info lifecycle parse-server-example@1.4.0~start: parse-server-example@1.4.0 7 verbose lifecycle parse-server-example@1.4.0~start: unsafe-perm in lifecycle true 8 verbose lifecycle parse-server-example@1.4.0~start: PATH: /usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/parse/node_m 9 verbose lifecycle parse-server-example@1.4.0~start: CWD: /parse 10 silly lifecycle parse-server-example@1.4.0~start: Args: [ '-c', 'node index.js' ] 11 silly lifecycle parse-server-example@1.4.0~start: Returned: code: 139 signal: null 12 info lifecycle parse-server-example@1.4.0~start: Failed to exec start script 13 verbose stack Error: parse-server-example@1.4.0 start: node index.js13 verbose stack Exit status 139 13 verbose stack at EventEmitter.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:285:16) 13 verbose stack at EventEmitter.emit (events.js:127:13) 13 verbose stack at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14) 13 verbose stack at ChildProcess.emit (events.js:127:13) 13 verbose stack at maybeClose (internal/child_process.js:936:16) 13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:220:5) 14 verbose pkgid parse-server-example@1.4.0 15 verbose cwd /parse 16 verbose Linux 4.9.60-linuxkit-aufs 17 verbose argv "/usr/local/bin/node" "/usr/local/bin/npm" "start" 18 verbose node v9.7.1 19 verbose npm v5.6.0 20 error code ELIFECYCLE 21 error errno 139 22 error parse-server-example@1.4.0 start:node index.js 22 error Exit status 139 23 error Failed at the parse-server-example@1.4.0 start script. 23 error This is probably not a problem with npm. There is likely additional logging output above. 24 verbose exit [ 139, true ]

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