FWIW, the backtrace with current git master is
#0 0x00007ffff7290475 in *__GI_raise (sig=<optimized out>) at
../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1 0x00007ffff72936f0 in *__GI_abort () at abort.c:92
#2 0x00007ffff72ca26b in __libc_message (do_abort=<optimized out>,
fmt=<optimized out>)
at ../sysdeps/unix/sysv/linux/libc_fatal.c:189
#3 0x00007ffff72d3ab6 in malloc_printerr (action=3, str=0x7ffff73aa848 "double
free or corruption (!prev)",
ptr=<optimized out>) at malloc.c:6283
#4 0x00007ffff72d87ec in *__GI___libc_free (mem=<optimized out>) at
malloc.c:3738
#5 0x00000000004ce9e9 in strbuf_release (sb=0x7fffffffd460) at strbuf.c:40
#6 strbuf_release (sb=0x7fffffffd460) at strbuf.c:37
#7 0x000000000040a2d2 in apply_one_fragment (nth_fragment=16, ws_rule=3272,
inaccurate_eof=<optimized out>,
frag=0x79df20, img=0x7fffffffd3b0) at builtin/apply.c:2687
#8 apply_fragments (patch=0x794160, img=0x7fffffffd3b0) at builtin/apply.c:2824
#9 apply_data (ce=<optimized out>, st=0x7fffffffd290, patch=0x794160) at
builtin/apply.c:2968
#10 check_patch (patch=0x794160) at builtin/apply.c:3158
#11 0x000000000040b68a in check_patch_list (patch=0x794160) at
builtin/apply.c:3173
#12 apply_patch (fd=<optimized out>, filename=<optimized out>,
options=<optimized out>) at builtin/apply.c:3743
#13 0x000000000040e12b in cmd_apply (argc=1, argv=0x7fffffffe0e0,
prefix_=<optimized out>) at builtin/apply.c:3954
#14 0x00000000004057e4 in run_builtin (argv=0x7fffffffe0e0, argc=3, p=0x73ca10)
at git.c:308
#15 handle_internal_command (argc=3, argv=0x7fffffffe0e0) at git.c:467
#16 0x0000000000404bf0 in run_argv (argv=0x7fffffffdf80, argcp=0x7fffffffdf8c)
at git.c:513
#17 main (argc=3, argv=0x7fffffffe0e0) at git.c:588
and p sb->buf does give a string, so it's probably a double-free
rather than courrption (the pointer has the same value just after the
strbuf_init()).
cmn
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]