Subject: Re: 28.0.50; [feature/native-comp] Crash while scrolling through dispnew.c

From: Eli Zaretskii <[email-masked]>
Date: Fri, 12 Mar 2021 18:23:34 +0200

> From: Andrea Corallo <[email-masked]>
> Cc: [email-masked]
> Date: Fri, 12 Mar 2021 16:08:33 +0000
> 
> > And the corresponding Lisp backtrace:
> >
> >   "c-beginning-of-statement-1" (0x826a08)
> >   "c-just-after-func-arglist-p" (0x826be0)
> >   "c-back-over-member-initializers" (0x826db8)
> >   "c-font-lock-cut-off-declarators" (0x827050)
> >   "font-lock-fontify-keywords-region" (0x8273a8)
> >   "font-lock-default-fontify-region" (0x8276b8)
> >
> > (Don't ask me why "<", i.e. Flss, doesn't appear in the Lisp
> > backtrace: something strange happens with backtraces here, as I will
> > describe in another message.  I think the "??" things in the backtrace
> > are related.)
> >
> > How do I go about finding the function that's responsible for the
> > problem given the above?  The problem is 100% reproducible for me.
> 
> One easy option is to evaluate say `c-beginning-of-statement-1' (as
> first defendant) and see if afterwards it still crashes.  Same one can
> load entire files to exclude entirely their content from the equation.

Just evaluating c-beginning-of-statement-1 doesn't help.  But if I
load cc-engine.el, then the crash goes away.

(Btw, if I load cc-engine.elc, it says it loads the .eln file
instead?  is that intentional?)

> > Do you have all of the cc-*.el files natively-compiled?  I do.
> 
> Looks so.

Here's the full list of *.eln files I have in the eln-cache, maybe you
can spot some differences wrt what you have:

  ansi-color-75eac800-c3f61e7e.eln
  apropos-7c1ecbdf-9d649fe6.eln
  auth-source-49df7eef-368f27dd.eln
  bug-reference-79735dad-1dd033e2.eln
  bytecomp-12882072-5aabcc96.eln
  byte-opt-9c5f25f5-125a1c43.eln
  cc-align-bb265728-02034f8e.eln
  cc-bytecomp-4817e810-d16f606e.eln
  cc-cmds-9eab15be-9c2d9c5e.eln
  cc-defs-029877ca-e2bf1927.eln
  cc-e.n
  cc-engine-ccfcb170-1b345b21.eln
  cc-fonts-d7d8a7f5-b7c359cd.eln
  cc-guess-fa39ca73-10a5145e.eln
  cc-langs-de47cd28-5b5f4a5fhuBjCz.eln.tmp
  cc-menus-d370fa63-f0f22492.eln
  cc-mode-515a98a5-c7761ade.eln
  cconv-3b1f1f98-1f92e386.eln
  cc-styles-e4992978-134c4151.eln
  cc-vars-6cc3f0fc-b327aefc.eln
  cl-extra-d7051cba-ff815ded.eln
  cl-lib-8b938900-fbcee53d.eln
  cl-macs-7ae82f81-71a226f6.eln
  cl-seq-f464c4e2-95d0eb23.eln
  comint-faef15ad-9b304e32.eln
  comp-7672a6ed-9eeeb410.eln
  comp-cstr-ef162ef7-50619cfa.eln
  compile-91e1c2a0-004c9cb4.eln
  cus-edit-3cd01345-0185ea92.eln
  derived-381801a7-192e647c.eln
  descr-text-4ed9ee33-0bda188d.eln
  dframe-2a07085b-11be22d3.eln
  diff-mode-ac82991e-01e3cc24.eln
  dired-6a3ae2bc-f9b00bd0.eln
  dired-aux-1ff8c91a-5e8d68e3.eln
  easy-mmode-5bf0223e-cf7b61bf.eln
  eieio-0db8d1d4-4e501056.eln
  eieio-core-63c05904-38f7202b.eln
  eieio-opt-b31de7ef-12184a12.eln
  emacsbug-2b184f71-c7cc3f7a.eln
  enriched-ae445047-ffd49ae6.eln
  epa-bdd8ea1c-9c6ccc43.eln
  epg-config-78240760-62de08d4.eln
  epg-de089247-fae49f41.eln
  ezimage-53d8406d-4cbd31ae.eln
  find-func-64af57a4-ba832011.eln
  fortran-ad9735b1-90f9ed86.eln
  gmm-utils-3a9b481d-cecf0e84.eln
  gnus-util-b645aa9c-39a0db66.eln
  gv-e0cf7478-6f822f02.eln
  help-fns-d233c6e8-5e828b84.eln
  help-mode-d4dbae3d-3727161b.eln
  ietf-drums-23d9ecfe-579c3b1e.eln
  imenu-a6693d03-62e7d385.eln
  info-ce12c0ca-df930c16.eln
  info-look-27e24920-050cbc72.eln
  json-a90a1eab-9034d030.eln
  lao-util-4c214197-8053260c.eln
  mailabbrev-287b6d20-a5fad4b7.eln
  mail-extr-e04131ae-12208c1c.eln
  mailheader-2dff755b-9d40572b.eln
  mail-utils-ae525238-708bf20f.eln
  man-9b8001be-e7203284.eln
  map-5d7b616a-baad437f.eln
  message-4a315c5a-7ec20cdd.eln
  misearch-3d1286b0-e86a9158.eln
  mm-bodies-5a92b2dc-7e472c08.eln
  mm-decode-4a4c16d8-6d118abe.eln
  mm-encode-4f0ce800-8f6b2a84.eln
  mml-34028078-23c8ee7c.eln
  mml-sec-827872f6-5d3f8ae5.eln
  mm-util-3a4439f0-4318e260.eln
  password-cache-187e4eec-b2e0084a.eln
  pp-5d47c1cc-e2c622e6.eln
  puny-eb5a151f-06b0d248.eln
  radix-tree-669a468d-e66242bf.eln
  rfc2045-713c994b-94aee2d3.eln
  rfc2047-b84e264d-42c8bbe1.eln
  rfc2231-e2cbed75-f8579d90.eln
  rfc822-a91daeff-329e7b69.eln
  ring-bff0b981-59f7c140.eln
  rmail-f41733e3-6e1970d3.eln
  rmc-9c382b5d-38a8af9e.eln
  ruler-mode-3c3fd53f-72bfc9a1.eln
  rx-627d8c83-551f997f.eln
  sendmail-bcf4df3f-704bb7ae.eln
  seq-c314b42f-92293e32.eln
  shadow-87c8aad9-c7cf33e5.eln
  shortdoc-c079c0cb-d9ab4584.eln
  sort-14dd51e7-a0f100a3.eln
  speedbar-2a9b6d1b-3e59deba.eln
  subr--trampoline-782d646973706c61792d6261636b696e672d73746f7265_x_display_backing_store_0.eln
  subr--trampoline-782d646973706c61792d636f6c6f722d63656c6c73_x_display_color_cells_0.eln
  subr--trampoline-782d646973706c61792d6d6d2d686569676874_x_display_mm_height_0.eln
  subr--trampoline-782d646973706c61792d6d6d2d7769647468_x_display_mm_width_0.eln
  subr--trampoline-782d646973706c61792d706978656c2d686569676874_x_display_pixel_height_0.eln
  subr--trampoline-782d646973706c61792d706978656c2d7769647468_x_display_pixel_width_0.eln
  subr--trampoline-782d646973706c61792d706c616e6573_x_display_planes_0.eln
  subr--trampoline-782d646973706c61792d73637265656e73_x_display_screens_0.eln
  subr--trampoline-782d646973706c61792d76697375616c2d636c617373_x_display_visual_class_0.eln
  subr--trampoline-782d6c6973742d666f6e7473_x_list_fonts_0.eln
  subr--trampoline-782d7365727665722d6d61782d726571756573742d73697a65_x_server_max_request_size_0.eln
  subr--trampoline-782d7365727665722d76656e646f72_x_server_vendor_0.eln
  subr--trampoline-782d7365727665722d76657273696f6e_x_server_version_0.eln
  subr-x-02dfef32-17faeb1d.eln
  tabify-b74f3a50-59f526ca.eln
  text-property-search-db1383f6-3658aa80.eln
  thai-util-75470e18-576e35e0.eln
  thai-word-5d4a80fb-6bc70d61.eln
  thingatpt-6fc8a4ab-f84cd1e6.eln
  time-date-40951a48-0eafe94e.eln
  vc-d8599e21-047fc768.eln
  vc-dispatcher-d82eb341-d439fc51.eln
  vc-git-5d6756dc-43af02c2.eln
  view-faefc6b2-24d3a53e.eln
  warnings-28e75f4d-c98d4e00.eln
  wid-edit-5b92861a-77dee7ff.eln