Hi,

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.

Thanks!
Alberto

Enrico Scholz wrote:
[EMAIL PROTECTED] (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 'hashcalc.sh'
succeeds. You can do

| ./src/testsuite/hashcalc Makefile.am SHA-1

also, which should output the same hash like 'sha1sum Makefile.am'



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.


Attachment: vhasify_vgrind.log.gz
Description: GNU Zip compressed data

_______________________________________________
Vserver mailing list
[email protected]
http://list.linux-vserver.org/mailman/listinfo/vserver

Reply via email to