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


Groups > comp.lang.python > #58582

Re: Py 3.3.2, MacBookPro, segmentation fault, GCC issue?

Path csiph.com!usenet.pasdenom.info!gegeweb.org!usenet-fr.net!nerim.net!novso.com!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.001
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'from:addr:yahoo.co.uk': 0.04; 'interpreter': 0.05; 'compiler': 0.07; 'intel': 0.07; 'lawrence': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'seemed': 0.09; 'tismer': 0.09; 'url:releases': 0.09; 'works.': 0.09; 'python': 0.11; 'url:download': 0.12; 'windows': 0.15; 'code?': 0.16; 'command,': 0.16; 'follow-up': 0.16; 'interpreter,': 0.16; 'later)': 0.16; 'outdated': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'segfault': 0.16; 'subject:issue': 0.16; 'url:gnu': 0.16; 'student': 0.16; 'language': 0.16; 'wrote:': 0.18; 'trying': 0.19; 'normally': 0.19; 'command': 0.22; 'programming': 0.22; 'install': 0.23; 'installation': 0.23; 'header:User-Agent:1': 0.23; 'error': 0.23; 'questions:': 0.24; 'source': 0.25; 'compiled': 0.26; 'second': 0.26; '(for': 0.26; 'header:X-Complaints-To:1': 0.27; 'header:In- Reply-To:1': 0.27; 'installed': 0.27; 'url:bugs': 0.29; "i'm": 0.30; 'gcc': 0.31; 'question:': 0.31; 'with,': 0.31; 'python.org': 0.32; 'linux': 0.33; 'url:python': 0.33; 'guess': 0.33; 'mac': 0.33; 'core': 0.34; 'advice': 0.35; 'operate': 0.35; 'but': 0.35; 'there': 0.35; 'ram': 0.36; 'thanks': 0.36; "i'll": 0.36; 'subject:?': 0.36; 'url:org': 0.36; 'experience,': 0.37; 'christian': 0.38; 'configured': 0.38; 'follows:': 0.38; 'mine': 0.38; 'to:addr:python-list': 0.38; 'rather': 0.38; 'little': 0.38; 'does': 0.39; 'obtain': 0.39; 'reported': 0.39; 'sure': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'according': 0.40; 'how': 0.40; 'problems.': 0.60; 'upgrading': 0.60; 'worry': 0.60; 'world.': 0.61; 'john': 0.61; 'first': 0.61; 'skip:6 10': 0.63; 'more': 0.64; 'between': 0.67; 'caused': 0.69; '1600': 0.84; '4.2.1': 0.84; 'installer': 0.84; 'macbook': 0.84; '2013,': 0.91; 'differences': 0.93; 'have.': 0.93; 'old.': 0.93
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Mark Lawrence <breamoreboy@yahoo.co.uk>
Subject Re: Py 3.3.2, MacBookPro, segmentation fault, GCC issue?
Date Wed, 06 Nov 2013 18:37:59 +0000
References <886de52b-4324-42c2-b088-fb03116c2575@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
X-Gmane-NNTP-Posting-Host host-92-24-216-46.ppp.as43234.net
User-Agent Mozilla/5.0 (Windows NT 6.1; rv:24.0) Gecko/20100101 Thunderbird/24.1.0
In-Reply-To <886de52b-4324-42c2-b088-fb03116c2575@googlegroups.com>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
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.2088.1383763093.18130.python-list@python.org> (permalink)
Lines 29
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1383763093 news.xs4all.nl 15943 [2001:888:2000:d::a6]:60247
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:58582

Show key headers only | View raw


On 06/11/2013 18:15, John Ladasky wrote:
> I am trying to help a student of mine install Python 3 on his MacBook Pro.  The installation succeeds.  However, upon opening the Python interpreter, he can only execute one Python command successfully.  On the second command, the interpreter crashes, giving the error "Segmentation fault: 11".
>
> I have installed Python 3 on Linux and on Windows before, but I have no prior experience with Macs.  I know that OSX is Unix-like, but I'm sure that there are significant differences between the Linux that I normally use and OSX.
>
> My student's computer is configured as follows: MacBook Pro, 2.5 GHz Intel Core i5, 4 GB RAM 1600 MHz DDR3, OS X 10.9.  We installed the Python 3.3.2 Mac OS X 64-bit/32-bit x86-64/i386 Installer (for Mac OS X 10.6 and later) from http://python.org/download.
>
> The Python interpreter reported the following when it was opened:
>
> Python 3.3.2 : d047928ae3f6, May 13 2013, 13:52:24
> GCC 4.2.1 (Apple Inc. build 5666) (dot3) on darwin
>
> I do not know exactly how the Mac installer works.  It seemed to operate quickly.  It reported very little about what work it was actually doing.  Does it install pre-compiled binaries, or does it actually build Python locally from source code?  GCC 4.2.1 strikes me as OLD.  According to http://gcc.gnu.org/releases.html, it was released in 2007!  I would guess that the segfault is occurring because the Python interpreter was compiled using an outdated GCC.
>
> First question: did this outdated compiler execute its work at python.org (seems unlikely), or on my student's computer (seems more likely, though still rather absurd)?
>
> Follow-up questions: if I need a more current GCC for my student's Mac, how do I obtain it?  And are there any backwards-compatibility issues I might need to worry about if I do upgrade?  From my Linux experience, upgrading GCC has never caused problems.  But I want to be cautious, since this isn't my computer I'll be playing with, but someone else's.
>
> Thanks for any advice you may have.
>

http://bugs.python.org/issue18458

-- 
Python is the second best programming language in the world.
But the best has yet to be invented.  Christian Tismer

Mark Lawrence

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


Thread

Py 3.3.2, MacBookPro, segmentation fault, GCC issue? John Ladasky <john_ladasky@sbcglobal.net> - 2013-11-06 10:15 -0800
  Re: Py 3.3.2, MacBookPro, segmentation fault, GCC issue? Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-11-06 18:37 +0000
    Re: Py 3.3.2, MacBookPro, segmentation fault, GCC issue? John Ladasky <john_ladasky@sbcglobal.net> - 2013-11-06 12:47 -0800
      Re: Py 3.3.2, MacBookPro, segmentation fault, GCC issue? Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-11-06 21:07 +0000
  Re: Py 3.3.2, MacBookPro, segmentation fault, GCC issue? Laurent Pointal <laurent.pointal@free.fr> - 2013-11-10 17:50 +0100

csiph-web