From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lj1-f178.google.com (mail-lj1-f178.google.com [209.85.208.178]) by sourceware.org (Postfix) with ESMTPS id A04893857C7A for ; Mon, 18 Jan 2021 14:18:30 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org A04893857C7A Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=rtems.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=joel.sherrill@gmail.com Received: by mail-lj1-f178.google.com with SMTP id e7so18373979ljg.10 for ; Mon, 18 Jan 2021 06:18:30 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:reply-to :from:date:message-id:subject:to:cc; bh=OAF/n/HRvqxylOx8cWo5swraTcU9SrZrmXx52CHPaK4=; b=WnHfa9rEwqnfodPLnCUqO8LAq/YXlJFXGCp8RbWRIA2s0T9Pc1OJ/2oYDe0oXTuCZL NUVo381wLXLlkfolyGcJIzxmqg8J395jqqz6lLk1Dpt6vASYxq2g3qL2VMZqoZghPEmv zhUEkP7dvo7yeA0ZTGVnNTvdDO/LboOe/2lcgUiqfKGHLAOY2RFcJpqbPtVTHUrYu3Zd y8p5F8TVzF9CMGXpL9ZRtKzv0n4kii81JfZxlPazAM9/v2K0ItYSLbhZf2f2xJgS/lfH q8Awru/xQdYhaV0cADXJaIFYRWDFH3vItmWcCxt3Yl8NI+apAp7JVQi8uyrQJ40v5P3g dS0w== X-Gm-Message-State: AOAM531K63yVk0rrtCE/6A7aZ1HZ2CzhgESFF3XxreqggQ8OADYhc31M 7zgecz8iGKWDXEQr8w8wH/n3it5NE20= X-Google-Smtp-Source: ABdhPJxASa5oCbsA9Hjl7UzDxC1aDcbAyFDi0/n08WdiKs0N/j0mKud77zjBM1wThnWNyfzpgXXthQ== X-Received: by 2002:a2e:b538:: with SMTP id z24mr11158568ljm.478.1610979509218; Mon, 18 Jan 2021 06:18:29 -0800 (PST) Received: from mail-lj1-f180.google.com (mail-lj1-f180.google.com. [209.85.208.180]) by smtp.gmail.com with ESMTPSA id h126sm1918884lfd.44.2021.01.18.06.18.28 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 18 Jan 2021 06:18:29 -0800 (PST) Received: by mail-lj1-f180.google.com with SMTP id w26so18386907ljo.4 for ; Mon, 18 Jan 2021 06:18:28 -0800 (PST) X-Received: by 2002:a2e:99cc:: with SMTP id l12mr11011357ljj.448.1610979507871; Mon, 18 Jan 2021 06:18:27 -0800 (PST) MIME-Version: 1.0 References: <202101181750544093859@qkmtech.com> In-Reply-To: <202101181750544093859@qkmtech.com> Reply-To: joel@rtems.org From: Joel Sherrill Date: Mon, 18 Jan 2021 08:18:15 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: printf/vsnprintf crashes while printing float values To: zhongcai.guo@qkmtech.com Cc: newlib X-Spam-Status: No, score=-3027.6 required=5.0 tests=BAYES_50, BODY_8BITS, FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS, HTML_MESSAGE, KAM_DMARC_STATUS, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: newlib@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Newlib mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Jan 2021 14:18:32 -0000 On Mon, Jan 18, 2021, 3:51 AM zhongcai.guo--- via Newlib < newlib@sourceware.org> wrote: > > Hi, > > I run RTEMS system on my Xilinx Zync7000 hardware but printf/vsnprintf > crash my system in interrupt. I searched long time in Google, and it seem= s > to be an issue in Newlib than RTEMS(i guess). Therefore i want to figure > out whether it > is a fixed issued in Newlib but don't get the place to search closed/fixe= d > bug. So i have no idea but send the email to ask for help. Any hints abou= t > the issue would be appreciate. > Does the thread doing the printing have the floating point attribute? Otherwise, the flu is disabled --joel > > > > > Best regards > Ceasar Guo > =E8=BF=90=E6=8E=A7=E9=83=A8 / MC > Email: zhongcai.guo@qkmtech.com > > =E6=AD=A4=E7=94=B5=E9=82=AE=E5=8F=AF=E8=83=BD=E5=8C=85=E5=90=AB=E6=9C=BA= =E5=AF=86=E4=BF=A1=E6=81=AF=EF=BC=8C=E5=A6=82=E9=98=81=E4=B8=8B=E5=B9=B6=E9= =9D=9E=E6=9C=AC=E7=94=B5=E9=82=AE=E6=84=8F=E6=8C=87=E7=9A=84=E6=8E=A5=E6=94= =B6=E6=96=B9=EF=BC=8C=E8=AF=B7=E5=8F=8A=E6=97=B6=E8=81=94=E7=B3=BB=E6=88=91= =E4=BB=AC=E5=B9=B6=E5=B0=86=E9=98=81=E4=B8=8B=E6=8B=A5=E6=9C=89=E7=9A=84=E6= =9C=AC=E7=94=B5=E9=82=AE=E5=88=A0=E9=99=A4=E3=80=82 > =E4=B8=9C=E8=8E=9E=E5=B8=82=E6=9D=8E=E7=BE=A4=E8=87=AA=E5=8A=A8=E5=8C=96= =E6=8A=80=E6=9C=AF=E6=9C=89=E9=99=90=E5=85=AC=E5=8F=B8=E4=BF=9D=E7=95=99=E6= =89=80=E6=9C=89=E6=9D=83=E5=88=A9=E3=80=82 > This message may contain information that is confidential or privileged. > If you are not the intended recipient, please advise the sender immediate= ly > and delete this message. > QKM Technology (Dongguan) Co., Ltd. Limited. All rights reserved. >