bug-gv
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-gv] Re: Bug#618449: gv segmentation fault


From: Bernhard R. Link
Subject: [bug-gv] Re: Bug#618449: gv segmentation fault
Date: Tue, 15 Mar 2011 16:37:24 +0100
User-agent: Mutt/1.5.18 (2008-05-17)

* address@hidden <address@hidden> [110315 13:40]:
> Program received signal SIGSEGV, Segmentation fault.
> __strcpy_ssse3 () at ../sysdeps/x86_64/multiarch/strcpy.S:94
> 94      ../sysdeps/x86_64/multiarch/strcpy.S: No such file or directory.
>         in ../sysdeps/x86_64/multiarch/strcpy.S
> (gdb) bt full
> #0  __strcpy_ssse3 () at ../sysdeps/x86_64/multiarch/strcpy.S:94
> #1  0x000000000042de08 in ?? ()

This seems to be the strcpy in line 284 of src/scale.c.

0x000000000042ddee:     mov    $0x44b3e0,%edi
0x000000000042ddf3:     callq  0x4057e8 <address@hidden>
0x000000000042ddf8:     movslq %eax,%rsi
0x000000000042ddfb:     test   %rsi,%rsi
0x000000000042ddfe:     je     0x42de58
0x000000000042de00:     mov    %rsp,%rdi
0x000000000042de03:     callq  0x405958 <address@hidden>
0x000000000042de08:     mov    $0x20,%esi
0x000000000042de0d:     mov    %rsp,%rdi
0x000000000042de10:     callq  0x405538 <address@hidden>
0x000000000042de15:     test   %rax,%rax

and (char*)0x44b3e0 is "SSH_CLIENT".

ltrace says:

getenv("SSH_CLIENT")                             = "127.0.0.1 52697 22"
strcpy(0x7fff4ba92600, 
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"...
<unfinished ...>

Which looks quite strange...

        Bernhard R. Link



reply via email to

[Prev in Thread] Current Thread [Next in Thread]