From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 84850 invoked by alias); 11 Nov 2019 16:19:38 -0000 Mailing-List: contact libc-locales-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: libc-locales-owner@sourceware.org Received: (qmail 84839 invoked by uid 89); 11 Nov 2019 16:19:38 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-5.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.1 spammy=HX-Languages-Length:570 X-HELO: us-smtp-delivery-1.mimecast.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1573489175; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=KNAUsUX18VeKnWlZeW5Z2u38Y8GF4b2mHW8fHT0pco4=; b=C8xqKVRFw2jQT+I88xeCpNuMPPISAFSr5YgXeEX046HAeo5hxhcBIIY8V1yckcX0d1rzm4 VqV5CRJ1YJosGb05npKhmiBUCdUmDMp5LyZ+ohgRJK5ZiqidN37CHCC4a6fLjB/hM7I766 EwNQwvUYK6bS3AEsbanm6/cZGXxbIdY= From: Florian Weimer To: Abhidnya Joshi Cc: libc-locales@sourceware.org Subject: Re: Crash in gconv_db.c References: Date: Mon, 11 Nov 2019 16:19:00 -0000 In-Reply-To: (Abhidnya Joshi's message of "Mon, 11 Nov 2019 21:35:22 +0530") Message-ID: <87bltiv10t.fsf@oldenburg2.str.redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 Content-Type: text/plain; charset=WINDOWS-1252 Content-Transfer-Encoding: quoted-printable X-SW-Source: 2019-q4/txt/msg00062.txt.bz2 * Abhidnya Joshi: > The questions here are: > 1. why step[0] has counter 1? this means it was 0, got incremented via > increment_counter and hence getting inside > > DL_CALL_FCT (init_fct, (step)); > > 2. When step gets initialized, counter is never 0. Under which > condition this can become 0? > 3. Please let me know what to debug more to understand this. First, we should rule out that this isn't the result of unrelated heap corruption. Do you have reproducer? Can you run under valgrind or built with Address Sanitizer? Thanks, Florian