From owner-freebsd-x11@freebsd.org Tue Aug 4 04:48:09 2020 Return-Path: Delivered-To: freebsd-x11@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E88E13B1315 for ; Tue, 4 Aug 2020 04:48:09 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4BLMh93zTmz3b5y for ; Tue, 4 Aug 2020 04:48:09 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: by mailman.nyi.freebsd.org (Postfix) id 888643B1398; Tue, 4 Aug 2020 04:48:09 +0000 (UTC) Delivered-To: x11@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8851E3B1314 for ; Tue, 4 Aug 2020 04:48:09 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-ot1-x32f.google.com (mail-ot1-x32f.google.com [IPv6:2607:f8b0:4864:20::32f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BLMh91bH5z3b3g; Tue, 4 Aug 2020 04:48:08 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: by mail-ot1-x32f.google.com with SMTP id r21so19119512ota.10; Mon, 03 Aug 2020 21:48:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=E0wFXf3fS0NrMSS64BWaE+LpvvE5PUcYQPs+mUfYETQ=; b=j7BUwPd8Ij86cTt3Lmndxgz+PCV/VZbwpRlLbfqAFoDe9ZKiNhBynPZclOiMAp3i4D vjY5sgf+oZGujMwQnZnS6z/EiBMSUk12IMrhMMoU69PmrIt55cfqs6CI5VIFqku6J8ba aguV4hjj5pWvztZGvjINLGZL50vXqtKsfS7uE6IpEifr+9xWpfFHnv8IRtxH7WMkzxmL SKdgN/3ikhevBWbyZYpeF8eEG0gmUymmG4HWOiGumr8jUiLJqAJt88SISnbfa9XdLZMJ +GvptJ7PYFJkqMKmbJKEOXXUHLTJVwkfXzYl9O+w8LygRlTr9C5dBL6dv0p+7Nn9Nm0H 2GvA== 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:from:date :message-id:subject:to:cc; bh=E0wFXf3fS0NrMSS64BWaE+LpvvE5PUcYQPs+mUfYETQ=; b=DO2/ds+Cg3lblo8/yst2UbZjE3ZDvS5OwNOjzVNWqqku8GUKKqKfYglUlweqMdMAZo GWswl5kG05G+QrGXZ7nqxaz19h9UHm2Q9QBxA/qDl+AULeN13e4/eCxjL68GsVeozz/3 HsbIrk9xB1ai4LSuCNztUTWMDf5phCOoI7SuLCrwGrh/o6NCVBKLiygdAKnZQRCnNarh WXkBQIdOgIpR5FmVwYLDp4lFGcl9/JOxQ5PS/4WIW3SJllcj/IAKZ33mejnaZTNN0M4W mq603SC3xSQMfgwAGtJR5k8f5WTR+qBgtJ1YRWCMNhZ/EZwHYDtYVr2wW6+tHW3F4CZG T8AA== X-Gm-Message-State: AOAM531d4XvqgEYC/4SuZAVVMbXR9mhixAOoln5/1PXk1/D6HujlPAp9 uZPc9R3C7SUyBgLei48X5ejhsKxfObNwfISH33IbuKRJ4M4= X-Google-Smtp-Source: ABdhPJzv8RKjZlLriEFhlUziDJbV+H2fdKxNE1UqC1wgehOclEtguvHilL5SyUWGfsvwA2SY8Q/B1erKjgNApYtjwUA= X-Received: by 2002:a9d:340a:: with SMTP id v10mr15965444otb.271.1596516487622; Mon, 03 Aug 2020 21:48:07 -0700 (PDT) MIME-Version: 1.0 References: <3fd8de9f-5746-1216-6047-af576d851b1a@daemonic.se> <808fd843-cf7d-f427-f2c5-bf75765b03ae@FreeBSD.org> In-Reply-To: <808fd843-cf7d-f427-f2c5-bf75765b03ae@FreeBSD.org> From: Kevin Oberman Date: Mon, 3 Aug 2020 21:47:51 -0700 Message-ID: Subject: Re: Recent libX11 update broke emacs To: Ashish SHUKLA Cc: Niclas Zeising , "freebsd-x11@freebsd.org" , emacs@freebsd.org X-Rspamd-Queue-Id: 4BLMh91bH5z3b3g X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; TAGGED_RCPT(0.00)[freebsd]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Aug 2020 04:48:10 -0000 On Mon, Aug 3, 2020 at 9:37 PM Ashish SHUKLA wrote: > On 8/4/20 9:56 AM, Kevin Oberman wrote: > > On Mon, Aug 3, 2020 at 3:09 PM Niclas Zeising > > > > wrote: > > > > On 2020-08-03 19:07, Kevin Oberman wrote: > > > This is a weird problem and I'm uncertain if it is in libW11, > > x11-server, > > > or emacs. As a result, I'm crossposting to both lists. > > > > > > Yesterday, after upgrading libX11 and x11-server, I could no > > longer run > > > Emacs to an X display. It crashed quickly with a segmentation > > error in the > > > pthread library. Oddly, I could run it to my local xserver from a > > remote > > > system. > > > > Where does the segfault occur before entering pthreads? > > > > Here is a backtrace with symbols: > > * thread #1, name = 'emacs-28.0.50', stop reason = signal SIGSEGV > > * frame #0: 0x000000002dc8584a > > frame #1: 0x000000002dc83ca4 > > frame #2: 0x0000000000374fc0 > > emacs`detect_coding_utf_16(coding=0x00000000f2ee705a, > > detect_info=0x0000000009d690dc) at coding.c:0:4 > > frame #3: 0x000000000039584e > > emacs`encode_invocation_designation(charset=0x000000000039584e, > > coding=0x000000000083da20, dst="", p_nchars=0x000000000000000b) at > > coding.c:4273:15 > > frame #4: 0x00000000003958c3 > > emacs`encode_invocation_designation(charset=0x000000000083e230, > > coding=0x0000000000000000, dst="", p_nchars=0x000000000083da40) at > > coding.c:4280:4 > > frame #5: 0x0000000000393df9 > > emacs`coding_alloc_by_realloc(coding=0x0000000000393df9, bytes=8641104) > > at coding.c:1012:7 > > frame #6: 0x0000000000395906 > > emacs`encode_invocation_designation(charset=0x000000000083dec0, > > coding=0x000000000083de40, dst="", p_nchars=0x000000000083da70) at > > coding.c:4285:6 > > thread #2, name = 'emacs-28.0.50', stop reason = signal SIGSEGV > > frame #0: 0x000000002dc2beda > > frame #1: 0x000000002c929a26 > > thread #3, name = 'emacs-28.0.50', stop reason = signal SIGSEGV > > frame #0: 0x000000002dc2beda > > frame #1: 0x000000002c929a26 > > thread #4, name = 'emacs-28.0.50', stop reason = signal SIGSEGV > > frame #0: 0x000000002dc2beda > > frame #1: 0x000000002c929a26 > > Thanks for the providing the information. > > Is the above backtrace with `emacs', or `emacs -Q' ? If former, then > could you see if latter segfaults as well ? > Thanks! > -- > Ashish SHUKLA | GPG: F682CDCC39DC0FEAE11620B6C746CFA9E74FA4B0 > emacs-Q? Emacs with qt? It's stock emacs.Default build options. I've tried both emacs and emacs-devel and seen no difference. > -- > Kevin Oberman, Part time kid herder and retired Network Engineer > E-mail: rkoberman@gmail.com > PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683 > > >