On Thu, Apr 12, 2012 at 02:37:48PM +0100, peter green wrote:
> based on Julien Cristau's and Patrick Baggett's comments I put
> together the attatched patch to fix the alignment issues they
> identified (I have not done anything regarding the poor choice of
> prototype or the theoretical strict-aliasing issue).
> 
> Unfortunately the test still fails with a bus error and I can't seem
> to figure out how to run the test manually to get a new backtrace.
> The executable "./integrity" simply doesn't seem to exist after the
> build process ends.
> 
> Jurij, can you tell me exactly what you did to get your backtrace?

It runs the tests using simple_test script by invoking it with 
'integrity' argument, in this case. I believe I just manually 
reproduced the commands the script runs, for 'integrity' they look 
like this:

        */integrity)
                # Integrity test
                cat >${conffile} <<EOF
[generic]
[export1]
        exportname = $tmpnam
        flush = true
        fua = true
        rotational = true
        filesize = 52428800
        temporary = true
EOF
                ./nbd-server -C ${conffile} -p ${pidfile} &
                PID=$!
                sleep 1
                ./nbd-tester-client localhost -N export1 -i -t 
${mydir}/integrity-test.tr
                retval=$?
        ;;

Best regards,
-- 
Jurij Smakov                                           ju...@wooyd.org
Key: http://www.wooyd.org/pgpkey/                      KeyID: C99E03CC



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to