I am running into a strange issue on a web server running OS X Server 10.6.8. Any app I try to open ends up crashing immediately with a segmentation fault. This goes for gui apps like Safari. Make sure you have the latest Java update from the Apple website installed. If this does not solve the problem, copy the JavaApplicationStub file from the /System/Frameworks/JavaVM.framework folder to the Oxygen.app/Contents/MacOS folder. To browse the.app folder, you have to use the Command key while clicking the Oxygen XML Editor icon and select Show Package Contents.
On Wed, Feb 3, 2010 at 4:09 AM, David Joyner <***@gmail.com> wrote:
- Stack Overflow for Teams is a private, secure spot for you and your coworkers to find and share information.
- Thanks for your answer! I was aware that other tools like the ones you mentioned were capable of dumping traffic; however, my question pertained to the fixing of the problem with the airport command in particular. Either way, thank you for suggesting tcpdump as a reasonable alternative for anyone else looking in the future. I too, will be using tcpdump until Apple fixes the airport issue.
- A Happy Mac is the normal bootup (startup) icon of an Apple Macintosh computer running older versions of the Mac operating system.It was designed by Susan Kare in the 1980s, drawing inspiration from the design of the Compact Macintosh series and from the Batman character Two-Face. The icon remained unchanged until the introduction of New World ROM Macs, when it was updated to 8-bit color.
I get the same result on bsd.math (Mac OS X 10.6.2). Doing a verbose
long doctest, I get:
Trying:
Integer(1) < l11###line 213:_sage_ >>> 1 < l11
Expecting:
False
------------------------------------------------------------
Unhandled SIGSEGV: A segmentation fault occured in SAGE.
This probably occured because a *compiled* component
of SAGE has a bug in it (typically accessing invalid memory)
or is not properly wrapped with _sig_on, _sig_off.
You might want to run SAGE under gdb with 'sage -gdb' to debug this.
SAGE will now terminate (sorry).
------------------------------------------------------------
[2.0 s]
----------------------------------------------------------------------
The following tests failed:
sage -t -verbose -long 'devel/sage-main/sage/structure/element_wrapper.py'
The relevant doctest from sage/structure/element_wrapper.py that
causes the segfault is:
sage: class MyElement(ElementWrapper):
... __lt__ = ElementWrapper._lt_by_value
...
sage: parent1 = ZZ
sage: parent2 = QQ
sage: l11 = MyElement(1, parent = parent1)
sage: l12 = MyElement(2, parent = parent1)
sage: l21 = MyElement(1, parent = parent2)
sage: l22 = MyElement(2, parent = parent2)
sage: l11 < l11
False
sage: l11 < l12, l12 < l11 # values differ
(True, False)
sage: l11 < l21 # parents differ
False
sage: l11 < 1 # class differ
False
sage: 1 < l11
False
Regards
Minh Van Nguyen
--
To post to this group, send an email to sage-***@googlegroups.com
To unsubscribe from this group, send an email to sage-devel+***@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org
Question or issue on macOS:
I am getting an issue in Python 3.3.2 on OSX 10.9 where if I open Python in a terminal window, it exits with 'Segmentation error: 11' after the second line I enter, regardless of what the two commands are. For example, if I enter:
that works fine, but if I enter:
then I get the error when I press enter on the second line. I can also run a script with more than 2 lines without any problems.
I updated to OSX 10.9 this afternoon, so I suspect that may be it.
However, I just recently installed IPython (along with several other packages) and have been using that the past couple of days, so it could be something else I installed recently. I had a couple unsuccessful attempts at installing PyQt where I ran configure.py but then the 'make' command failed, which I was also suspicious of.
I tried reinstalling Python, but it didn't resolve the issue. Both IPython and IDLE work with no problems. I'm just concerned about what could be the underlying issue.
How to solve this problem?
Solution no. 1:
This is a bug in the readline compatibility in python, related to changes introduced in OSX10.9. This weekend, release candidates for Python2.7.6 and Python3.3.3 were released which fix this bug. The download links are below.
Seg Fault Mac Os Catalina
Here's the issue, quoting from Ned Deily, writing on the python-dev email list.
On Tuesday, Apple released OS X 10.9 (a.k.a. Mavericks). There has already
been a lot of interest in it, in part because Apple has made it available for
free and has made it easy for users with 10.8, 10.7, and (most) 10.6 systems
to upgrade directly to 10.9. Unfortunately, there are issues with our current
maintenance releases (3.3.2 and 2.7.5) on OS X 10.9 that call for new
maintenance releases as soon as possible.
One is critical in that it causes the interpreter to crash when running in
interactive mode (http://bugs.python.org/issue18458). The problem was due to
a long-standing compatibility issue in libedit's readline compatibility layer
that upstream has finally fixed and Apple has now shipped in 10.9. Because
the python.org installers dynamically link to libedit, the original workaround
in readline.c for the original design flaw in history indexing now causes a
segfault on 10.9 when the user types in the second command interactively. Not
good. Ronald devised a fix that allows readline.so at runtime to detect and
work with either version of libedit so that we continue to have binary
compatibility across multiple OS X releases. That fix is already out in the
3.4.0 alphas and backported to the 3.3 and 2.7 branches, awaiting release
there. Just in the last 12 hours, there have been at least four duplicates of
the issue reported by users. I've updated the original issue to explicitly
mention 10.9, now that it is no longer under NDA, and to provide a
downloadable script for inexperienced users to workaround the problem by
'removing' readline.so. Presumably, as word gets out, there will be fewer
duplicate issues opened but the impact will remain.
Solution no. 2:
I had this problem after upgrading to OS X 10.9 and used the patch provided on the Python website: http://bugs.python.org/issue18458#msg201087
To use it, open a terminal session in Terminal.app (or other shell), then enter:
thensh ./patch_readline_issue_18458.sh
Enter your password, if prompted
Solution no. 3:
I had this problem. Changing the chunksize
in my csv parser to 100 eliminated the error.
Solution no. 4:
I was encountering similar ‘segmentation fault 11' errors but for me it was using mercurial(hg)
This was trying to use Python 2.7.8 installed via the .mpkg installer and pip install mercurial
On OS X 10.9.5
I thought updating to 2.7.8 would have resolved this but it seemed that mercurial was still looking for the System/Library/Frameworks/Python.framework/Versions/2.7
Even after trying to follow this slightly unwise advice Things still weren't working. I would run
would get ‘segmentation fault 11'
The first couple of lines of the stack trace point to this:
In the end my solution seems to have come from (re)installing python with homebrew using that to get the 2.7.8 release (as of Dec 2014)
I then reinstalled mercurial with brew install mercurial which seems to have resolved whatever dependencies where causing this. I wish I understood better what was happening with the Seg fault but couldn't get to the bottom of it.
The best guess I still have is that mercurial was still referencing the system python despite 2.7.8 being installed properly and usr/local/bin being first in the path
/usr/local/bin:usr/local/git/bin:/Library/Frameworks/Python.framework/Versions/2.7/bin:/Library/Frameworks/Python.framework/Versions/3.4/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:~/Develop:/usr/local/git/bin: No such file or directory
So, what I'm suggesting is updating the python install with brew and then reinstalling whatever other packages you depend on.