bernt@gollum:~/git/ciss/HUB$ git --version git version 1.5.3.4.206.g58ba4 bernt@gollum:~/git/ciss/HUB$ gdb ~/bin/git-apply core GNU gdb 6.6.90.20070912-debian Copyright (C) 2007 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i486-linux-gnu"... Using host libthread_db library "/lib/libthread_db.so.1". warning: core file may not match specified executable file. warning: Can't read pathname for load map: Input/output error. Reading symbols from /usr/lib/libz.so.1...done. Loaded symbols for /usr/lib/libz.so.1 Reading symbols from /usr/lib/i686/cmov/libcrypto.so.0.9.8...done. Loaded symbols for /usr/lib/i686/cmov/libcrypto.so.0.9.8 Reading symbols from /lib/libc.so.6...done. Loaded symbols for /lib/libc.so.6 Reading symbols from /lib/libdl.so.2...done. Loaded symbols for /lib/libdl.so.2 Reading symbols from /lib/ld-linux.so.2...done. Loaded symbols for /lib/ld-linux.so.2 Core was generated by `git apply --allow-binary-replacement --index .dotest/patch'. Program terminated with signal 11, Segmentation fault. #0 convert_to_git (path=0x811b250 "www/Calculator/Body/routePlan2.bdy", src=0xb7c59008
, len=113434, dst=0xbfa94c4c) at convert.c:122 122 unsigned char c = *src++; (gdb) bt #0 convert_to_git (path=0x811b250 "www/Calculator/Body/routePlan2.bdy", src=0xb7c59008
, len=113434, dst=0xbfa94c4c) at convert.c:122 #1 0x0804ecfd in check_patch_list (patch=0x811b1b0) at builtin-apply.c:1434 #2 0x080510fa in apply_patch (fd=1, filename=0xffffffff
, inaccurate_eof=1) at builtin-apply.c:2686 #3 0x0805233e in cmd_apply (argc=4, argv=0xbfa95fa8, unused_prefix=0x0) at builtin-apply.c:2853 #4 0x0804ab3b in handle_internal_command (argc=4, argv=0xbfa95fa8) at git.c:284 #5 0x0804b19f in main (argc=2037149808, argv=0x612d2d00) at git.c:467 (gdb)