adobe / helix-cli

Command-line tools for developing with AEM
Apache License 2.0
49 stars 58 forks source link

[hlx deploy] "Segmentation fault error" when using hlx deploy #687

Closed dplaton closed 5 years ago

dplaton commented 5 years ago

When I use hlx deploy <params> to deploy my project I get the following error:

32070 segmentation fault  hlx deploy --wsk-namespace platon --wsk-auth  --add=default

Steps to reproduce the behavior:

  1. Use the steps at https://www.project-helix.io/ to create "Your first Helix project"
  2. Do some modifications (content, styling etc)
  3. Commit all your changes so that the deploy process doesn't complain about them
  4. Run
    hlx deploy \                                                                                                                                       --wsk-host adobeioruntime.net \
    --wsk-namespace <your namespace> \
    --wsk-auth <your auth> \
    --circleci-auth <CI api token>\
    --add=default \
    --log-level debug

Expected behavior The deployment works.

Version: 0.13.12

Additional context If it's a "user error" (i.e. missing mandatory arguments etc.) then it must be documented

trieloff commented 5 years ago

@dplaton thanks for the bug report. What operating system are you using?

stefan-guggisberg commented 5 years ago

... and type of hlx install (npm install vs curl)?

dplaton commented 5 years ago

Helix client was installed via curl. OS version is macOS Mojave 10.14.3

stefan-guggisberg commented 5 years ago

Please provide detailed console output of "Segmentation Fault Error".

dplaton commented 5 years ago

This is the console output:

Updated strain default in helix-config.yaml
[=========================-------------------------] analyzing static.js 0.1s[1]    35882 segmentation fault  hlx deploy --add=default
stefan-guggisberg commented 5 years ago

Here's a stack trace:

PID 63501 received SIGSEGV for address: 0x10cc24ab
0   libsquash-778086848                 0x000000010e1e7338 _ZL16segfault_handleriP9__siginfoPv + 312
1   libsystem_platform.dylib            0x00007fff64233b3d _sigtramp + 29
2   ???                                 0x0000000000000000 0x0 + 0
3   hlx_n8                              0x0000000100a44936 sqfs_md_read + 109
4   hlx_n8                              0x0000000100a42b60 sqfs_dir_next + 80
5   hlx_n8                              0x0000000100a42cdb sqfs_dir_lookup + 200
6   hlx_n8                              0x0000000100a4327c sqfs_lookup_path_inner + 275
7   hlx_n8                              0x0000000100a4386b squash_open_inner + 98
8   hlx_n8                              0x0000000100a475c1 enclose_io_open + 747
9   hlx_n8                              0x0000000100b1b410 uv__fs_work + 2398
10  hlx_n8                              0x0000000100b1756c worker + 94
11  libsystem_pthread.dylib             0x00007fff6423c305 _pthread_body + 126
12  libsystem_pthread.dylib             0x00007fff6423f26f _pthread_start + 70
13  libsystem_pthread.dylib             0x00007fff6423b415 thread_start + 13
Segmentation fault: 11

Seems like libsquashfs is envolved.

stefan-guggisberg commented 5 years ago

obsolete, binary hlx distribution has been retired