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


Groups > comp.lang.python > #91318

Python 3.5 crashes on wrong %PYTHONHOME

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!1.eu.feeder.erje.net!weretis.net!feeder4.news.weretis.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <gvanem@yahoo.no>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.029
X-Spam-Evidence '*H*': 0.94; '*S*': 0.00; 'subject:Python': 0.05; "'python": 0.07; 'override': 0.07; 'command.': 0.09; 'python': 0.11; '2.7': 0.13; "skip:' 30": 0.15; 'skip:f 30': 0.15; 'crashes': 0.16; 'first,': 0.20; '(the': 0.22; 'universal': 0.22; 'bit': 0.23; 'header:User-Agent:1': 0.26; 'installed': 0.26; "doesn't": 0.28; 'noticed': 0.29; "i'm": 0.29; '32-bit': 0.29; 'skip:k 30': 0.29; 'guess': 0.29; 'to:name:python-list': 0.31; 'skip:p 30': 0.32; 'impression': 0.33; 'another': 0.34; 'skip:c 30': 0.35; 'to:addr:python-list': 0.35; 'problem.': 0.35; 'but': 0.36; 'list,': 0.36; 'there': 0.36; '(and': 0.36; 'modules': 0.36; 'should': 0.37; "skip:' 20": 0.37; 'instead': 0.38; 'skip:p 20': 0.38; 'to:addr:python.org': 0.39; 'some': 0.40; 'simple': 0.61; 'skip:u 10': 0.62; 'gave': 0.63; 'received:46': 0.63; 'case?': 0.84; 'from:addr:yahoo.no': 0.84; 'message-id:@yahoo.no': 0.84; 'presumably': 0.84
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.no; s=s2048; t=1432750375; bh=7/LJGX7niZoR4MXKWsmHOyUE2eRDMtbUbsV1M0ho+cM=; h=Date:From:To:Subject:From:Subject; b=L2z5SZ7Vkh+TJicTVPTwL1aYlUBAhiL9lY0INaZms05Wd8k9/U4F5T7wzX5j1P/fQUqInI7RCpUsvFJAAxz8qewUZYWgp1bGynctDIgMp6CBHkzF8N3ClmUtkdZC9cN8Puuox3CzFQwLoDPs7gJhcihnPE++Lhx7gIOyx2LUaM04k2yuei9a8TIFw6mCQ+RZ2j51VIIZGrpmJvFe4k4BuYPt0S3dGhgqzePFWUYeQzOZx/zEN/Io8xfQ0Ebh99rRePkDhg0ovV3dPgwn8spl0ox3lVsx1GvasMNpyKcqs6sqkO5l3lSp07Zf3FPGlYo7I/MSI0uLtBNqgKkXovIQOQ==
X-Yahoo-Newman-Id 75866.67872.bm@smtp142.mail.ir2.yahoo.com
X-Yahoo-Newman-Property ymail-3
X-YMail-OSG ZhytFmsVM1nd_A1puBlGGtIn47wrTtTJWWwQlguxY1zAr8l 4LSResUyHkOL5a5ad16USVfKJpF7tBtNga47dr6xXCOB2xLt1WeU_IbV0j.n g3mkDuB0pZIOMa4KsUQmCO9SWAKJy1aqjG7DefyQsiczG8HV0kMuO2cXA2mF oIgMbjcW9XTsGhu9XiaK9ouEx9NY1gQD6_g_e0t_UZEbkhzmHAsyeWLq.xff RGpWi2_qOYvmPIOq_nJjcR10vWdh5acH4ukg5tuxgNAg65anOkl9W74xk3GN 5X91vlyy9dbXBwT267yZbmEK.QNtByRbt3QGYxgqKCdY8w8Jxahe0.pYQJQG 04jrP_EFHV8P94_A8jjZvjxuVtwMoDgKVzHfYs6CW7AN4BRIBP8rIgIRecNq OxNdDaXtlkF01iTBZebwE5EjALAEMwLTTtjoEdW0LpmagOU18g9BbdYHWZrg bgCQ5Yx9usQKb5zm0ew8Tm7Vr62NUzchc4zrxrLifr9HmlD58tRFyL2xjIeE Gt9KwOo76..xcIWnSjKgYExoO
X-Yahoo-SMTP 8zhYLGyswBB3AGU8c4pvFIFOfA--
Date Wed, 27 May 2015 20:13:06 +0200
From Gisle Vanem <gvanem@yahoo.no>
User-Agent Mozilla/5.0 (Windows NT 6.3; WOW64; rv:36.0) Gecko/20100101 Firefox/36.0 SeaMonkey/2.33.1
MIME-Version 1.0
To Python-list <python-list@python.org>
Subject Python 3.5 crashes on wrong %PYTHONHOME
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.20+
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.93.1432750382.5151.python-list@python.org> (permalink)
Lines 45
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1432750382 news.xs4all.nl 2857 [2001:888:2000:d::a6]:39508
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:91318

Show key headers only | View raw


I just installed the 32-bit Python 3.5b4 via the Web-installer.
First, I was a bit annoyed by the fact it installed under
   'f:\ProgramFiler-x86\Python35' instead of
   'f:\ProgramFiler\Python35' as I customided for. But I guess
this is a WOW64 thing. I'm on Win-8.1 (64-bit).

But then I noticed the whole thing crashes when calling
python35!Py_FatalError. On a simple 'python -v' command.

Presumably because my env-var:
  PYTHONHOME=f:\Programfiler\Python27

(and not 'PYTHONHOME=f:\Programfiler\Python35').

Reading the message on this list, gave me the impression
Python 2.7 and Python 3.5 can co-exist with no problem.
Doesn't look the case so far. Is there another 'PYTHONxx'
env-var to override 'PYTHONHOME' in this case? Or what should
I do to keep on using both 27 and 35?

For reference, the call-stack:

   ucrtbase!abort+0x4b
   python35!Py_FatalError+0xbc
   python35!Py_InitializeEx_Private+0x45b
   python35!Py_Main+0x72c
   python+0x11df
   KERNEL32!BaseThreadInitThunk+0x24
   ntdll!__RtlUserThreadStart+0x2f
   ntdll!_RtlUserThreadStart+0x1b

And some of the modules shown in WinDbg:

   ModLoad: 1c470000 1c47c000   F:\ProgramFiler\Python35\python.exe
   ModLoad: 77720000 7788e000   C:\Windows\SYSTEM32\ntdll.dll
   ModLoad: 77500000 77640000   C:\Windows\SYSTEM32\KERNEL32.DLL
   ModLoad: 76e20000 76ef7000   C:\Windows\SYSTEM32\KERNELBASE.dll
   ModLoad: 6cd50000 6d057000   F:\ProgramFiler\Python35\python35.dll
   ModLoad: 6e7e0000 6e7f5000   C:\Windows\SYSTEM32\VCRUNTIME140.dll

(the new universal CRT from MS)


-- 
--gv

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Python 3.5 crashes on wrong %PYTHONHOME Gisle Vanem <gvanem@yahoo.no> - 2015-05-27 20:13 +0200

csiph-web