From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Fabrice Popineau Newsgroups: gmane.emacs.devel Subject: Re: Emacs-26 threads problem [win64] Date: Tue, 10 Oct 2017 20:55:20 +0200 Message-ID: References: <83h8v7r02e.fsf@gnu.org> <83vajnotik.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="94eb2c097a168a0f16055b35da69" X-Trace: blaine.gmane.org 1507661780 3918 195.159.176.226 (10 Oct 2017 18:56:20 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 10 Oct 2017 18:56:20 +0000 (UTC) Cc: Emacs developers To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Oct 10 20:56:13 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e1zhN-00007W-GQ for ged-emacs-devel@m.gmane.org; Tue, 10 Oct 2017 20:56:13 +0200 Original-Received: from localhost ([::1]:36682 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e1zhU-0007wS-Sa for ged-emacs-devel@m.gmane.org; Tue, 10 Oct 2017 14:56:20 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50309) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e1zgu-0007vv-Jr for emacs-devel@gnu.org; Tue, 10 Oct 2017 14:55:45 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e1zgt-0007Yi-SE for emacs-devel@gnu.org; Tue, 10 Oct 2017 14:55:44 -0400 Original-Received: from mail-qt0-x22c.google.com ([2607:f8b0:400d:c0d::22c]:50190) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e1zgs-0007V6-81; Tue, 10 Oct 2017 14:55:42 -0400 Original-Received: by mail-qt0-x22c.google.com with SMTP id f15so54376855qtf.7; Tue, 10 Oct 2017 11:55:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=JwuUJj+GaaekOQCyfsxANOEzl6JmWM0dFpZpGqKBVJw=; b=rC1GToUpbaOKO37VIxS07Tzj1glcJGhG2NFrelPq3+8KHiufbyiKMpy4XALUfCg7ms mrG1hjI/HGUpZ/EI3D7Lk+8fxt1I2j0E3yiKWDPA1o4NfdLePfsfHA4MBHpmTep62o+8 hyQv7EMaKGS82syemMeL2wX0V0UN6R1KDlGmqWuoxqheFvp/RYg4Cv1tY7+ne5ajPlX6 jXXwvOMh2iecMPv5l+yOaDrUCsbz0kt4kQDl5PqbcDhkiFV5Rm+oFRIQnDhpWChBsynG HmrTTE+IL78M9i1i13FqrSIisyTIJZlqPyYBuYOyVdPfj8Hti1H1DbPpWZU3yt0b0BJn NMZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=JwuUJj+GaaekOQCyfsxANOEzl6JmWM0dFpZpGqKBVJw=; b=Op0miFybbf51hEc3XLBEEGGxN6raHvgxuEj1Ue5k/lJIxYux6gvQVBzv3pLH4A7ErO Tesp7ceeVTQayBjicwxy/M3eSOXDn39/PYq059LcNFnOXCP2/NKtl5rkPW7oBPblDMIu wQw6tOlWYYSTU1x7oRPGlQ6Fjv1ZK2j93AU8YDe8FGxkhwaTLqyTVqRK2UqL7QsoABXq gz8Ex+EqBK9ZXcYuk6SojK01WI5tFpzs6FLl9HSS/D4DcT/m/pQYQWGyKOqwWpZNMvQ6 XLKltxjzKKUTUyJ8j6ZMbeg8s2Pu+fPTCraLlhqVqhsplGw3uFFRTHzRl229HL5u3FWF crUA== X-Gm-Message-State: AMCzsaVJKaIiO2eyPcdc9/rKCSffLnLNKDR8+VbJQVLSAKyEEE/REeob GVauaBHHU4qjjoAucoDkoqvSLVmCvKAT54EAYxjHoQ== X-Google-Smtp-Source: AOwi7QCkWwqWE1sLyzPpqIz8fYvPg9yKKXv/jaNTgiZk1+gU/+eS/bYm8z60jPKPZXmb/DDdJq78L/yq1Z7VxaUlGfk= X-Received: by 10.233.237.195 with SMTP id c186mr16530113qkg.69.1507661741426; Tue, 10 Oct 2017 11:55:41 -0700 (PDT) Original-Received: by 10.140.94.2 with HTTP; Tue, 10 Oct 2017 11:55:20 -0700 (PDT) In-Reply-To: <83vajnotik.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400d:c0d::22c X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:219353 Archived-At: --94eb2c097a168a0f16055b35da69 Content-Type: text/plain; charset="UTF-8" 2017-10-10 18:30 GMT+02:00 Eli Zaretskii : > > From: Fabrice Popineau > > Date: Tue, 10 Oct 2017 18:13:19 +0200 > > Cc: Emacs developers > > > > (gdb) p stack_pos > > $3 = {__max_align_ll = 0, __max_align_ld = 3. > 587554638101247699761989924457637e-4943} > > What is &stack_pos, the address of stack_pos? Is it properly aligned? > > (gdb) p &stack_pos $1 = (max_align_t *) 0xbc1fec0 (gdb) p (char *)&stack_pos $2 = 0xbc1fec0 "" I don't see anything wrong here ? Also, can you tell what Windows exception was translated into SIGSEGV? > I think GDB will show that information if you issue the following > command before running the segfaulting program: > > (gdb) set debugexceptions 1 > [New Thread 1144.0x5860] gdb: Target exception EXCEPTION_ACCESS_VIOLATION at 0x4001ecb07 Fabrice --94eb2c097a168a0f16055b35da69 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


2017-10-10 18:30 GMT+02:00 Eli Zaretskii <eliz@gnu.org>:
=
> From: Fabrice Popine= au <fabrice.popineau@gmail= .com>
> Date: Tue, 10 Oct 2017 18:13:19 +0200
> Cc: Emacs developers <emacs-= devel@gnu.org>
>
> (gdb) p stack_pos
> $3 =3D {__max_align_ll =3D 0, __max_align_ld =3D 3.58755463810124= 7699761989924457637e-4943}

What is &stack_pos, the address of stack_pos?=C2=A0 Is it proper= ly aligned?


(gdb) p &stack_pos
$1 = =3D (max_align_t *) 0xbc1fec0
(gdb) p (char *)&stack_pos
$2 =3D 0xbc1fec0 ""=C2=A0

I don= 9;t see anything wrong here ?

Also, can you tell what Windows exception was translated into SIGSEGV?
I think GDB will show that information if you issue the following
command before running the segfaulting program:

=C2=A0 (gdb) set debugexceptions 1

[New= Thread 1144.0x5860]
gdb: Target exception EXCEPTION_ACCESS_VIOLA= TION at 0x4001ecb07

Fabrice=C2=A0

<= /div>
--94eb2c097a168a0f16055b35da69--