This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
Created on 2014年03月25日 16:24 by Jona.Sassenhagen, last changed 2022年04月11日 14:58 by admin. This issue is now closed.
| Messages (4) | |||
|---|---|---|---|
| msg214835 - (view) | Author: Jona Sassenhagen (Jona.Sassenhagen) | Date: 2014年03月25日 16:24 | |
Simple OOP segfault CtD using OSX 10.9.2 User@here:~/$ python3 Python 3.3.2 (v3.3.2:d047928ae3f6, May 13 2013, 13:52:24) [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> >>> class Word(object): ... def __init__(self, name, phon, semantics=None, askglobal=None, ask=None, giveglobal=None, give=None): self.name = name self.phon = phon self.semantics = semantics self.askglobal = askglobal self.ask = ask self.giveglobal = giveglobal self.give = give class V(Word): def __init__(self) super().__init__(self,name,phon,semantics=None, askglobal=None, ask=None, giveglobal=None, give=None): self.askglobal = [nom,acc] Segmentation fault: 11 |
|||
| msg214836 - (view) | Author: Jona Sassenhagen (Jona.Sassenhagen) | Date: 2014年03月25日 16:30 | |
In fact this minimal example is sufficient to cause a CtD (OSX 10.9.2): $ python3 Python 3.3.2 (v3.3.2:d047928ae3f6, May 13 2013, 13:52:24) [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> class Word(object): ... def __init__(self): Segmentation fault: 11 |
|||
| msg214837 - (view) | Author: STINNER Victor (vstinner) * (Python committer) | Date: 2014年03月25日 16:35 | |
Please upgrade to Python 3.3.5 or even to Python 3.4 (!) which are already fixed. |
|||
| msg214838 - (view) | Author: Ned Deily (ned.deily) * (Python committer) | Date: 2014年03月25日 16:44 | |
Yes, upgrade. See Issue18458 for details. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:58:00 | admin | set | github: 65263 |
| 2014年03月25日 16:44:26 | ned.deily | set | status: open -> closed superseder: interactive interpreter crashes and test_readline fails on OS X 10.9 Mavericks due to libedit update messages: + msg214838 resolution: duplicate stage: resolved |
| 2014年03月25日 16:35:11 | vstinner | set | nosy:
+ hynek, vstinner, ned.deily messages: + msg214837 |
| 2014年03月25日 16:30:54 | Jona.Sassenhagen | set | messages: + msg214836 |
| 2014年03月25日 16:24:58 | Jona.Sassenhagen | create | |