mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-04-26 01:45:54 +03:00
[GH-ISSUE #1128] Segmentation fault on ARM64 #927
Labels
No labels
awaiting feedback
bug
cannot reproduce
dns provider request
duplicate
enhancement
enhancement
enhancement
good first issue
help wanted
invalid
need more info
no certbot plugin available
product-support
pull-request
question
stale
troll
upstream issue
v2
v2
v2
v3
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/nginx-proxy-manager-NginxProxyManager#927
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @tribal2 on GitHub (May 26, 2021).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/1128
Checklist
jc21/nginx-proxy-manager:latestdocker image? YesDescribe the bug
I got a segmentation fault when I try to run the container using the docker-compose.yml from here: https://nginxproxymanager.com/setup/#running-on-raspberry-pi-arm-devices .
Same error with NPM tags 2.9.3, 2.8.0, github-develop
Here is the log:
Operating System
$ lscpu@chaptergy commented on GitHub (May 26, 2021):
Sounds like this docker-node issue, could you check whether the code in that issue also results in a segmentation fault?
@tribal2 commented on GitHub (May 26, 2021):
@chaptergy no... it's running ok:
@chaptergy commented on GitHub (May 26, 2021):
Hm, then I'm not sure I can help with that, sorry. Maybe someone from the community has an idea what could cause this. It would also be useful to know if this happens on any ARM64 machine, but if I remember correctly, there were people which were able to set it up on a Rasperry Pi with 64 bit.
@GrimIcarus commented on GitHub (Aug 1, 2021):
I've run this on a VPS's VM using both mariadb and sqlite, the CPU is an ampere altra which is a server grade ARM processor and i have the same issue
./run: line 18: 1750 Segmentation fault (core dumped) node --abort_on_uncaught_exception --max_old_space_size=250 index.js, the VM has 4 cores, 16GB of ram@chaptergy commented on GitHub (Aug 11, 2021):
Maybe someone could install the segfault-handler on their instance and register it in
/app/index.js? Maybe that could provide some information of what causes this.@jc21 commented on GitHub (Aug 11, 2021):
I would have to assume this is one of 2 reasons:
@jquinn96 commented on GitHub (Aug 13, 2021):
Hi, I have a stack trace from a segfault
Environment is ARM Ampere (Oracle Cloud)
PID 17999 received SIGSEGV for address: 0x28
/app/node_modules/segfault-handler/build/Release/segfault-handler.node(+0x2dd0)[0xfffe34202dd0]
linux-vdso.so.1(__kernel_rt_sigreturn+0x0)[0xfffe367005c8]
node(_ZN2v88internal18CodeObjectRegistry32RegisterNewlyAllocatedCodeObjectEm+0x20)[0xdc89c8]
node(_ZN2v88internal4Heap11AllocateRawEiNS0_14AllocationTypeENS0_16AllocationOriginENS0_19AllocationAlignmentE+0x26c)[0xe0d044]
node(_ZN2v88internal4Heap34AllocateRawWithRetryOrFailSlowPathEiNS0_14AllocationTypeENS0_16AllocationOriginENS0_19AllocationAlignmentE+0x30)[0xe14158]
node(_ZN2v88internal7Factory11CodeBuilder13BuildInternalEb+0x104)[0xde9204]
node(_ZN2v88internal7Factory11CodeBuilder5BuildEv+0x10)[0xde9a10]
node(_ZN2v88internal25RegExpMacroAssemblerARM647GetCodeENS0_6HandleINS0_6StringEEE+0xd00)[0x13897c8]
node(_ZN2v88internal14RegExpCompiler8AssembleEPNS0_7IsolateEPNS0_20RegExpMacroAssemblerEPNS0_10RegExpNodeEiNS0_6HandleINS0_6StringEEE+0x154)[0x10bdd3c]
node(_ZN2v88internal10RegExpImpl7CompileEPNS0_7IsolateEPNS0_4ZoneEPNS0_17RegExpCompileDataENS_4base5FlagsINS0_8JSRegExp4FlagEiEENS0_6HandleINS0_6StringEEESF_bj+0x3c8)[0x10d96b0]
node(_ZN2v88internal10RegExpImpl15CompileIrregexpEPNS0_7IsolateENS0_6HandleINS0_8JSRegExpEEENS4_INS0_6StringEEEb+0x164)[0x10d9c1c]
node(_ZN2v88internal6RegExp15IrregexpPrepareEPNS0_7IsolateENS0_6HandleINS0_8JSRegExpEEENS4_INS0_6StringEEE+0x158)[0x10da728]
node(_ZN2v88internal10RegExpImpl12IrregexpExecEPNS0_7IsolateENS0_6HandleINS0_8JSRegExpEEENS4_INS0_6StringEEEiNS4_INS0_15RegExpMatchInfoEEE+0x84)[0x10da7fc]
node(_ZN2v88internal18Runtime_RegExpExecEiPmPNS0_7IsolateE+0x1a4)[0x112c964]
node[0x14638cc]
Segmentation fault (core dumped)
@jquinn96 commented on GitHub (Aug 13, 2021):
Update on this, appears to be a bug on nodes end that they've resolved in node 16+. I did an update to node 16.6.2 and it resolved the segfault.
@jc21 commented on GitHub (Aug 13, 2021):
Alrighty, I'll update the base node version to 16 and see what breaks
@jc21 commented on GitHub (Aug 17, 2021):
There was a bit of a delay, upstream docker image changes caused builds to fail for a while.
You can now verify this is fixed with this image:
it's using node v16.6.2 currently.
If it's all working please close this issue :)
@github-actions[bot] commented on GitHub (Mar 11, 2024):
Issue is now considered stale. If you want to keep it open, please comment 👍
@github-actions[bot] commented on GitHub (Apr 23, 2025):
Issue was closed due to inactivity.