Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Segmentation fault (core dumped) #2

Closed
Hubbitus opened this issue Jan 11, 2018 · 7 comments
Closed

Segmentation fault (core dumped) #2

Hubbitus opened this issue Jan 11, 2018 · 7 comments

Comments

@Hubbitus
Copy link

docker-compose service:

  webdis:
    image: anapsix/webdis:latest
    env_file:
      - "../env/${ENV_NAME}/globals.env"
    links:
      - "redis"
    restart: always

globals.env:

ENV_FULLNAME=rr-psko-master
TZ=Europe/Moscow

Crashed after some seconds near start:

# d logs -f rrpskomaster_webdis_1
writing config..
taking a 3 second nap..
3 2 1 starting webdis..
tail: can't open '/webdis.log': No such file or directory
[13] 11 Jan 13:56:50 35 Webdis 0.1.4-dev up and running
tail: /webdis.log has appeared; following end of new file
[13] 11 Jan 13:57:01 0 /SUBSCRIBE/user_assignment_taskgbu
[13] 11 Jan 13:57:01 0 /SUBSCRIBE/user_new_taskgbu
[13] 11 Jan 13:57:01 0 /SUBSCRIBE/group_bpm_user
[13] 11 Jan 13:57:01 0 /SUBSCRIBE/group_empl_gbu
Segmentation fault (core dumped)
@anapsix
Copy link
Owner

anapsix commented Jan 12, 2018

yep, I'm seeing it as well..
I was able to reproduce it in the docker container as well as running webdis 0.1.3 on the Mac (installed via brew install webdis)
thus, I suspect it's a problem in webdis.. perhaps something with websockets?
Not sure if related to nicolasff/webdis#53

@Hubbitus
Copy link
Author

Hello @anapsix. Thanks for the answer. But mentioned issue closed in 2013 as fixed.

@richardstrnad
Copy link

I built the container with Webdis 0.1.1, this works way better. But after about an hour i still got an Segmentation fault. Not sure how to proceed...

@Alekhyasnb
Copy link

Hey even am facing the same issue,no images are running on my docker but still when i tried to run webdis the below message is displayed
can't open '/webdis.log': No such file or directory
tail: /webdis.log has appeared; following end of new file
Webdis 0.1.4-dev up and running

Can someone help ?

@anapsix
Copy link
Owner

anapsix commented Dec 14, 2018

@Alekhyasnb can't open '/webdis.log' error is an output from tail -F, since it's started before webdis starts writing log file.. should be ignored..
Subscribe issue is real though.. nicolasff/webdis#155

@anapsix
Copy link
Owner

anapsix commented Dec 14, 2018

in nicolasff/webdis#144 @nicolasff suggested not using websockets

"It is half-baked and probably unsafe, which is why it is disabled by default."
I've changed config to disable it by default.. however, issue remains, and is easily reproduced by following steps in https://github.com/anapsix/docker-webdis#known-issues

but there are number of issues with subscribe/publish regardless of websockets..
See https://github.com/nicolasff/webdis/issues?utf8=%E2%9C%93&q=is%3Aissue+is%3Aopen+subscribe

@anapsix
Copy link
Owner

anapsix commented Jun 14, 2022

this might've been resolved upstream, either way, closing as stale

ref: nicolasff/webdis#156

@anapsix anapsix closed this as not planned Won't fix, can't repro, duplicate, stale Jun 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants