ssh "Segmentation fault (core dumped)"

P
  • 8 Bal '12

Release: 12.04
OpenSSH_5.9p1 Debian-5ubuntu1, OpenSSL 1.0.1 14 Mar 2012

ssh jungiantis remotely prie darbo sistemos: Segmentation fault (core dumped)
Googlinau -> yra panašių problemų -> nesugebėjau pats sutvarkyti.

Padėkit kas galite. Pats nesugebėsiu, o darbų daug. Esu išvažiavęs Velykoms ir privalau bent kiek padirbti - negaliu neproduktyviai laiko margučių dažymui švaistyti

T
Techtronic
Mindaugas N.
  • 8 Bal '12

Segmentation fault yra jau rimta beda, ir tokia spresti kartais paciam neimanoma buna, bet gali pabandyti.
Ar key yra tvarkingas? trink ~/.keys ar ~/.ssh ir bandyk vel
Bandyk leisti ssh verbose mode:

ssh root@localhost -v

Arba dar geriau -v -v -v
Gali paleidus gdb suzinoti daugiau informacijos (pastebejau core dumped):

gdb --core=corefailas

arba

gdb ssh

po segfault rasyk: bt

P
  • 8 Bal '12
ssh root@localhost -v
``` Duoda:
> debug1: Connection established
> .........
> debug1: no match: 3.2.9.1 SSH Secure Shell (non-commercial)
> debug1: Enabling compatibility mode for protocol 2.0
> .........
> debug1: Roaming not allowed by server
> debug1: SSH2_MSG_SERVICE_REQUEST sent
> Segmentation fault (core dumped)

gdb ssh core
``` Duoda:

......
[New LWP 7166]
warning: Can't read pathname for load map: Input/output error.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
Core was generated by `ssh root@localhost -v.
Program terminated with signal 11, Segmentation fault.

0 0x0074d44d in ?? () from /lib/i386-linux-gnu/libcrypto.so.1.0.0

Help su "in ??"

T
Techtronic
Mindaugas N.
  • 8 Bal '12

Help su help, arba help all ...
Nors nematau backtrace, bet panasu beda i libssl|opnessl (#0 0x0074d44d in ?? () from /lib/i386-linux-gnu/libcrypto.so.1.0.0).
bugs.launchpad.net/ubuntu yra pranesti keli bugai panasus visai nesenai, ir jau kaip FIXED, so butinai update padaryk.
Dar butinai move savo ssh keys.
GDB naudojamas taip:

minde@pts/0:0:/home/minde:file test
test: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.9, not stripped
minde@pts/0:0:/home/minde:./test
[1]    7535 segmentation fault  ./test
minde@pts/0:139:/home/minde:gdb test
GNU gdb (Gentoo 7.4 p1) 7.4
Reading symbols from /home/minde/test...done.
gdb$ run
Program received signal SIGSEGV, Segmentation fault.
0x08048404 in ubuntu_lt (message=foo) at test.c:8
................
gdb$ bt full
................
gdb$ list
................
gdb$ info locals
................
gdb$ info args
................
T
Techtronic
Mindaugas N.
  • 8 Bal '12

Klystu del FIXED.
Bug status "Triaged" daugiau info https://bugs.launchpad.net/ubuntu/+sour ... bug/968753