- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I installed intelpython on sles15sp2 and the installer completes without complaints. In general python works but I ran into an issue.
When I enter and exit the interpeter, I get a core dump:
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
>>> exit()
*** Error in `python3': munmap_chunk(): invalid pointer: 0x00007ffff7f6d1f0 ***
Aborted (core dumped)
Also I can't use this library xml.etree.ElementTree that is part of the python standard library.
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
>>> import xml.etree.ElementTree
*** Error in `python3': double free or corruption (out): 0x00007ffff7eb69f0 ***
Aborted (core dumped)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Carlos,
We investigated the problem and found one relevant bug: https://bugs.python.org/issue39367 in python community Seems like 3rd party readline can cause issues like these, which is why built-in readline is strongly encouraged to be used.
But on the other hands, as legal reasons, we can't compile our cpython with readline , so in Intel cpython doens't have a built-in readline, so things will just go wrong.
Nikhila mentioned the problem resolved by Ubuntu, could you or Nikhila please give more details, like the install steps, how the behaviors under Ubuntu?
Under SLES system, I may recommend to use 'conda install readline && python -c "import readline"' , please let us know if it works.
Thanks
Ying H.
Intel AI TCE
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Seems it only happens when install the readline package.
When I enter the interpreter with a clean install and import the package, it doesn't break.
If I install the missing readline package, it breaks the other import.
Got the lead from:
No module named 'readline' when starting "python" - Intel Communities
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thank you for posting in Intel Communities.
We are investigating your issue at our end.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
We are connecting with you internally.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Based on the internal discussion, we could observe issue in SLES15SP2 and SLES12SP5. We are working on this internally and will get back to you.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Carlos,
We investigated the problem and found one relevant bug: https://bugs.python.org/issue39367 in python community Seems like 3rd party readline can cause issues like these, which is why built-in readline is strongly encouraged to be used.
But on the other hands, as legal reasons, we can't compile our cpython with readline , so in Intel cpython doens't have a built-in readline, so things will just go wrong.
Nikhila mentioned the problem resolved by Ubuntu, could you or Nikhila please give more details, like the install steps, how the behaviors under Ubuntu?
Under SLES system, I may recommend to use 'conda install readline && python -c "import readline"' , please let us know if it works.
Thanks
Ying H.
Intel AI TCE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Ying,
We tried doing the conda method as well and it did not work.
Rahila do you have the details?
Thanks,
Carlos

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page