Package: git-core
Version: 1:1.5.5-1

(also found in 1:1.5.5.1-1)

$ pwd
/tmp/remote-tty_4.0-11_i386/etc/init.d

$ git diff ~/Deb/misc-devscripts/archive-wide-checkbashisms.sh
Segmentation fault

$ strace git diff ~/Deb/misc-devscripts/archive-wide-checkbashisms.sh 2>&1 | 
tail -n40
futex(0xbff74330, 0x81 /* FUTEX_??? */, 1) = 0
rt_sigaction(SIGRTMIN, {0xb7bbc2c0, [], SA_SIGINFO}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {0xb7bbc340, [], SA_RESTART|SA_SIGINFO}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM_INFINITY}) = 0
uname({sys="Linux", node="nova", ...})  = 0
brk(0)                                  = 0x8141000
brk(0x8162000)                          = 0x8162000
getcwd("/tmp/remote-tty_4.0-11_i386/etc/init.d", 4096) = 39
access(".git/objects", X_OK)            = -1 ENOENT (No such file or 
directory)
access("./objects", X_OK)               = -1 ENOENT (No such file or 
directory)
chdir("..")                             = 0
access(".git/objects", X_OK)            = -1 ENOENT (No such file or 
directory)
access("./objects", X_OK)               = -1 ENOENT (No such file or 
directory)
chdir("..")                             = 0
access(".git/objects", X_OK)            = -1 ENOENT (No such file or 
directory)
access("./objects", X_OK)               = -1 ENOENT (No such file or 
directory)
chdir("..")                             = 0
access(".git/objects", X_OK)            = -1 ENOENT (No such file or 
directory)
access("./objects", X_OK)               = -1 ENOENT (No such file or 
directory)
chdir("..")                             = 0
access(".git/objects", X_OK)            = -1 ENOENT (No such file or 
directory)
access("./objects", X_OK)               = -1 ENOENT (No such file or 
directory)
chdir("..")                             = 0
chdir("/tmp/remote-tty_4.0-11_i386/etc/init.d") = 0
access("/etc/gitconfig", R_OK)          = -1 ENOENT (No such file or 
directory)
access("/home/raphael/.gitconfig", R_OK) = 0
open("/home/raphael/.gitconfig", O_RDONLY|O_LARGEFILE) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=110, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0xb7f92000
read(3, "[user]\n\temail = [EMAIL PROTECTED]"..., 4096) = 110
ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbff73998) = -1 EINVAL (Invalid 
argument)
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0xb7f92000, 4096)                = 0
open(".git/config", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or 
directory)
lstat64("/home/raphael/Deb/misc-devscripts/archive-wide-checkbashisms.sh", 
{st_mode=S_IFREG|0755, st_size=3119, ...}) = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
Process 6866 detached

$ gdb git
GNU gdb 6.7.1-debian
Copyright (C) 2007 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
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"...
(no debugging symbols found)
Using host libthread_db library "/lib/i686/cmov/libthread_db.so.1".
(gdb) start diff ~/Deb/misc-devscripts/archive-wide-checkbashisms.sh
Function "main" not defined.
Make breakpoint pending on future shared library load? (y or [n]) y
Breakpoint 1 (main) pending.
Starting program: /usr/bin/git diff 
~/Deb/misc-devscripts/archive-wide-checkbashisms.sh
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
---Type <return> to continue, or q <return> to quit---
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[New Thread 0xb7a7d6d0 (LWP 7412)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb7a7d6d0 (LWP 7412)]
0xb7d940f3 in strlen () from /lib/i686/cmov/libc.so.6
(gdb) bt
#0  0xb7d940f3 in strlen () from /lib/i686/cmov/libc.so.6
#1  0x080ce65a in ?? ()
#2  0x00000000 in ?? ()


It seems like as long as I'm not in ~/Deb/misc-devscripts/ it segfaults.

Sincerely,
-- 
Atomo64 - Raphael

Please avoid sending me Word, PowerPoint or Excel attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to