Re: [Vserver] Vhashify segmentation fault

From: alberto <>
Date: Thu 10 Nov 2005 - 18:02:15 GMT
Message-ID: <>


I finally had time to test vhasify on an i386 with valgrind, attached is
the output. Same debian source package as I used for x86_64 and same
options (added beecrypt2{,-dev} to dependencies so pbuilder builds it
with vhashify).

Surprisingly, running it with valgrind doesn't make it segfault, it
doesn't hashify anything either though... I ran it with cl options -v
and --leak-check=full, I don't have much experience with valgrind so
please feel free to suggest any other options.


Enrico Scholz wrote:
> (alberto) writes:
>>Mmmm, so it could be a beecrypt2 problem... right?
>>I'll try installing from non-debian sources util-vserver and beecrypt
>>to see what happens. The hash belongs to a real executable though
>>(according to "file <hash_file>"), not sure which executable but
>>something to do with mount (my guess from the strings it contains).
>>>I will add some testcases to localise the problem. But because I can not
>>>reproduce this behavior on my system, I can not tell a solution now.
>>I would appreciate :)
> ok; please do a 'make check' with 0.30.209 and see if ''
> succeeds. You can do
> | ./src/testsuite/hashcalc SHA-1
> also, which should output the same hash like 'sha1sum'
>>>valgrind could give some more information perhaps; I guess a gdb
>>>stacktrace will not be very meaningful.
>>Darn! no amd64 package for valgrind. I guess the i386 version won't
>>help much debugging 64bit executables
> you mentioned that it happens on an i386 also so tests with valgrind
> could be done there also.

Vserver mailing list

Received on Thu Nov 10 18:03:29 2005
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Thu 10 Nov 2005 - 18:03:34 GMT by hypermail 2.1.8