$ mkdir xxdiff
$ cd xxdiff
# apt-get build-dep xxdiff
$ apt-get source xxdiff
$ # alternatively you can also get sources and patch
$ # from packages.debian.org/xxdiff. Unzip the original file,
$ # cd into the resulting directory and do:
$ # $ zcat ../xxdiff*.diff.gz | patch -p1
$ cd xxdiff-3.1
$ dpkg-buildpackage -rfakeroot
$ # you'll need both dpkg-buildpackage from the dpkg-dev package
$ # and fakeroot from the fakeroot package for this to work
$
$ # as soon as you see that the system is compiling you stop the procedure $ # with CTRL-C and edit the Makefile under src
$ cd src
$ vim Makefile
$ # add -ggdb to CFLAGS and to CXXFLAGS, remove the -O2 flag
$ make
$ # now run xxdiff inside ddd (or some other debugger)
$ # and please let me know what happens. Where does xxdiff segfault?
$ # put a breakpoint into the xxdiff source and have a look at what $ # parameters are passed to the function that segfaults
Alternatively, if you can't do the above, could you send me a:
$ strace xxdiff a b
Thanks, *t
-- -------------------------------------------------------- Tomas Pospisek http://sourcepole.com - Linux & Open Source Solutions --------------------------------------------------------
-- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]