ispras / lingvodoc-react

Apache License 2.0
7 stars 11 forks source link

Compute operation: Crash #612

Open nadezhday opened 2 years ago

nadezhday commented 2 years ago

Feb 7 06:23:44 bogomolov-lingvodoc kernel: gunicorn[22088]: segfault at 7ffe68c93ff8 ip 00007f2fd6ffaa5f sp 00007ffe68c94000 error 6 in liboslon.so[7f2fd6fef000+18000] сегодня: Feb 8 06:25:18 bogomolov-lingvodoc kernel: gunicorn[15412]: segfault at 7ffc82e2dff8 ip 00007fdd43738a5f sp 00007ffc82e2e000 error 6 in liboslon.so[7fdd4372d000+18000]

The approx steps (I cannot find the exact steps to reproduce. However, tests fail very often after the steps described below): 1) login as admin Open Dictionary of ABC for Moksha language (1892) Open Tools-> Cognate reconstruction Compute

2) login as admin Open Dictionary of Livvik dialect in Finland (http://83.149.198.62/dictionary/1106/7053/perspective/1106/7054/view) Open Tools->Cognate suggestions deselect match translationgs (#571) Compute image

https://jenkins.zeus.intra.ispras.ru/job/test_lingvodoc_frontend/880/testReport/chrome/test_cognate_suggestions/test_lex_cognate_sugg_unselect_match/

3) Login as julia Open Dictionary of Yukonda dialect of Mansi Tools->Cognate multi-analisys suggestions Add language Udmurt Compute Problem: the process never ends

4) Open http://83.149.198.62/dictionary/1393/19108/perspective/1393/19109/view Tools-> Multi-language reconstruction Add language Udmurt Compute Problem: the process never ends

Problem: If we open another browser you will not able to login image

Crash

myrix commented 2 years ago

Won't reproduce.

I suggest trying increasing RAM of the testing machine to 32 GB, this might be the problem.

academic-sakharov commented 2 years ago

VM has been resized to 32 GB of RAM, @nadezhday please check tests

nadezhday commented 2 years ago

Sometimes the problems can be reproduced. https://jenkins.zeus.intra.ispras.ru/job/test_lingvodoc_frontend/ws/frontend/Screenshots/2022_02_12_05_03_02.432497_test_lex_cognate_sugg_unselect_match.png

Steps were moved to a separate test (tests\test_cognate_suggest_match_off.py)

steps: Login as admin Open http://83.149.198.62/dictionary/1106/7053/perspective/1106/7054/view Tools-> Cognate suggestions Deselect option Match translations Click Compute

image

after sometime Compute button becomes violet

image

image

Only after 8-10 secs we can get xpath available for h3 Analysis results in Inspector window

image

Skipping text output, too long. image

Problem: Sometimes you can get error message

Sometimes you can get the following results:

image

The behavior is unstable.