Skip to content

Segfault in examples/python/test_aw3.py #306

@pbsds

Description

@pbsds

The examples/python/test_aw3.py test now fails with a segmentation fault:

$ PYTHONFAULTHANDLER=1 python test_aw3.py
Fatal Python error: Segmentation fault

Current thread 0x00007f43eaeaa780 (most recent call first):
  File "/nix/store/mhwrpvqpcaibcz4bb4zhapk8l63gwvlj-python3.13-cgal-6.0.1.post202410241521/lib/python3.13/site-packages/CGAL/CGAL_Alpha_wrap_3.py", line 442 in alpha_wrap_3
  File "/home/pbsds/repos/nixpkgs/tmp-fix/cgal-1772832119/results-src-writeable/python313Packages.cgal.src/examples/python/test_aw3.py", line 18 in <module>

Extension modules: CGAL._CGAL_Alpha_wrap_3, CGAL._CGAL_Kernel, CGAL._CGAL_Polyhedron_3 (total: 3)

Here is the gdb "backtrace full" output: https://gist.githubusercontent.com/pbsds/06b5444b48396a72a4db3db0fb1c40d6/raw/e9f781b75990a9797e24e8b6483bbf733d1a8bdb/gistfile0.txt

Here is the SWIG-generated CGAL_Alpha_wrap_3.py: https://gist.github.com/pbsds/10a3c29598fc8c6afc771e0b331a3a8d#file-cgal_alpha_wrap_3-py-L442


This error started occurring after the following batch of updates to nixpkgs: NixOS/nixpkgs@c0b0e0f...cad22e7

(A more readable git log --online: https://gist.githubusercontent.com/pbsds/ddc01914e5ab92810764b79f7db64c9b/raw/727b8b2eca7b23275f035e622c4bfc356f5f386a/gistfile0.txt)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions