Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #225842

Re: Python 3 Segmentation Fault

From Kushal Kumaran <kushal@locationd.net>
Newsgroups linux.debian.user
Subject Re: Python 3 Segmentation Fault
Date 2020-08-04 18:10 +0200
Message-ID <AA7FM-273-5@gated-at.bofh.it> (permalink)
References <AA6JI-1xw-33@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


"J.Arun Mani" <J.ArunMani@protonmail.com> writes:

> Hello.
> I'm using Debian Testing (upgraded from Debian 10). Today I started
> Python 3, but it was not able to interpret any commands from stdin and
> resulted in Segmentation Fault. Luckily modules (python3 -m <module>)
> and files (python3 <file>) works fine though.
>
> Observed:
> $ python3
> Python 3.8.3rc1 (default, Apr 30 2020, 07:33:30)

Where did you get this from?
https://tracker.debian.org/pkg/python3-defaults says testing has version
3.8.2-3.

The output of the command "apt policy python3" and looking at your
sources.list and /etc/apt/sources.list.d/* will help.

> [GCC 9.3.0] on linux
> Type "help", "copyright", "credits" or "license" for more information.
>>>> print
> <No output, nothing>
> <Press any key>
> Segmentation fault
>
> Screen capture that could help :
> https://www.dropbox.com/s/9w941t93ymem1x1/python3_issue-2020-08-04_19.38.28.mp4?dl=0
>
> Some additional info:
> 1. I tried running a file that takes input from user (using input
> function), it also didn't work. So I think something regarding
> standard input has broken.
> 2. Python 2 also has the exact, same issue. So both Pythons face the problem !
>
> I have IPython installed, which works fine without any issue.
> The very recent installations I made :
> Installed Emacs (~ 2 days ago)
> Installed and removed Neovim (~ 1 day ago)
>
> I tried reinstalling Python by : sudo apt reinstall python3
> But it didn't fix the issue.
>
> Though I hardly use live session of Python 3 (I use IPython for live
> sessions), having a broken Python 3 scares me. Any help regarding the
> issue is greatly appreciated. :)
>
> Thanks
> J Arun Mani

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Python 3 Segmentation Fault "J.Arun Mani" <J.ArunMani@protonmail.com> - 2020-08-04 17:10 +0200
  Re: Python 3 Segmentation Fault Kushal Kumaran <kushal@locationd.net> - 2020-08-04 18:10 +0200
  Re: Python 3 Segmentation Fault Cindy Sue Causey <butterflybytes@gmail.com> - 2020-08-04 18:20 +0200
    a little bit off-topic (Was: Re: Python 3 Segmentation Fault) soyeomul@doraji.xyz (황병희) - 2020-08-09 04:50 +0200
  Re: [Python-Help] Python 3 Segmentation Fault "J.Arun Mani" <J.ArunMani@protonmail.com> - 2020-08-05 20:00 +0200
  Re: Python 3 Segmentation Fault soyeomul@doraji.xyz (황병희) - 2020-08-09 04:30 +0200

csiph-web