Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash when calling reset_traits on specific properties. #67

Closed
cfarrow opened this issue Jul 5, 2013 · 5 comments
Closed

Crash when calling reset_traits on specific properties. #67

cfarrow opened this issue Jul 5, 2013 · 5 comments

Comments

@cfarrow
Copy link
Contributor

cfarrow commented Jul 5, 2013

Here's an example script that crashes an interpreter. I have not dug in to determine the nature of the crash.

from traits.api import HasTraits, Int, Property


class CrashMe(HasTraits):
    """ Crashes when reset_traits(['a']) is called.

    This works with Float, Int, Str.
    Not with Any.

    """
    a = Property(Int)

    def crash(self):
        self.reset_traits(['a'])


CrashMe().crash()
print "Hey, I didn't crash!"
@cfarrow
Copy link
Contributor Author

cfarrow commented Jul 5, 2013

This was on 32-bit windows XP.

@cfarrow
Copy link
Contributor Author

cfarrow commented Jul 5, 2013

This is what I get from Python 2.7.3 |EPD 7.3-2 (32-bit).

Process:         Python [7504]
Path:            /Users/cfarrow/Library/EPD/7.3-i386/Resources/Python.app/Contents/MacOS/Python
Identifier:      Python
Version:         ??? (???)
Code Type:       X86 (Native)
Parent Process:  zsh [353]

Date/Time:       2013-07-05 09:59:41.331 -0500
OS Version:      Mac OS X 10.6.8 (10K549)
Report Version:  6

Interval Since Last Report:          21126021 sec
Crashes Since Last Report:           379
Per-App Crashes Since Last Report:   254
Anonymous UUID:                      818A55FB-66E4-406C-818D-023E46FA3885

Exception Type:  EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000000
Crashed Thread:  0  Dispatch queue: com.apple.main-thread

Thread 0 Crashed:  Dispatch queue: com.apple.main-thread
0   ctraits.so                      0x016e8d8e setattr_validate3 + 62 (ctraits.c:2919)
1   ctraits.so                      0x016e87ad setattr_validate_property + 45 (ctraits.c:2847)
2   ctraits.so                      0x016f14dc has_traits_setattro + 284 (ctraits.c:867)
3   org.python.python               0x0005f327 PyObject_SetAttr + 151
4   org.python.python               0x000c0d96 builtin_delattr + 102
5   org.python.python               0x000cb2d1 PyEval_EvalFrameEx + 21649
6   org.python.python               0x000cd02a PyEval_EvalCodeEx + 2042
7   org.python.python               0x000cb253 PyEval_EvalFrameEx + 21523
8   org.python.python               0x000cc053 PyEval_EvalFrameEx + 25107
9   org.python.python               0x000cd02a PyEval_EvalCodeEx + 2042
10  org.python.python               0x000cb9db PyEval_EvalFrameEx + 23451
11  org.python.python               0x000cd02a PyEval_EvalCodeEx + 2042
12  org.python.python               0x000cb253 PyEval_EvalFrameEx + 21523
13  org.python.python               0x000cd02a PyEval_EvalCodeEx + 2042
14  org.python.python               0x000cb253 PyEval_EvalFrameEx + 21523
15  org.python.python               0x000cd02a PyEval_EvalCodeEx + 2042
16  org.python.python               0x000cb253 PyEval_EvalFrameEx + 21523
17  org.python.python               0x000cc053 PyEval_EvalFrameEx + 25107
18  org.python.python               0x000cd02a PyEval_EvalCodeEx + 2042
19  org.python.python               0x000cb253 PyEval_EvalFrameEx + 21523
20  org.python.python               0x000cd02a PyEval_EvalCodeEx + 2042
21  org.python.python               0x000cb253 PyEval_EvalFrameEx + 21523
22  org.python.python               0x000cd02a PyEval_EvalCodeEx + 2042
23  org.python.python               0x000cb9db PyEval_EvalFrameEx + 23451
24  org.python.python               0x000cd02a PyEval_EvalCodeEx + 2042
25  org.python.python               0x000cb253 PyEval_EvalFrameEx + 21523
26  org.python.python               0x000cd02a PyEval_EvalCodeEx + 2042
27  org.python.python               0x000cb253 PyEval_EvalFrameEx + 21523
28  org.python.python               0x000cd02a PyEval_EvalCodeEx + 2042
29  org.python.python               0x000cb253 PyEval_EvalFrameEx + 21523
30  org.python.python               0x000cd02a PyEval_EvalCodeEx + 2042
31  org.python.python               0x000cb253 PyEval_EvalFrameEx + 21523
32  org.python.python               0x000cd02a PyEval_EvalCodeEx + 2042
33  org.python.python               0x000cb253 PyEval_EvalFrameEx + 21523
34  org.python.python               0x000cd02a PyEval_EvalCodeEx + 2042
35  org.python.python               0x000cb253 PyEval_EvalFrameEx + 21523
36  org.python.python               0x000cd02a PyEval_EvalCodeEx + 2042
37  org.python.python               0x000cb253 PyEval_EvalFrameEx + 21523
38  org.python.python               0x000cd02a PyEval_EvalCodeEx + 2042
39  org.python.python               0x000cd1b7 PyEval_EvalCode + 87
40  org.python.python               0x000f1898 PyRun_FileExFlags + 168
41  org.python.python               0x000f27c3 PyRun_SimpleFileExFlags + 867
42  org.python.python               0x0010ba58 Py_Main + 3560
43  org.python.python               0x00001fb6 0x1000 + 4022

Thread 1:
0   libSystem.B.dylib               0x953bdaa2 __semwait_signal + 10
1   libSystem.B.dylib               0x953bd75e _pthread_cond_wait + 1191
2   libSystem.B.dylib               0x953bf3f8 pthread_cond_wait$UNIX2003 + 73
3   org.python.python               0x0010882c PyThread_acquire_lock + 172
4   org.python.python               0x0010d7e3 lock_PyThread_acquire_lock + 83
5   org.python.python               0x000cb2d1 PyEval_EvalFrameEx + 21649
6   org.python.python               0x000cd02a PyEval_EvalCodeEx + 2042
7   org.python.python               0x000cb253 PyEval_EvalFrameEx + 21523
8   org.python.python               0x000cd02a PyEval_EvalCodeEx + 2042
9   org.python.python               0x000cb253 PyEval_EvalFrameEx + 21523
10  org.python.python               0x000cd02a PyEval_EvalCodeEx + 2042
11  org.python.python               0x00042282 function_call + 162
12  org.python.python               0x0000f635 PyObject_Call + 85
13  org.python.python               0x000c889b PyEval_EvalFrameEx + 10843
14  org.python.python               0x000cd02a PyEval_EvalCodeEx + 2042
15  org.python.python               0x000cb253 PyEval_EvalFrameEx + 21523
16  org.python.python               0x000cc053 PyEval_EvalFrameEx + 25107
17  org.python.python               0x000cc053 PyEval_EvalFrameEx + 25107
18  org.python.python               0x000cd02a PyEval_EvalCodeEx + 2042
19  org.python.python               0x00042282 function_call + 162
20  org.python.python               0x0000f635 PyObject_Call + 85
21  org.python.python               0x00021fe6 instancemethod_call + 422
22  org.python.python               0x0000f635 PyObject_Call + 85
23  org.python.python               0x000c4eae PyEval_CallObjectWithKeywords + 78
24  org.python.python               0x0010e18c t_bootstrap + 76
25  libSystem.B.dylib               0x953bd259 _pthread_start + 345
26  libSystem.B.dylib               0x953bd0de thread_start + 34

Thread 0 crashed with X86 Thread State (32-bit):
  eax: 0x00000000  ebx: 0x05faedc8  ecx: 0x0637482c  edx: 0x0016e200
  edi: 0x00220b00  esi: 0x0633ca50  ebp: 0xbfffbe18  esp: 0xbfffbde0
   ss: 0x00000023  efl: 0x00010202  eip: 0x016e8d8e   cs: 0x0000001b
   ds: 0x00000023   es: 0x00000023   fs: 0x00000000   gs: 0x0000000f
  cr2: 0x00000000

Binary Images:
    0x1000 -     0x1ff8 +org.python.python 2.7.3 (2.7.3) <B7F9FE91-AC96-23DF-F8C1-EA3CF0122C51> /Users/cfarrow/Library/EPD/7.3-i386/Resources/Python.app/Contents/MacOS/Python
    0x5000 -   0x144fe3 +org.python.python 2.7.3, (c) 2004-2012 Python Software Foundation. (2.7.3) <119EA2B3-75A7-46DD-2E4A-1EA3E4BB97AA> /Users/cfarrow/Library/EPD/7.3-i386/Python
  0x2de000 -   0x2dffff +time.so ??? (???) <D08703F3-02D5-337F-2ABB-2B8255D80E9E> /Users/cfarrow/Library/EPD/7.3-i386/lib/python2.7/lib-dynload/time.so
  0x2e6000 -   0x2e9ff3 +_collections.so ??? (???) <00C78753-80C8-D87D-4AEE-2C07926734D6> /Users/cfarrow/Library/EPD/7.3-i386/lib/python2.7/lib-dynload/_collections.so
  0x2ef000 -   0x2f2ff7 +operator.so ??? (???) <57A3BC94-2264-3534-B786-3323BFE1B930> /Users/cfarrow/Library/EPD/7.3-i386/lib/python2.7/lib-dynload/operator.so
  0x2f9000 -   0x2f9ff5 +_bisect.so ??? (???) <BE470001-BC26-0845-32D0-5755DBDFF53D> /Users/cfarrow/Library/EPD/7.3-i386/lib/python2.7/lib-dynload/_bisect.so
  0x440000 -   0x445ff6 +itertools.so ??? (???) <CE3199F1-EC6E-BC6A-EE31-4A3051DFA49A> /Users/cfarrow/Library/EPD/7.3-i386/lib/python2.7/lib-dynload/itertools.so
  0x44e000 -   0x44fff9 +_heapq.so ??? (???) <97BC59E6-31E3-3AB4-8EF8-1404A287E48B> /Users/cfarrow/Library/EPD/7.3-i386/lib/python2.7/lib-dynload/_heapq.so
  0x454000 -   0x457fff +strop.so ??? (???) <DEE407F0-0F37-19CA-E2E4-B7B627CEE7B8> /Users/cfarrow/Library/EPD/7.3-i386/lib/python2.7/lib-dynload/strop.so
  0x49d000 -   0x49fff2 +binascii.so ??? (???) <3ADAB0FD-B3C7-E1EB-2374-4D41DE22934A> /Users/cfarrow/Library/EPD/7.3-i386/lib/python2.7/lib-dynload/binascii.so
  0x4a4000 -   0x4b0fff +datetime.so ??? (???) <73B65845-1148-6BEB-252F-DF77EC8E983A> /Users/cfarrow/Library/EPD/7.3-i386/lib/python2.7/lib-dynload/datetime.so
  0x4bb000 -   0x4bcfff +cStringIO.so ??? (???) <523543A0-B849-C675-34FC-31BC1A1F5ABD> /Users/cfarrow/Library/EPD/7.3-i386/lib/python2.7/lib-dynload/cStringIO.so
  0x4c1000 -   0x4f0fe7 +pyexpat.so ??? (???) <00104B2B-EE2C-A2B7-8657-63A4A6B984CB> /Users/cfarrow/Library/EPD/7.3-i386/lib/python2.7/lib-dynload/pyexpat.so
  0x5a0000 -   0x5a1ff3 +_functools.so ??? (???) <33CA429F-D239-3953-D75C-CE5D65602447> /Users/cfarrow/Library/EPD/7.3-i386/lib/python2.7/lib-dynload/_functools.so
  0x5a5000 -   0x5a6ff4 +_locale.so ??? (???) <5BB18782-353E-A0B0-1844-AF15DBC5DDD6> /Users/cfarrow/Library/EPD/7.3-i386/lib/python2.7/lib-dynload/_locale.so
  0x5aa000 -   0x5adfff +_struct.so ??? (???) <55AAC0F0-39BB-822C-B47F-02992084B2AC> /Users/cfarrow/Library/EPD/7.3-i386/lib/python2.7/lib-dynload/_struct.so
  0x5b4000 -   0x5b8fef +math.so ??? (???) <2741353A-0668-C3A5-8B2B-54CA3DF85BEF> /Users/cfarrow/Library/EPD/7.3-i386/lib/python2.7/lib-dynload/math.so
  0x5be000 -   0x5befff +_hashlib.so ??? (???) <03DCF7A6-6241-6D7C-9C12-4DB417AE4B72> /Users/cfarrow/Library/EPD/7.3-i386/lib/python2.7/lib-dynload/_hashlib.so
  0x5c2000 -   0x5e8fff  libssl.0.9.7.dylib 0.9.7 (compatibility 0.9.7) <1C17D1BE-1E54-70CF-07B2-86E5DA647C81> /usr/lib/libssl.0.9.7.dylib
  0x5f7000 -   0x6acfe7  libcrypto.0.9.7.dylib 0.9.7 (compatibility 0.9.7) <78B6EEB6-50D9-4479-D1A5-B4C381A07E4D> /usr/lib/libcrypto.0.9.7.dylib
  0x6f2000 -   0x6f5ffe +_sha256.so ??? (???) <AE90C96A-0681-981E-AA9B-056B06DF2C97> /Users/cfarrow/Library/EPD/7.3-i386/lib/python2.7/lib-dynload/_sha256.so
  0x6f9000 -   0x706ff1 +_sha512.so ??? (???) <2CAF1393-41E1-D922-3BEB-D42344886614> /Users/cfarrow/Library/EPD/7.3-i386/lib/python2.7/lib-dynload/_sha512.so
  0x70a000 -   0x70bfff +_random.so ??? (???) <ECB86AF7-775F-D12E-51F9-666A48C8E6DF> /Users/cfarrow/Library/EPD/7.3-i386/lib/python2.7/lib-dynload/_random.so
  0x70f000 -   0x710ff0 +fcntl.so ??? (???) <8FFD96C6-476E-7EDD-B44D-E0A553A88F78> /Users/cfarrow/Library/EPD/7.3-i386/lib/python2.7/lib-dynload/fcntl.so
  0x754000 -   0x756fff +select.so ??? (???) <1A7E9972-019F-DC35-CA15-782B42F9500D> /Users/cfarrow/Library/EPD/7.3-i386/lib/python2.7/lib-dynload/select.so
  0x75c000 -   0x75cfff +resource.so ??? (???) <93C33335-B302-78EF-FCBC-D282534F499A> /Users/cfarrow/Library/EPD/7.3-i386/lib/python2.7/lib-dynload/resource.so
  0x760000 -   0x761ffe +termios.so ??? (???) <7B91DCF8-B2BE-CC83-334E-95195991EDDF> /Users/cfarrow/Library/EPD/7.3-i386/lib/python2.7/lib-dynload/termios.so
  0x766000 -   0x766ff7 +grp.so ??? (???) <567F7556-8177-A97B-ED74-F74CDE1EC6B7> /Users/cfarrow/Library/EPD/7.3-i386/lib/python2.7/lib-dynload/grp.so
  0x7ea000 -   0x7f5ff7 +_curses.so ??? (???) <C01A03BC-6A26-6954-6BCC-CDB2960EC663> /Users/cfarrow/Library/EPD/7.3-i386/lib/python2.7/lib-dynload/_curses.so
 0x10c0000 -  0x10d2fff +_io.so ??? (???) <540E8757-62AD-0FEB-23C8-B9FF967FD1EE> /Users/cfarrow/Library/EPD/7.3-i386/lib/python2.7/lib-dynload/_io.so
 0x10e6000 -  0x1186fe5 +_sqlite3.so ??? (???) <23C82AD8-385E-4BD7-007E-9CC7F2D79EE6> /Users/cfarrow/Library/EPD/7.3-i386/lib/python2.7/lib-dynload/_sqlite3.so
 0x11e1000 -  0x11e8fff +_socket.so ??? (???) <ED47EC65-906C-79EE-85B6-BB2E13C470C3> /Users/cfarrow/Library/EPD/7.3-i386/lib/python2.7/lib-dynload/_socket.so
 0x11f1000 -  0x11f4fff +_ssl.so ??? (???) <03245FDE-0591-21AC-73BB-351BA11C7C9B> /Users/cfarrow/Library/EPD/7.3-i386/lib/python2.7/lib-dynload/_ssl.so
 0x11fa000 -  0x11faff0 +_scproxy.so ??? (???) <5CFAFDEE-6A79-867C-2D76-B39DB039616E> /Users/cfarrow/Library/EPD/7.3-i386/lib/python2.7/lib-dynload/_scproxy.so
 0x123e000 -  0x1250ff7 +_ctypes.so ??? (???) <DA0C1B0F-32A6-CE20-DBCA-A3012AB0C224> /Users/cfarrow/Library/EPD/7.3-i386/lib/python2.7/lib-dynload/_ctypes.so
 0x125e000 -  0x1263fff +_json.so ??? (???) <AAB7CDD5-2F9F-D56F-80AD-2B6D5343FD00> /Users/cfarrow/Library/EPD/7.3-i386/lib/python2.7/lib-dynload/_json.so
 0x12a8000 -  0x12acff5 +array.so ??? (???) <F3F9F0D2-33A3-318B-3243-E0CF2AC59597> /Users/cfarrow/Library/EPD/7.3-i386/lib/python2.7/lib-dynload/array.so
 0x12b4000 -  0x12b5fff +_lsprof.so ??? (???) <852839FB-C3ED-1669-65D0-6657C5739861> /Users/cfarrow/Library/EPD/7.3-i386/lib/python2.7/lib-dynload/_lsprof.so
 0x12ba000 -  0x12c8fff +cPickle.so ??? (???) <3796F603-A9CA-B9A3-54C9-33EE2BADB9B5> /Users/cfarrow/Library/EPD/7.3-i386/lib/python2.7/lib-dynload/cPickle.so
 0x12ed000 -  0x12f2fff +_dotblas.so ??? (???) <2CD5C8E6-AFE5-3610-895A-DD156FB85863> /Users/cfarrow/Library/EPD/7.3-i386/lib/python2.7/site-packages/numpy/core/_dotblas.so
 0x12f6000 -  0x12fafff +_compiled_base.so ??? (???) <66847678-6EEC-33FB-AC6F-C59C6909A2D8> /Users/cfarrow/Library/EPD/7.3-i386/lib/python2.7/site-packages/numpy/lib/_compiled_base.so
 0x1440000 -  0x147cfe7 +readline.so ??? (???) <2323C86A-FE43-D0D6-F92D-3E3FB4897E2F> /Users/cfarrow/Library/EPD/7.3-i386/lib/python2.7/lib-dynload/readline.so
 0x14e0000 -  0x14e5ff5 +lapack_lite.so ??? (???) <3CB9D9F4-DF7C-37DE-B6CB-A944DAB3BCE1> /Users/cfarrow/Library/EPD/7.3-i386/lib/python2.7/site-packages/numpy/linalg/lapack_lite.so
 0x14e9000 -  0x14eafff +mkldft.so ??? (???) <36E039C5-5956-8C08-0C9E-4B4FA436A3DD> /Users/cfarrow/Library/EPD/7.3-i386/lib/python2.7/site-packages/fastnumpy/mkldft.so
 0x14ee000 -  0x14f8fff +fftpack_lite.so ??? (???) <B98B1D6A-5E6D-3951-8E22-3226317B4933> /Users/cfarrow/Library/EPD/7.3-i386/lib/python2.7/site-packages/numpy/fft/fftpack_lite.so
 0x1640000 -  0x1684ff7 +umath.so ??? (???) <1FE495F3-B011-3977-8434-53DFC32B8AF6> /Users/cfarrow/Library/EPD/7.3-i386/lib/python2.7/site-packages/numpy/core/umath.so
 0x16e8000 -  0x16f2ff2 +ctraits.so ??? (???) <5C238264-8143-3644-AD38-D3114A2ECE3D> /Users/cfarrow/projects/traits/traits/ctraits.so
 0x2900000 -  0x29fafe7 +multiarray.so ??? (???) <8B13D1F2-5786-3E3D-BC8D-981A6097C7E4> /Users/cfarrow/Library/EPD/7.3-i386/lib/python2.7/site-packages/numpy/core/multiarray.so
 0x2a7f000 -  0x2d2afe7 +libmkl_intel.dylib ??? (???) <41E7E26E-C7D0-7E8D-79CF-D495C1D32A82> /Users/cfarrow/Library/EPD/7.3-i386/lib/libmkl_intel.dylib
 0x2df9000 -  0x3409fe7 +libmkl_intel_thread.dylib ??? (???) <0B7878F1-C5F6-5506-E414-22723C840617> /Users/cfarrow/Library/EPD/7.3-i386/lib/libmkl_intel_thread.dylib
 0x3778000 -  0x407dfe7 +libmkl_core.dylib ??? (???) <8394EC87-67F8-4633-567B-7FDFDB85E980> /Users/cfarrow/Library/EPD/7.3-i386/lib/libmkl_core.dylib
 0x41c2000 -  0x5049fef +libmkl_p4m.dylib ??? (???) <E790E2DD-A13E-8F59-5744-3F91E9F47EC5> /Users/cfarrow/Library/EPD/7.3-i386/lib/libmkl_p4m.dylib
 0x50fe000 -  0x5dc3feb +libmkl_p4p.dylib ??? (???) <A40DC0CD-545D-8482-5923-EB531F9BB81A> /Users/cfarrow/Library/EPD/7.3-i386/lib/libmkl_p4p.dylib
 0x5e78000 -  0x5ee3fe3 +libiomp5.dylib 5.0.0 (compatibility 5.0.0) <4350B779-96B4-27AD-5F5D-195282757171> /Users/cfarrow/Library/EPD/7.3-i386/lib/libiomp5.dylib
 0x5f08000 -  0x5f2aff7 +scalarmath.so ??? (???) <4C11667D-13F0-30AD-9FAC-59ACCD1AD526> /Users/cfarrow/Library/EPD/7.3-i386/lib/python2.7/site-packages/numpy/core/scalarmath.so
 0x603a000 -  0x607dfff +mtrand.so ??? (???) <10738519-F1CC-3096-9B54-BB0F3120B46F> /Users/cfarrow/Library/EPD/7.3-i386/lib/python2.7/site-packages/numpy/random/mtrand.so
 0x6341000 -  0x634bff2 +_speedups.so ??? (???) <3366B6AC-CE54-375B-B727-21161099FDD7> /Users/cfarrow/projects/traits/traits/protocols/_speedups.so
0x8fe00000 - 0x8fe4163b  dyld 132.1 (???) <67866EA0-11AD-E175-066C-48E996265855> /usr/lib/dyld
0x90507000 - 0x90571fe7  libstdc++.6.dylib 7.9.0 (compatibility 7.0.0) <411D87F4-B7E1-44EB-F201-F8B4F9227213> /usr/lib/libstdc++.6.dylib
0x916b4000 - 0x9182ffe7  com.apple.CoreFoundation 6.6.6 (550.44) <F88C95CD-1264-782D-A1F5-204739847E93> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x918ed000 - 0x9199afe7  libobjc.A.dylib 227.0.0 (compatibility 1.0.0) <9F8413A6-736D-37D9-8EB3-7986D4699957> /usr/lib/libobjc.A.dylib
0x930b4000 - 0x930c2fe7  libz.1.dylib 1.2.3 (compatibility 1.0.0) <E1B922F4-23DC-467E-631F-7E1B9C9F51CB> /usr/lib/libz.1.dylib
0x9538f000 - 0x95536ff7  libSystem.B.dylib 125.2.11 (compatibility 1.0.0) <2DCD13E3-1BD1-6F25-119A-3863A3848B90> /usr/lib/libSystem.B.dylib
0x96aea000 - 0x96b27ff7  com.apple.SystemConfiguration 1.10.9 (1.10.2) <5C0F72C2-177E-675A-8677-9BC4205B4A98> /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration
0x98ae7000 - 0x98b2dff7  libauto.dylib ??? (???) <7CB1AB76-50A2-8E56-66E4-CF51CA75B177> /usr/lib/libauto.dylib
0x99495000 - 0x994cdfe7  libncurses.5.4.dylib 5.4.0 (compatibility 5.4.0) <12EF33B7-083C-1E28-D846-69DC55287E0D> /usr/lib/libncurses.5.4.dylib
0x994ce000 - 0x99650fe7  libicucore.A.dylib 40.0.0 (compatibility 1.0.0) <60FF302E-5FAE-749B-BC70-0496DC2FBF2D> /usr/lib/libicucore.A.dylib
0x99ffd000 - 0x9a000fe7  libmathCommon.A.dylib 315.0.0 (compatibility 1.0.0) <1622A54F-1A98-2CBE-B6A4-2122981A500E> /usr/lib/system/libmathCommon.A.dylib
0xffff0000 - 0xffff1fff  libSystem.B.dylib ??? (???) <2DCD13E3-1BD1-6F25-119A-3863A3848B90> /usr/lib/libSystem.B.dylib

Model: MacBookPro8,2, BootROM MBP81.0047.B27, 4 processors, Intel Core i7, 2.3 GHz, 8 GB, SMC 1.69f4
Graphics: AMD Radeon HD 6750M, AMD Radeon HD 6750M, PCIe, 1024 MB
Graphics: Intel HD Graphics 3000, Intel HD Graphics 3000, Built-In, 512 MB
Memory Module: global_name
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0xD6), Broadcom BCM43xx 1.0 5.100.198.104.5)
Bluetooth: Version 2.4.5f3, 2 service, 19 devices, 1 incoming serial ports
Network Service: Ethernet, Ethernet, en0
Network Service: AirPort, AirPort, en1
Serial ATA Device: APPLE SSD TS256C, 233.76 GB
Serial ATA Device: MATSHITADVD-R   UJ-8A8
USB Device: FaceTime HD Camera (Built-in), 0x05ac  (Apple Inc.), 0x8509, 0xfa200000 / 3
USB Device: Hub, 0x0424  (SMSC), 0x2513, 0xfa100000 / 2
USB Device: DASAN, 0x074d  (Micronas GmbH), 0x3556, 0xfa130000 / 6
USB Device: Apple Internal Keyboard / Trackpad, 0x05ac  (Apple Inc.), 0x0245, 0xfa120000 / 5
USB Device: BRCM2070 Hub, 0x0a5c  (Broadcom Corp.), 0x4500, 0xfa110000 / 4
USB Device: Bluetooth USB Host Controller, 0x05ac  (Apple Inc.), 0x821a, 0xfa113000 / 8
USB Device: Hub, 0x0424  (SMSC), 0x2513, 0xfd100000 / 2
USB Device: Hub, 0x05ac  (Apple Inc.), 0x9126, 0xfd120000 / 4
USB Device: Keyboard Hub, 0x05ac  (Apple Inc.), 0x1006, 0xfd121000 / 8
USB Device: Apple Keyboard, 0x05ac  (Apple Inc.), 0x0220, 0xfd121200 / 9
USB Device: Apple LED Cinema Display, 0x05ac  (Apple Inc.), 0x9226, 0xfd126000 / 6
USB Device: Display Audio, 0x05ac  (Apple Inc.), 0x1105, 0xfd124000 / 7
USB Device: Display iSight, 0x05ac  (Apple Inc.), 0x8508, 0xfd125000 / 5
USB Device: IR Receiver, 0x05ac  (Apple Inc.), 0x8242, 0xfd110000 / 3
FireWire Device: GoFlex Mac, Seagate, Up to 800 Mb/sec

@pankajp
Copy link
Contributor

pankajp commented Jul 5, 2013

A bit more informative trace on linux:

Program received signal SIGSEGV, Segmentation fault.
setattr_validate3 (trait=0x86a1b0, obj=0x7ffff7af9290, name='a', value=0x0)
at traits/ctraits.c:2919
2919        Py_INCREF( value );
(gdb) bt
#0  setattr_validate3 (trait=0x86a1b0, obj=0x7ffff7af9290, name='a',
value=0x0) at traits/ctraits.c:2919
#1  0x00007ffff12a22d8 in setattr_validate_property (traito=0x86a1b0,
traitd=0x86a1b0, obj=0x7ffff7af9290, name='a', value=<optimized out>) at
traits/ctraits.c:2847
#2  0x00007ffff7ccfb54 in PyObject_SetAttr (v=<CrashMe at remote
0x7ffff7af9290>, name='a', value=0x0) at Objects/object.c:1245
#3  0x00007ffff7d1e1c5 in builtin_delattr (self=<optimized out>,
args=<optimized out>) at Python/bltinmodule.c:1155
#4  0x00007ffff7d29d51 in call_function (oparg=<optimized out>,
pp_stack=<optimized out>) at Python/ceval.c:4013
#5  PyEval_EvalFrameEx (f=Frame 0x6e3050, for file
/home/pankaj/work/enthought/ETS/traits/traits/has_traits.py, line 1836, in
reset_traits (self=<CrashMe at remote 0x7ffff7af9290>, traits=['a'],
metadata={}, unresetable=[], name='a'),
    throwflag=<optimized out>) at Python/ceval.c:2666
#6  0x00007ffff7d2a722 in PyEval_EvalCodeEx (co=0x7ffff12827b0,
globals=<optimized out>, locals=<optimized out>, args=0x6e3010, argcount=2,
kws=0x6e3020, kwcount=0, defs=0x7fffeecca6e8, defcount=1, closure=0x0) at
Python/ceval.c:3253
#7  0x00007ffff7d286b6 in call_function (oparg=<optimized out>,
pp_stack=<optimized out>) at Python/ceval.c:4109
#8  PyEval_EvalFrameEx (f=Frame 0x6e2e90, for file trait_reset_crash.py,
line 15, in crash (self=<CrashMe at remote 0x7ffff7af9290>),
throwflag=<optimized out>) at Python/ceval.c:2666
#9  0x00007ffff7d29093 in call_function (oparg=<optimized out>,
pp_stack=<optimized out>) at Python/ceval.c:4099
#10 PyEval_EvalFrameEx (f=Frame 0x6ddce0, for file trait_reset_crash.py,
line 18, in <module> (), throwflag=<optimized out>) at Python/ceval.c:2666
#11 0x00007ffff7d2a722 in PyEval_EvalCodeEx (co=0x7ffff7b0b6b0,
globals=<optimized out>, locals=<optimized out>, args=0x0, argcount=0,
kws=0x0, kwcount=0, defs=0x0, defcount=0, closure=0x0) at
Python/ceval.c:3253
#12 0x00007ffff7d2a772 in PyEval_EvalCode (co=0x3, globals=(<CrashMe at
remote 0x7ffff7af9290>, 'a', 0x0), locals=0x0) at Python/ceval.c:667
#13 0x00007ffff7d44432 in run_mod (mod=<optimized out>, filename=<optimized
out>, globals=
    {'__builtins__': <module at remote 0x7ffff7bddad0>, '__file__':
'trait_reset_crash.py', '__package__': None, 'Int': <type at remote
0x7833e0>, 'HasTraits': <MetaHasTraits(_add_trait_category=<classmethod at
remote 0x7fffeeccb280>, _init_trait_property_listener=<function at remote
0x7fffeecd1e60>, class_trait_view=<classmethod at remote 0x7fffeeccb1a0>,
__prefix_traits__={'': <CTrait(type='python') at remote 0x7fffeeccd7e0>,
'*': ['_traits_cache_', ''], '_traits_cache_': <CTrait(transient=True,
type='trait', private=True) at remote 0x7fffeeccd520>},
reset_traits=<function at remote 0x7fffeecce578>, __getstate__=<function at
remote 0x7fffeecce2a8>, sync_trait=<function at remote 0x7fffeecd1050>,
_get_sync_trait_info=<function at remote 0x7fffeecd10c8>,
_list_items_changed_handler=<function at remote 0x7fffeecd1b90>,
trait_subclasses=<classmethod at remote 0x7fffeeccba98>,
trait_view_elements=<function at remote 0x7fffeeccec08>,
__weakref__=<getset_descriptor at remote 0x7fffeecd3170>,
_is_list_trait=<function a...(truncated), locals=
    {'__builtins__': <module at remote 0x7ffff7bddad0>, '__file__':
'trait_reset_crash.py', '__package__': None, 'Int': <type at remote
0x7833e0>, 'HasTraits': <MetaHasTraits(_add_trait_category=<classmethod at
remote 0x7fffeeccb280>, _init_trait_property_listener=<function at remote
0x7fffeecd1e60>, class_trait_view=<classmethod at remote 0x7fffeeccb1a0>,
__prefix_traits__={'': <CTrait(type='python') at remote 0x7fffeeccd7e0>,
'*': ['_traits_cache_', ''], '_traits_cache_': <CTrait(transient=True,
type='trait', private=True) at remote 0x7fffeeccd520>},
reset_traits=<function at remote 0x7fffeecce578>, __getstate__=<function at
remote 0x7fffeecce2a8>, sync_trait=<function at remote 0x7fffeecd1050>,
_get_sync_trait_info=<function at remote 0x7fffeecd10c8>,
_list_items_changed_handler=<function at remote 0x7fffeecd1b90>,
trait_subclasses=<classmethod at remote 0x7fffeeccba98>,
trait_view_elements=<function at remote 0x7fffeeccec08>,
__weakref__=<getset_descriptor at remote 0x7fffeecd3170>,
_is_list_trait=<function a...(truncated), flags=<optimized out>,
arena=<optimized out>) at Python/pythonrun.c:1346
#14 0x00007ffff7d44506 in PyRun_FileExFlags (fp=0x6cbb60,
filename=0x7fffffffe086 "trait_reset_crash.py", start=257, globals=
    {'__builtins__': <module at remote 0x7ffff7bddad0>, '__file__':
'trait_reset_crash.py', '__package__': None, 'Int': <type at remote
0x7833e0>, 'HasTraits': <MetaHasTraits(_add_trait_category=<classmethod at
remote 0x7fffeeccb280>, _init_trait_property_listener=<function at remote
0x7fffeecd1e60>, class_trait_view=<classmethod at remote 0x7fffeeccb1a0>,
__prefix_traits__={'': <CTrait(type='python') at remote 0x7fffeeccd7e0>,
'*': ['_traits_cache_', ''], '_traits_cache_': <CTrait(transient=True,
type='trait', private=True) at remote 0x7fffeeccd520>},
reset_traits=<function at remote 0x7fffeecce578>, __getstate__=<function at
remote 0x7fffeecce2a8>, sync_trait=<function at remote 0x7fffeecd1050>,
_get_sync_trait_info=<function at remote 0x7fffeecd10c8>,
_list_items_changed_handler=<function at remote 0x7fffeecd1b90>,
trait_subclasses=<classmethod at remote 0x7fffeeccba98>,
trait_view_elements=<function at remote 0x7fffeeccec08>,
__weakref__=<getset_descriptor at remote 0x7fffeecd3170>,
_is_list_trait=<function a...(truncated), locals=
    {'__builtins__': <module at remote 0x7ffff7bddad0>, '__file__':
'trait_reset_crash.py', '__package__': None, 'Int': <type at remote
0x7833e0>, 'HasTraits': <MetaHasTraits(_add_trait_category=<classmethod at
remote 0x7fffeeccb280>, _init_trait_property_listener=<function at remote
0x7fffeecd1e60>, class_trait_view=<classmethod at remote 0x7fffeeccb1a0>,
__prefix_traits__={'': <CTrait(type='python') at remote 0x7fffeeccd7e0>,
'*': ['_traits_cache_', ''], '_traits_cache_': <CTrait(transient=True,
type='trait', private=True) at remote 0x7fffeeccd520>},
reset_traits=<function at remote 0x7fffeecce578>, __getstate__=<function at
remote 0x7fffeecce2a8>, sync_trait=<function at remote 0x7fffeecd1050>,
_get_sync_trait_info=<function at remote 0x7fffeecd10c8>,
_list_items_changed_handler=<function at remote 0x7fffeecd1b90>,
trait_subclasses=<classmethod at remote 0x7fffeeccba98>,
trait_view_elements=<function at remote 0x7fffeeccec08>,
__weakref__=<getset_descriptor at remote 0x7fffeecd3170>,
_is_list_trait=<function a...(truncated), closeit=1, flags=0x7fffffffdba0)
at Python/pythonrun.c:1332
#15 0x00007ffff7d45a67 in PyRun_SimpleFileExFlags (fp=<optimized out>,
filename=0x7fffffffe086 "trait_reset_crash.py", closeit=1,
flags=0x7fffffffdba0) at Python/pythonrun.c:936
#16 0x00007ffff7d561e2 in Py_Main (argc=1, argv=0x7fffffffdcc8) at
Modules/main.c:689
#17 0x0000003a82821a05 in __libc_start_main (main=0x4007b0 <main>, argc=2,
ubp_av=0x7fffffffdcc8, init=<optimized out>, fini=<optimized out>,
rtld_fini=<optimized out>, stack_end=0x7fffffffdcb8) at libc-start.c:225
#18 0x00000000004006f9 in _start ()

On Fri, Jul 5, 2013 at 8:30 PM, Chris Farrow notifications@github.comwrote:

This is what I get from Python 2.7.3 |EPD 7.3-2 (32-bit).

Process: Python [7504]
Path: /Users/cfarrow/Library/EPD/7.3-i386/Resources/Python.app/Contents/MacOS/Python
Identifier: Python
Version: ??? (???)
Code Type: X86 (Native)
Parent Process: zsh [353]

Date/Time: 2013-07-05 09:59:41.331 -0500
OS Version: Mac OS X 10.6.8 (10K549)
Report Version: 6

Interval Since Last Report: 21126021 sec
Crashes Since Last Report: 379
Per-App Crashes Since Last Report: 254
Anonymous UUID: 818A55FB-66E4-406C-818D-023E46FA3885

Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000000
Crashed Thread: 0 Dispatch queue: com.apple.main-thread

Thread 0 Crashed: Dispatch queue: com.apple.main-thread
0 ctraits.so 0x016e8d8e setattr_validate3 + 62 (ctraits.c:2919)
1 ctraits.so 0x016e87ad setattr_validate_property + 45 (ctraits.c:2847)
2 ctraits.so 0x016f14dc has_traits_setattro + 284 (ctraits.c:867)
3 org.python.python 0x0005f327 PyObject_SetAttr + 151
4 org.python.python 0x000c0d96 builtin_delattr + 102
5 org.python.python 0x000cb2d1 PyEval_EvalFrameEx + 21649
6 org.python.python 0x000cd02a PyEval_EvalCodeEx + 2042
7 org.python.python 0x000cb253 PyEval_EvalFrameEx + 21523
8 org.python.python 0x000cc053 PyEval_EvalFrameEx + 25107
9 org.python.python 0x000cd02a PyEval_EvalCodeEx + 2042
10 org.python.python 0x000cb9db PyEval_EvalFrameEx + 23451
11 org.python.python 0x000cd02a PyEval_EvalCodeEx + 2042
12 org.python.python 0x000cb253 PyEval_EvalFrameEx + 21523
13 org.python.python 0x000cd02a PyEval_EvalCodeEx + 2042
14 org.python.python 0x000cb253 PyEval_EvalFrameEx + 21523
15 org.python.python 0x000cd02a PyEval_EvalCodeEx + 2042
16 org.python.python 0x000cb253 PyEval_EvalFrameEx + 21523
17 org.python.python 0x000cc053 PyEval_EvalFrameEx + 25107
18 org.python.python 0x000cd02a PyEval_EvalCodeEx + 2042
19 org.python.python 0x000cb253 PyEval_EvalFrameEx + 21523
20 org.python.python 0x000cd02a PyEval_EvalCodeEx + 2042
21 org.python.python 0x000cb253 PyEval_EvalFrameEx + 21523
22 org.python.python 0x000cd02a PyEval_EvalCodeEx + 2042
23 org.python.python 0x000cb9db PyEval_EvalFrameEx + 23451
24 org.python.python 0x000cd02a PyEval_EvalCodeEx + 2042
25 org.python.python 0x000cb253 PyEval_EvalFrameEx + 21523
26 org.python.python 0x000cd02a PyEval_EvalCodeEx + 2042
27 org.python.python 0x000cb253 PyEval_EvalFrameEx + 21523
28 org.python.python 0x000cd02a PyEval_EvalCodeEx + 2042
29 org.python.python 0x000cb253 PyEval_EvalFrameEx + 21523
30 org.python.python 0x000cd02a PyEval_EvalCodeEx + 2042
31 org.python.python 0x000cb253 PyEval_EvalFrameEx + 21523
32 org.python.python 0x000cd02a PyEval_EvalCodeEx + 2042
33 org.python.python 0x000cb253 PyEval_EvalFrameEx + 21523
34 org.python.python 0x000cd02a PyEval_EvalCodeEx + 2042
35 org.python.python 0x000cb253 PyEval_EvalFrameEx + 21523
36 org.python.python 0x000cd02a PyEval_EvalCodeEx + 2042
37 org.python.python 0x000cb253 PyEval_EvalFrameEx + 21523
38 org.python.python 0x000cd02a PyEval_EvalCodeEx + 2042
39 org.python.python 0x000cd1b7 PyEval_EvalCode + 87
40 org.python.python 0x000f1898 PyRun_FileExFlags + 168
41 org.python.python 0x000f27c3 PyRun_SimpleFileExFlags + 867
42 org.python.python 0x0010ba58 Py_Main + 3560
43 org.python.python 0x00001fb6 0x1000 + 4022

Thread 1:
0 libSystem.B.dylib 0x953bdaa2 __semwait_signal + 10
1 libSystem.B.dylib 0x953bd75e _pthread_cond_wait + 1191
2 libSystem.B.dylib 0x953bf3f8 pthread_cond_wait$UNIX2003 + 73
3 org.python.python 0x0010882c PyThread_acquire_lock + 172
4 org.python.python 0x0010d7e3 lock_PyThread_acquire_lock + 83
5 org.python.python 0x000cb2d1 PyEval_EvalFrameEx + 21649
6 org.python.python 0x000cd02a PyEval_EvalCodeEx + 2042
7 org.python.python 0x000cb253 PyEval_EvalFrameEx + 21523
8 org.python.python 0x000cd02a PyEval_EvalCodeEx + 2042
9 org.python.python 0x000cb253 PyEval_EvalFrameEx + 21523
10 org.python.python 0x000cd02a PyEval_EvalCodeEx + 2042
11 org.python.python 0x00042282 function_call + 162
12 org.python.python 0x0000f635 PyObject_Call + 85
13 org.python.python 0x000c889b PyEval_EvalFrameEx + 10843
14 org.python.python 0x000cd02a PyEval_EvalCodeEx + 2042
15 org.python.python 0x000cb253 PyEval_EvalFrameEx + 21523
16 org.python.python 0x000cc053 PyEval_EvalFrameEx + 25107
17 org.python.python 0x000cc053 PyEval_EvalFrameEx + 25107
18 org.python.python 0x000cd02a PyEval_EvalCodeEx + 2042
19 org.python.python 0x00042282 function_call + 162
20 org.python.python 0x0000f635 PyObject_Call + 85
21 org.python.python 0x00021fe6 instancemethod_call + 422
22 org.python.python 0x0000f635 PyObject_Call + 85
23 org.python.python 0x000c4eae PyEval_CallObjectWithKeywords + 78
24 org.python.python 0x0010e18c t_bootstrap + 76
25 libSystem.B.dylib 0x953bd259 _pthread_start + 345
26 libSystem.B.dylib 0x953bd0de thread_start + 34

Thread 0 crashed with X86 Thread State (32-bit):
eax: 0x00000000 ebx: 0x05faedc8 ecx: 0x0637482c edx: 0x0016e200
edi: 0x00220b00 esi: 0x0633ca50 ebp: 0xbfffbe18 esp: 0xbfffbde0
ss: 0x00000023 efl: 0x00010202 eip: 0x016e8d8e cs: 0x0000001b
ds: 0x00000023 es: 0x00000023 fs: 0x00000000 gs: 0x0000000f
cr2: 0x00000000

Binary Images:
0x1000 - 0x1ff8 +org.python.python 2.7.3 (2.7.3) /Users/cfarrow/Library/EPD/7.3-i386/Resources/Python.app/Contents/MacOS/Python
0x5000 - 0x144fe3 +org.python.python 2.7.3, (c) 2004-2012 Python Software Foundation. (2.7.3) <119EA2B3-75A7-46DD-2E4A-1EA3E4BB97AA> /Users/cfarrow/Library/EPD/7.3-i386/Python
0x2de000 - 0x2dffff +time.so ??? (???) /Users/cfarrow/Library/EPD/7.3-i386/lib/python2.7/lib-dynload/time.so
0x2e6000 - 0x2e9ff3 +_collections.so ??? (???) <00C78753-80C8-D87D-4AEE-2C07926734D6> /Users/cfarrow/Library/EPD/7.3-i386/lib/python2.7/lib-dynload/_collections.so
0x2ef000 - 0x2f2ff7 +operator.so ??? (???) <57A3BC94-2264-3534-B786-3323BFE1B930> /Users/cfarrow/Library/EPD/7.3-i386/lib/python2.7/lib-dynload/operator.so
0x2f9000 - 0x2f9ff5 +_bisect.so ??? (???) /Users/cfarrow/Library/EPD/7.3-i386/lib/python2.7/lib-dynload/_bisect.so
0x440000 - 0x445ff6 +itertools.so ??? (???) /Users/cfarrow/Library/EPD/7.3-i386/lib/python2.7/lib-dynload/itertools.so
0x44e000 - 0x44fff9 +_heapq.so ??? (???) <97BC59E6-31E3-3AB4-8EF8-1404A287E48B> /Users/cfarrow/Library/EPD/7.3-i386/lib/python2.7/lib-dynload/_heapq.so
0x454000 - 0x457fff +strop.so ??? (???) /Users/cfarrow/Library/EPD/7.3-i386/lib/python2.7/lib-dynload/strop.so
0x49d000 - 0x49fff2 +binascii.so ??? (???) <3ADAB0FD-B3C7-E1EB-2374-4D41DE22934A> /Users/cfarrow/Library/EPD/7.3-i386/lib/python2.7/lib-dynload/binascii.so
0x4a4000 - 0x4b0fff +datetime.so ??? (???) <73B65845-1148-6BEB-252F-DF77EC8E983A> /Users/cfarrow/Library/EPD/7.3-i386/lib/python2.7/lib-dynload/datetime.so
0x4bb000 - 0x4bcfff +cStringIO.so ??? (???) <523543A0-B849-C675-34FC-31BC1A1F5ABD> /Users/cfarrow/Library/EPD/7.3-i386/lib/python2.7/lib-dynload/cStringIO.so
0x4c1000 - 0x4f0fe7 +pyexpat.so ??? (???) <00104B2B-EE2C-A2B7-8657-63A4A6B984CB> /Users/cfarrow/Library/EPD/7.3-i386/lib/python2.7/lib-dynload/pyexpat.so
0x5a0000 - 0x5a1ff3 +_functools.so ??? (???) <33CA429F-D239-3953-D75C-CE5D65602447> /Users/cfarrow/Library/EPD/7.3-i386/lib/python2.7/lib-dynload/_functools.so
0x5a5000 - 0x5a6ff4 +_locale.so ??? (???) <5BB18782-353E-A0B0-1844-AF15DBC5DDD6> /Users/cfarrow/Library/EPD/7.3-i386/lib/python2.7/lib-dynload/_locale.so
0x5aa000 - 0x5adfff +_struct.so ??? (???) <55AAC0F0-39BB-822C-B47F-02992084B2AC> /Users/cfarrow/Library/EPD/7.3-i386/lib/python2.7/lib-dynload/_struct.so
0x5b4000 - 0x5b8fef +math.so ??? (???) <2741353A-0668-C3A5-8B2B-54CA3DF85BEF> /Users/cfarrow/Library/EPD/7.3-i386/lib/python2.7/lib-dynload/math.so
0x5be000 - 0x5befff +_hashlib.so ??? (???) <03DCF7A6-6241-6D7C-9C12-4DB417AE4B72> /Users/cfarrow/Library/EPD/7.3-i386/lib/python2.7/lib-dynload/_hashlib.so
0x5c2000 - 0x5e8fff libssl.0.9.7.dylib 0.9.7 (compatibility 0.9.7) <1C17D1BE-1E54-70CF-07B2-86E5DA647C81> /usr/lib/libssl.0.9.7.dylib
0x5f7000 - 0x6acfe7 libcrypto.0.9.7.dylib 0.9.7 (compatibility 0.9.7) <78B6EEB6-50D9-4479-D1A5-B4C381A07E4D> /usr/lib/libcrypto.0.9.7.dylib
0x6f2000 - 0x6f5ffe +_sha256.so ??? (???) /Users/cfarrow/Library/EPD/7.3-i386/lib/python2.7/lib-dynload/_sha256.so
0x6f9000 - 0x706ff1 +_sha512.so ??? (???) <2CAF1393-41E1-D922-3BEB-D42344886614> /Users/cfarrow/Library/EPD/7.3-i386/lib/python2.7/lib-dynload/_sha512.so
0x70a000 - 0x70bfff +_random.so ??? (???) /Users/cfarrow/Library/EPD/7.3-i386/lib/python2.7/lib-dynload/_random.so
0x70f000 - 0x710ff0 +fcntl.so ??? (???) <8FFD96C6-476E-7EDD-B44D-E0A553A88F78> /Users/cfarrow/Library/EPD/7.3-i386/lib/python2.7/lib-dynload/fcntl.so
0x754000 - 0x756fff +select.so ??? (???) <1A7E9972-019F-DC35-CA15-782B42F9500D> /Users/cfarrow/Library/EPD/7.3-i386/lib/python2.7/lib-dynload/select.so
0x75c000 - 0x75cfff +resource.so ??? (???) <93C33335-B302-78EF-FCBC-D282534F499A> /Users/cfarrow/Library/EPD/7.3-i386/lib/python2.7/lib-dynload/resource.so
0x760000 - 0x761ffe +termios.so ??? (???) <7B91DCF8-B2BE-CC83-334E-95195991EDDF> /Users/cfarrow/Library/EPD/7.3-i386/lib/python2.7/lib-dynload/termios.so
0x766000 - 0x766ff7 +grp.so ??? (???) <567F7556-8177-A97B-ED74-F74CDE1EC6B7> /Users/cfarrow/Library/EPD/7.3-i386/lib/python2.7/lib-dynload/grp.so
0x7ea000 - 0x7f5ff7 +_curses.so ??? (???) /Users/cfarrow/Library/EPD/7.3-i386/lib/python2.7/lib-dynload/_curses.so
0x10c0000 - 0x10d2fff +_io.so ??? (???) <540E8757-62AD-0FEB-23C8-B9FF967FD1EE> /Users/cfarrow/Library/EPD/7.3-i386/lib/python2.7/lib-dynload/_io.so
0x10e6000 - 0x1186fe5 +_sqlite3.so ??? (???) <23C82AD8-385E-4BD7-007E-9CC7F2D79EE6> /Users/cfarrow/Library/EPD/7.3-i386/lib/python2.7/lib-dynload/_sqlite3.so
0x11e1000 - 0x11e8fff +_socket.so ??? (???) /Users/cfarrow/Library/EPD/7.3-i386/lib/python2.7/lib-dynload/_socket.so
0x11f1000 - 0x11f4fff +_ssl.so ??? (???) <03245FDE-0591-21AC-73BB-351BA11C7C9B> /Users/cfarrow/Library/EPD/7.3-i386/lib/python2.7/lib-dynload/_ssl.so
0x11fa000 - 0x11faff0 +_scproxy.so ??? (???) <5CFAFDEE-6A79-867C-2D76-B39DB039616E> /Users/cfarrow/Library/EPD/7.3-i386/lib/python2.7/lib-dynload/_scproxy.so
0x123e000 - 0x1250ff7 +_ctypes.so ??? (???) /Users/cfarrow/Library/EPD/7.3-i386/lib/python2.7/lib-dynload/_ctypes.so
0x125e000 - 0x1263fff +_json.so ??? (???) /Users/cfarrow/Library/EPD/7.3-i386/lib/python2.7/lib-dynload/_json.so
0x12a8000 - 0x12acff5 +array.so ??? (???) /Users/cfarrow/Library/EPD/7.3-i386/lib/python2.7/lib-dynload/array.so
0x12b4000 - 0x12b5fff +_lsprof.so ??? (???) <852839FB-C3ED-1669-65D0-6657C5739861> /Users/cfarrow/Library/EPD/7.3-i386/lib/python2.7/lib-dynload/_lsprof.so
0x12ba000 - 0x12c8fff +cPickle.so ??? (???) <3796F603-A9CA-B9A3-54C9-33EE2BADB9B5> /Users/cfarrow/Library/EPD/7.3-i386/lib/python2.7/lib-dynload/cPickle.so
0x12ed000 - 0x12f2fff +_dotblas.so ??? (???) <2CD5C8E6-AFE5-3610-895A-DD156FB85863> /Users/cfarrow/Library/EPD/7.3-i386/lib/python2.7/site-packages/numpy/core/_dotblas.so
0x12f6000 - 0x12fafff +_compiled_base.so ??? (???) <66847678-6EEC-33FB-AC6F-C59C6909A2D8> /Users/cfarrow/Library/EPD/7.3-i386/lib/python2.7/site-packages/numpy/lib/_compiled_base.so
0x1440000 - 0x147cfe7 +readline.so ??? (???) <2323C86A-FE43-D0D6-F92D-3E3FB4897E2F> /Users/cfarrow/Library/EPD/7.3-i386/lib/python2.7/lib-dynload/readline.so
0x14e0000 - 0x14e5ff5 +lapack_lite.so ??? (???) <3CB9D9F4-DF7C-37DE-B6CB-A944DAB3BCE1> /Users/cfarrow/Library/EPD/7.3-i386/lib/python2.7/site-packages/numpy/linalg/lapack_lite.so
0x14e9000 - 0x14eafff +mkldft.so ??? (???) <36E039C5-5956-8C08-0C9E-4B4FA436A3DD> /Users/cfarrow/Library/EPD/7.3-i386/lib/python2.7/site-packages/fastnumpy/mkldft.so
0x14ee000 - 0x14f8fff +fftpack_lite.so ??? (???) /Users/cfarrow/Library/EPD/7.3-i386/lib/python2.7/site-packages/numpy/fft/fftpack_lite.so
0x1640000 - 0x1684ff7 +umath.so ??? (???) <1FE495F3-B011-3977-8434-53DFC32B8AF6> /Users/cfarrow/Library/EPD/7.3-i386/lib/python2.7/site-packages/numpy/core/umath.so
0x16e8000 - 0x16f2ff2 +ctraits.so ??? (???) <5C238264-8143-3644-AD38-D3114A2ECE3D> /Users/cfarrow/projects/traits/traits/ctraits.so
0x2900000 - 0x29fafe7 +multiarray.so ??? (???) <8B13D1F2-5786-3E3D-BC8D-981A6097C7E4> /Users/cfarrow/Library/EPD/7.3-i386/lib/python2.7/site-packages/numpy/core/multiarray.so
0x2a7f000 - 0x2d2afe7 +libmkl_intel.dylib ??? (???) <41E7E26E-C7D0-7E8D-79CF-D495C1D32A82> /Users/cfarrow/Library/EPD/7.3-i386/lib/libmkl_intel.dylib
0x2df9000 - 0x3409fe7 +libmkl_intel_thread.dylib ??? (???) <0B7878F1-C5F6-5506-E414-22723C840617> /Users/cfarrow/Library/EPD/7.3-i386/lib/libmkl_intel_thread.dylib
0x3778000 - 0x407dfe7 +libmkl_core.dylib ??? (???) <8394EC87-67F8-4633-567B-7FDFDB85E980> /Users/cfarrow/Library/EPD/7.3-i386/lib/libmkl_core.dylib
0x41c2000 - 0x5049fef +libmkl_p4m.dylib ??? (???) /Users/cfarrow/Library/EPD/7.3-i386/lib/libmkl_p4m.dylib
0x50fe000 - 0x5dc3feb +libmkl_p4p.dylib ??? (???) /Users/cfarrow/Library/EPD/7.3-i386/lib/libmkl_p4p.dylib
0x5e78000 - 0x5ee3fe3 +libiomp5.dylib 5.0.0 (compatibility 5.0.0) <4350B779-96B4-27AD-5F5D-195282757171> /Users/cfarrow/Library/EPD/7.3-i386/lib/libiomp5.dylib
0x5f08000 - 0x5f2aff7 +scalarmath.so ??? (???) <4C11667D-13F0-30AD-9FAC-59ACCD1AD526> /Users/cfarrow/Library/EPD/7.3-i386/lib/python2.7/site-packages/numpy/core/scalarmath.so
0x603a000 - 0x607dfff +mtrand.so ??? (???) <10738519-F1CC-3096-9B54-BB0F3120B46F> /Users/cfarrow/Library/EPD/7.3-i386/lib/python2.7/site-packages/numpy/random/mtrand.so
0x6341000 - 0x634bff2 +_speedups.so ??? (???) <3366B6AC-CE54-375B-B727-21161099FDD7> /Users/cfarrow/projects/traits/traits/protocols/_speedups.so
0x8fe00000 - 0x8fe4163b dyld 132.1 (???) <67866EA0-11AD-E175-066C-48E996265855> /usr/lib/dyld
0x90507000 - 0x90571fe7 libstdc++.6.dylib 7.9.0 (compatibility 7.0.0) <411D87F4-B7E1-44EB-F201-F8B4F9227213> /usr/lib/libstdc++.6.dylib
0x916b4000 - 0x9182ffe7 com.apple.CoreFoundation 6.6.6 (550.44) /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x918ed000 - 0x9199afe7 libobjc.A.dylib 227.0.0 (compatibility 1.0.0) <9F8413A6-736D-37D9-8EB3-7986D4699957> /usr/lib/libobjc.A.dylib
0x930b4000 - 0x930c2fe7 libz.1.dylib 1.2.3 (compatibility 1.0.0) /usr/lib/libz.1.dylib
0x9538f000 - 0x95536ff7 libSystem.B.dylib 125.2.11 (compatibility 1.0.0) <2DCD13E3-1BD1-6F25-119A-3863A3848B90> /usr/lib/libSystem.B.dylib
0x96aea000 - 0x96b27ff7 com.apple.SystemConfiguration 1.10.9 (1.10.2) <5C0F72C2-177E-675A-8677-9BC4205B4A98> /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration
0x98ae7000 - 0x98b2dff7 libauto.dylib ??? (???) <7CB1AB76-50A2-8E56-66E4-CF51CA75B177> /usr/lib/libauto.dylib
0x99495000 - 0x994cdfe7 libncurses.5.4.dylib 5.4.0 (compatibility 5.4.0) <12EF33B7-083C-1E28-D846-69DC55287E0D> /usr/lib/libncurses.5.4.dylib
0x994ce000 - 0x99650fe7 libicucore.A.dylib 40.0.0 (compatibility 1.0.0) <60FF302E-5FAE-749B-BC70-0496DC2FBF2D> /usr/lib/libicucore.A.dylib
0x99ffd000 - 0x9a000fe7 libmathCommon.A.dylib 315.0.0 (compatibility 1.0.0) <1622A54F-1A98-2CBE-B6A4-2122981A500E> /usr/lib/system/libmathCommon.A.dylib
0xffff0000 - 0xffff1fff libSystem.B.dylib ??? (???) <2DCD13E3-1BD1-6F25-119A-3863A3848B90> /usr/lib/libSystem.B.dylib

Model: MacBookPro8,2, BootROM MBP81.0047.B27, 4 processors, Intel Core i7, 2.3 GHz, 8 GB, SMC 1.69f4
Graphics: AMD Radeon HD 6750M, AMD Radeon HD 6750M, PCIe, 1024 MB
Graphics: Intel HD Graphics 3000, Intel HD Graphics 3000, Built-In, 512 MB
Memory Module: global_name
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0xD6), Broadcom BCM43xx 1.0 5.100.198.104.5)
Bluetooth: Version 2.4.5f3, 2 service, 19 devices, 1 incoming serial ports
Network Service: Ethernet, Ethernet, en0
Network Service: AirPort, AirPort, en1
Serial ATA Device: APPLE SSD TS256C, 233.76 GB
Serial ATA Device: MATSHITADVD-R UJ-8A8
USB Device: FaceTime HD Camera (Built-in), 0x05ac (Apple Inc.), 0x8509, 0xfa200000 / 3
USB Device: Hub, 0x0424 (SMSC), 0x2513, 0xfa100000 / 2
USB Device: DASAN, 0x074d (Micronas GmbH), 0x3556, 0xfa130000 / 6
USB Device: Apple Internal Keyboard / Trackpad, 0x05ac (Apple Inc.), 0x0245, 0xfa120000 / 5
USB Device: BRCM2070 Hub, 0x0a5c (Broadcom Corp.), 0x4500, 0xfa110000 / 4
USB Device: Bluetooth USB Host Controller, 0x05ac (Apple Inc.), 0x821a, 0xfa113000 / 8
USB Device: Hub, 0x0424 (SMSC), 0x2513, 0xfd100000 / 2
USB Device: Hub, 0x05ac (Apple Inc.), 0x9126, 0xfd120000 / 4
USB Device: Keyboard Hub, 0x05ac (Apple Inc.), 0x1006, 0xfd121000 / 8
USB Device: Apple Keyboard, 0x05ac (Apple Inc.), 0x0220, 0xfd121200 / 9
USB Device: Apple LED Cinema Display, 0x05ac (Apple Inc.), 0x9226, 0xfd126000 / 6
USB Device: Display Audio, 0x05ac (Apple Inc.), 0x1105, 0xfd124000 / 7
USB Device: Display iSight, 0x05ac (Apple Inc.), 0x8508, 0xfd125000 / 5
USB Device: IR Receiver, 0x05ac (Apple Inc.), 0x8242, 0xfd110000 / 3
FireWire Device: GoFlex Mac, Seagate, Up to 800 Mb/sec


Reply to this email directly or view it on GitHubhttps://github.com//issues/67#issuecomment-20523184
.

@jvkersch
Copy link
Contributor

The problem is that reset_traits calls delete on the trait, which sets the trait to (PyObject *)NULL, and setattr_validate_property doesn't check for that. The solution seems to be to have a check for that case, and call set_delete_property_error before doing validation. I have a small PR to illustrate this.

mdickinson added a commit that referenced this issue Feb 25, 2014
@cfarrow
Copy link
Contributor Author

cfarrow commented Apr 15, 2014

This was fixed in #138.

@cfarrow cfarrow closed this as completed Apr 15, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants