You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Current version of pouchdb-server throws a segmentation fault when running in docker using node:12-alpine, falling back to node:10-alpine still results in a seg fault for this release version. Previous release V4.1.0 seems to run fine on node:10-alpine, but not on later alpine versions.
Dockerfile:
FROM node:12.10.0-alpine
RUN apk --update add curl g++ make python valgrind && \
npm install --global --unsafe-perm=true pouchdb-server && \
rm -rf /root/.[^.]* && \
apk del g++ make python
RUN npm install pouchdb-adapter-leveldb
WORKDIR /pouchdb
Run: docker run -p 5984:5984 --hostname=pouchdb-server --name=pouchdb-server imageName
Running valgrind on pouchdb-server -p 5984
--25-- Reading syms from /usr/lib/valgrind/vgpreload_core-amd64-linux.so
--25-- Reading syms from /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so
--25-- REDIR: 0x4024dfb (libc.musl-x86_64.so.1:free) redirected to 0x489d6cc (free)
--25-- REDIR: 0x404fe59 (libc.musl-x86_64.so.1:strlen) redirected to 0x489f38d (strlen)
--25-- REDIR: 0x4024d4e (libc.musl-x86_64.so.1:calloc) redirected to 0x489e65e (calloc)
--25-- REDIR: 0x404fc1d (libc.musl-x86_64.so.1:strcpy) redirected to 0x489f3ef (strcpy)
--25-- REDIR: 0x404fb69 (libc.musl-x86_64.so.1:strchr) redirected to 0x489f0ea (strchr)
--25-- REDIR: 0x404ff5f (libc.musl-x86_64.so.1:strncmp) redirected to 0x489f7f3 (strncmp)
--25-- REDIR: 0x404fb79 (libc.musl-x86_64.so.1:strchrnul) redirected to 0x48a24e0 (strchrnul)
--25-- REDIR: 0x404fc05 (libc.musl-x86_64.so.1:strcmp) redirected to 0x489fd3a (strcmp)
--25-- REDIR: 0x405001d (libc.musl-x86_64.so.1:strrchr) redirected to 0x489f057 (strrchr)
--25-- REDIR: 0x404ffe3 (libc.musl-x86_64.so.1:strnlen) redirected to 0x489f367 (strnlen)
Segmentation fault (core dumped)```
The text was updated successfully, but these errors were encountered:
Current version of pouchdb-server throws a segmentation fault when running in docker using node:12-alpine, falling back to node:10-alpine still results in a seg fault for this release version. Previous release V4.1.0 seems to run fine on node:10-alpine, but not on later alpine versions.
Dockerfile:
Run:
docker run -p 5984:5984 --hostname=pouchdb-server --name=pouchdb-server imageName
Running valgrind on
pouchdb-server -p 5984
The text was updated successfully, but these errors were encountered: