Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • aports aports
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Graph
    • Compare
  • Issues 661
    • Issues 661
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 338
    • Merge requests 338
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • alpinealpine
  • aportsaports
  • Issues
  • #5981
Closed
Open
Issue created Jul 29, 2016 by 7heo .tk@7heo

ipython segfaults

Steps to reproduce:

# pip install ipython
---------- 8< ----------
          SNIP
---------- 8< ----------
$ ipython
Python 2.7.12 (default, Jun 29 2016, 08:37:29)
Type "copyright", "credits" or "license" for more information.

IPython 5.0.0 -- An enhanced Interactive Python.
?         -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help      -> Python's own help system.
object?   -> Details about 'object', use 'object??' for extra details.

[1]    11230 segmentation fault  ipython
$

Workaround:

# cd /usr/lib/python2.7/site-packages/prompt_toolkit/terminal/
# mv vt100_output.py vt100_output.py.bak
# sed '/fcntl/s/, True//' vt100_output.py.bak > vt100_output.py

Root cause:

By inspecting fcntlmodule.c Line 124 and fcntlmodule.c Line 174, we can see that depending on that fourth argument, the implementation differs greatly. Therefore I am posting this bug here since it might be related to Alpine (it doesn’t happen on Ubuntu, according to a user in irc.freenode.com#python).

(from redmine: issue id 5981, created on 2016-07-29)

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking