[tahoe-dev] [pycryptopp] #24: SHA256 failure on NetBSD with multiple segments

pycryptopp trac at allmydata.org
Wed Jul 1 08:43:12 UTC 2009


#24: SHA256 failure on NetBSD with multiple segments
----------------------+-----------------------------------------------------
Reporter:  warner     |           Owner:  bdew 
    Type:  defect     |          Status:  new  
Priority:  critical   |         Version:  0.5.1
Keywords:  integrity  |   Launchpad_bug:       
----------------------+-----------------------------------------------------

Comment(by bdew):

 And even more fun: Using an SSE2-less build of pycryptopp makes tahoe pass
 all the tests without crashes/hangs
 (http://allmydata.org/trac/tahoe/ticket/737):

 {{{
 Ran 599 tests in 395.987s

 PASSED (skips=3, expectedFailures=2, unexpectedSuccesses=7, successes=587)
 }}}

 So i guess there is a bug in either Crypto++ SSE code or my CPU SSE
 implementation that somehow also makes python's time() return NaNs or
 segfault.

 FWIW this system CPU is:
 {{{
 processor       : 0
 vendor_id       : AuthenticAMD
 cpu family      : 6
 model           : 10
 model name      : AMD Athlon(tm) XP 2600+
 stepping        : 0
 cpu MHz         : 1916.490
 cache size      : 512 KB
 fdiv_bug        : no
 hlt_bug         : no
 f00f_bug        : no
 coma_bug        : no
 fpu             : yes
 fpu_exception   : yes
 cpuid level     : 1
 wp              : yes
 flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca
 cmov pat pse36 mmx fxsr sse syscall mmxext 3dnowext 3dnow up
 }}}

-- 
Ticket URL: <http://allmydata.org/trac/pycryptopp/ticket/24#comment:8>
pycryptopp <http://allmydata.org/trac/pycryptopp>
Python bindings for the Crypto++ library


More information about the tahoe-dev mailing list