From owner-freebsd-bugs@FreeBSD.ORG Sat Feb 7 21:50:02 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7F84C1065676 for ; Sat, 7 Feb 2009 21:50:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 51DDE8FC22 for ; Sat, 7 Feb 2009 21:50:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n17Lo2mu039322 for ; Sat, 7 Feb 2009 21:50:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n17Lo2se039321; Sat, 7 Feb 2009 21:50:02 GMT (envelope-from gnats) Resent-Date: Sat, 7 Feb 2009 21:50:02 GMT Resent-Message-Id: <200902072150.n17Lo2se039321@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Chagin Dmitry Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0727B106564A for ; Sat, 7 Feb 2009 21:48:28 +0000 (UTC) (envelope-from root@dchagin.static.corbina.ru) Received: from contrabass.post.ru (contrabass.post.ru [85.21.78.5]) by mx1.freebsd.org (Postfix) with ESMTP id AFDC98FC16 for ; Sat, 7 Feb 2009 21:48:27 +0000 (UTC) (envelope-from root@dchagin.static.corbina.ru) Received: from corbina.ru (mail.post.ru [195.14.50.16]) by contrabass.post.ru (Postfix) with ESMTP id 8516B50631 for ; Sun, 8 Feb 2009 00:30:33 +0300 (MSK) Received: from [10.208.17.3] (HELO dchagin.static.corbina.ru) by corbina.ru (CommuniGate Pro SMTP 5.1.14) with ESMTPS id 1612336168 for FreeBSD-gnats-submit@freebsd.org; Sun, 08 Feb 2009 00:30:33 +0300 Received: from dchagin.static.corbina.ru (localhost.chd.net [127.0.0.1]) by dchagin.static.corbina.ru (8.14.3/8.14.3) with ESMTP id n17LUX4w013261 for ; Sun, 8 Feb 2009 00:30:33 +0300 (MSK) (envelope-from root@dchagin.static.corbina.ru) Received: (from root@localhost) by dchagin.static.corbina.ru (8.14.3/8.14.3/Submit) id n17LURk2013260; Sun, 8 Feb 2009 00:30:27 +0300 (MSK) (envelope-from root) Message-Id: <200902072130.n17LURk2013260@dchagin.static.corbina.ru> Date: Sun, 8 Feb 2009 00:30:27 +0300 (MSK) From: Chagin Dmitry To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: bin/131477: csup hangs after reconnect X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Chagin Dmitry List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Feb 2009 21:50:03 -0000 >Number: 131477 >Category: bin >Synopsis: csup hangs after reconnect >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Feb 07 21:50:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Chagin Dmitry >Release: FreeBSD 8.0-CURRENT amd64 >Organization: >Environment: System: FreeBSD dchagin.static.corbina.ru 8.0-CURRENT FreeBSD 8.0-CURRENT #148 r188216: Fri Feb 6 08:28:37 MSK 2009 root@dchagin.dialup.corbina.ru:/tank/obj/work/pub/head/sys/YOY amd64 >Description: >How-To-Repeat: dchagin# cd /tank/repos/csup dchagin# dchagin# cat csup.netbsd *default host=cvsup.us.NetBSD.org *default base=/tank/repos/netbsd *default prefix=/tank/repos/netbsd *default release=cvs *default delete use-rel-suffix *default compress netbsd dchagin# csup -L 2 csup.netbsd Parsing supfile "csup.netbsd" Connecting to cvsup.us.NetBSD.org Connected to 216.165.129.134 Server software version: SNAP_16_1h Negotiating file attribute support Exchanging collection information Establishing multiplexed-mode data connection Running ............ ......... /tank/repos/netbsd/xsrc/xfree/xc/programs/Xserver/Xext/shm.c,v: Checksum mismatch -- will transfer entire file Edit xsrc/xfree/xc/programs/Xserver/XpConfig/C/print/models/SPSPARC2/fonts/Times-BoldItalic.pmf,v Edit xsrc/xfree/xc/programs/Xserver/XpConfig/C/print/models/SPSPARC2/fonts/Times-Italic.pmf,v Edit xsrc/xfree/xc/programs/Xserver/XpConfig/C/print/models/SPSPARC2/fonts/Times-Roman.pmf,v Receiver: Connection reset by peer Edit xsrc/xfree/xc/programs/Xserver/XpConfig/C/print/models/SPSPARC2/fonts/ZapfDingbats.pmf,v Edit xsrc/xfree/xc/programs/Xserver/XpConfig/C/print/models/SPSPARC2/fonts/fonts.dir,v Edit xsrc/xfree/xc/programs/Xserver/XpConfig/C/print/models/SPSPARC2/model-config,v Edit xsrc/xfree/xc/programs/Xserver/XpConfig/README,v SetAttrs xsrc/xfree/xc/programs/Xserver/Xprint/AttrValid.c,v Will retry at 00:18:47 Retrying Connected to 216.165.129.134 Server software version: SNAP_16_1h Negotiating file attribute support Exchanging collection information Ошибка сегментации(core dumped) dchagin# dchagin# 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 "amd64-marcel-freebsd"... Core was generated by `csup'. Program terminated with signal 11, Segmentation fault. Reading symbols from /lib/libcrypto.so.5...done. Loaded symbols for /lib/libcrypto.so.5 Reading symbols from /lib/libz.so.4...done. Loaded symbols for /lib/libz.so.4 Reading symbols from /lib/libthr.so.3...done. Loaded symbols for /lib/libthr.so.3 Reading symbols from /lib/libc.so.7...done. Loaded symbols for /lib/libc.so.7 Reading symbols from /libexec/ld-elf.so.1...done. Loaded symbols for /libexec/ld-elf.so.1 #0 pattlist_size (p=0x0) at /work/pub/head/usr.bin/csup/../../contrib/csup/misc.c:500 500 { [New Thread 800e021c0 (LWP 100401)] (gdb) bt #0 pattlist_size (p=0x0) at /work/pub/head/usr.bin/csup/../../contrib/csup/misc.c:500 #1 0x000000000040efdf in proto_xchgcoll (config=0x800e12080) at /work/pub/head/usr.bin/csup/../../contrib/csup/proto.c:372 #2 0x000000000040fc6f in proto_run (config=0x800e12080) at /work/pub/head/usr.bin/csup/../../contrib/csup/proto.c:614 #3 0x000000000040ba8a in main (argc=Variable "argc" is not available. ) at /work/pub/head/usr.bin/csup/../../contrib/csup/main.c:314 (gdb) up 1 #1 0x000000000040efdf in proto_xchgcoll (config=0x800e12080) at /work/pub/head/usr.bin/csup/../../contrib/csup/proto.c:372 372 for (i = 0; i < pattlist_size(coll->co_accepts); i++) { (gdb) list 367 STAILQ_FOREACH(coll, &config->colls, co_next) { 368 if (coll->co_options & CO_SKIP) 369 cse, coll->co_umask, coll->co_options); 372 for (i = 0; i < pattlist_size(coll->co_accepts); i++) { 373 } 376 for (i = 0; i < pattlist_size(coll->co_refusals); i++) { (gdb) >Fix: >Release-Note: >Audit-Trail: >Unformatted: