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: CentOS 8/Python 3.12/PyQt5 #13

Closed
PierreRaybaut opened this issue Jun 19, 2024 · 0 comments
Closed

Segmentation fault: CentOS 8/Python 3.12/PyQt5 #13

PierreRaybaut opened this issue Jun 19, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@PierreRaybaut
Copy link
Contributor

Output:

 (plotpy-env312) [admin@plotpy-centos8 plotpy]$ pytest
=============================================================================================== test session starts ===============================================================================================
platform linux -- Python 3.12.0, pytest-7.4.2, pluggy-1.3.0
PlotPy 2.3.3, guidata 3.5.1, PyQt5 5.15.10 [Qt version: 5.15.2]
rootdir: /home/admin/dev/plotpy
plugins: xvfb-3.0.0, cov-4.1.0
collected 287 items                                                                                                                                                                                               

plotpy/tests/benchmarks/test_benchmarks.py .                                                                                                                                                                [  0%]
plotpy/tests/benchmarks/test_bigimages.py .                                                                                                                                                                 [  0%]
plotpy/tests/features/test_auto_curve_image.py .                                                                                                                                                            [  1%]
plotpy/tests/features/test_autoscale_shapes.py .                                                                                                                                                            [  1%]
plotpy/tests/features/test_builder.py .                                                                                                                                                                     [  1%]
plotpy/tests/features/test_colormap_editor.py .                                                                                                                                                             [  2%]
plotpy/tests/features/test_colormap_manager.py .                                                                                                                                                            [  2%]
plotpy/tests/features/test_computations.py .                                                                                                                                                                [  2%]
plotpy/tests/features/test_contrast.py .                                                                                                                                                                    [  3%]
plotpy/tests/features/test_cursors.py .                                                                                                                                                                     [  3%]
plotpy/tests/features/test_dicom_image.py .                                                                                                                                                                 [  3%]
plotpy/tests/features/test_fit.py .                                                                                                                                                                         [  4%]
plotpy/tests/features/test_image_coords.py .                                                                                                                                                                [  4%]
plotpy/tests/features/test_imagefilter.py .                                                                                                                                                                 [  4%]
plotpy/tests/features/test_imagesuperp.py .                                                                                                                                                                 [  5%]
plotpy/tests/features/test_loadsaveitems_hdf5.py .                                                                                                                                                          [  5%]
plotpy/tests/features/test_loadsaveitems_json.py .                                                                                                                                                          [  5%]
plotpy/tests/features/test_loadsaveitems_pickle.py .                                                                                                                                                        [  6%]
plotpy/tests/features/test_manager.py ..                                                                                                                                                                    [  6%]
plotpy/tests/features/test_no_auto_tools.py .                                                                                                                                                               [  7%]
plotpy/tests/features/test_plot_log.py .                                                                                                                                                                    [  7%]
plotpy/tests/features/test_plot_types.py .                                                                                                                                                                  [  8%]
plotpy/tests/features/test_plot_yreverse.py .                                                                                                                                                               [  8%]
plotpy/tests/features/test_pyplot.py s                                                                                                                                                                      [  8%]
plotpy/tests/features/test_resize.py .                                                                                                                                                                      [  9%]
plotpy/tests/items/test_annotations.py .                                                                                                                                                                    [  9%]
plotpy/tests/items/test_curves.py .                                                                                                                                                                         [  9%]
plotpy/tests/items/test_curves_highdpi.py s                                                                                                                                                                 [ 10%]
plotpy/tests/items/test_hist2d.py ..                                                                                                                                                                        [ 10%]
plotpy/tests/items/test_histogram.py .                                                                                                                                                                      [ 11%]
plotpy/tests/items/test_image.py .                                                                                                                                                                          [ 11%]
plotpy/tests/items/test_image_contour.py .                                                                                                                                                                  [ 11%]
plotpy/tests/items/test_image_masked.py .                                                                                                                                                                   [ 12%]
plotpy/tests/items/test_image_masked_xy.py .                                                                                                                                                                [ 12%]
plotpy/tests/items/test_image_rgb.py .                                                                                                                                                                      [ 12%]
plotpy/tests/items/test_image_xy.py .                                                                                                                                                                       [ 13%]
plotpy/tests/items/test_mandelbrot.py .                                                                                                                                                                     [ 13%]
plotpy/tests/items/test_pcolor.py ..                                                                                                                                                                        [ 14%]
plotpy/tests/items/test_polygons.py .                                                                                                                                                                       [ 14%]
plotpy/tests/items/test_svgshapes.py .                                                                                                                                                                      [ 14%]
plotpy/tests/items/test_transform.py ..                                                                                                                                                                     [ 15%]
plotpy/tests/tools/test_actiontool.py .                                                                                                                                                                     [ 16%]
plotpy/tests/tools/test_cross_section.py .                                                                                                                                                                  [ 16%]
plotpy/tests/tools/test_cross_section_line.py .                                                                                                                                                             [ 16%]
plotpy/tests/tools/test_cross_section_oblique.py .                                                                                                                                                          [ 17%]
plotpy/tests/tools/test_customize_shape_tool.py .                                                                                                                                                           [ 17%]
plotpy/tests/tools/test_downsample_curve.py .                                                                                                                                                               [ 17%]
plotpy/tests/tools/test_edit_point.py .                                                                                                                                                                     [ 18%]
plotpy/tests/tools/test_get_point.py .                                                                                                                                                                      [ 18%]
plotpy/tests/tools/test_get_points.py .                                                                                                                                                                     [ 18%]
plotpy/tests/tools/test_get_rectangle.py .                                                                                                                                                                  [ 19%]
plotpy/tests/tools/test_get_rectangle_with_svg.py .                                                                                                                                                         [ 19%]
plotpy/tests/tools/test_get_segment.py .                                                                                                                                                                    [ 19%]
plotpy/tests/tools/test_image_plot_tools.py .                                                                                                                                                               [ 20%]
plotpy/tests/unit/test_annotation_tools.py .................                                                                                                                                                [ 26%]
plotpy/tests/unit/test_aspect_ratio_tool.py .                                                                                                                                                               [ 26%]
plotpy/tests/unit/test_baseplot.py .                                                                                                                                                                        [ 26%]
plotpy/tests/unit/test_builder_annotation.py .....                                                                                                                                                          [ 28%]
plotpy/tests/unit/test_builder_curve.py ..................................................................                                                                                                  [ 51%]
plotpy/tests/unit/test_builder_image.py ..........................                                                                                                                                          [ 60%]
plotpy/tests/unit/test_builder_shape.py ......                                                                                                                                                              [ 62%]
plotpy/tests/unit/test_contour.py ....                                                                                                                                                                      [ 64%]
plotpy/tests/unit/test_cursor_tools.py ....                                                                                                                                                                 [ 65%]
plotpy/tests/unit/test_curve_tools.py .....                                                                                                                                                                 [ 67%]
plotpy/tests/unit/test_display_coords_tool.py ...                                                                                                                                                           [ 68%]
plotpy/tests/unit/test_events.py .......                                                                                                                                                                    [ 70%]
plotpy/tests/unit/test_fontparam.py .                                                                                                                                                                       [ 71%]
plotpy/tests/unit/test_geometry.py ...                                                                                                                                                                      [ 72%]
plotpy/tests/unit/test_highprecisionxy.py .                                                                                                                                                                 [ 72%]
plotpy/tests/unit/test_io.py ........                                                                                                                                                                       [ 75%]
plotpy/tests/unit/test_line.py ......                                                                                                                                                                       [ 77%]
plotpy/tests/unit/test_line_cross_section_tool.py .                                                                                                                                                         [ 77%]
plotpy/tests/unit/test_manipulate_selection.py .......s.ss...                                                                                                                                               [ 82%]
plotpy/tests/unit/test_mask_tool.py ....                                                                                                                                                                    [ 83%]
plotpy/tests/unit/test_multiline_tools.py ..                                                                                                                                                                [ 84%]
plotpy/tests/unit/test_oblique_cross_section_tool.py .                                                                                                                                                      [ 85%]
plotpy/tests/unit/test_plot_curve.py ..                                                                                                                                                                     [ 85%]
plotpy/tests/unit/test_plot_image.py ...........                                                                                                                                                            [ 89%]
plotpy/tests/unit/test_rect_zoom.py ..                                                                                                                                                                      [ 90%]
plotpy/tests/unit/test_seg_dist.py ....                                                                                                                                                                     [ 91%]
plotpy/tests/unit/test_styles.py ........                                                                                                                                                                   [ 94%]
plotpy/tests/unit/test_tools_export.py .                                                                                                                                                                    [ 94%]
plotpy/tests/widgets/test_dotarraydemo.py .                                                                                                                                                                 [ 95%]
plotpy/tests/widgets/test_filtertest1.py .                                                                                                                                                                  [ 95%]
plotpy/tests/widgets/test_filtertest2.py .                                                                                                                                                                  [ 95%]
plotpy/tests/widgets/test_fliprotate.py .                                                                                                                                                                   [ 96%]
plotpy/tests/widgets/test_qtdesigner.py .                                                                                                                                                                   [ 96%]
plotpy/tests/widgets/test_resize_dialog.py .....                                                                                                                                                            [ 98%]
plotpy/tests/widgets/test_rotatecrop.py .                                                                                                                                                                   [ 98%]
plotpy/tests/widgets/test_simple_dialog.py Fatal Python error: Aborted

Current thread 0x00007fcad51f8240 (most recent call first):
  Garbage-collecting
  File "/home/admin/dev/PythonQwt/qwt/symbol.py", line 347 in __init__
  File "/home/admin/dev/PythonQwt/qwt/symbol.py", line 530 in __init__
  File "/home/admin/dev/plotpy/plotpy/styles/base.py", line 388 in build_symbol
  File "/home/admin/dev/plotpy/plotpy/styles/label.py", line 186 in update_label
  File "/home/admin/dev/plotpy/plotpy/items/label.py", line 86 in __init__
  File "/home/admin/dev/plotpy/plotpy/items/label.py", line 507 in __init__
  File "/home/admin/dev/plotpy/plotpy/items/label.py", line 1032 in __init__
  File "/home/admin/dev/plotpy/plotpy/items/annotation.py", line 176 in create_label
  File "/home/admin/dev/plotpy/plotpy/items/annotation.py", line 69 in __init__
  File "/home/admin/dev/plotpy/plotpy/items/annotation.py", line 473 in __init__
  File "/home/admin/dev/plotpy/plotpy/tools/cross_section.py", line 43 in create_shape
  File "/home/admin/dev/plotpy/plotpy/tools/base.py", line 564 in get_shape
  File "/home/admin/dev/plotpy/plotpy/tools/base.py", line 617 in setup_filter
  File "/home/admin/dev/plotpy/plotpy/tools/base.py", line 232 in register_plot
  File "/home/admin/dev/plotpy/plotpy/plot/manager.py", line 216 in add_tool
  File "/home/admin/dev/plotpy/plotpy/plot/manager.py", line 613 in register_image_tools
  File "/home/admin/dev/plotpy/plotpy/plot/manager.py", line 689 in register_all_image_tools
  File "/home/admin/dev/plotpy/plotpy/tests/widgets/test_simple_dialog.py", line 66 in __init__
  File "/home/admin/dev/plotpy/plotpy/tests/widgets/test_simple_dialog.py", line 110 in test_simple_dialog
  File "/home/admin/dev/plotpy-env312/lib/python3.12/site-packages/_pytest/python.py", line 194 in pytest_pyfunc_call
  File "/home/admin/dev/plotpy-env312/lib/python3.12/site-packages/pluggy/_callers.py", line 77 in _multicall
  File "/home/admin/dev/plotpy-env312/lib/python3.12/site-packages/pluggy/_manager.py", line 115 in _hookexec
  File "/home/admin/dev/plotpy-env312/lib/python3.12/site-packages/pluggy/_hooks.py", line 493 in __call__
  File "/home/admin/dev/plotpy-env312/lib/python3.12/site-packages/_pytest/python.py", line 1792 in runtest
  File "/home/admin/dev/plotpy-env312/lib/python3.12/site-packages/_pytest/runner.py", line 169 in pytest_runtest_call
  File "/home/admin/dev/plotpy-env312/lib/python3.12/site-packages/pluggy/_callers.py", line 77 in _multicall
  File "/home/admin/dev/plotpy-env312/lib/python3.12/site-packages/pluggy/_manager.py", line 115 in _hookexec
  File "/home/admin/dev/plotpy-env312/lib/python3.12/site-packages/pluggy/_hooks.py", line 493 in __call__
  File "/home/admin/dev/plotpy-env312/lib/python3.12/site-packages/_pytest/runner.py", line 262 in <lambda>
  File "/home/admin/dev/plotpy-env312/lib/python3.12/site-packages/_pytest/runner.py", line 341 in from_call
  File "/home/admin/dev/plotpy-env312/lib/python3.12/site-packages/_pytest/runner.py", line 261 in call_runtest_hook
  File "/home/admin/dev/plotpy-env312/lib/python3.12/site-packages/_pytest/runner.py", line 222 in call_and_report
  File "/home/admin/dev/plotpy-env312/lib/python3.12/site-packages/_pytest/runner.py", line 133 in runtestprotocol
  File "/home/admin/dev/plotpy-env312/lib/python3.12/site-packages/_pytest/runner.py", line 114 in pytest_runtest_protocol
  File "/home/admin/dev/plotpy-env312/lib/python3.12/site-packages/pluggy/_callers.py", line 77 in _multicall
  File "/home/admin/dev/plotpy-env312/lib/python3.12/site-packages/pluggy/_manager.py", line 115 in _hookexec
  File "/home/admin/dev/plotpy-env312/lib/python3.12/site-packages/pluggy/_hooks.py", line 493 in __call__
  File "/home/admin/dev/plotpy-env312/lib/python3.12/site-packages/_pytest/main.py", line 350 in pytest_runtestloop
  File "/home/admin/dev/plotpy-env312/lib/python3.12/site-packages/pluggy/_callers.py", line 77 in _multicall
  File "/home/admin/dev/plotpy-env312/lib/python3.12/site-packages/pluggy/_manager.py", line 115 in _hookexec
  File "/home/admin/dev/plotpy-env312/lib/python3.12/site-packages/pluggy/_hooks.py", line 493 in __call__
  File "/home/admin/dev/plotpy-env312/lib/python3.12/site-packages/_pytest/main.py", line 325 in _main
  File "/home/admin/dev/plotpy-env312/lib/python3.12/site-packages/_pytest/main.py", line 271 in wrap_session
  File "/home/admin/dev/plotpy-env312/lib/python3.12/site-packages/_pytest/main.py", line 318 in pytest_cmdline_main
  File "/home/admin/dev/plotpy-env312/lib/python3.12/site-packages/pluggy/_callers.py", line 77 in _multicall
  File "/home/admin/dev/plotpy-env312/lib/python3.12/site-packages/pluggy/_manager.py", line 115 in _hookexec
  File "/home/admin/dev/plotpy-env312/lib/python3.12/site-packages/pluggy/_hooks.py", line 493 in __call__
  File "/home/admin/dev/plotpy-env312/lib/python3.12/site-packages/_pytest/config/__init__.py", line 169 in main
  File "/home/admin/dev/plotpy-env312/lib/python3.12/site-packages/_pytest/config/__init__.py", line 192 in console_main
  File "/home/admin/dev/plotpy-env312/bin/pytest", line 8 in <module>

Extension modules: PyQt5.QtCore, numpy.core._multiarray_umath, numpy.core._multiarray_tests, numpy.linalg._umath_linalg, numpy.fft._pocketfft_internal, numpy.random._common, numpy.random.bit_generator, numpy.random._bounded_integers, numpy.random._mt19937, numpy.random.mtrand, numpy.random._philox, numpy.random._pcg64, numpy.random._sfc64, numpy.random._generator, PyQt5.QtGui, PyQt5.QtWidgets, h5py._errors, h5py.defs, h5py._objects, h5py.h5, h5py.utils, h5py.h5t, h5py.h5s, h5py.h5ac, h5py.h5p, h5py.h5r, h5py._proxy, h5py._conv, h5py.h5z, h5py.h5a, h5py.h5d, h5py.h5ds, h5py.h5g, h5py.h5i, h5py.h5f, h5py.h5fd, h5py.h5pl, h5py.h5o, h5py.h5l, h5py._selector, PyQt5.QtSvg, PyQt5.QtPrintSupport, plotpy._scaler, contour2d, plotpy.contour2d, PIL._imaging, charset_normalizer.md, histogram2d, plotpy.histogram2d, scipy._lib._ccallback_c, scipy.sparse._sparsetools, _csparsetools, scipy.sparse._csparsetools, scipy.sparse.linalg._isolve._iterative, scipy.linalg._fblas, scipy.linalg._flapack, scipy.linalg.cython_lapack, scipy.linalg._cythonized_array_utils, scipy.linalg._solve_toeplitz, scipy.linalg._decomp_lu_cython, scipy.linalg._matfuncs_sqrtm_triu, scipy.linalg.cython_blas, scipy.linalg._matfuncs_expm, scipy.linalg._decomp_update, scipy.linalg._flinalg, scipy.sparse.linalg._dsolve._superlu, scipy.sparse.linalg._eigen.arpack._arpack, scipy.sparse.csgraph._tools, scipy.sparse.csgraph._shortest_path, scipy.sparse.csgraph._traversal, scipy.sparse.csgraph._min_spanning_tree, scipy.sparse.csgraph._flow, scipy.sparse.csgraph._matching, scipy.sparse.csgraph._reordering, scipy.optimize._minpack2, scipy.optimize._group_columns, scipy._lib.messagestream, scipy.optimize._trlib._trlib, scipy.optimize._lbfgsb, _moduleTNC, scipy.optimize._moduleTNC, scipy.optimize._cobyla, scipy.optimize._slsqp, scipy.optimize._minpack, scipy.optimize._lsq.givens_elimination, scipy.optimize._zeros, scipy.optimize.__nnls, scipy.optimize._highs.cython.src._highs_wrapper, scipy.optimize._highs._highs_wrapper, scipy.optimize._highs.cython.src._highs_constants, scipy.optimize._highs._highs_constants, scipy.linalg._interpolative, scipy.optimize._bglu_dense, scipy.optimize._lsap, scipy.spatial._ckdtree, scipy.spatial._qhull, scipy.spatial._voronoi, scipy.spatial._distance_wrap, scipy.spatial._hausdorff, scipy.special._ufuncs_cxx, scipy.special._ufuncs, scipy.special._specfun, scipy.special._comb, scipy.special._ellip_harm_2, scipy.spatial.transform._rotation, scipy.optimize._direct, scipy.ndimage._nd_image, _ni_label, scipy.ndimage._ni_label, mandelbrot, plotpy.mandelbrot, scipy.signal._sigtools, scipy._lib._uarray._uarray, scipy.signal._max_len_seq_inner, scipy.signal._upfirdn_apply, scipy.signal._spline, scipy.interpolate._fitpack, scipy.interpolate.dfitpack, scipy.interpolate._bspl, scipy.interpolate._ppoly, scipy.interpolate.interpnd, scipy.interpolate._rbfinterp_pythran, scipy.interpolate._rgi_cython, scipy.integrate._odepack, scipy.integrate._quadpack, scipy.integrate._vode, scipy.integrate._dop, scipy.integrate._lsoda, scipy.signal._sosfilt, scipy.signal._spectral, scipy.special.cython_special, scipy.stats._stats, scipy.stats.beta_ufunc, scipy.stats._boost.beta_ufunc, scipy.stats.binom_ufunc, scipy.stats._boost.binom_ufunc, scipy.stats.nbinom_ufunc, scipy.stats._boost.nbinom_ufunc, scipy.stats.hypergeom_ufunc, scipy.stats._boost.hypergeom_ufunc, scipy.stats.ncf_ufunc, scipy.stats._boost.ncf_ufunc, scipy.stats.ncx2_ufunc, scipy.stats._boost.ncx2_ufunc, scipy.stats.nct_ufunc, scipy.stats._boost.nct_ufunc, scipy.stats.skewnorm_ufunc, scipy.stats._boost.skewnorm_ufunc, scipy.stats.invgauss_ufunc, scipy.stats._boost.invgauss_ufunc, scipy.stats._biasedurn, scipy.stats._levy_stable.levyst, scipy.stats._stats_pythran, scipy.stats._statlib, scipy.stats._sobol, scipy.stats._qmc_cy, scipy.stats._mvn, scipy.stats._rcont.rcont, scipy.signal._peak_finding_utils, PyQt5.QtDesigner (total: 160)
[1]+  Fini                    gedit /home/admin/dev/PythonQwt/qwt/symbol.py
Abandon (core dumped)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant