From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gustavo Barros Newsgroups: gmane.emacs.bugs Subject: bug#54183: 28.0.91; Emacs crashes on bookmark-jump Date: Thu, 03 Mar 2022 10:13:47 -0300 Message-ID: <87pmn3yy07.fsf@gmail.com> References: <878rtwpcud.fsf@gmail.com> <83ee3onuau.fsf@gnu.org> <87fso4avlw.fsf@gmail.com> <834k4joepp.fsf@gnu.org> <87czj79rap.fsf@gmail.com> <83pmn7m8px.fsf@gnu.org> <87bkyr5a7s.fsf@gmail.com> <83a6ebm47o.fsf@gnu.org> <87o82ryolr.fsf@gmail.com> <834k4incad.fsf@gnu.org> <87h78i25sx.fsf@gmail.com> <83czj5lolt.fsf@gnu.org> <87k0ddczp4.fsf@gmail.com> <83tuchjavl.fsf@gnu.org> <87o82ofwjk.fsf@gmail.com> <83r17kk3rx.fsf@gnu.org> <87k0dcfv7r.fsf@gmail.com> <83h78fjrtl.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; format=flowed Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="831"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.6.10; emacs 28.0.91 Cc: 54183@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Mar 03 14:20:45 2022 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 1nPlNs-000AcS-IO for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 03 Mar 2022 14:20:44 +0100 Original-Received: from localhost ([::1]:50270 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nPlNr-0006qX-1X for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 03 Mar 2022 08:20:43 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:54768) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nPlND-0006q8-AI for bug-gnu-emacs@gnu.org; Thu, 03 Mar 2022 08:20:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:47747) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nPlNC-0007yb-W9 for bug-gnu-emacs@gnu.org; Thu, 03 Mar 2022 08:20:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nPlNC-0001Et-K9 for bug-gnu-emacs@gnu.org; Thu, 03 Mar 2022 08:20:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Gustavo Barros Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 03 Mar 2022 13:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54183 X-GNU-PR-Package: emacs Original-Received: via spool by 54183-submit@debbugs.gnu.org id=B54183.16463135734722 (code B ref 54183); Thu, 03 Mar 2022 13:20:02 +0000 Original-Received: (at 54183) by debbugs.gnu.org; 3 Mar 2022 13:19:33 +0000 Original-Received: from localhost ([127.0.0.1]:41644 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nPlMj-0001E5-3P for submit@debbugs.gnu.org; Thu, 03 Mar 2022 08:19:33 -0500 Original-Received: from mail-qk1-f177.google.com ([209.85.222.177]:44580) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nPlMi-0001Dr-2n for 54183@debbugs.gnu.org; Thu, 03 Mar 2022 08:19:32 -0500 Original-Received: by mail-qk1-f177.google.com with SMTP id q4so3793510qki.11 for <54183@debbugs.gnu.org>; Thu, 03 Mar 2022 05:19:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:references:user-agent:from:to:cc:subject:date:in-reply-to :message-id:mime-version; bh=g37H0+j360RZxFzuQFx5wSoOFzSBZsPdBccUB8OI0PA=; b=Ge7USqvKgrWyHvdH7zyGYQpLVvS3wItr+Vu4CMtXb8fgiCFZnX9wABmDnItDn0IGjf PPrmcMoweF5s8gkgRCvr0QZsJZYBrAE4P8MZkgIwL8FYwrs0uSQD0I2ZbTbedNcU44AV cF7jWK+Bv7AHXBOBtdoa/7zFn7cILaGTAFxbywRHBUoaMvmRtCq6KzbWH0IeNvj+TIQj +MMMuXemTaO6ZY0hu0yjGjt8LclgMIJGubHSOJuwktu2nwU/BCmG7PfFCtXe4es11g2H K/ZTaYQgS2kyekKWK01xBClruPdjnSL1Em7YAWeYXNWo5RLKj12Jcc5SYxUwBx8yts6j 5LBg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:references:user-agent:from:to:cc:subject :date:in-reply-to:message-id:mime-version; bh=g37H0+j360RZxFzuQFx5wSoOFzSBZsPdBccUB8OI0PA=; b=DWmE4m1d61KTmybZIbACNoScift6tvXiXCXBXgm3Beq/K0aojusvakKRgCgYXis7+7 3Z03lfgiGmV0hhW1Z4QUTW1PAiRuDaOgmuQUxVdMiBtKFzn+Z9CliPP9fdo693GgAZpN lzrhJ4W60VczRJSLN6v/MUGCsW8Qfe1AG6N8dQ+fWrW61BlzUN9m3pzi+eDb6oh6YUmf xXx26KPxFP/n2kO5zeQ4Aljq/OmJDMgJ+7CpQ8XWdWEfamOwVFMvim1uBKHJ4uvm8nOt IKVS8GR4USI3975BFxWa/GZSOXpGA2c3jRVolsUxeZuKykA2idyPtoNqSfZvvj1CVXiM IRBA== X-Gm-Message-State: AOAM532obLjMw5ilpVws80BBQlhSXhkIBEmr4j+OTvC5TawXq71lc/kQ 1wLkYiW0aHm9uX6VEFCuEKlARvdAbdNvYMLh X-Google-Smtp-Source: ABdhPJwtnMblIS/qVG6kM9TyMt1Zsyi7sFVTTnN14TLfl43RyVZ2WFEfq7twfbc4ZHHt9e+w+hLm9w== X-Received: by 2002:a37:c0c:0:b0:5f1:7969:f152 with SMTP id 12-20020a370c0c000000b005f17969f152mr18821375qkm.97.1646313565898; Thu, 03 Mar 2022 05:19:25 -0800 (PST) Original-Received: from gusbrs-laptop ([102.165.16.116]) by smtp.gmail.com with ESMTPSA id d4-20020a05620a136400b0060dda40b3ecsm1036723qkl.30.2022.03.03.05.19.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Mar 2022 05:19:25 -0800 (PST) In-reply-to: <83h78fjrtl.fsf@gnu.org> 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:227929 Archived-At: On Thu, 03 Mar 2022 at 11:41, Eli Zaretskii wrote: > The patch is attached below (I used an attachment, to make sure > whitespace isn't mangled in email transfer). To apply it from Emacs, > set the region to include the entire patch, and then type this: > > M-| patch -d /path/to/emacs -p1 > > where /path/to/emacs is the absolute file name of the top-level > directory of the Emacs source tree, the one which has the src, lisp, > etc. as its immediate subdirectories. Done, no errors occurred. Thank you for the instructions. > Please just say "make" in the top-level directory after patching the > sources, and then use the resulting src/emacs binary instead of your > installed Emacs, to verify that the problem is solved. Let's see what > the patch does for the build you have with the configure options you > used. If needed, we will reconfigure later. I did just that, except I ran lib-src/emacsclient, exactly as I was doing to generate the reported crash. Unfortunately, a crash still happens. Below is the output from `thread apply all bt', just in case, since that was the first thing you had asked me initially. But whatever else you need, just let me know. (gdb) continue Continuing. [Switching to thread 4 (Thread 0x7ff3d887b700 (LWP 115234))](running) [Detaching after vfork from child process 115647] [Detaching after vfork from child process 115648] [Detaching after vfork from child process 115649] [Detaching after vfork from child process 115650] [Detaching after vfork from child process 115651] Thread 1 "emacs" received signal SIGSEGV, Segmentation fault. 0x00007ff3e8a3d104 in cairo_pattern_get_surface () from /lib/x86_64-linux-gnu/libcairo.so.2 (gdb) thread apply all bt Thread 4 (Thread 0x7ff3d887b700 (LWP 115234)): #0 0x00007ff3e001e9cf in __GI___poll (fds=0x55e0bf387200, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29 #1 0x00007ff3e86a336e in () at /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007ff3e86a34a3 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007ff3d88cb99d in () at /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so #4 0x00007ff3e86ccad1 in () at /lib/x86_64-linux-gnu/libglib-2.0.so.0 #5 0x00007ff3e1d7f609 in start_thread (arg=) at pthread_create.c:477 #6 0x00007ff3e002b163 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 3 (Thread 0x7ff3d912c700 (LWP 115233)): #0 0x00007ff3e001e9cf in __GI___poll (fds=0x55e0bf2a45e0, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29 #1 0x00007ff3e86a336e in () at /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007ff3e86a36f3 in g_main_loop_run () at /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007ff3e88faf8a in () at /lib/x86_64-linux-gnu/libgio-2.0.so.0 #4 0x00007ff3e86ccad1 in () at /lib/x86_64-linux-gnu/libglib-2.0.so.0 #5 0x00007ff3e1d7f609 in start_thread (arg=) at pthread_create.c:477 #6 0x00007ff3e002b163 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 2 (Thread 0x7ff3d9f9f700 (LWP 115232)): #0 0x00007ff3e001e9cf in __GI___poll (fds=0x55e0be9c0680, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29 #1 0x00007ff3e86a336e in () at /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007ff3e86a34a3 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007ff3e86a34f1 in () at /lib/x86_64-linux-gnu/libglib-2.0.so.0 #4 0x00007ff3e86ccad1 in () at /lib/x86_64-linux-gnu/libglib-2.0.so.0 #5 0x00007ff3e1d7f609 in start_thread (arg=) at pthread_create.c:477 #6 0x00007ff3e002b163 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 1 (Thread 0x7ff3dbf19400 (LWP 115231)): #0 0x00007ff3e8a3d104 in cairo_pattern_get_surface () at /lib/x86_64-linux-gnu/libcairo.so.2 #1 0x000055e0bdc9aa9b in x_cr_draw_image (f=f@entry=0x55e0c05e7d58, gc=gc@entry=0x55e0bf7fae00, image=0x0, src_x=src_x@entry=0, src_y=0, width=8, height=8, dest_x=0, dest_y=5, overlay_p=false) at xterm.c:624 #2 0x000055e0bdc9ad3d in x_draw_fringe_bitmap (w=, row=, p=0x7ffd12be1a50) at xterm.c:1439 #3 0x000055e0bddce906 in draw_fringe_bitmap_1 (w=w@entry=0x55e0c073ba20, row=row@entry=0x55e0c0c92e90, left_p=left_p@entry=1, overlay=, which=, which@entry=0) at fringe.c:692 #4 0x000055e0bddcf5c7 in draw_fringe_bitmap (w=w@entry=0x55e0c073ba20, row=row@entry=0x55e0c0c92e90, left_p=left_p@entry=1) at fringe.c:861 #5 0x000055e0bddcf7a3 in draw_row_fringe_bitmaps (w=w@entry=0x55e0c073ba20, row=row@entry=0x55e0c0c92e90) at fringe.c:882 #6 0x000055e0bddcf8c1 in draw_window_fringes (w=w@entry=0x55e0c073ba20, no_fringe_p=no_fringe_p@entry=true) at fringe.c:930 #7 0x000055e0bdbe62f8 in gui_update_window_end (w=0x55e0c073ba20, cursor_on_p=, mouse_face_overwritten_p=) at dispnew.c:3853 #8 0x000055e0bdbe6a4c in update_window (w=w@entry=0x55e0c073ba20, force_p=, force_p@entry=true) at dispnew.c:3777 #9 0x000055e0bdbe73e1 in update_window_tree (w=w@entry=0x55e0c073ba20, force_p=force_p@entry=true) at dispnew.c:3407 #10 0x000055e0bdbe760b in update_frame (f=f@entry=0x55e0c05e7d58, force_p=true, force_p@entry=false, inhibit_hairy_id_p=inhibit_hairy_id_p@entry=false) at dispnew.c:3242 #11 0x000055e0bdc21895 in redisplay_internal () at xdisp.c:16189 #12 0x000055e0bdcd1e37 in read_char (commandflag=1, map=0x55e0c0c71953, prev_event=0x0, used_mouse_menu=0x7ffd12be36ab, end_time=0x0) at keyboard.c:2555 #13 0x000055e0bdcd4883 in read_key_sequence (keybuf=, prompt=0x0, dont_downcase_last=, can_return_switch_frame=true, fix_current_buffer=true, prevent_redisplay=) at keyboard.c:9635 #14 0x000055e0bdcd619c in command_loop_1 () at lisp.h:1008 #15 0x000055e0bdd452a7 in internal_condition_case (bfun=bfun@entry=0x55e0bdcd5fa0 , handlers=handlers@entry=0x90, hfun=hfun@entry=0x55e0bdccca60 ) at eval.c:1450 #16 0x000055e0bdcc6d0a in command_loop_2 (handlers=handlers@entry=0x90) at keyboard.c:1133 #17 0x000055e0bdd451e9 in internal_catch (tag=tag@entry=0xe880, func=func@entry=0x55e0bdcc6ce0 , arg=arg@entry=0x90) at eval.c:1181 #18 0x000055e0bdcc6ca6 in command_loop () at lisp.h:1008 #19 0x000055e0bdccc650 in recursive_edit_1 () at keyboard.c:720 #20 0x000055e0bdccc9a6 in Frecursive_edit () at keyboard.c:803 #21 0x000055e0bdbded65 in main (argc=2, argv=) at emacs.c:2354 (gdb)