DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 61Q8FdtS970440 Authentication-Results: delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com Authentication-Results: delorie.com; spf=pass smtp.mailfrom=cygwin.com DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 61Q8FdtS970440 Authentication-Results: delorie.com; dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=fweq77cu X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BDF494BA23E6 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1772093738; bh=jAQVkYrPHo+2J81qvhtoIADtmMs+Phf23Br1QnhK5jk=; h=Date:To:Cc:Subject:References:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=fweq77cuCiYuSE/CXGbVGu2FiyTiJnk23eOJ8ab/yo25mrruboSjwDxDnmWUZL61S 6NQNE4yfKB7v/f45FTSWk7dj28PJ0NKG4Agr9JAJfb2R0kP7t7x7q/oQ2jb2jEtQJ6 ELEhVX2doi4Smgz6MfrnKEfAOjS8AFnPr2aYzafA= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org DAD224BA543C ARC-Filter: OpenARC Filter v1.0.0 sourceware.org DAD224BA543C ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1772093720; cv=none; b=buE7VWZSM8AvEqfM2gXeHW5ER6kiu2SCWC6lS4mFzrf2uGysj5/hbJNJNxi7dqAjrAd38ZZ8xStIJonJBuEuZxpPgNV1EtQNjV37UGO3UP5GWPIzOmMGNWefYv3+3lzU2Qzk18IdBNofRfBLkVlRAJvE/794xNJLv2H41zk8OlM= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1772093720; c=relaxed/simple; bh=4+HpoOc+ebLo7aSNvF/zq9YgSzl2flxX3YPQ9gnY+5E=; h=DKIM-Signature:Date:From:To:Subject:Message-ID:MIME-Version; b=FQFG/dBaEaS31XVBM/4nQdMHRS1KO1K/t5D94I0UqIURYvPQ5UQ41Clu6TJqHFlQbYD60l6wYDR385WgKdtfDkMdExWu/FueIDF5GFBpvImFPvh/SgiiuGgJ39WGwwqzQzx68qL+/tb8lVZHFf9kpfKnwfy9Yr33D5XbWh4VLns= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org DAD224BA543C Date: Thu, 26 Feb 2026 03:15:17 -0500 To: KENNON J CONRAD Cc: KENNON J CONRAD via Cygwin Subject: Re: Memmove causing program crashes, giving SIGTRAP in GDB(?) Message-ID: References: <547312365 DOT 1464244 DOT 1771958282029 AT connect DOT xfinity DOT com> <1670201592 DOT 1489273 DOT 1772043520008 AT connect DOT xfinity DOT com> <1044918836 DOT 1507810 DOT 1772086967212 AT connect DOT xfinity DOT com> <1579472684 DOT 1508349 DOT 1772092747339 AT connect DOT xfinity DOT com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1579472684.1508349.1772092747339@connect.xfinity.com> X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.30 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Glenn Strauss via Cygwin Reply-To: Glenn Strauss Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" On Wed, Feb 25, 2026 at 11:59:07PM -0800, KENNON J CONRAD via Cygwin wrote: > Okay, so now I learned about setting the frame and disassemble and see the memmove code: > > Dump of assembler code for function memmove: [snip] > => 0x00007ff96ba812a9 <+137>: rep movsq %ds:(%rsi),%es:(%rdi) [snip] > End of assembler dump. movsq requires address alignment of 8 bytes. What are the pointer addresses of the arguments to memmove()? A SIGTRAP may result if the addresses are not 8-byte aligned. Cheers, Glenn -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple