From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id vGU/Kh6LHWTMUBgAWB0awg (envelope-from ) for ; Fri, 24 Mar 2023 07:35:58 -0400 Received: by simark.ca (Postfix, from userid 112) id 985E01E223; Fri, 24 Mar 2023 07:35:58 -0400 (EDT) Authentication-Results: simark.ca; dkim=pass (2048-bit key; unprotected) header.d=lists.lttng.org header.i=@lists.lttng.org header.a=rsa-sha256 header.s=default header.b=naJog3wo; dkim-atps=neutral X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-8.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HTML_MESSAGE,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.lttng.org (lists.lttng.org [167.114.26.123]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id F333F1E0D2 for ; Fri, 24 Mar 2023 07:35:57 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lists.lttng.org; s=default; t=1679657757; bh=hD4Z4xHuMuqRd1DsyCNEDfGfENQjpk4RzdMvnAWor1g=; h=Date:To:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=naJog3woW0i6tn/qWkcjrCpGIITm+qIzlrBSJLdyTC4ntzQApKuBFK7ti2UQxcgS0 XTqYrJFmRC9bW51/aGqroGzE1ULAbp5Mbq5rnLQLm5EYBEk0dqTf/3GqDUe2UdVWQM jNIRusz88ctr2KhW+0w7vOiPl8aQN7W5Hroggn8vFktifaIwaf2PVl9ABqQW6+//cC 9YzLNuMrvj77PPZUzUAZkC+iCsVaHeWgTbPINxygV6YuJfgzJ/sC3k6/s/hbJDoDx3 SBhfGju4KP2CcY3mM+rSo355MFkO3RpfVVu8dXZ047awdRzDT/zUsrALSvuEG0DIlq RY9dUzoV7fVBA== Received: from lists-lttng01.efficios.com (localhost [IPv6:::1]) by lists.lttng.org (Postfix) with ESMTP id 4PjgBj3VHvz2JP3; Fri, 24 Mar 2023 07:35:57 -0400 (EDT) Received: from mail-ed1-f50.google.com (mail-ed1-f50.google.com [209.85.208.50]) by lists.lttng.org (Postfix) with ESMTPS id 4PjgBg5n6Mz2JP2 for ; Fri, 24 Mar 2023 07:35:55 -0400 (EDT) Received: by mail-ed1-f50.google.com with SMTP id eg48so6617885edb.13 for ; Fri, 24 Mar 2023 04:35:55 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679657694; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=ws4fbMoGp0apCQ+1Z11qt4Ges249LOdhdlp/zx7Z62I=; b=V/bmcjLnKaQnmzDqKqySlQ4bLWaYd5XtG89QnHBz2zfsqQ/XO3OvOq9HbD4tUnTOhj qL4iPVA/d0W8WKwUYlD4to02fKk+bJ7vg1B+hwv8LAGGqIOBbCscxdvFAVXICa8ckLcn Nfx+ytmk8s0HIp9yjU3jWmqkwaOnMK+GCKgmKmwS9OplG+4Y32LbWCM7tR+8y73fNPqn fxvpLlmuZgb+UUiPjnVSkJVvo9PvhsO575MKTkYQZpmfnR52oUVZSxDndnDVeTOYRkcY 8PNGWWu1FwoDdvphFLj0/fFK0S2ChTEHghrzEEoHSMRM5swJoGVRlNL1YK6/4BrtaPfY r/6w== X-Gm-Message-State: AAQBX9eTvPpO2WxfRW9NhNyPKxZiuxMvDbp7a3HaloHzRnZcmBvaEm9+ HX/IiSTRvWqhn1z3aDPyab5x2zwShz9ulBWa+V+LukOgrouaBg== X-Google-Smtp-Source: AKy350bKSyqBYg01yBwFZLvVgv3Lzt+jW1a/36RYkmcl4cjKpjvKVPX4y5D3tHdnthzkCRkepNLsmIrdDuh9pRxrdzU= X-Received: by 2002:a50:d69a:0:b0:4fb:2593:844 with SMTP id r26-20020a50d69a000000b004fb25930844mr1296499edi.2.1679657694327; Fri, 24 Mar 2023 04:34:54 -0700 (PDT) MIME-Version: 1.0 Date: Fri, 24 Mar 2023 19:34:43 +0800 Message-ID: To: lttng-dev@lists.lttng.org Subject: [lttng-dev] Nano clock value overflows the signed 64-bit integer range on the babeltrace2 client side when per-process per-user trace file were transfer using lttng live protocol X-BeenThere: lttng-dev@lists.lttng.org X-Mailman-Version: 2.1.39 Precedence: list List-Id: LTTng development list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Yuan Bin via lttng-dev Reply-To: Yuan Bin Content-Type: multipart/mixed; boundary="===============6170092338617673548==" Errors-To: lttng-dev-bounces@lists.lttng.org Sender: "lttng-dev" --===============6170092338617673548== Content-Type: multipart/alternative; boundary="00000000000036f77005f7a3c81b" --00000000000036f77005f7a3c81b Content-Type: text/plain; charset="UTF-8" I launched a program producing traces to the lttng consumerd and lttng relayd, also launching a babeltrace command as lttng live consumer to show the tracing real-timely. It works well when the channel is set to per user mode. But when it is changed to per process per user without no other changes, the babeltrace2 client crashing showing a overflow error: The last error message of babeltrace2 exception stack shows : "Cannot convert cycle to nanoseconds from origin for given clock class: value overflows the signed 64-bit integer range: cc-addr=****, cc-name="monotonic", cc-freq=1000000000, ....." What's the difference resulting this crash ? How to solve it since the perprocess per user mode is perfered for me. version info: babeltrace2: 2.0.4 lttng comands: 2.12.12 --00000000000036f77005f7a3c81b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I launched a program produ= cing traces to the lttng consumerd and lttng relayd, also launching a babel= trace command=C2=A0as lttng live consumer to show the tracing real-timely.= =C2=A0

It works well when= the channel is set to per user mode. But when it is changed to per process= per user without no other changes, the babeltrace2 client crashing showing= a overflow error:

The la= st error message of babeltrace2 exception stack shows :

"Cannot convert cycle to nanoseconds fr= om origin for given clock class: value overflows the signed 64-bit integer = range: cc-addr=3D****, cc-name=3D"monotonic", cc-freq=3D100000000= 0, ....."


What's= the difference resulting this crash ? How to solve it since the perprocess= per user mode is perfered for me.

version info:
babel= trace2: 2.0.4
lttng comands: = 2.12.12


--00000000000036f77005f7a3c81b-- --===============6170092338617673548== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ lttng-dev mailing list lttng-dev@lists.lttng.org https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev --===============6170092338617673548==--