Python shell displays Segmentation Fault: 11 after upgrade to Mavericks OS

1,738 views
Skip to first unread message

Don Fox

unread,
Oct 24, 2013, 9:34:13 PM10/24/13
to django...@googlegroups.com


    python manage.py  shell

Python 2.7.5 (v2.7.5:ab05e7dd2788, May 13 2013, 13:18:45) 

[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin

Type "help", "copyright", "credits" or "license" for more information.

(InteractiveConsole)

>>> from polls.models import Poll, Choice

>>> Poll.objects.all()

Segmentation fault: 11



This type of thing just started after upgrade. I assume there's a connection.

Thomas Lockhart

unread,
Oct 24, 2013, 9:47:58 PM10/24/13
to django...@googlegroups.com
On 10/24/13 2:34 PM, Don Fox wrote:
> ...
>
> Segmentation fault: 11
>
>
>
> This type of thing just started after upgrade. I assume there's a
> connection.
>
I found a similar symptom with another application after doing piecemeal
updates in MacPorts packages, and my problems went away with a more
rigorous rebuild of packages.

You might try cleaning out your compiled code (if any) and your python
compiled files (the .pyc files).

hth

- Tom

donarb

unread,
Oct 24, 2013, 11:57:25 PM10/24/13
to django...@googlegroups.com
Looks as though python-dev knows about it:


There is a temporary patch script available in the bug report at the given message number

joel spencer

unread,
Oct 26, 2013, 5:49:37 AM10/26/13
to django...@googlegroups.com
i had this same problem after i upgraded my MBA to Mavericks.  The solution contained here works beautifully!

The other thing that happened is that Mavericks completely wiped out all my Python libraries.  I just restored them using time machine and they are irking fine again.  And, yeah, i have a use a lot of libraries such as pymssql, ip-tools, cherrypy, json etc.

Thanks for documenting this fix!!!

  -- Joel.

joel spencer

unread,
Oct 26, 2013, 6:47:37 AM10/26/13
to django...@googlegroups.com
s/irking/working/

:)
Reply all
Reply to author
Forward
0 new messages