From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24125 invoked by alias); 6 Nov 2006 10:28:39 -0000 Received: (qmail 24067 invoked by uid 22791); 6 Nov 2006 10:28:39 -0000 X-Spam-Check-By: sourceware.org Received: from smtp30.hccnet.nl (HELO smtp30.hccnet.nl) (62.251.0.40) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 06 Nov 2006 10:28:37 +0000 Received: from [192.168.0.151] by smtp30.hccnet.nl via [80.100.236.49] with ESMTP id kA6ASX9M023309 (8.13.6/2.05); Mon, 6 Nov 2006 11:28:34 +0100 (MET) Message-ID: <454F0E4F.1060708@hccnet.nl> Date: Mon, 06 Nov 2006 10:28:00 -0000 From: Erik Leunissen User-Agent: Thunderbird 1.5 (X11/20051201) MIME-Version: 1.0 To: Erik Leunissen CC: gdb@sourceware.org Subject: Re: segfault References: <454F0CBD.1000903@hccnet.nl> In-Reply-To: <454F0CBD.1000903@hccnet.nl> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-11/txt/msg00019.txt.bz2 Erik Leunissen wrote: > > My (casual) interpretation of the back trace: > It appears that somehow xstrvprintf() in utils.c is called with an empty > string '\0' to append, upon which strlen() explodes. > Well that's too casual! A newline character is being appended, not an empty string. Erik