From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Michael Welsh Duggan Newsgroups: gmane.emacs.bugs Subject: bug#47244: 28.0.50; SIGSEGV in long-runnning Emacs Date: Thu, 18 Mar 2021 11:42:19 -0400 Message-ID: <87czvwfoys.fsf@md5i.com> References: <87im5ofp3z.fsf@md5i.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39271"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) To: 47244@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Mar 18 16:43:37 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lMuoC-000A6o-H1 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 18 Mar 2021 16:43:37 +0100 Original-Received: from localhost ([::1]:55118 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lMuoB-0007WI-ED for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 18 Mar 2021 11:43:35 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47542) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lMung-0007Ub-64 for bug-gnu-emacs@gnu.org; Thu, 18 Mar 2021 11:43:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36239) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lMune-0007DQ-DE for bug-gnu-emacs@gnu.org; Thu, 18 Mar 2021 11:43:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lMune-0001NG-BP for bug-gnu-emacs@gnu.org; Thu, 18 Mar 2021 11:43:02 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: <87im5ofp3z.fsf@md5i.com> Resent-From: Michael Welsh Duggan Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 18 Mar 2021 15:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47244 X-GNU-PR-Package: emacs Original-Received: via spool by 47244-submit@debbugs.gnu.org id=B47244.16160821485225 (code B ref 47244); Thu, 18 Mar 2021 15:43:02 +0000 Original-Received: (at 47244) by debbugs.gnu.org; 18 Mar 2021 15:42:28 +0000 Original-Received: from localhost ([127.0.0.1]:47784 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lMun5-0001MC-J2 for submit@debbugs.gnu.org; Thu, 18 Mar 2021 11:42:28 -0400 Original-Received: from md5i.com ([75.151.244.229]:60664) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lMun3-0001Lz-Ip for 47244@debbugs.gnu.org; Thu, 18 Mar 2021 11:42:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=md5i.com; s=dkim; h=Content-Type:MIME-Version:Message-ID:Date:Subject:To:From:Sender: Reply-To:Cc:Content-Transfer-Encoding:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=y+PG2239mJ5ZcMitQHIf8f6IzirabrGTHgdqiLanKAw=; b=agsa+A8ixnCTLryq3VLAK154Kw WlIughIvOzsMfMDiYghgluCtaaoGHX3ChgR1RWyHkVYcPdchNOZXfVDriOpZUwXHlAFiS6DZvzhiV 4uor+WebnKi8pRdzqw1lHFl9K; Original-Received: from abode.md5i.com ([192.168.177.1] helo=miko) by md5i.com with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94) (envelope-from ) id 1lMumy-002kXb-B5 for 47244@debbugs.gnu.org; Thu, 18 Mar 2021 11:42:19 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:202611 Archived-At: --=-=-= Content-Type: text/plain Re-sent with actual attachment. I have managed to catch a SEGFAULT in a long-running Emacs in the debugger. I've been unable to recreate this SEGFAULT on demand, but it seems to be happening when I am attempting to "reset" gnus after switching my work VPN on/off. I will keep the gdb session up an running in case there is some more that can be done with this. In GNU Emacs 28.0.50 (build 1, x86_64-pc-linux-gnu, X toolkit, cairo version 1.16.0) of 2021-03-07 built on miko Repository revision: c63d2ef59c511c1c48c69a202907b7edfcbb19b3 Repository branch: md5i Windowing system distributor 'The X.Org Foundation', version 11.0.12010000 System Description: Debian GNU/Linux bullseye/sid Configured using: 'configure --without-toolkit-scroll-bars --with-x-toolkit=lucid 'CFLAGS=-O0 -ggdb3'' Configured features: CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG JSON LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES NOTIFY INOTIFY PDUMPER PNG RSVG SOUND THREADS TIFF X11 XAW3D XDBE XIM XPM LUCID ZLIB Important settings: value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix --=-=-= Content-Type: text/plain Content-Disposition: inline; filename=gdb.txt #0 0x00005555555e1a61 in redisplay_internal () at ../../master/src/xdisp.c:15789 w = 0x555556b96340 sw = 0x555556b96340 fr = 0x555556b8ca50 pending = false must_finish = true match_p = true tlbufpos = { charpos = 127, bytepos = 127 } tlendpos = { charpos = 0, bytepos = 0 } number_of_visible_frames = 4 count = 3 sf = 0x555556b8ca50 polling_stopped_here = false tail = XIL(0) frame = XIL(0x555555d52afd) hscroll_retries = 0 garbaged_frame_retries = 0 consider_all_windows_p = false update_miniwindow_p = true #1 0x00005555555e061e in redisplay () at ../../master/src/xdisp.c:15245 #2 0x00005555556e9991 in read_char (commandflag=1, map=XIL(0x555558a3e483), prev_event=XIL(0), used_mouse_menu=0x7fffffffdabf, end_time=0x0) at ../../master/src/keyboard.c:2496 echo_current = false c = XIL(0) jmpcount = 93824999976800 local_getcjmp = {{ __jmpbuf = {93825000009536, 0, 93824999976800, 0, 0, 140737488345232, 93824994486337, 93825051609157}, __mask_was_saved = -10032, __saved_mask = { __val = {93824994503322, 140737259960288, 140737259960240, 0, 46912259983440, 0, 140737259960288, 93824999976800, 0, 0, 140737488345344, 93824993977890, 4066572208, 93824999976800, 0, 0} } }} save_jump = {{ __jmpbuf = {0, 32736, 0, 140737266320856, 0, 0, 93825051609152, 0}, __mask_was_saved = 0, __saved_mask = { __val = {93825000009536, 93824994486337, 0, 140737488345184, 93824994507922, 140737266320856, 12884891664, 0, 32736, 93825051609152, 140737266320856, 93824995128912, 51539607552, 93825051609157, 93825051609152, 93824995129355} } }} tem = XIL(0) save = make_fixnum(23456248494472) previous_echo_area_message = XIL(0) also_record = XIL(0) reread = false recorded = false polling_stopped_here = false orig_kboard = 0x555555dea0a0 #3 0x00005555556f86dc in read_key_sequence (keybuf=0x7fffffffdcc0, prompt=XIL(0), dont_downcase_last=false, can_return_switch_frame=true, fix_current_buffer=true, prevent_redisplay=false) at ../../master/src/keyboard.c:9484 interrupted_kboard = 0x555555dea0a0 interrupted_frame = 0x555556b8ca50 key = make_fixnum(23456248516455) used_mouse_menu = false echo_local_start = 0 last_real_key_start = 0 keys_local_start = 0 new_binding = XIL(0x555557286ce0) count = 3 t = 0 echo_start = 0 keys_start = 0 current_binding = XIL(0x555558a3e483) first_unbound = 31 mock_input = 0 used_mouse_menu_history = {false } fkey = { parent = XIL(0x5555568a0323), map = XIL(0x5555568a0323), start = 0, end = 0 } keytran = { parent = XIL(0x7ffff2c27c4b), map = XIL(0x7ffff2c27c4b), start = 0, end = 0 } indec = { parent = XIL(0x5555568a0353), map = XIL(0x5555568a0353), start = 0, end = 0 } shift_translated = false delayed_switch_frame = XIL(0) original_uppercase = XIL(0) original_uppercase_position = -1 dummyflag = false starting_buffer = 0x555558df4840 fake_prefixed_keys = XIL(0) first_event = XIL(0) second_event = XIL(0) #4 0x00005555556e6c13 in command_loop_1 () at ../../master/src/keyboard.c:1353 cmd = XIL(0x7fffffffde10) keybuf = {XIL(0), XIL(0x7ffff2c27bf5), XIL(0x555555765719), XIL(0x1655540), XIL(0x7fffffffdd70), XIL(0x55555579dc50), XIL(0x1655540), XIL(0x7ffff257b4c4), XIL(0x555558df8683), XIL(0x7ffff2c27bf5), XIL(0x7ffff2c27bf5), XIL(0x555558df8683), XIL(0x7ffff257b4c4), XIL(0x1655540), XIL(0), XIL(0), XIL(0x555555cb6f60), XIL(0), XIL(0), XIL(0x7fffffffdd70), XIL(0x5555556e3b34), XIL(0xffffddc0), XIL(0x555555cb6f60), XIL(0), XIL(0), XIL(0x7fffffffdda0), XIL(0x555555797748), make_fixnum(0), XIL(0x7fffffffdde0), XIL(0x55555579ae39)} i = 1 prev_modiff = 0 prev_buffer = 0x0 already_adjusted = false #5 0x000055555579aa34 in internal_condition_case (bfun=0x5555556e67cd , handlers=XIL(0x90), hfun=0x5555556e5f69 ) at ../../master/src/eval.c:1439 val = XIL(0x5555556e3b34) c = 0x555555db1380 #6 0x00005555556e6495 in command_loop_2 (ignore=XIL(0)) at ../../master/src/keyboard.c:1094 val = make_fixnum(0) #7 0x000055555579a242 in internal_catch (tag=XIL(0xd950), func=0x5555556e6468 , arg=XIL(0)) at ../../master/src/eval.c:1189 val = XIL(0xd950) c = 0x555555d9a6f0 #8 0x00005555556e6434 in command_loop () at ../../master/src/keyboard.c:1073 #9 0x00005555556e5b3a in recursive_edit_1 () at ../../master/src/keyboard.c:720 count = 1 val = XIL(0x7fffffffdf50) #10 0x00005555556e5cbd in Frecursive_edit () at ../../master/src/keyboard.c:789 count = 0 buffer = XIL(0) #11 0x00005555556e26ea in main (argc=2, argv=0x7fffffffe1b8) at ../../master/src/emacs.c:2050 stack_bottom_variable = 0x7ffff617e053 no_loadup = false junk = 0x0 dname_arg = 0x0 ch_to_dir = 0x0 original_pwd = 0x0 dump_mode = 0x0 skip_args = 1 temacs = 0x0 attempt_load_pdump = true rlim = { rlim_cur = 10022912, rlim_max = 18446744073709551615 } lc_all = 0x0 sockfd = -1 module_assertions = false Lisp Backtrace: "redisplay_internal (C function)" (0x0) --=-=-= Content-Type: text/plain -- Michael Welsh Duggan (md5i@md5i.com) --=-=-=--