Task exited with return code Negsignal.SIGSEGV when dag triggered from UI #24463
Replies: 9 comments 35 replies
-
This is not an airflow issue. It's issue with your code. You need to look at your code and see which component fails with sigsegv. It's some of your code and custom libraries, sigsegv comes from C-libraries usually. You need to look how your deployment is done and try to reproduce it there. When you run stuff manually (from terminal) you have different environment than when airflow is run as a "daemon" or service (for example airflow has no terminal with user). You need to check how your airflow is deployed (possibly with your admin/devops) and analyse logs/core dumps produced on the server. Usually (depends on your server configuration) when a process dies with sigsegv it produces "core dumps" - and you can trace them, but how and where - this is something that only you and your admin can track. Again - not airflow issue, look at your deployment. Good luck. |
Beta Was this translation helpful? Give feedback.
-
the same error on mac |
Beta Was this translation helpful? Give feedback.
-
Hi,
I was trying to use airflow in MacOS and was getting the same error.
On debugging, I found out that it was crashing in urllib. Below is the bug
https://bugs.python.org/issue28342
I fixed it by adding an environmental variable NO_PROXY to bypass the
required host.
Let me know if this is helpful.
Thanks.
…On Sat, 10 Sep, 2022, 7:58 pm Yakim12, ***@***.***> wrote:
the same error on mac
—
Reply to this email directly, view it on GitHub
<#24463 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AECBVZQZIA3QHDXLDBFZ4BDV5SLHHANCNFSM5Y2YCJRA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
from web3 import Web3 This code also triggers an Negsignal.SIGSEGV ,But I don't know how to fix yet |
Beta Was this translation helpful? Give feedback.
-
I also ran into this kind of issue when locally running the DAG that uses To mitigate the issue, one easy solution could be to use a real simple executor that does not fork. Will see if there is existing Airflow setup that can achieve this through configuration. |
Beta Was this translation helpful? Give feedback.
-
I'm facing same problem like on this forum. I figure it out, last week I have a POC with telegram bot and installed a ton of Library package on my airflow virtual env. Than I tried to so many tools to figure it out , and questioning my self : After re-run airflow server again , airflow show error about Note :
|
Beta Was this translation helpful? Give feedback.
-
I started hitting this when using requests with Airflow 2.5.0 on Mac. We seem to be able to workaround it by running:
in the process that kicks off Airflow's scheduler, workers, etc. Not a great solution.. but leaving here in case it helps someone else. |
Beta Was this translation helpful? Give feedback.
-
This problem still exists on macOS. Details: A workaround is to add |
Beta Was this translation helpful? Give feedback.
-
Just encountered with this issue yesterday and spent half a day searching clues until reading this discussion. The issue appeared when remote task handler trying to fetching logs from remote storage. Error output like:
After setting env vars macOS Ventura 13.1 Looks like not an Airflow problem. I record the log here just in case other users / developers come into the same issue when using remote logging. |
Beta Was this translation helpful? Give feedback.
-
Hi,
I am trying to trigger a DAG from Airflow UI which internally has a task to call requests.get(). This results in below error:
Task exited with return code Negsignal.SIGSEGV
This is working fine when tested using command
airflow dags test <dag_id> <execution_start_date>
Below versions are used:
Can you please advise?
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions