Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#53918 - [python2-pyqwt] Segmentation fault on import

Attached to Project: Community Packages
Opened by Johannes Koch (darkforce) - Wednesday, 03 May 2017, 10:05 GMT
Last edited by Jiachen Yang (farseerfc) - Tuesday, 29 August 2017, 11:07 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Kyle Keen (keenerd)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
On a current Arch installation the package segfaults immediately after an import.
Rebuilding the package fixes the problem.


Additional info:
* back trace is attached


Steps to reproduce:
Import the Qwt5 package in python2:
import PyQt4.Qwt5 as Qwt


Proposed fix:
Rebuild the package
This task depends upon

Closed by  Jiachen Yang (farseerfc)
Tuesday, 29 August 2017, 11:07 GMT
Reason for closing:  Fixed
Additional comments about closing:  rebuilt
Comment by Doug Newgard (Scimmia) - Wednesday, 03 May 2017, 14:39 GMT
Always need package versions. python2-pyqwt? python2-pyqt4? qwt5? sip? python2-sip?
Comment by Johannes Koch (darkforce) - Wednesday, 03 May 2017, 15:02 GMT
Sorry, I thought I had it written in the subject. It's python2-pyqwt 5.2.0-2.

/* edit: Here are the dependencies as well:
python2-pyqwt 5.2.0-2
python2-numpy 1.12.1-1
python2-pyqt4 4.12-4
qwt5 5.2.3-4
sip 4.19.2-1
python2-sip 4.19.2-1 */
Comment by Doug Newgard (Scimmia) - Wednesday, 03 May 2017, 15:43 GMT
OK, so it's not the issue I was wondering about. sip 4.19.0 had issues with segfaults very similar to this.
Comment by Bohdan Shubenok (Confucij) - Monday, 07 August 2017, 20:24 GMT
I think I had the similar error with gnuradio. When I ran gr_filter_design, segfault occurs with stacktrace.
#0 0x00007f8b8dfe28c6 strlen (libc.so.6)
#1 0x00007f8b8dbd92bd PyString_FromFormatV (libpython2.7.so.1.0)
#2 0x00007f8b8dc1a50c PyErr_Format (libpython2.7.so.1.0)
#3 0x00007f8b75137212 n/a (sip.so)
#4 0x00007f8b6a4f6006 initQwt (Qwt.so)
#5 0x00007f8b8dc95c7f _PyImport_LoadDynamicModule (libpython2.7.so.1.0)
#6 0x00007f8b8dc45c87 PyImport_ImportModuleLevel (libpython2.7.so.1.0)
#7 0x00007f8b8dc48768 builtin___import__.lto_priv.1230 (libpython2.7.so.1.0)
#8 0x00007f8b8dc2a0e3 PyObject_Call (libpython2.7.so.1.0)
#9 0x00007f8b8dc5ebd0 PyEval_CallObjectWithKeywords (libpython2.7.so.1.0)
#10 0x00007f8b8dc023c9 PyEval_EvalFrameEx (libpython2.7.so.1.0)
#11 0x00007f8b8dc5f4c5 PyEval_EvalCodeEx (libpython2.7.so.1.0)
#12 0x00007f8b8dc798f9 PyEval_EvalCode (libpython2.7.so.1.0)
#13 0x00007f8b8dc956e8 PyImport_ExecCodeModuleEx (libpython2.7.so.1.0)
#14 0x00007f8b8dc958cf load_source_module (libpython2.7.so.1.0)
#15 0x00007f8b8dc9633a load_package (libpython2.7.so.1.0)
#16 0x00007f8b8dc9607d import_submodule (libpython2.7.so.1.0)
#17 0x00007f8b8dc4589d PyImport_ImportModuleLevel (libpython2.7.so.1.0)
#18 0x00007f8b8dc48768 builtin___import__.lto_priv.1230 (libpython2.7.so.1.0)
#19 0x00007f8b8dc2a0e3 PyObject_Call (libpython2.7.so.1.0)
#20 0x00007f8b8dc5ebd0 PyEval_CallObjectWithKeywords (libpython2.7.so.1.0)
#21 0x00007f8b8dc023c9 PyEval_EvalFrameEx (libpython2.7.so.1.0)
#22 0x00007f8b8dc5f4c5 PyEval_EvalCodeEx (libpython2.7.so.1.0)
#23 0x00007f8b8dc798f9 PyEval_EvalCode (libpython2.7.so.1.0)
#24 0x00007f8b8dc956e8 PyImport_ExecCodeModuleEx (libpython2.7.so.1.0)
#25 0x00007f8b8dc958cf load_source_module (libpython2.7.so.1.0)
#26 0x00007f8b8dc9607d import_submodule (libpython2.7.so.1.0)
#27 0x00007f8b8dc461c9 PyImport_ImportModuleLevel (libpython2.7.so.1.0)
#28 0x00007f8b8dc48768 builtin___import__.lto_priv.1230 (libpython2.7.so.1.0)
#29 0x00007f8b8dc2a0e3 PyObject_Call (libpython2.7.so.1.0)
#30 0x00007f8b8dc5ebd0 PyEval_CallObjectWithKeywords (libpython2.7.so.1.0)
#31 0x00007f8b8dc023c9 PyEval_EvalFrameEx (libpython2.7.so.1.0)
#32 0x00007f8b8dc5f4c5 PyEval_EvalCodeEx (libpython2.7.so.1.0)
#33 0x00007f8b8dc798f9 PyEval_EvalCode (libpython2.7.so.1.0)
#34 0x00007f8b8dc6c50f run_mod (libpython2.7.so.1.0)
#35 0x00007f8b8dc6ddc2 PyRun_FileExFlags (libpython2.7.so.1.0)
#36 0x00007f8b8dc6df8e PyRun_SimpleFileExFlags (libpython2.7.so.1.0)
#37 0x00007f8b8dc7192e Py_Main (libpython2.7.so.1.0)
#38 0x00007f8b8df804ca __libc_start_main (libc.so.6)
#39 0x000000bc0842c7ba _start (python2.7)

Rebuild python2-pyqwt helped.
Packages:
extra/python2 2.7.13-4
extra/pyqt4-common 4.12.1-1
extra/pyqt5-common 5.9-1
extra/python2-pyqt4
community/python2-pyqwt 5.2.0-2 [23:19:29]
extra/python2-sip 4.19.3-1
community/gnuradio 3.7.11-3
extra/fftw 3.3.6-2
extra/python2-numpy 1.13.1-2
extra/cppunit 1.14.0-1
extra/gsl 2.4-1
extra/blas 3.7.1-1
extra/boost-libs 1.64.0-4
community/portaudio 190600_20161030-1
community/libuhd 3.10.1.1-2
community/zeromq 4.2.2-1
community/libvolk 1.3-5
extra/boost 1.64.0-4
extra/swig 3.0.12-1
extra/cmake 3.8.2-1
Comment by Jiachen Yang (farseerfc) - Tuesday, 29 August 2017, 08:28 GMT
Pushed a rebuild of python2-pyqwt 5.2.0-3, does this fix the issue?
Comment by Johannes Koch (darkforce) - Tuesday, 29 August 2017, 10:53 GMT
Yes, that fixed it for me. Thank you!

Loading...