[Bug 700229] New: telnet crashes glibc when using "-b" parameter
https://bugzilla.novell.com/show_bug.cgi?id=700229 https://bugzilla.novell.com/show_bug.cgi?id=700229#c0 Summary: telnet crashes glibc when using "-b" parameter Classification: openSUSE Product: openSUSE 11.4 Version: Factory Platform: x86-64 OS/Version: openSUSE 11.4 Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: novell-web@zmi.at QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:2.0.1) Gecko/20100101 Firefox/4.0.1 I wanted telnet to source from another IP, using "-b" parameter: # telnet -b eth1 10.10.10.10 Trying 10.10.10.10... telnet: eth1: Name or service not known: Success Speicherzugriffsfehler I tried that twice, then looked into dmesg: [60254.321495] telnet[28275] general protection ip:7f733a452a63 sp:7fff6839fbe0 error:0 in libc-2.11.3.so[7f733a393000+164000] [60350.030095] telnet[29348] general protection ip:7f7169480a63 sp:7fff37e01070 error:0 in libc-2.11.3.so[7f71693c1000+164000] This is on openSUSE 11.4, but I first discovered it in 11.2, where it puts more details on the screen: # telnet -b eth0:1 10.127.128.5 25 Trying 10.127.128.5... telnet: eth0:1: Name or service not known: Success *** glibc detected *** telnet: munmap_chunk(): invalid pointer: 0x00007fff0a06ace8 *** ======= Backtrace: ========= /lib64/libc.so.6[0x7f825d605d06] /lib64/libc.so.6(freeaddrinfo+0x20)[0x7f825d64d510] telnet[0x7f825dd61939] telnet(main+0x34f)[0x7f825dd5a1ff] /lib64/libc.so.6(__libc_start_main+0xfd)[0x7f825d5b1a7d] telnet[0x7f825dd59d59] ======= Memory map: ======== 7f825cf6b000-7f825cf81000 r-xp 00000000 ca:01 16518 /lib64/libgcc_s.so.1 7f825cf81000-7f825d180000 ---p 00016000 ca:01 16518 /lib64/libgcc_s.so.1 7f825d180000-7f825d181000 r--p 00015000 ca:01 16518 /lib64/libgcc_s.so.1 7f825d181000-7f825d182000 rw-p 00016000 ca:01 16518 /lib64/libgcc_s.so.1 7f825d182000-7f825d18d000 r-xp 00000000 ca:01 3184 /lib64/libnss_files-2.10.1.so 7f825d18d000-7f825d38d000 ---p 0000b000 ca:01 3184 /lib64/libnss_files-2.10.1.so 7f825d38d000-7f825d38e000 r--p 0000b000 ca:01 3184 /lib64/libnss_files-2.10.1.so 7f825d38e000-7f825d38f000 rw-p 0000c000 ca:01 3184 /lib64/libnss_files-2.10.1.so 7f825d38f000-7f825d391000 r-xp 00000000 ca:01 17973 /lib64/libdl-2.10.1.so 7f825d391000-7f825d591000 ---p 00002000 ca:01 17973 /lib64/libdl-2.10.1.so 7f825d591000-7f825d592000 r--p 00002000 ca:01 17973 /lib64/libdl-2.10.1.so 7f825d592000-7f825d593000 rw-p 00003000 ca:01 17973 /lib64/libdl-2.10.1.so 7f825d593000-7f825d6e4000 r-xp 00000000 ca:01 3936 /lib64/libc-2.10.1.so 7f825d6e4000-7f825d8e4000 ---p 00151000 ca:01 3936 /lib64/libc-2.10.1.so 7f825d8e4000-7f825d8e8000 r--p 00151000 ca:01 3936 /lib64/libc-2.10.1.so 7f825d8e8000-7f825d8e9000 rw-p 00155000 ca:01 3936 /lib64/libc-2.10.1.so 7f825d8e9000-7f825d8ee000 rw-p 00000000 00:00 0 7f825d8ee000-7f825d92c000 r-xp 00000000 ca:01 3177 /lib64/libncurses.so.5.6 7f825d92c000-7f825db2b000 ---p 0003e000 ca:01 3177 /lib64/libncurses.so.5.6 7f825db2b000-7f825db2f000 r--p 0003d000 ca:01 3177 /lib64/libncurses.so.5.6 7f825db2f000-7f825db35000 rw-p 00041000 ca:01 3177 /lib64/libncurses.so.5.6 7f825db35000-7f825db53000 r-xp 00000000 ca:01 4324 /lib64/ld-2.10.1.so 7f825dd26000-7f825dd28000 rw-p 00000000 00:00 0 7f825dd4f000-7f825dd52000 rw-p 00000000 00:00 0 7f825dd52000-7f825dd53000 r--p 0001d000 ca:01 4324 /lib64/ld-2.10.1.so 7f825dd53000-7f825dd54000 rw-p 0001e000 ca:01 4324 /lib64/ld-2.10.1.so 7f825dd54000-7f825dd6a000 r-xp 00000000 ca:01 9058 /usr/bin/telnet 7f825df6a000-7f825df6b000 r--p 00016000 ca:01 9058 /usr/bin/telnet 7f825df6b000-7f825df6d000 rw-p 00017000 ca:01 9058 /usr/bin/telnet 7f825df6d000-7f825df9b000 rw-p 00000000 00:00 0 [heap] 7fff0a058000-7fff0a06d000 rw-p 00000000 00:00 0 [stack] 7fff0a098000-7fff0a099000 r-xp 00000000 00:00 0 [vdso] ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall] Abgebrochen Seems this bug dates a while back. While 11.2 is not in bugfix phase anymore, 11.3 and 11.4 should be fixed, please. Reproducible: Always Steps to Reproduce: 1. use "telnet -b eth0 <IP address>" Actual Results: crash in glibc Expected Results: should work :-) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=700229
https://bugzilla.novell.com/show_bug.cgi?id=700229#c
zj jia
https://bugzilla.novell.com/show_bug.cgi?id=700229
https://bugzilla.novell.com/show_bug.cgi?id=700229#c1
Vitezslav Cizek
telnet -b eth0 8.8.8.8 22 Trying 8.8.8.8... telnet: eth0: Name or service not known: Success No connection. Escape character is '^]'. SetSockOpt: Bad file descriptor sleep(5) from telnet, after select sleep(5) from telnet, after select sleep(5) from telnet, after select sleep(5) from telnet, after select sleep(5) from telnet, after select sleep(5) from telnet, after select ^Csleep(5) from telnet, after select ^]sleep(5) from telnet, after select sleep(5) from telnet, after select
Could you possibly send a backtrace of your crash? i.e. install telnet-debuginfo and then run the telnet session from gdb? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=700229
https://bugzilla.novell.com/show_bug.cgi?id=700229#c
Vitezslav Cizek
https://bugzilla.novell.com/show_bug.cgi?id=700229
https://bugzilla.novell.com/show_bug.cgi?id=700229#c2
Michael Monnerie
https://bugzilla.novell.com/show_bug.cgi?id=700229
https://bugzilla.novell.com/show_bug.cgi?id=700229#c3
Vitezslav Cizek
https://bugzilla.novell.com/show_bug.cgi?id=700229
https://bugzilla.novell.com/show_bug.cgi?id=700229#c4
--- Comment #4 from Vitezslav Cizek
https://bugzilla.novell.com/show_bug.cgi?id=700229
https://bugzilla.novell.com/show_bug.cgi?id=700229#c5
--- Comment #5 from Michael Monnerie
https://bugzilla.novell.com/show_bug.cgi?id=700229
https://bugzilla.novell.com/show_bug.cgi?id=700229#c6
--- Comment #6 from Vitezslav Cizek
https://bugzilla.novell.com/show_bug.cgi?id=700229
https://bugzilla.novell.com/show_bug.cgi?id=700229#c7
--- Comment #7 from Michael Monnerie
https://bugzilla.novell.com/show_bug.cgi?id=700229
https://bugzilla.novell.com/show_bug.cgi?id=700229#c8
--- Comment #8 from Vitezslav Cizek
https://bugzilla.novell.com/show_bug.cgi?id=700229
https://bugzilla.novell.com/show_bug.cgi?id=700229#c9
--- Comment #9 from Vitezslav Cizek
https://bugzilla.novell.com/show_bug.cgi?id=700229
https://bugzilla.novell.com/show_bug.cgi?id=700229#c10
Vitezslav Cizek
https://bugzilla.novell.com/show_bug.cgi?id=700229
https://bugzilla.novell.com/show_bug.cgi?id=700229#c11
Christian Dengler
https://bugzilla.novell.com/show_bug.cgi?id=700229
https://bugzilla.novell.com/show_bug.cgi?id=700229#c12
Marcus Meissner
https://bugzilla.novell.com/show_bug.cgi?id=700229
https://bugzilla.novell.com/show_bug.cgi?id=700229#c13
--- Comment #13 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=700229
https://bugzilla.novell.com/show_bug.cgi?id=700229#c14
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=700229
https://bugzilla.novell.com/show_bug.cgi?id=700229#c15
Christian Dengler
https://bugzilla.novell.com/show_bug.cgi?id=700229
https://bugzilla.novell.com/show_bug.cgi?id=700229#c16
--- Comment #16 from Michael Monnerie
https://bugzilla.novell.com/show_bug.cgi?id=700229
https://bugzilla.novell.com/show_bug.cgi?id=700229#c17
--- Comment #17 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=700229
https://bugzilla.novell.com/show_bug.cgi?id=700229#c19
--- Comment #19 from Vitezslav Cizek
telnet -b eth0 8.8.8.8 22
The -b parameter expects the IP address of the interface. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=700229
https://bugzilla.novell.com/show_bug.cgi?id=700229#c20
--- Comment #20 from Michael Monnerie
https://bugzilla.novell.com/show_bug.cgi?id=700229
https://bugzilla.novell.com/show_bug.cgi?id=700229#c21
--- Comment #21 from Vitezslav Cizek
https://bugzilla.novell.com/show_bug.cgi?id=700229
https://bugzilla.novell.com/show_bug.cgi?id=700229#c
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=700229
https://bugzilla.novell.com/show_bug.cgi?id=700229#c23
Vitezslav Cizek
https://bugzilla.novell.com/show_bug.cgi?id=700229
https://bugzilla.novell.com/show_bug.cgi?id=700229#c24
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=700229
https://bugzilla.novell.com/show_bug.cgi?id=700229#c
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=700229
https://bugzilla.novell.com/show_bug.cgi?id=700229#c25
--- Comment #25 from Bernhard Wiedemann
http://bugzilla.novell.com/show_bug.cgi?id=700229
Swamp Workflow Management
http://bugzilla.novell.com/show_bug.cgi?id=700229
--- Comment #28 from Kristyna Streitova
http://bugzilla.novell.com/show_bug.cgi?id=700229
Swamp Workflow Management
http://bugzilla.novell.com/show_bug.cgi?id=700229
--- Comment #30 from Swamp Workflow Management
http://bugzilla.novell.com/show_bug.cgi?id=700229
Swamp Workflow Management
http://bugzilla.novell.com/show_bug.cgi?id=700229
Swamp Workflow Management
http://bugzilla.novell.com/show_bug.cgi?id=700229
Swamp Workflow Management
participants (1)
-
bugzilla_noreply@novell.com