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, Worker crashed on signal SIGSEGV ? #56

Open
gwthm-in opened this issue Mar 17, 2017 · 4 comments
Open

Segmentation Fault, Worker crashed on signal SIGSEGV ? #56

gwthm-in opened this issue Mar 17, 2017 · 4 comments

Comments

@gwthm-in
Copy link

I'm using Japronto 0.1.1, Getting following error:

Fatal Python error: Segmentation fault

Current thread 0x00007fffb313d3c0 (most recent call first):
  File "/usr/local/Cellar/python3/3.6.0/Frameworks/Python.framework/Versions/3.6/lib/python3.6/json/encoder.py", line 412 in _make_iterencode
  File "/usr/local/Cellar/python3/3.6.0/Frameworks/Python.framework/Versions/3.6/lib/python3.6/json/encoder.py", line 256 in iterencode
  File "/usr/local/Cellar/python3/3.6.0/Frameworks/Python.framework/Versions/3.6/lib/python3.6/json/encoder.py", line 199 in encode
  File "/usr/local/Cellar/python3/3.6.0/Frameworks/Python.framework/Versions/3.6/lib/python3.6/json/__init__.py", line 238 in dumps
  File "/usr/local/lib/python3.6/site-packages/pydruid/client.py", line 409 in _post
  File "/usr/local/lib/python3.6/site-packages/pydruid/client.py", line 141 in timeseries
  File "japronto_visuG.py", line 50 in visuG
  File "/usr/local/lib/python3.6/site-packages/japronto/app/__init__.py", line 182 in serve
  File "/usr/local/Cellar/python3/3.6.0/Frameworks/Python.framework/Versions/3.6/lib/python3.6/multiprocessing/process.py", line 93 in run
  File "/usr/local/Cellar/python3/3.6.0/Frameworks/Python.framework/Versions/3.6/lib/python3.6/multiprocessing/process.py", line 249 in _bootstrap
  File "/usr/local/Cellar/python3/3.6.0/Frameworks/Python.framework/Versions/3.6/lib/python3.6/multiprocessing/popen_fork.py", line 74 in _launch
  File "/usr/local/Cellar/python3/3.6.0/Frameworks/Python.framework/Versions/3.6/lib/python3.6/multiprocessing/popen_fork.py", line 20 in __init__
  File "/usr/local/Cellar/python3/3.6.0/Frameworks/Python.framework/Versions/3.6/lib/python3.6/multiprocessing/context.py", line 277 in _Popen
  File "/usr/local/Cellar/python3/3.6.0/Frameworks/Python.framework/Versions/3.6/lib/python3.6/multiprocessing/context.py", line 223 in _Popen
  File "/usr/local/Cellar/python3/3.6.0/Frameworks/Python.framework/Versions/3.6/lib/python3.6/multiprocessing/process.py", line 105 in start
  File "/usr/local/lib/python3.6/site-packages/japronto/app/__init__.py", line 228 in _run
  File "/usr/local/lib/python3.6/site-packages/japronto/app/__init__.py", line 264 in run
  File "japronto_visuG.py", line 236 in <module>
Worker crashed on signal SIGSEGV!

Any help on this?

@squeaky-pl
Copy link
Owner

I need a reproducer. I mean the exact steps to reproduce.

@dangerousfeng
Copy link

Fatal Python error: Segmentation fault

Current thread 0x00007f42015f0740 (most recent call first):
  File "/home/py3.6-env/lib/python3.6/site-packages/japronto/app/__init__.py", line 182 in serve
  File "/usr/local/lib/python3.6/multiprocessing/process.py", line 93 in run
  File "/usr/local/lib/python3.6/multiprocessing/process.py", line 249 in _bootstrap
  File "/usr/local/lib/python3.6/multiprocessing/popen_fork.py", line 74 in _launch
  File "/usr/local/lib/python3.6/multiprocessing/popen_fork.py", line 20 in __init__
  File "/usr/local/lib/python3.6/multiprocessing/context.py", line 277 in _Popen
  File "/usr/local/lib/python3.6/multiprocessing/context.py", line 223 in _Popen
  File "/usr/local/lib/python3.6/multiprocessing/process.py", line 105 in start
  File "/home/py3.6-env/lib/python3.6/site-packages/japronto/app/__init__.py", line 228 in _run
  File "/home/py3.6-env/lib/python3.6/site-packages/japronto/app/__init__.py", line 264 in run
  File "japronto_server.py", line 34 in <module>
Worker crashed on signal SIGSEGV!
Worker crashed on signal SIGSEGV!
(py3.6-env) [root@localhost chaos_session]# 

I also got this error. when I run 3000 locust users,it was wrong,but when 1000 users ,it OK.

@jonathan-kosgei
Copy link

Also get this running japronto in alpine, with a simple API

@traers
Copy link

traers commented Aug 1, 2023

@squeaky-pl I also got this error,please take a look.

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

5 participants