Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pip 1.5.4 cause segfault under python3.2 under cygwin #1695

Closed
georgthegreat opened this issue Mar 30, 2014 · 12 comments
Closed

pip 1.5.4 cause segfault under python3.2 under cygwin #1695

georgthegreat opened this issue Mar 30, 2014 · 12 comments
Labels
auto-locked Outdated issues that have been locked by automation

Comments

@georgthegreat
Copy link

(test)georg@georg-notebook:~$ pip --version
zsh: segmentation fault (core dumped)  pip --version

Works fine with 1.4.1:

(main)georg@georg-notebook:~$ pip --version
pip 1.4.1 from /home/georg/env/main/lib/python3.2/site-packages (python 3.2)

Unfortunately, all I have is the following stackdump:

Exception: STATUS_ACCESS_VIOLATION at rip=001801674DD
rax=0000000000000000 rbx=00000003F894246F rcx=0000000000000000
rdx=0000000000000000 rsi=00000003FA8D2DA0 rdi=000000000000002B
r8 =0000000000224AE8 r9 =0000000000000073 r10=000006FFFF58DC60
r11=000000000000006D r12=000006FFFF505508 r13=0000000000224AE0
r14=00000003F8942455 r15=0000000000000000
rbp=00000003FA8BD778 rsp=0000000000224938
program=C:\cygwin64\home\georg\env\test\bin\python3.2m, pid 4468, thread main
cs=0033 ds=002B es=002B fs=0053 gs=002B ss=002B
Stack trace:
Frame        Function    Args
003FA8BD778  001801674DD (00000000000, 675F646975750000, 5F65746172656E65, 6D6F646E6172)
003FA8BD778  003FA7CFBBD (003FA80F0F8, 00000224AF0, 003FA7A57C6, 6FFFF51D910)
6FFFF57ECD0  003FA80AF55 (00000224CC8, 6FFFF524BE8, 00000000000, 00000224B50)
6FFFF57ECD0  003F89339DE (00000000000, 003F894216A, 003FA7C74DE, 6FFFFFB7140)
003FA8884A0  003FA7BE307 (00600539050, 6FFFF754458, 006003F9140, 6FFFFFB1180)
003FA8884A0  003FA77A0D9 (000000001D0, 0060002D1C0, 006005353A0, 006003EAE30)
00600010740  003FA7FE73F (000000001E0, 0060002D1C0, 006005301A0, 006003EAE30)
00600010740  003FA801966 (00076F2B65E, 00000000002, 003FA87B6D0, 00000000001)
00000000000  003FA80218E (003FA7C780B, 6FFFF513A70, 6FFFF762270, 00000000002)
6FFFF513B48  003FA79B6A2 (6FFFF762270, 003FA8884A0, 6FFFF67EE70, 000002251A0)
003FA8884A0  003FA77A0D9 (1A247BA930E6B3ED, 00000000002, 003FA880EA0, 006004102D0)
6FFFF51D8D0  003FA78BC3A (00000000001, 000002252B8, 003FA77702B, 6FFFF527848)
003FA8884A0  003FA77A0D9 (003FA7C74DE, 003FA8727C0, 003FA8727C0, 00000000000)
00000000000  003FA77A692 (6FFFF5240D8, 00000000000, 6FFFF51D8D0, 6FFFF51D8D0)
00000000000  003FA7BB28E (00600528A90, 6FFFFEC9688, 68444B913699B3A6, 00600010740)
00000000000  003FA7C164A (6FFFF5297C0, 6FFFF51D8D0, 0060050CA91, 00000225390)
End of stack trace (more stack frames may be present)
@grzn
Copy link
Contributor

grzn commented Apr 14, 2014

Which OS version/architecture? which Cygwin version/architecture?

@georgthegreat
Copy link
Author

I'm using latest x64 cygwin on Win7 x64.

@grzn
Copy link
Contributor

grzn commented Apr 14, 2014

and that's Cygwin's Python you're using, right? or a package from python.org?

@Ivoz
Copy link
Contributor

Ivoz commented Apr 14, 2014

The unicode width consolidation in 3.3 might solve this.

@grzn
Copy link
Contributor

grzn commented Apr 14, 2014

reproduced.

@grzn
Copy link
Contributor

grzn commented Apr 14, 2014

after bisecting, commit 651a961 is the last commit that was working; and commit ff2854a is to blame

@grzn
Copy link
Contributor

grzn commented Apr 14, 2014

Administrator@INFINID-M6H6E90 /tmp/pip
$ python3 -c 'from pip.vendor import requests'
Segmentation fault (core dumped)

$ python3
Python 3.2.5 (default, Oct  2 2013, 22:58:11)
[GCC 4.8.1] on cygwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import pip
Segmentation fault (core dumped)

> /tmp/pip/pip/__init__.py(13)<module>()
-> from pip.vcs import git, mercurial, subversion, bazaar  # noqa
(Pdb)
Segmentation fault (core dumped)

@grzn
Copy link
Contributor

grzn commented Apr 14, 2014

the problem is with the uuid module:

> /tmp/pip/pip/vendor/requests/packages/urllib3/filepost.py(11)<module>()
-> from uuid import uuid4
(Pdb)
Segmentation fault (core dumped)

Administrator@INFINID-M6H6E90 /tmp/pip
$ python3 -c 'from uuid import uuid4'
Segmentation fault (core dumped)

@grzn
Copy link
Contributor

grzn commented Apr 14, 2014

there's a workaround in stackoverflow that says to install the libuuid-devel package; I verified it solves the problem. I'll report this to Cygwin so they'll add the dependency

@grzn
Copy link
Contributor

grzn commented Apr 14, 2014

@georgthegreat
Copy link
Author

Thanks!

@grzn
Copy link
Contributor

grzn commented Apr 16, 2014

duplicate of issue #1448

@qwcode qwcode closed this as completed Apr 16, 2014
@lock lock bot added the auto-locked Outdated issues that have been locked by automation label Jun 5, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Jun 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
auto-locked Outdated issues that have been locked by automation
Projects
None yet
Development

No branches or pull requests

4 participants