Intel® Distribution for Python*
Engage in discussions with community peers related to Python* applications and core computational packages.
423 Discussions

Intel python 2022.2.1: completion tab segmentation faults

rouberol
Beginner
4,683 Views

Hi

this is to report that with 2022.2.1 version of Intel python interpreter, typing <TAB> for completion segfaults.

No problem with previous version

Regards,

Stephane Rouberol

 

/softs/intelpython/intelpython3-2022.2.1.17274/intelpython/python3.9/bin/python
Python 3.9.13 (main, Oct 19 2022, 17:23:07)
[GCC 11.2.0] :: Intel Corporation on linux
Type "help", "copyright", "credits" or "license" for more information.
Intel(R) Distribution for Python is brought to you by Intel Corporation.
Please check out: https://software.intel.com/en-us/python-distribution
>>> Segmentation fault (core dumped)
inf03: ~ >

 

inf03: ~ > /softs/intelpython/intelpython3-2021.1.1-44/intelpython/python3.7/bin/python
Python 3.7.9 (default, Nov 4 2020, 21:30:07)
[GCC 7.3.0] :: Intel Corporation on linux
Type "help", "copyright", "credits" or "license" for more information.
Intel(R) Distribution for Python is brought to you by Intel Corporation.
Please check out: https://software.intel.com/en-us/python-distribution
>>>
ArithmeticError( AssertionError( AttributeError( BaseException(
BlockingIOError( BrokenPipeError( BufferError( BytesWarning(
ChildProcessError( ConnectionAbortedError( ConnectionError( ConnectionRefusedError(
ConnectionResetError( DeprecationWarning( EOFError( Ellipsis.
EnvironmentError( Exception( False FileExistsError(
FileNotFoundError( FloatingPointError( FutureWarning( GeneratorExit(
IOError( ImportError( ImportWarning( IndentationError(
IndexError( InterruptedError( IsADirectoryError( KeyError(
KeyboardInterrupt( LookupError( MemoryError( ModuleNotFoundError(
NameError( None NotADirectoryError( NotImplemented.
NotImplementedError( OSError( OverflowError( PendingDeprecationWarning(
PermissionError( ProcessLookupError( RecursionError( ReferenceError(
ResourceWarning( RuntimeError( RuntimeWarning( StopAsyncIteration(
StopIteration( SyntaxError( SyntaxWarning( SystemError(
SystemExit( TabError( TimeoutError( True
TypeError( UnboundLocalError( UnicodeDecodeError( UnicodeEncodeError(
UnicodeError( UnicodeTranslateError( UnicodeWarning( UserWarning(
ValueError( Warning( ZeroDivisionError( __annotations__['
__build_class__( __debug__ __doc__. __import__(
__loader__( __name__ __package__. __spec__.
abs( all( and any(
as ascii( assert async
await bin( bool( break
breakpoint( bytearray( bytes( callable(
chr( class classmethod( compile(
complex( continue copyright( credits(
def del delattr( dict(
dir( divmod( elif else
enumerate( eval( except exec(
exit( filter( finally: float(
for format( from frozenset(
getattr( global globals( hasattr(
hash( help( hex( id(
if import in input(
int( is isinstance( issubclass(
iter( lambda len( license(
list( locals( map( max(
memoryview( min( next( nonlocal
not object( oct( open(
or ord( pass pow(
print( property( quit( raise
range( repr( return reversed(
round( set( setattr( slice(
sorted( staticmethod( str( sum(
super( try: tuple( type(
vars( while with yield
zip(
>>> ^D
inf03: ~ >

0 Kudos
1 Solution
asin
Moderator
3,582 Views

Hi Stephane,


This command may solve your segmentation fault issue. Give it a try.


conda uninstall pyeditline --offline


Best,

Alex


View solution in original post

0 Kudos
25 Replies
rouberol
Beginner
666 Views

Hi

 

inf03: ~ > cat /etc/redhat-release
Rocky Linux release 8.7 (Green Obsidian)
inf03: ~ > grep -m1 'model name' /proc/cpuinfo
model name : Intel(R) Xeon(R) Silver 4216 CPU @ 2.10GHz

inf03: ~ >
inf03: ~ > /softs/intelpython/intelpython3-2022.0.1.127/intelpython/python3.9/bin/python
Python 3.9.7 (default, Oct 27 2021, 01:23:21)
[GCC 9.3.0] :: Intel Corporation on linux
Type "help", "copyright", "credits" or "license" for more information.
Intel(R) Distribution for Python is brought to you by Intel Corporation.
Please check out: https://software.intel.com/en-us/python-distribution
>>> Segmentation fault (core dumped)
inf03: ~ >
inf03: ~ > /softs/intelpython/intelpython3-2022.0.2.155/intelpython/python3.9/bin/python
Python 3.9.7 (default, Oct 27 2021, 01:23:21)
[GCC 9.3.0] :: Intel Corporation on linux
Type "help", "copyright", "credits" or "license" for more information.
Intel(R) Distribution for Python is brought to you by Intel Corporation.
Please check out: https://software.intel.com/en-us/python-distribution
>>> Segmentation fault (core dumped)
inf03: ~ >
inf03: ~ > /softs/intelpython/intelpython3-2022.1.0.214/intelpython/python3.9/bin/python
Python 3.9.10 (main, Mar 2 2022, 12:02:00)
[GCC 9.3.0] :: Intel Corporation on linux
Type "help", "copyright", "credits" or "license" for more information.
Intel(R) Distribution for Python is brought to you by Intel Corporation.
Please check out: https://software.intel.com/en-us/python-distribution
>>> Segmentation fault (core dumped)
inf03: ~ >
inf03: ~ > /softs/intelpython/intelpython3-2022.2.0.8762/intelpython/python3.9/bin/python
Python 3.9.12 (main, Aug 29 2022, 00:54:58)
[GCC 11.2.0] :: Intel Corporation on linux
Type "help", "copyright", "credits" or "license" for more information.
Intel(R) Distribution for Python is brought to you by Intel Corporation.
Please check out: https://software.intel.com/en-us/python-distribution
>>> Segmentation fault (core dumped)
inf03: ~ >
inf03: ~ > /softs/intelpython/intelpython3-2022.2.1.17274/intelpython/python3.9/bin/python
Python 3.9.13 (main, Oct 19 2022, 17:23:07)
[GCC 11.2.0] :: Intel Corporation on linux
Type "help", "copyright", "credits" or "license" for more information.
Intel(R) Distribution for Python is brought to you by Intel Corporation.
Please check out: https://software.intel.com/en-us/python-distribution
>>> Segmentation fault (core dumped)
inf03: ~ >
inf03: ~ > /softs/intelpython/intelpython3-2023.0.0.25636//intelpython/python3.9/bin/python
Python 3.9.15 (main, Nov 11 2022, 13:58:57)
[GCC 11.2.0] :: Intel Corporation on linux
Type "help", "copyright", "credits" or "license" for more information.
Intel(R) Distribution for Python is brought to you by Intel Corporation.
Please check out: https://software.intel.com/en-us/python-distribution
>>> Segmentation fault (core dumped)
inf03: ~ >

 

Regards,

sr

0 Kudos
asin
Moderator
3,583 Views

Hi Stephane,


This command may solve your segmentation fault issue. Give it a try.


conda uninstall pyeditline --offline


Best,

Alex


0 Kudos
rouberol
Beginner
643 Views

Hi Alex

uninstalling pyeditline is indeed a workaround for most recent versions

but the trick is not doable for vulnerable 2022.0.1 & 2022.0.2 versions:

 

# conda uninstall pyeditline --offline
Collecting package metadata (repodata.json): done
Solving environment: done

## Package Plan ##

  environment location: /opt/intel/intelpython3-2022.0.1.127/intelpython/latest

  removed specs:
    - pyeditline


The following packages will be REMOVED:

  c-ares-1.17.1-h14c3975_2
  cycler-0.10.0-py39h06a4308_0
  cython-0.29.24-py39hbf8da92_1
  dpctl-0.11.1-py39hbd01409_0
  dpnp-0.9.0-py39h2493cab_0
  freetype-2.10.4-h5ab3b9f_0
  funcsigs-1.0.2-py39h06a4308_0
  future-0.18.2-py39h06a4308_1
  kiwisolver-1.3.1-py39h2531618_0
  libarchive-3.5.2-h27f34a6_0
  libevent-2.1.10-he436679_1
  libllvm11-11.0.0-h3826bc1_0
  libpng-1.6.37-8
  libprotobuf-3.14.0-he78db7b_1
  libxml2-2.9.12-h6441c91_1
  llvm-11.0.0-h06a4308_0
  llvm-spirv-11.0.0-h4616538_1
  llvmlite-0.37.0-py39h188ca7a_1
  lz4-c-1.9.3-h295c915_1
  lzo-2.10-h7b6447c_2
  matplotlib-3.1.2-py39h254464c_11
  mpi4py-3.0.3-py39h4a7690d_11
  numba-0.54.1-py39h671cb0e_3
  numba-dppy-0.17.2-py39h31cfeb5_0
  numexpr-2.7.3-py39h1d04dd3_4
  packaging-21.0-py39h1546d3d_4
  pandas-1.2.5-py39h8328df6_2
  pyeditline-2.0.1-py39_2
  pyparsing-3.0.4-pyhd3eb1b0_0
  python-dateutil-2.8.2-py39_1
  python-libarchive-c-2.9-pyhd3eb1b0_1
  pytz-2021.3-pyhd3eb1b0_0
  pyyaml-6.0-py39h7f8727e_1
  scikit-ipp-1.2.0-py39h2d01023_8
  smp-0.1.4-py39hab8cbcd_2
  snappy-1.1.8-he6710b0_0
  spirv-tools-2020.5-h6bb024c_2
  sys_check-2022.0-0
  tcl-8.6.10-2
  xgboost-1.4.3-1596_gbab738py39_4
  zstd-1.4.5-h9ceee32_0


Proceed ([y]/n)? n


CondaSystemExit: Exiting.


# conda uninstall pyeditline --offline
Collecting package metadata (repodata.json): done
Solving environment: done

## Package Plan ##

  environment location: /opt/intel/intelpython3-2022.0.2.155/intelpython/latest

  removed specs:
    - pyeditline


The following packages will be REMOVED:

  c-ares-1.17.1-h14c3975_2
  cycler-0.10.0-py39h06a4308_0
  cython-0.29.24-py39hbf8da92_1
  dpctl-0.11.1-py39hbd01409_0
  dpnp-0.9.0-py39h2493cab_0
  freetype-2.10.4-h5ab3b9f_0
  funcsigs-1.0.2-py39h06a4308_0
  future-0.18.2-py39h06a4308_1
  kiwisolver-1.3.1-py39h2531618_0
  libarchive-3.5.2-h27f34a6_0
  libevent-2.1.10-he436679_1
  libllvm11-11.0.0-h3826bc1_0
  libpng-1.6.37-8
  libprotobuf-3.14.0-he78db7b_1
  libxml2-2.9.12-h6441c91_1
  llvm-11.0.0-h06a4308_0
  llvm-spirv-11.0.0-h4616538_1
  llvmlite-0.37.0-py39h188ca7a_1
  lz4-c-1.9.3-h295c915_1
  lzo-2.10-h7b6447c_2
  matplotlib-3.1.2-py39h254464c_11
  mpi4py-3.0.3-py39h4a7690d_11
  numba-0.54.1-py39h671cb0e_3
  numba-dppy-0.17.2-py39h31cfeb5_0
  numexpr-2.7.3-py39h1d04dd3_4
  packaging-21.0-py39h1546d3d_4
  pandas-1.2.5-py39h8328df6_2
  pyeditline-2.0.1-py39_2
  pyparsing-3.0.4-pyhd3eb1b0_0
  python-dateutil-2.8.2-py39_1
  python-libarchive-c-2.9-pyhd3eb1b0_1
  pytz-2021.3-pyhd3eb1b0_0
  pyyaml-6.0-py39h7f8727e_1
  scikit-ipp-1.2.0-py39h2d01023_8
  smp-0.1.4-py39hab8cbcd_2
  snappy-1.1.8-he6710b0_0
  spirv-tools-2020.5-h6bb024c_2
  sys_check-2022.0-0
  tcl-8.6.10-2
  xgboost-1.4.3-1596_gbab738py39_4
  zstd-1.4.5-h9ceee32_0


Proceed ([y]/n)? n


CondaSystemExit: Exiting.

 

BTW imho the "Solved" status of this bug report is confusing for readers.

Best,

sr

 

0 Kudos
asin
Moderator
635 Views

Hi Stephane,


Does this resolve your issue? I will update the comment with the solution.


The terminal output you showed for the 2022.0.1 & 2022.0.2 versions appears to be more of a conda-related issue.


Best,

Alex


0 Kudos
asin
Moderator
608 Views

Hi,


This issue has been resolved and we will no longer respond to this thread. If you require additional assistance from Intel, please start a new thread. Any further interaction in this thread will be considered community only.


-Alex


0 Kudos
Reply