From owner-freebsd-current@FreeBSD.ORG Sun Jun 23 20:55:40 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 9EC7838A for ; Sun, 23 Jun 2013 20:55:40 +0000 (UTC) (envelope-from danmack@gmail.com) Received: from mail-ea0-x236.google.com (mail-ea0-x236.google.com [IPv6:2a00:1450:4013:c01::236]) by mx1.freebsd.org (Postfix) with ESMTP id 36A921D29 for ; Sun, 23 Jun 2013 20:55:40 +0000 (UTC) Received: by mail-ea0-f182.google.com with SMTP id d10so5666157eaj.27 for ; Sun, 23 Jun 2013 13:55:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=ujbPHlN3S1eh/LJXXFSzFhndZ0gpCVm7MGQSNwMHCsk=; b=vHVFvCgdKihJQBqHQy0IeuvlzObcWbDWF7v3Cb2gSpRnnAiM+xylwT6u7PoM9Arkov pQK/fbNMm6wBxsD4QJHlCFh+SsLJes4GvFHg8zMDDzqiABuqiozwaeN489TYzcYRwkcO iPTxQ4+uIg/mi6hYbY7ign0zTaUaT6IVLfBk8VJgxWwrWIiIQX4wGNfsg4nUTP/GSJT7 cPrMvUg0AtNNRH3SwcQmrOUGUq37fSTJ0x9ODp8uL5UvZw79Cr6Z4GmcDWu50sAThyc1 0TYHsjs/03yo+w45Lk+g4t1VlUxcLSRP8HzD4Bas1U2RbfWHuD+Akxq6ln70di9AztBR 5+Ug== MIME-Version: 1.0 X-Received: by 10.14.223.199 with SMTP id v47mr21861023eep.32.1372020939315; Sun, 23 Jun 2013 13:55:39 -0700 (PDT) Received: by 10.223.4.218 with HTTP; Sun, 23 Jun 2013 13:55:39 -0700 (PDT) In-Reply-To: <543521372018618@web3g.yandex.ru> References: <543521372018618@web3g.yandex.ru> Date: Sun, 23 Jun 2013 15:55:39 -0500 Message-ID: Subject: Re: dialog4ports crashing in head recently From: Dan Mack To: "Ilya A. Arkhipov" X-Mailman-Approved-At: Sun, 23 Jun 2013 21:01:41 +0000 Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: "freebsd-current@freebsd.org" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Jun 2013 20:55:40 -0000 Yep, I'm running the latest ... root@winbsd:/usr/ports/net-mgmt/zabbix2-agent # pkg info | grep dialog dialog4ports-0.1.5 Console Interface to configure ports I originally thought it was just one system that was messed up having been through so many generations of buildworld/installworld so this box (winbsd) is a freshly installed like this: 1. installed a fresh VM guest with my release.iso from r251520 2. to get /usr/src, I built subversion from /usr/ports 3. step 2 probably built dialog4ports via portmaster automagically using libdiag from r251420 4. after getting /usr/src and rebuilding current from head, dialog4ports has the new crash behaviour. I just tried Nathan and Peter's suggestion and it fixes the problem. If you have dialog4ports installed from an older release... about a week ago, it needs to be rebuilt it appears. Dan On Sun, Jun 23, 2013 at 3:16 PM, Ilya A. Arkhipov wrote: > 24.06.2013, 00:10, "Dan Mack" : > > dialog4ports has been crashing on all of my systems for about the last > > week. I rebuilt it with debug symbols and this is what I got (doesn't > > matter which port is using it). > > > > Anyone else seeing this? > > > > Dan > > > > root@winbsd:/usr/ports/net-mgmt # cd zabbix2-agent/ > > root@winbsd:/usr/ports/net-mgmt/zabbix2-agent # ls > > Makefile dialog4ports.core > > root@winbsd:/usr/ports/net-mgmt/zabbix2-agent # gdb `which dialog4ports` > > dialog4ports.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 `dialog4ports'. > > Program terminated with signal 6, Aborted. > > Reading symbols from /lib/libncursesw.so.8...done. > > Loaded symbols for /lib/libncursesw.so.8 > > Reading symbols from /lib/libm.so.5...done. > > Loaded symbols for /lib/libm.so.5 > > Reading symbols from /usr/lib/libdialog.so.7...done. > > Loaded symbols for /usr/lib/libdialog.so.7 > > 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 0x0000000800fedffa in kill () from /lib/libc.so.7 > > (gdb) where > > #0 0x0000000800fedffa in kill () from /lib/libc.so.7 > > #1 0x0000000800f8c4c0 in __stack_chk_fail () from /lib/libc.so.7 > > #2 0x0000000800f8c430 in __stack_chk_fail () from /lib/libc.so.7 > > #3 0x00000000004029aa in main (argc=, argv= > optimized out>) at dialog4ports.c:212 > > > > -- > > > > /* > > * Dan Mack > > * danmack at gmail.com > > */ > > _______________________________________________ > > freebsd-current@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-current > > To unsubscribe, send any mail to " > freebsd-current-unsubscribe@freebsd.org" > > Hi Dan, > > It is interesting because 212 line is: > err(EXIT_FAILURE, "List of items should not be empty"); > > Have you last dialog4ports?(dialog4ports == 0.1.5) > I doesn't have any problem with last ports/d4p. > > Can you also provide bt full output for me. > > -- > With Best Regards, > Ilya A. Arkhipov > -- /* * Dan Mack * danmack at gmail.com */