bin/108517: csup is crashed when run under socksify command

Sergey Matveychuk sem at FreeBSD.org
Mon Jan 29 15:40:24 UTC 2007


>Number:         108517
>Category:       bin
>Synopsis:       csup is crashed when run under socksify command
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jan 29 15:40:23 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Sergey Matveychuk
>Release:        6.2-RELEASE
>Organization:
>Environment:
FreeBSD xxx.xxx.ru 6.2-RELEASE FreeBSD 6.2-RELEASE #4: Tue Jan 23 22:05:26 MSK 2007     root at xxx.xxx.ru:/usr/obj/usr/src/sys/XXX  i386
>Description:
# socksify csup cvsupfile
Connected to 195.34.34.240
Updating collection ports-all/cvs
Abort (core dumped)
root at orion[49]# gdb /usr/bin/csup csup.core
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-marcel-freebsd"...
Core was generated by `csup'.
Program terminated with signal 6, Aborted.
Reading symbols from /usr/local/lib/libdsocks.so...done.
Loaded symbols for /usr/local/lib/libdsocks.so
Reading symbols from /lib/libcrypto.so.4...done.
Loaded symbols for /lib/libcrypto.so.4
Reading symbols from /lib/libz.so.3...done.
Loaded symbols for /lib/libz.so.3
Reading symbols from /lib/libpthread.so.2...done.
Loaded symbols for /lib/libpthread.so.2
Reading symbols from /lib/libc.so.6...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /usr/lib/libpam.so.3...done.
Loaded symbols for /usr/lib/libpam.so.3
Reading symbols from /lib/libcrypt.so.3...done.
Loaded symbols for /lib/libcrypt.so.3
Reading symbols from /libexec/ld-elf.so.1...done.
Loaded symbols for /libexec/ld-elf.so.1
#0  0x2821549b in pthread_testcancel () from /lib/libpthread.so.2
[New Thread 0x80a8200 (LWP 100239)]
[New Thread 0x80a8000 (LWP 100240)]
[New Thread 0x8068e00 (runnable)]
[New Thread 0x8068c00 (sleeping)]
[New Thread 0x8068a00 (LWP 100245)]
[New Thread 0x8068800 (sleeping)]
[New Thread 0x8068600 (LWP 100134)]
[New Thread 0x8068000 (sleeping)]
(gdb) bt
#0  0x2821549b in pthread_testcancel () from /lib/libpthread.so.2
#1  0x28204772 in sigaction () from /lib/libpthread.so.2
#2  0x281fdd64 in pthread_kill () from /lib/libpthread.so.2
#3  0x281fd561 in raise () from /lib/libpthread.so.2
#4  0x282ee622 in abort () from /lib/libc.so.6
#5  0x28099007 in sys_getsockname (s=6, name=0x1, namelen=0x1)
    at interposition.c:333
#6  0x280a0f4c in socks_addrisok (s=3) at ../lib/address.c:237
#7  0x2809d63e in Rrecvfrom (s=3, buf=0xbf7fcf90, len=1, flags=0, from=0x0,
    fromlen=0xbf7fcec4) at ../lib/udp.c:141
#8  0x280a918e in Rrecvmsg (s=3, msg=0xbf7fcec0, flags=0)
    at ../lib/Rcompat.c:320
#9  0x280a9286 in Rrecv (s=382, msg=0x17e, len=382, flags=382)
    at ../lib/Rcompat.c:280
#10 0x280a92e6 in Rread (d=382, buf=0x17e, nbytes=382) at ../lib/Rcompat.c:231
#11 0x2809a431 in read (d=3, buf=0xbf7fcf90, nbytes=1) at interposition.c:656
#12 0x080520b3 in sock_read (s=3, buf=0xbf7fcf90, size=1)
    at /usr/src/usr.bin/csup/../../contrib/csup/mux.c:258
#13 0x08052100 in sock_readwait (s=3, buf=0xbf7fcf90, size=1)
    at /usr/src/usr.bin/csup/../../contrib/csup/mux.c:274
#14 0x0805344d in receiver_loop (arg=0x806c440)
    at /usr/src/usr.bin/csup/../../contrib/csup/mux.c:1092
#15 0x28205dfb in pthread_create () from /lib/libpthread.so.2
---Type <return> to continue, or q <return> to quit---
#16 0x282d71e3 in _ctx_start () from /lib/libc.so.6

>How-To-Repeat:
Content of my cvsupfile:
*default host=cvsup4.ru.FreeBSD.org
*default base=/usr
*default prefix=/usr
*default release=cvs tag=.
*default delete use-rel-suffix
*default compress
ports-all
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list