GNU bug report logs - #42660
emacs-27.1-rc1 and UBsan findings

Previous Next

Package: emacs;

Reported by: noloader <at> gmail.com

Date: Sat, 1 Aug 2020 20:35:02 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: noloader <at> gmail.com
Subject: bug#42660: closed (emacs-27.1-rc1 and UBsan findings)
Date: Tue, 18 Aug 2020 01:00:03 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#42660: emacs-27.1-rc1 and UBsan findings

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 42660 <at> debbugs.gnu.org.

-- 
42660: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=42660
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Paul Eggert <eggert <at> cs.ucla.edu>
To: noloader <at> gmail.com
Cc: Lars Ingebrigtsen <larsi <at> gnus.org>, 42660-done <at> debbugs.gnu.org
Subject: emacs-27.1-rc1 and UBsan findings
Date: Mon, 17 Aug 2020 17:58:59 -0700
[Message part 3 (text/plain, inline)]
The bug is unlikely to lead to a real problem, so I installed the attached 
low-priority patch into the master branch rather than into emacs-27. Closing the 
bug report as fixed.
[0001-Fix-glitch-uncovered-by-gcc-fsanitize-undefined.patch (text/x-patch, attachment)]
[Message part 5 (message/rfc822, inline)]
From: Jeffrey Walton <noloader <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: emacs-27.1-rc1 and UBsan findings
Date: Sat, 1 Aug 2020 16:34:22 -0400
[Message part 6 (text/plain, inline)]
I believe these additional failures are due to -fsanitize=undefined
-fno-sanitize-recover=all.

SUMMARY OF TEST RESULTS
-----------------------
Files examined: 267
Ran 3850 tests, 7 failed to run, 3763 results as expected, 1
unexpected, 86 skipped
1 files did not contain any tests:
  src/emacs-module-tests.log
1 files did not finish:
  lisp/international/ccl-tests.log
1 files contained unexpected results:
  lisp/cedet/srecode-utest-template.log
Makefile:319: recipe for target 'check-doit' failed
make[2]: *** [check-doit] Error 2
make[2]: Leaving directory '/home/jwalton/Build-Scripts/emacs-27.1/test'
Makefile:289: recipe for target 'check' failed
make[1]: *** [check] Error 2
make[1]: Leaving directory '/home/jwalton/Build-Scripts/emacs-27.1/test'
Makefile:959: recipe for target 'check' failed
make: *** [check] Error 2

Here's a typical failure:

$ cat emacs-27.1/test/lisp/international/ccl-tests.log
Running 7 tests (2020-08-01 16:28:12-0400, selector `(not (or (tag
:expensive-test) (tag :unstable)))')
   passed  1/7  ccl-compile-midi (0.000181 sec)
   passed  2/7  ccl-compile-pgg (0.000093 sec)
   passed  3/7  ccl-dump-midi (0.005956 sec)
   passed  4/7  ccl-dump-pgg (0.000111 sec)
Package pgg-def is deprecated
Package pgg-parse is deprecated
Package pgg is deprecated
ccl.c:1146:29: runtime error: left shift of 1246883553 by 1 places
cannot be represented in type 'int'
[config.log.zip (application/zip, attachment)]
[test-suite.log.zip (application/zip, attachment)]

This bug report was last modified 4 years and 277 days ago.

Previous Next


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