From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <sourceware-bugzilla@sourceware.org>
Received: by sourceware.org (Postfix, from userid 48)
	id 394203858C50; Tue,  7 Feb 2023 22:48:49 +0000 (GMT)
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 394203858C50
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org;
	s=default; t=1675810129;
	bh=z0zL816glKnv5Ey23BpH2FSPtcMkeSv78+83/vaodWo=;
	h=From:To:Subject:Date:In-Reply-To:References:From;
	b=sUvNJ70gPD5vxpIj1dNNdORBoOJqCkUy18Fhi8FxS0JtGdLeWvetqGYKQDBINhriT
	 S3P0qT/McbU+VQi3pb6V9lATkWduu6EtpoFJxq9cBqQP95r6apQrYL9m17vFomacEH
	 S0drXbWs/Uvl1H+rLNVgGNavx5ogpMXA6pJJZHSg=
From: "sourceware.897 at alm dot website"
 <sourceware-bugzilla@sourceware.org>
To: gdb-prs@sourceware.org
Subject: [Bug rust/30090] Using TUI on musl libc with Rust program, finish
 failed a bounds check
Date: Tue, 07 Feb 2023 22:48:48 +0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gdb
X-Bugzilla-Component: rust
X-Bugzilla-Version: 12.1
X-Bugzilla-Keywords: 
X-Bugzilla-Severity: normal
X-Bugzilla-Who: sourceware.897 at alm dot website
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution: 
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: 
X-Bugzilla-Changed-Fields: 
Message-ID: <bug-30090-4717-9MVu07MwjW@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-30090-4717@http.sourceware.org/bugzilla/>
References: <bug-30090-4717@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
List-Id: <gdb-prs.sourceware.org>

https://sourceware.org/bugzilla/show_bug.cgi?id=3D30090

--- Comment #4 from Alex Martin <sourceware.897 at alm dot website> ---
Unfortunately it's been a few days since this happened as I was waiting for=
 an
account registration, I don't think the code has changed too much so I might
still be able to reproduce...

Yes, I was able to reproduce, and without the TUI. It's `object::<GObject>(=
)`,
so the return type is supposed to be `Option<GObject>`, where `GObject` is a
wrapper type produced by a 650-line macro[1].

On the instruction it returns to, I'm able to `print $rax as GObject` and it
works perfectly.

[1]
https://gtk-rs.org/gtk-rs-core/stable/latest/docs/src/glib/object.rs.html#8=
02-1467

--=20
You are receiving this mail because:
You are on the CC list for the bug.=