You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by "dankuchler (via GitHub)" <gi...@apache.org> on 2023/09/05 21:26:28 UTC

[GitHub] [beam] dankuchler opened a new issue, #28318: [Bug]: apache beam python SDK hangs and crashes with segmentation fault errors with orjson 3.9.4

dankuchler opened a new issue, #28318:
URL: https://github.com/apache/beam/issues/28318

   ### What happened?
   
   In our latest deployment of our apache beam pipeline our dependency for orjson (dependency of the python apache beam SDK) was upgraded from 3.9.2 to 3.9.4.
   
   The apache beam SDK has a dependency on orjson < 4.0 here:
   
   https://github.com/apache/beam/blob/master/sdks/python/setup.py#L233
   
   With this upgrade of orjson from 3.9.2 to 3.9.4 we are periodically seeing our apache beam SDK hang or the workers crash with segmentation fault errors that we believe is related to this issue in the orjson project:
   
   https://github.com/ijl/orjson/issues/415
   
   When reverting from orjson 3.9.4 to 3.9.2 it seems that the issues are resolved.
   
   The python apache beam SDK may want to limit orjson to 3.9.2 or below until orjson issue 415 is resolved.
   
   ### Issue Priority
   
   Priority: 2 (default / most bugs should be filed as P2)
   
   ### Issue Components
   
   - [X] Component: Python SDK
   - [ ] Component: Java SDK
   - [ ] Component: Go SDK
   - [ ] Component: Typescript SDK
   - [ ] Component: IO connector
   - [ ] Component: Beam examples
   - [ ] Component: Beam playground
   - [ ] Component: Beam katas
   - [ ] Component: Website
   - [ ] Component: Spark Runner
   - [ ] Component: Flink Runner
   - [ ] Component: Samza Runner
   - [ ] Component: Twister2 Runner
   - [ ] Component: Hazelcast Jet Runner
   - [ ] Component: Google Cloud Dataflow Runner


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [beam] dankuchler commented on issue #28318: [Bug]: apache beam python SDK hangs and crashes with segmentation fault errors with orjson 3.9.4

Posted by "dankuchler (via GitHub)" <gi...@apache.org>.
dankuchler commented on issue #28318:
URL: https://github.com/apache/beam/issues/28318#issuecomment-1713751511

   The corresponding orjson issue https://github.com/ijl/orjson/issues/415 now indicates that it is closed and that the underlying issue should be resolved in orjson 3.9.7


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [beam] dankuchler commented on issue #28318: [Bug]: apache beam python SDK hangs and crashes with segmentation fault errors with orjson 3.9.4

Posted by "dankuchler (via GitHub)" <gi...@apache.org>.
dankuchler commented on issue #28318:
URL: https://github.com/apache/beam/issues/28318#issuecomment-1708401649

   In the mitigation section - I believe 3.9.2 is fine - we have been running on orjson 3.9.2 and the issue in the orjson project mentioned people were mitigating by reverting to version 3.9.2


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [beam] tvalentyn closed issue #28318: [Bug]: apache beam python SDK hangs and crashes with segmentation fault errors with orjson 3.9.4

Posted by "tvalentyn (via GitHub)" <gi...@apache.org>.
tvalentyn closed issue #28318: [Bug]: apache beam python SDK hangs and crashes with segmentation fault errors with orjson 3.9.4
URL: https://github.com/apache/beam/issues/28318


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [beam] damccorm commented on issue #28318: [Bug]: apache beam python SDK hangs and crashes with segmentation fault errors with orjson 3.9.4

Posted by "damccorm (via GitHub)" <gi...@apache.org>.
damccorm commented on issue #28318:
URL: https://github.com/apache/beam/issues/28318#issuecomment-1727783841

   @tvalentyn can this one be closed?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [beam] tvalentyn closed issue #28318: [Bug]: apache beam python SDK hangs and crashes with segmentation fault errors with orjson 3.9.4

Posted by "tvalentyn (via GitHub)" <gi...@apache.org>.
tvalentyn closed issue #28318: [Bug]: apache beam python SDK hangs and crashes with segmentation fault errors with orjson 3.9.4
URL: https://github.com/apache/beam/issues/28318


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [beam] tvalentyn commented on issue #28318: [Bug]: apache beam python SDK hangs and crashes with segmentation fault errors with orjson 3.9.4

Posted by "tvalentyn (via GitHub)" <gi...@apache.org>.
tvalentyn commented on issue #28318:
URL: https://github.com/apache/beam/issues/28318#issuecomment-1707358380

   thanks for reporting. did you see some stacktraces around the segmentation fault by chance?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [beam] tvalentyn commented on issue #28318: [Bug]: apache beam python SDK hangs and crashes with segmentation fault errors with orjson 3.9.4

Posted by "tvalentyn (via GitHub)" <gi...@apache.org>.
tvalentyn commented on issue #28318:
URL: https://github.com/apache/beam/issues/28318#issuecomment-1707359954

   Only Beam 2.50.0 has `orjson==3.9.4` in Beam containers.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [beam] dankuchler commented on issue #28318: [Bug]: apache beam python SDK hangs and crashes with segmentation fault errors with orjson 3.9.4

Posted by "dankuchler (via GitHub)" <gi...@apache.org>.
dankuchler commented on issue #28318:
URL: https://github.com/apache/beam/issues/28318#issuecomment-1707371085

   The segmentation fault messages that we are seeing in the system log seems to indicate that it is coming from orjson:
   
   python[1925]: segfault at 7ff9f1ff4000 ip 00007ffa3c72df53 sp 00007ffa391bd000 error 6 in orjson.cpython-310-x86_64-linux-gnu.so[7ffa3c716000+2f000]
   python[82009]: segfault at 70 ip 00007f91e601bb09 sp 00007f9189bfa080 error 4 in orjson.cpython-310-x86_64-linux-gnu.so[7f91e600f000+2f000]
   python[1915]: segfault at 50 ip 00007f0431827b09 sp 00007f0407ffc1c0 error 4 in orjson.cpython-310-x86_64-linux-gnu.so[7f043181b000+2f000]


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org