GNU bug report logs - #44031
28.0.50; Segfault with poly-gfm and atomic-chrome

Previous Next

Package: emacs;

Reported by: toon <at> iotcl.com

Date: Fri, 16 Oct 2020 14:31:01 UTC

Severity: normal

Tags: moreinfo

Found in version 28.0.50

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 44031 in the body.
You can then email your comments to 44031 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#44031; Package emacs. (Fri, 16 Oct 2020 14:31:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to toon <at> iotcl.com:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Fri, 16 Oct 2020 14:31:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: toon <at> iotcl.com
To: bug-gnu-emacs <at> gnu.org
Subject: 28.0.50; Segfault with poly-gfm and atomic-chrome
Date: Fri, 16 Oct 2020 16:29:53 +0200
Hi,

I'm getting a segfault, and it's pretty involved to reproduce, although
repeatable.

It happens when using https://github.com/GhostText/GhostText in Firefox
to edit textareas on webpages with GNU Emacs.

I've set `atomic-chrome-url-major-mode-alist' to:

'(("gitlab\\.com" . poly-gfm-mode)
  ("github\\.com" . poly-gfm-mode))

So in the buffer that is opened from Firefox `poly-gfm-mode', which is
part of https://github.com/polymode/poly-markdown, is activated.

All goes well up to this point, until I want to pass the buffer back to
Firefox. When I press C-c C-c, bound to
`atomic-chrome-close-current-buffer', Emacs crashes.

The backtrace is attached below, but I must say I have no idea what
exactly causes this crash.

I could not reproduce with `poly-gfm-mode' in a normal file buffer, and
also not with `atomic-chrome' and `fundamental-mode'.

I'm happy to help debug the issue, but to be honest I don't know where
to start. So any pointer in the right direction is welcome.

At the moment, I'm using gccemacs from feature/native-comp. But I've
tested it also with 27.1, installed from my distro package manager, and
it has the same issue, but I didn't have debug symbols on that one.


Kind regards,
Toon Claes


Thread 1 "emacs" received signal SIGSEGV, Segmentation fault.
0x000055555576f55f in find_newline (start=33, start_byte=33, end=1, end_byte=1, count=-1, counted=0x7fffffffd320, bytepos=0x7fffffffd358, allow_quit=true) at search.c:838
838			       && FETCH_BYTE (start_byte - 1) == '\n')
(gdb) bt full
#0  0x000055555576f55f in find_newline (start=33, start_byte=33, end=1, end_byte=1, count=-1, counted=0x7fffffffd320, bytepos=0x7fffffffd358, allow_quit=true) at search.c:838
        lim1 = 1
        next_change = 1
        result = 0
        tem = 93824994639943
        ceiling_byte = 1
        newline_cache = 0x555557a13bd0
        cache_buffer = 0x55555e16cdf0
#1  0x000055555576f9e0 in scan_newline_from_point (count=0, charpos=0x7fffffffd350, bytepos=0x7fffffffd358) at search.c:969
        counted = -1
#2  0x00005555557af624 in Fline_beginning_position (n=XIL(0)) at editfns.c:734
        charpos = 93824994632170
        bytepos = 12884890480
        count = 0
#3  0x00007fffec3148f7 in F686c2d6c696e652d6d6f7665_hl_line_move_0 ()
    at /home/toon/devel/emacs/git/native-lisp/28.0.50-x86_64-pc-linux-gnu-6cfcb8528dcd59ccbaf37732d0a23b35/hl-line-84e3c419f5fbf1f7daa09a3bfdd7972c-3b84a106c30ad023d9e5f09c088c2e88.eln
#4  0x00005555557c3e98 in funcall_subr (subr=0x555557b1f530, numargs=1, args=0x7fffffffd508) at eval.c:2947
        internal_argbuf = {XIL(0), XIL(0x7fffffffd440), XIL(0x555555cf3d80), XIL(0), XIL(0), XIL(0x7fffffffd460), XIL(0x5555557bccf4), XIL(0x57b1f535)}
        internal_args = 0x7fffffffd508
#5  0x00005555557c3a48 in Ffuncall (nargs=2, args=0x7fffffffd500) at eval.c:2872
        fun = XIL(0x555557b1f535)
        original_fun = XIL(0xae2060)
        funcar = XIL(0xc216a0)
        numargs = 1
        val = XIL(0x25699d510)
        count = 5
#6  0x00007fffec314361 in F676c6f62616c2d686c2d6c696e652d686967686c69676874_global_hl_line_highlight_0 ()
    at /home/toon/devel/emacs/git/native-lisp/28.0.50-x86_64-pc-linux-gnu-6cfcb8528dcd59ccbaf37732d0a23b35/hl-line-84e3c419f5fbf1f7daa09a3bfdd7972c-3b84a106c30ad023d9e5f09c088c2e88.eln
#7  0x00005555557c3e7c in funcall_subr (subr=0x555557b18110, numargs=0, args=0x7fffffffd650) at eval.c:2945
        internal_argbuf = {XIL(0), XIL(0x7fffffffd590), XIL(0x555555cf3d80), XIL(0), XIL(0), XIL(0x7fffffffd5b0), XIL(0x5555557bccf4), XIL(0x57b18115)}
        internal_args = 0x7fffffffd650
#8  0x00005555557c3a48 in Ffuncall (nargs=1, args=0x7fffffffd648) at eval.c:2872
        fun = XIL(0x555557b18115)
        original_fun = XIL(0xae20f0)
        funcar = XIL(0x30)
        numargs = 0
        val = XIL(0x59410fc3)
        count = 4
#9  0x00005555557c328f in call0 (fn=XIL(0xae20f0)) at eval.c:2725
#10 0x0000555555704860 in safe_run_hooks_1 (nargs=2, args=0x7fffffffd6f0) at keyboard.c:1779
#11 0x00005555557c0279 in internal_condition_case_n (bfun=0x55555570483d <safe_run_hooks_1>, nargs=2, args=0x7fffffffd6f0, handlers=XIL(0x30), hfun=0x555555704862 <safe_run_hooks_error>) at eval.c:1500
        val = make_fixnum(23456248495985)
        c = 0x555555f279c0
#12 0x0000555555704cef in safe_run_hook_funcall (nargs=2, args=0x7fffffffd7a0) at keyboard.c:1826
#13 0x00005555557c3127 in run_hook_with_args (nargs=2, args=0x7fffffffd7a0, funcall=0x555555704c8a <safe_run_hook_funcall>) at eval.c:2690
        global_vals = XIL(0)
        sym = XIL(0xb910)
        val = XIL(0x55555915e633)
        ret = XIL(0)
#14 0x0000555555704d7e in safe_run_hooks (hook=XIL(0xb910)) at keyboard.c:1842
        count = 3
#15 0x0000555555702c7e in command_loop_1 () at keyboard.c:1261
        prev_modiff = 0
        prev_buffer = 0x0
        already_adjusted = false
#16 0x00005555557bfeeb in internal_condition_case (bfun=0x555555702b6d <command_loop_1>, handlers=XIL(0x90), hfun=0x5555557022e6 <cmd_error>) at eval.c:1365
        val = make_fixnum(23456248495985)
        c = 0x555555f27e20
#17 0x0000555555702835 in command_loop_2 (ignore=XIL(0)) at keyboard.c:1095
        val = XIL(0)
--Type <RET> for more, q to quit, c to continue without paging--c
#18 0x00005555557bf75c in internal_catch (tag=XIL(0xe0a0), func=0x555555702808 <command_loop_2>, arg=XIL(0)) at eval.c:1126
        val = XIL(0x4ae00000000)
        c = 0x555555f27890
#19 0x00005555557027d4 in command_loop () at keyboard.c:1074
#20 0x0000555555701eb7 in recursive_edit_1 () at keyboard.c:718
        count = 1
        val = XIL(0x5555557c53d3)
#21 0x000055555570203a in Frecursive_edit () at keyboard.c:790
        count = 0
        buffer = XIL(0)
#22 0x00005555556fe922 in main (argc=2, argv=0x7fffffffdca8) at emacs.c:2080
        stack_bottom_variable = 0x126b0
        no_loadup = false
        junk = 0x0
        dname_arg = 0x0
        ch_to_dir = 0x0
        original_pwd = 0x0
        dump_mode = 0x0
        skip_args = 0
        temacs = 0x0
        attempt_load_pdump = true
        rlim = {
          rlim_cur = 10022912,
          rlim_max = 18446744073709551615
        }
        lc_all = 0x7fffffffe92b "en_US.UTF-8"
        sockfd = -1
        module_assertions = false

Lisp Backtrace:
"hl-line-move" (0xffffd508)
"global-hl-line-highlight" (0xffffd650)



In GNU Emacs 28.0.50 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.23, cairo version 1.17.3)
 of 2020-10-04 built on cayonero
Repository revision: 825e85b393a3d78ba43176ecc5bc1a9595d0fbea
Repository branch: feature/native-comp
Windowing system distributor 'The X.Org Foundation', version 11.0.12099001
System Description: Arch Linux

Configured using:
 'configure --prefix=/home/toon/.local --with-mailutils --with-sound=yes
 --with-pdumper=yes --with-xpm --with-jpeg --with-tiff --with-gif
 --with-png --with-rsvg --with-cairo --with-xml2 --without-imagemagick
 --with-native-image-api --with-json --with-xft --with-harfbuzz
 --with-libotf --with-zlib --with-x --with-gnutls=ifavailable
 --with-nativecomp CFLAGS=-ggdb3 LDFLAGS=-ggdb3'

Configured features:
XPM JPEG TIFF GIF PNG RSVG CAIRO SOUND GPM DBUS GSETTINGS GLIB NOTIFY
INOTIFY ACL GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT LIBOTF ZLIB
TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES NATIVE_COMP THREADS
LIBSYSTEMD JSON PDUMPER LCMS2

Important settings:
  value of $LC_ALL: en_US.UTF-8
  value of $LC_CTYPE: en_US.UTF-8
  value of $LANG: en_be.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Fundamental

Minor modes in effect:
  global-company-mode: t
  global-temacco-mode: t
  global-magit-file-mode: t
  global-git-commit-mode: t
  async-bytecomp-package-mode: t
  flycheck-indicator-mode: t
  erc-autojoin-mode: t
  erc-services-mode: t
  erc-networks-mode: t
  global-flycheck-mode: t
  shell-dirtrack-mode: t
  save-place-mode: t
  ivy-historian-mode: t
  historian-mode: t
  ivy-mode: t
  minions-mode: t
  global-display-fill-column-indicator-mode: t
  global-hl-line-mode: t
  show-paren-mode: t
  global-ligature-mode: t
  override-global-mode: t
  global-eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  buffer-read-only: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t

Load-path shadows:
/home/toon/.config/emacs/etc/custom hides /home/toon/devel/emacs/git/lisp/custom
/home/toon/.config/emacs/elpa/org-plus-contrib-20200928/org-lint hides /home/toon/devel/emacs/git/lisp/org/org-lint
/home/toon/.config/emacs/elpa/org-plus-contrib-20200928/ob-matlab hides /home/toon/devel/emacs/git/lisp/org/ob-matlab
/home/toon/.config/emacs/elpa/org-plus-contrib-20200928/ob-processing hides /home/toon/devel/emacs/git/lisp/org/ob-processing
/home/toon/.config/emacs/elpa/org-plus-contrib-20200928/ob-ruby hides /home/toon/devel/emacs/git/lisp/org/ob-ruby
/home/toon/.config/emacs/elpa/org-plus-contrib-20200928/ob-forth hides /home/toon/devel/emacs/git/lisp/org/ob-forth
/home/toon/.config/emacs/elpa/org-plus-contrib-20200928/org hides /home/toon/devel/emacs/git/lisp/org/org
/home/toon/.config/emacs/elpa/org-plus-contrib-20200928/org-attach hides /home/toon/devel/emacs/git/lisp/org/org-attach
/home/toon/.config/emacs/elpa/org-plus-contrib-20200928/ox-icalendar hides /home/toon/devel/emacs/git/lisp/org/ox-icalendar
/home/toon/.config/emacs/elpa/org-plus-contrib-20200928/ob-octave hides /home/toon/devel/emacs/git/lisp/org/ob-octave
/home/toon/.config/emacs/elpa/org-plus-contrib-20200928/org-id hides /home/toon/devel/emacs/git/lisp/org/org-id
/home/toon/.config/emacs/elpa/org-plus-contrib-20200928/ob hides /home/toon/devel/emacs/git/lisp/org/ob
/home/toon/.config/emacs/elpa/org-plus-contrib-20200928/ob-stan hides /home/toon/devel/emacs/git/lisp/org/ob-stan
/home/toon/.config/emacs/elpa/org-plus-contrib-20200928/org-tempo hides /home/toon/devel/emacs/git/lisp/org/org-tempo
/home/toon/.config/emacs/elpa/org-plus-contrib-20200928/ob-emacs-lisp hides /home/toon/devel/emacs/git/lisp/org/ob-emacs-lisp
/home/toon/.config/emacs/elpa/org-plus-contrib-20200928/ob-mscgen hides /home/toon/devel/emacs/git/lisp/org/ob-mscgen
/home/toon/.config/emacs/elpa/org-plus-contrib-20200928/org-goto hides /home/toon/devel/emacs/git/lisp/org/org-goto
/home/toon/.config/emacs/elpa/org-plus-contrib-20200928/ob-ditaa hides /home/toon/devel/emacs/git/lisp/org/ob-ditaa
/home/toon/.config/emacs/elpa/org-plus-contrib-20200928/org-mobile hides /home/toon/devel/emacs/git/lisp/org/org-mobile
/home/toon/.config/emacs/elpa/org-plus-contrib-20200928/ob-scheme hides /home/toon/devel/emacs/git/lisp/org/ob-scheme
/home/toon/.config/emacs/elpa/org-plus-contrib-20200928/ox-man hides /home/toon/devel/emacs/git/lisp/org/ox-man
/home/toon/.config/emacs/elpa/org-plus-contrib-20200928/ob-gnuplot hides /home/toon/devel/emacs/git/lisp/org/ob-gnuplot
/home/toon/.config/emacs/elpa/org-plus-contrib-20200928/org-indent hides /home/toon/devel/emacs/git/lisp/org/org-indent
/home/toon/.config/emacs/elpa/org-plus-contrib-20200928/ob-awk hides /home/toon/devel/emacs/git/lisp/org/ob-awk
/home/toon/.config/emacs/elpa/org-plus-contrib-20200928/ob-lilypond hides /home/toon/devel/emacs/git/lisp/org/ob-lilypond
/home/toon/.config/emacs/elpa/org-plus-contrib-20200928/org-feed hides /home/toon/devel/emacs/git/lisp/org/org-feed
/home/toon/.config/emacs/elpa/org-plus-contrib-20200928/org-habit hides /home/toon/devel/emacs/git/lisp/org/org-habit
/home/toon/.config/emacs/elpa/org-plus-contrib-20200928/ob-io hides /home/toon/devel/emacs/git/lisp/org/ob-io
/home/toon/.config/emacs/elpa/org-plus-contrib-20200928/org-datetree hides /home/toon/devel/emacs/git/lisp/org/org-datetree
/home/toon/.config/emacs/elpa/org-plus-contrib-20200928/org-inlinetask hides /home/toon/devel/emacs/git/lisp/org/org-inlinetask
/home/toon/.config/emacs/elpa/org-plus-contrib-20200928/ob-tangle hides /home/toon/devel/emacs/git/lisp/org/ob-tangle
/home/toon/.config/emacs/elpa/org-plus-contrib-20200928/org-ctags hides /home/toon/devel/emacs/git/lisp/org/org-ctags
/home/toon/.config/emacs/elpa/org-plus-contrib-20200928/org-table hides /home/toon/devel/emacs/git/lisp/org/org-table
/home/toon/.config/emacs/elpa/org-plus-contrib-20200928/ox-html hides /home/toon/devel/emacs/git/lisp/org/ox-html
/home/toon/.config/emacs/elpa/org-plus-contrib-20200928/ob-fortran hides /home/toon/devel/emacs/git/lisp/org/ob-fortran
/home/toon/.config/emacs/elpa/org-plus-contrib-20200928/ob-sed hides /home/toon/devel/emacs/git/lisp/org/ob-sed
/home/toon/.config/emacs/elpa/org-plus-contrib-20200928/ob-C hides /home/toon/devel/emacs/git/lisp/org/ob-C
/home/toon/.config/emacs/elpa/org-plus-contrib-20200928/ob-core hides /home/toon/devel/emacs/git/lisp/org/ob-core
/home/toon/.config/emacs/elpa/org-plus-contrib-20200928/org-element hides /home/toon/devel/emacs/git/lisp/org/org-element
/home/toon/.config/emacs/elpa/org-plus-contrib-20200928/org-list hides /home/toon/devel/emacs/git/lisp/org/org-list
/home/toon/.config/emacs/elpa/org-plus-contrib-20200928/ol-eww hides /home/toon/devel/emacs/git/lisp/org/ol-eww
/home/toon/.config/emacs/elpa/org-plus-contrib-20200928/ob-lisp hides /home/toon/devel/emacs/git/lisp/org/ob-lisp
/home/toon/.config/emacs/elpa/org-plus-contrib-20200928/org-clock hides /home/toon/devel/emacs/git/lisp/org/org-clock
/home/toon/.config/emacs/elpa/org-plus-contrib-20200928/ob-R hides /home/toon/devel/emacs/git/lisp/org/ob-R
/home/toon/.config/emacs/elpa/org-plus-contrib-20200928/org-plot hides /home/toon/devel/emacs/git/lisp/org/org-plot
/home/toon/.config/emacs/elpa/org-plus-contrib-20200928/ob-lua hides /home/toon/devel/emacs/git/lisp/org/ob-lua
/home/toon/.config/emacs/elpa/org-plus-contrib-20200928/ob-abc hides /home/toon/devel/emacs/git/lisp/org/ob-abc
/home/toon/.config/emacs/elpa/org-plus-contrib-20200928/ob-ebnf hides /home/toon/devel/emacs/git/lisp/org/ob-ebnf
/home/toon/.config/emacs/elpa/org-plus-contrib-20200928/org-colview hides /home/toon/devel/emacs/git/lisp/org/org-colview
/home/toon/.config/emacs/elpa/org-plus-contrib-20200928/ob-java hides /home/toon/devel/emacs/git/lisp/org/ob-java
/home/toon/.config/emacs/elpa/org-plus-contrib-20200928/ob-coq hides /home/toon/devel/emacs/git/lisp/org/ob-coq
/home/toon/.config/emacs/elpa/org-plus-contrib-20200928/ob-python hides /home/toon/devel/emacs/git/lisp/org/ob-python
/home/toon/.config/emacs/elpa/org-plus-contrib-20200928/org-capture hides /home/toon/devel/emacs/git/lisp/org/org-capture
/home/toon/.config/emacs/elpa/org-plus-contrib-20200928/ol-docview hides /home/toon/devel/emacs/git/lisp/org/ol-docview
/home/toon/.config/emacs/elpa/org-plus-contrib-20200928/ox-publish hides /home/toon/devel/emacs/git/lisp/org/ox-publish
/home/toon/.config/emacs/elpa/org-plus-contrib-20200928/ob-hledger hides /home/toon/devel/emacs/git/lisp/org/ob-hledger
/home/toon/.config/emacs/elpa/org-plus-contrib-20200928/ob-sqlite hides /home/toon/devel/emacs/git/lisp/org/ob-sqlite
/home/toon/.config/emacs/elpa/org-plus-contrib-20200928/ol-irc hides /home/toon/devel/emacs/git/lisp/org/ol-irc
/home/toon/.config/emacs/elpa/org-plus-contrib-20200928/ol-rmail hides /home/toon/devel/emacs/git/lisp/org/ol-rmail
/home/toon/.config/emacs/elpa/org-plus-contrib-20200928/org-mouse hides /home/toon/devel/emacs/git/lisp/org/org-mouse
/home/toon/.config/emacs/elpa/org-plus-contrib-20200928/org-pcomplete hides /home/toon/devel/emacs/git/lisp/org/org-pcomplete
/home/toon/.config/emacs/elpa/org-plus-contrib-20200928/ol-bibtex hides /home/toon/devel/emacs/git/lisp/org/ol-bibtex
/home/toon/.config/emacs/elpa/org-plus-contrib-20200928/org-archive hides /home/toon/devel/emacs/git/lisp/org/org-archive
/home/toon/.config/emacs/elpa/org-plus-contrib-20200928/ol-gnus hides /home/toon/devel/emacs/git/lisp/org/ol-gnus
/home/toon/.config/emacs/elpa/org-plus-contrib-20200928/ob-js hides /home/toon/devel/emacs/git/lisp/org/ob-js
/home/toon/.config/emacs/elpa/org-plus-contrib-20200928/ob-groovy hides /home/toon/devel/emacs/git/lisp/org/ob-groovy
/home/toon/.config/emacs/elpa/org-plus-contrib-20200928/ol-info hides /home/toon/devel/emacs/git/lisp/org/ol-info
/home/toon/.config/emacs/elpa/org-plus-contrib-20200928/ob-makefile hides /home/toon/devel/emacs/git/lisp/org/ob-makefile
/home/toon/.config/emacs/elpa/org-plus-contrib-20200928/org-macro hides /home/toon/devel/emacs/git/lisp/org/org-macro
/home/toon/.config/emacs/elpa/org-plus-contrib-20200928/ob-eval hides /home/toon/devel/emacs/git/lisp/org/ob-eval
/home/toon/.config/emacs/elpa/org-plus-contrib-20200928/ox-org hides /home/toon/devel/emacs/git/lisp/org/ox-org
/home/toon/.config/emacs/elpa/org-plus-contrib-20200928/ob-lob hides /home/toon/devel/emacs/git/lisp/org/ob-lob
/home/toon/.config/emacs/elpa/org-plus-contrib-20200928/ob-sql hides /home/toon/devel/emacs/git/lisp/org/ob-sql
/home/toon/.config/emacs/elpa/org-plus-contrib-20200928/org-faces hides /home/toon/devel/emacs/git/lisp/org/org-faces
/home/toon/.config/emacs/elpa/org-plus-contrib-20200928/org-agenda hides /home/toon/devel/emacs/git/lisp/org/org-agenda
/home/toon/.config/emacs/elpa/org-plus-contrib-20200928/ob-screen hides /home/toon/devel/emacs/git/lisp/org/ob-screen
/home/toon/.config/emacs/elpa/org-plus-contrib-20200928/ob-org hides /home/toon/devel/emacs/git/lisp/org/ob-org
/home/toon/.config/emacs/elpa/org-plus-contrib-20200928/ob-J hides /home/toon/devel/emacs/git/lisp/org/ob-J
/home/toon/.config/emacs/elpa/org-plus-contrib-20200928/ob-sass hides /home/toon/devel/emacs/git/lisp/org/ob-sass
/home/toon/.config/emacs/elpa/org-plus-contrib-20200928/ob-shen hides /home/toon/devel/emacs/git/lisp/org/ob-shen
/home/toon/.config/emacs/elpa/org-plus-contrib-20200928/ob-perl hides /home/toon/devel/emacs/git/lisp/org/ob-perl
/home/toon/.config/emacs/elpa/org-plus-contrib-20200928/ob-asymptote hides /home/toon/devel/emacs/git/lisp/org/ob-asymptote
/home/toon/.config/emacs/elpa/org-plus-contrib-20200928/org-keys hides /home/toon/devel/emacs/git/lisp/org/org-keys
/home/toon/.config/emacs/elpa/org-plus-contrib-20200928/ob-ref hides /home/toon/devel/emacs/git/lisp/org/ob-ref
/home/toon/.config/emacs/elpa/org-plus-contrib-20200928/org-loaddefs hides /home/toon/devel/emacs/git/lisp/org/org-loaddefs
/home/toon/.config/emacs/elpa/org-plus-contrib-20200928/ol-w3m hides /home/toon/devel/emacs/git/lisp/org/ol-w3m
/home/toon/.config/emacs/elpa/org-plus-contrib-20200928/ob-haskell hides /home/toon/devel/emacs/git/lisp/org/ob-haskell
/home/toon/.config/emacs/elpa/org-plus-contrib-20200928/ox-texinfo hides /home/toon/devel/emacs/git/lisp/org/ox-texinfo
/home/toon/.config/emacs/elpa/org-plus-contrib-20200928/org-num hides /home/toon/devel/emacs/git/lisp/org/org-num
/home/toon/.config/emacs/elpa/org-plus-contrib-20200928/ob-plantuml hides /home/toon/devel/emacs/git/lisp/org/ob-plantuml
/home/toon/.config/emacs/elpa/org-plus-contrib-20200928/ob-clojure hides /home/toon/devel/emacs/git/lisp/org/ob-clojure
/home/toon/.config/emacs/elpa/org-plus-contrib-20200928/org-entities hides /home/toon/devel/emacs/git/lisp/org/org-entities
/home/toon/.config/emacs/elpa/org-plus-contrib-20200928/ob-maxima hides /home/toon/devel/emacs/git/lisp/org/ob-maxima
/home/toon/.config/emacs/elpa/org-plus-contrib-20200928/org-compat hides /home/toon/devel/emacs/git/lisp/org/org-compat
/home/toon/.config/emacs/elpa/org-plus-contrib-20200928/ob-calc hides /home/toon/devel/emacs/git/lisp/org/ob-calc
/home/toon/.config/emacs/elpa/org-plus-contrib-20200928/ob-shell hides /home/toon/devel/emacs/git/lisp/org/ob-shell
/home/toon/.config/emacs/elpa/org-plus-contrib-20200928/ob-table hides /home/toon/devel/emacs/git/lisp/org/ob-table
/home/toon/.config/emacs/elpa/org-plus-contrib-20200928/ox-latex hides /home/toon/devel/emacs/git/lisp/org/ox-latex
/home/toon/.config/emacs/elpa/org-plus-contrib-20200928/ob-latex hides /home/toon/devel/emacs/git/lisp/org/ob-latex
/home/toon/.config/emacs/elpa/org-plus-contrib-20200928/ob-exp hides /home/toon/devel/emacs/git/lisp/org/ob-exp
/home/toon/.config/emacs/elpa/org-plus-contrib-20200928/org-src hides /home/toon/devel/emacs/git/lisp/org/org-src
/home/toon/.config/emacs/elpa/org-plus-contrib-20200928/ob-vala hides /home/toon/devel/emacs/git/lisp/org/ob-vala
/home/toon/.config/emacs/elpa/org-plus-contrib-20200928/ox-ascii hides /home/toon/devel/emacs/git/lisp/org/ox-ascii
/home/toon/.config/emacs/elpa/org-plus-contrib-20200928/ob-eshell hides /home/toon/devel/emacs/git/lisp/org/ob-eshell
/home/toon/.config/emacs/elpa/org-plus-contrib-20200928/ob-comint hides /home/toon/devel/emacs/git/lisp/org/ob-comint
/home/toon/.config/emacs/elpa/org-plus-contrib-20200928/ol-eshell hides /home/toon/devel/emacs/git/lisp/org/ol-eshell
/home/toon/.config/emacs/elpa/org-plus-contrib-20200928/ox-beamer hides /home/toon/devel/emacs/git/lisp/org/ox-beamer
/home/toon/.config/emacs/elpa/org-plus-contrib-20200928/ob-picolisp hides /home/toon/devel/emacs/git/lisp/org/ob-picolisp
/home/toon/.config/emacs/elpa/org-plus-contrib-20200928/ox-odt hides /home/toon/devel/emacs/git/lisp/org/ox-odt
/home/toon/.config/emacs/elpa/org-plus-contrib-20200928/ob-ledger hides /home/toon/devel/emacs/git/lisp/org/ob-ledger
/home/toon/.config/emacs/elpa/org-plus-contrib-20200928/org-footnote hides /home/toon/devel/emacs/git/lisp/org/org-footnote
/home/toon/.config/emacs/elpa/org-plus-contrib-20200928/ob-css hides /home/toon/devel/emacs/git/lisp/org/ob-css
/home/toon/.config/emacs/elpa/org-plus-contrib-20200928/org-crypt hides /home/toon/devel/emacs/git/lisp/org/org-crypt
/home/toon/.config/emacs/elpa/org-plus-contrib-20200928/org-attach-git hides /home/toon/devel/emacs/git/lisp/org/org-attach-git
/home/toon/.config/emacs/elpa/org-plus-contrib-20200928/ol-mhe hides /home/toon/devel/emacs/git/lisp/org/ol-mhe
/home/toon/.config/emacs/elpa/org-plus-contrib-20200928/org-install hides /home/toon/devel/emacs/git/lisp/org/org-install
/home/toon/.config/emacs/elpa/org-plus-contrib-20200928/ol hides /home/toon/devel/emacs/git/lisp/org/ol
/home/toon/.config/emacs/elpa/org-plus-contrib-20200928/ox-md hides /home/toon/devel/emacs/git/lisp/org/ox-md
/home/toon/.config/emacs/elpa/org-plus-contrib-20200928/ob-ocaml hides /home/toon/devel/emacs/git/lisp/org/ob-ocaml
/home/toon/.config/emacs/elpa/org-plus-contrib-20200928/ol-bbdb hides /home/toon/devel/emacs/git/lisp/org/ol-bbdb
/home/toon/.config/emacs/elpa/org-plus-contrib-20200928/org-macs hides /home/toon/devel/emacs/git/lisp/org/org-macs
/home/toon/.config/emacs/elpa/org-plus-contrib-20200928/org-version hides /home/toon/devel/emacs/git/lisp/org/org-version
/home/toon/.config/emacs/elpa/org-plus-contrib-20200928/org-protocol hides /home/toon/devel/emacs/git/lisp/org/org-protocol
/home/toon/.config/emacs/elpa/org-plus-contrib-20200928/ox hides /home/toon/devel/emacs/git/lisp/org/ox
/home/toon/.config/emacs/elpa/org-plus-contrib-20200928/ob-dot hides /home/toon/devel/emacs/git/lisp/org/ob-dot
/home/toon/.config/emacs/elpa/org-plus-contrib-20200928/org-timer hides /home/toon/devel/emacs/git/lisp/org/org-timer
/home/toon/.config/emacs/elpa/org-plus-contrib-20200928/org-duration hides /home/toon/devel/emacs/git/lisp/org/org-duration

Features:
(shadow sort mail-extr emacsbug sendmail counsel swiper company-oddmuse
company-keywords company-etags etags fileloop company-gtags
company-dabbrev-code company-dabbrev company-files company-clang
company-capf company-cmake company-semantic company-template
company-bbdb company init temacco-utils git-link forge-list
forge-commands forge-semi forge-bitbucket buck forge-gogs gogs
forge-gitea gtea forge-gitlab glab forge-github ghub-graphql treepy
gsexp ghub gnutls forge-notify forge-revnote forge-pullreq forge-issue
forge-topic bug-reference forge-post forge-repo forge forge-core
forge-db closql emacsql-sqlite emacsql emacsql-compiler url-http
url-auth url-gw magit-bookmark magit-submodule magit-obsolete
magit-blame magit-stash magit-reflog magit-bisect magit-push magit-pull
magit-fetch magit-clone magit-remote magit-commit magit-sequence
magit-notes magit-worktree magit-tag magit-merge magit-branch
magit-reset magit-files magit-refs magit-status magit magit-repos
magit-apply magit-wip magit-log which-func magit-diff smerge-mode diff
magit-core magit-autorevert magit-margin magit-transient magit-process
magit-mode git-commit transient magit-git magit-section magit-utils crm
log-edit pcvs-util add-log with-editor async-bytecomp async toon-secrets
epa-file rainbow-delimiters goto-addr wucuo wucuo-sdk find-lisp vc-git
diff-mode vc-dir flycheck-indicator org-eldoc whitespace org-element
avl-tree generator ol-eww ol-rmail ol-mhe ol-irc ol-info ol-gnus
nnselect nnir gnus-art mm-uu mml2015 gnus-sum gnus-group gnus-undo
gnus-start gnus-dbus dbus gnus-cloud nnimap nnmail mail-source utf7
netrc nnoo parse-time gnus-spec gnus-int gnus-range message rfc822 mml
mailabbrev gmm-utils mailheader gnus-win ol-docview doc-view jka-compr
image-mode exif ol-bibtex bibtex ol-bbdb ol-w3m keychain-environment
atomic-chrome websocket let-alist speed-type erc-join erc-services
erc-networks erc-goodies erc erc-backend iso8601 erc-loaddefs nov
bookmark pp esxml-query request autorevert sqlformat reformatter
ivy-xref lsp-ivy lsp-mode xref project network-stream nsm rmc lv inline
filenotify f ewoc dash-functional bindat lsp-protocol ht guess-language
flyspell ispell flycheck chruby protobuf-mode yaml-mode haml-mode js ido
cc-langs cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align
cc-engine cc-vars cc-defs css-mode sgml-mode skeleton imenu eww xdg
url-queue url url-proxy url-privacy url-expand url-methods url-history
mm-view mml-smime mml-sec epa epg epg-config smime dig mailcap shr
kinsoku url-cookie url-domsuf url-util svg xml dom puny mm-url gnus
nnheader gnus-util rmail rmail-loaddefs mail-utils ruby-mode
flymake-proc flymake smie poly-markdown polymode poly-lock polymode-base
polymode-weave polymode-export polymode-compat polymode-methods
polymode-core polymode-classes eieio-custom eieio-base markdown-mode
edit-indirect thingatpt org-protocol help-fns radix-tree gnuplot
info-look ob-dot ob-ditaa ob-gnuplot ob-ruby ob-latex ob-shell shell
deadgrep spinner wgrep-ag wgrep grep ag vc-svn derived vc vc-dispatcher
compile text-property-search find-dired s dash dired dired-loaddefs
saveplace ivy-historian comp rx historian ivy flx delsel ivy-faces
ivy-overlay colir color edmacro kmacro minions
display-fill-column-indicator hl-line paren ligature
exec-path-from-shell recentf tree-widget wid-edit no-littering
use-package use-package-ensure use-package-delight use-package-diminish
use-package-bind-key bind-key use-package-core finder-inf warnings
server cl-extra help-mode org ob ob-tangle ob-ref ob-lob ob-table ob-exp
org-macro org-footnote org-src ob-comint org-pcomplete pcomplete comint
ansi-color ring org-list org-faces org-entities time-date noutline
outline org-version ob-emacs-lisp ob-core ob-eval org-table ol org-keys
org-compat advice org-macs org-loaddefs format-spec find-func cal-menu
calendar cal-loaddefs info package easymenu browse-url url-handlers
easy-mmode mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047
rfc2045 mm-util ietf-drums mail-prsvr url-parse auth-source cl-seq eieio
eieio-core cl-macs eieio-loaddefs password-cache json subr-x map
url-vars seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib
tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type
mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image
regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode
lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch
timer select scroll-bar mouse jit-lock font-lock syntax facemenu
font-core term/tty-colors frame minibuffer cl-generic cham georgian
utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean
japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european
ethiopic indian cyrillic chinese composite charscript charprop
case-table epa-hook jka-cmpr-hook help simple abbrev obarray
cl-preloaded nadvice button loaddefs faces cus-face pcase macroexp files
window text-properties overlay sha1 md5 base64 format env code-pages
mule custom widget hashtable-print-readable backquote threads dbusbind
inotify lcms2 dynamic-setting system-font-setting font-render-setting
cairo move-toolbar gtk x-toolkit x multi-tty make-network-process emacs)

Memory information:
((conses 16 781335 512000)
 (symbols 48 54566 837)
 (strings 32 207850 59773)
 (string-bytes 1 6781358)
 (vectors 16 83007)
 (vector-slots 8 2187204 586835)
 (floats 8 517 1427)
 (intervals 56 511 155)
 (buffers 992 12))




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#44031; Package emacs. (Mon, 06 Jun 2022 17:58:02 GMT) Full text and rfc822 format available.

Message #8 received at 44031 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: toon <at> iotcl.com
Cc: 44031 <at> debbugs.gnu.org
Subject: Re: bug#44031: 28.0.50; Segfault with poly-gfm and atomic-chrome
Date: Mon, 06 Jun 2022 19:57:08 +0200
toon <at> iotcl.com writes:

> All goes well up to this point, until I want to pass the buffer back to
> Firefox. When I press C-c C-c, bound to
> `atomic-chrome-close-current-buffer', Emacs crashes.
>
> The backtrace is attached below, but I must say I have no idea what
> exactly causes this crash.

(I'm going through old bug reports that unfortunately weren't resolved
at the time.)

> Thread 1 "emacs" received signal SIGSEGV, Segmentation fault.
> 0x000055555576f55f in find_newline (start=33, start_byte=33, end=1, end_byte=1, count=-1, counted=0x7fffffffd320, bytepos=0x7fffffffd358, allow_quit=true) at search.c:838
> 838			       && FETCH_BYTE (start_byte - 1) == '\n')
> (gdb) bt full
> #0  0x000055555576f55f in find_newline (start=33, start_byte=33, end=1, end_byte=1, count=-1, counted=0x7fffffffd320, bytepos=0x7fffffffd358, allow_quit=true) at search.c:838
>         lim1 = 1
>         next_change = 1
>         result = 0
>         tem = 93824994639943
>         ceiling_byte = 1
>         newline_cache = 0x555557a13bd0
>         cache_buffer = 0x55555e16cdf0
> #1  0x000055555576f9e0 in scan_newline_from_point (count=0, charpos=0x7fffffffd350, bytepos=0x7fffffffd358) at search.c:969

I vaguely remember there being some fixes in this area somewhat recently
(but I may well be misremembering).  Do you still see these crashes with
the current Emacs trunk?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Added tag(s) moreinfo. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Mon, 06 Jun 2022 17:58:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#44031; Package emacs. (Mon, 06 Jun 2022 18:32:02 GMT) Full text and rfc822 format available.

Message #13 received at 44031 <at> debbugs.gnu.org (full text, mbox):

From: Toon Claes <toon <at> iotcl.com>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 44031 <at> debbugs.gnu.org
Subject: Re: bug#44031: 28.0.50; Segfault with poly-gfm and atomic-chrome
Date: Mon, 06 Jun 2022 20:31:37 +0200
On Mon, Jun 06 2022, Lars Ingebrigtsen wrote:

> I vaguely remember there being some fixes in this area somewhat recently
> (but I may well be misremembering).  Do you still see these crashes with
> the current Emacs trunk?

I haven't using poly-gfm over the last year+, so I cannot say whether
this was fixed or not. Anyhow, I don't see any reason to keep this bug
open.

Thanks Lars! I'll be happy to see this be contribute to yet another "%"
blog post.

--
Toon




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#44031; Package emacs. (Tue, 07 Jun 2022 09:27:02 GMT) Full text and rfc822 format available.

Message #16 received at 44031 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Toon Claes <toon <at> iotcl.com>
Cc: 44031 <at> debbugs.gnu.org
Subject: Re: bug#44031: 28.0.50; Segfault with poly-gfm and atomic-chrome
Date: Tue, 07 Jun 2022 11:26:47 +0200
Toon Claes <toon <at> iotcl.com> writes:

> I haven't using poly-gfm over the last year+, so I cannot say whether
> this was fixed or not. Anyhow, I don't see any reason to keep this bug
> open.

Thanks; closing this bug report, then.

> Thanks Lars! I'll be happy to see this be contribute to yet another "%"
> blog post.

😀

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




bug closed, send any further explanations to 44031 <at> debbugs.gnu.org and toon <at> iotcl.com Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Tue, 07 Jun 2022 09:28:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 05 Jul 2022 11:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 46 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.