pombreda / pyssdeep

Automatically exported from code.google.com/p/pyssdeep
0 stars 0 forks source link

Seq fault when hashing files #3

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago

What steps will reproduce the problem?
1. ipythoh
In [1]: from ssdeep import ssdeep
In [2]: s = ssdeep()
In [3]: h1 = s.hash_file('ssdeep-2.5.tar.gz')
Segmentation fault
stfu:external ril3y$ 

What is the expected output? What do you see instead?
I see seg fault.  I expected to see the hash for the ran file.

What version of the product are you using? On what operating system?
OS: OSX Snow Leopard
ssdeep version binary: 2.5 
Python 2.6.1 (r261:67515, Feb 11 2010, 00:51:29) 

Perhaps this is an OSX thing but I thought I should let you know.  Let me know 
if you would like to know anything else.

Riley

Original issue reported on code.google.com by Rileypor...@gmail.com on 28 Jul 2010 at 7:20

GoogleCodeExporter commented 9 years ago
Similar problem with OX X 10.7.4

bash-3.2# python
Python 2.7.3 (v2.7.3:70274d53c1dd, Apr  9 2012, 20:52:43) 
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from ssdeep import ssdeep
>>> s = ssdeep()
>>> h1 = s.hash_file('test.py')
Segmentation fault: 11

Also failed under stock OS X 2.7.1 python.

Original comment by dko...@gmail.com on 25 Jul 2012 at 4:10