All of lore.kernel.org
 help / color / mirror / Atom feed
* SEGV in git-apply
@ 2007-01-20  1:48 Martin Waitz
  2007-01-20  2:14 ` Johannes Schindelin
  0 siblings, 1 reply; 7+ messages in thread
From: Martin Waitz @ 2007-01-20  1:48 UTC (permalink / raw)
  To: git

[-- Attachment #1: Type: text/plain, Size: 1066 bytes --]

hoi :)

I just hit this bug in git-apply, while executing it in a subdirectory.
At the moment I am using some mixture of next and some own changes
(mostly submodule support, should not affect this bug).

I am afraid that I don't have the time to fix it myself atm, so I am simply
attaching the backtrace here:

Program received signal SIGSEGV, Segmentation fault.
0x080500fa in apply_patch (fd=5, filename=0xbf821b4d "/tmp/404241.patch",
    inaccurate_eof=<value optimized out>) at builtin-apply.c:2504
2504                    if (pathlen <= prefix_length ||
(gdb) bt
#0  0x080500fa in apply_patch (fd=5, filename=0xbf821b4d "/tmp/404241.patch",
    inaccurate_eof=<value optimized out>) at builtin-apply.c:2504
#1  0x0805147a in cmd_apply (argc=3, argv=0xbf8201e4, prefix=0x80e75c6 "src/")
    at builtin-apply.c:2719
#2  0x0804ab55 in handle_internal_command (argc=3, argv=0xbf8201e4,
    envp=<value optimized out>) at git.c:304
#3  0x0804b1f8 in main (argc=3, argv=Cannot access memory at address 0x8
) at git.c:341


-- 
Martin Waitz

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2007-01-21 18:03 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-20  1:48 SEGV in git-apply Martin Waitz
2007-01-20  2:14 ` Johannes Schindelin
2007-01-20 18:36   ` Martin Waitz
2007-01-21  1:17     ` [PATCH] apply --cached: fix crash in subdirectory Johannes Schindelin
2007-01-21 14:40       ` Martin Waitz
2007-01-21 16:47       ` Rogan Dawes
2007-01-21 18:03         ` Johannes Schindelin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.