From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: san_ignore_object not found at link time Date: Sat, 01 Aug 2020 22:26:12 +0300 Message-ID: <83d04acgmj.fsf@gnu.org> References: <20200801141014.51E78C21C82@raman-glaptop.localdomain> <83wo2ictyz.fsf@gnu.org> <83tuxmctmo.fsf@gnu.org> <20200801153823.GA55369@breton.holly.idiocy.org> <83k0yicl01.fsf@gnu.org> <83h7tmcj45.fsf@gnu.org> <83eeoqcguj.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34635"; mail-complaints-to="usenet@ciao.gmane.io" Cc: alan@idiocy.org, raman@google.com, emacs-devel@gnu.org To: p.stephani2@gmail.com Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Aug 01 21:26:56 2020 Return-path: Envelope-to: ged-emacs-devel@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 1k1x9j-0008w7-Sn for ged-emacs-devel@m.gmane-mx.org; Sat, 01 Aug 2020 21:26:55 +0200 Original-Received: from localhost ([::1]:59172 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k1x9i-0003S6-V6 for ged-emacs-devel@m.gmane-mx.org; Sat, 01 Aug 2020 15:26:54 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51764) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k1x9H-00032A-Ia for emacs-devel@gnu.org; Sat, 01 Aug 2020 15:26:27 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:40533) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k1x9H-0006KS-80; Sat, 01 Aug 2020 15:26:27 -0400 Original-Received: from [176.228.60.248] (port=3742 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1k1x9G-0004Ed-JG; Sat, 01 Aug 2020 15:26:27 -0400 In-Reply-To: <83eeoqcguj.fsf@gnu.org> (message from Eli Zaretskii on Sat, 01 Aug 2020 22:21:24 +0300) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:253396 Archived-At: > Date: Sat, 01 Aug 2020 22:21:24 +0300 > From: Eli Zaretskii > Cc: alan@idiocy.org, emacs-devel@gnu.org, raman@google.com > > > From: Philipp Stephani > > Date: Sat, 1 Aug 2020 21:17:05 +0200 > > Cc: Alan Third , raman , > > Emacs developers > > > > I've now used INT_SUBTRACT_WRAPV, which should guarantee that the > > offset is defined and fits within an intptr_t. > > Thanks, the warning is gone now. Though I still don't like the code > there, it feels wrong even if it isn't. I spoke too soon: it compiles, but that hits assertion violation while loading: CCLD temacs.exe /bin/mkdir -p ../etc make -C ../lisp update-subdirs make[2]: Entering directory `/d/gnu/git/emacs/trunk/lisp' make[2]: Leaving directory `/d/gnu/git/emacs/trunk/lisp' cp -f temacs.exe bootstrap-emacs.exe rm -f bootstrap-emacs.pdmp ./temacs --batch -l loadup --temacs=pbootstrap Loading loadup.el (source)... dump mode: pbootstrap Using load-path (d:/gnu/git/emacs/trunk/lisp d:/gnu/git/emacs/trunk/lisp/emacs-lisp d:/gnu/git/emacs/trunk/lisp/progmodes d:/gnu/git/emacs/trunk/lisp/language d:/gnu/git/emacs/trunk/lisp/international d:/gnu/git/emacs/trunk/lisp/textmodes d:/gnu/git/emacs/trunk/lisp/vc) Loading emacs-lisp/byte-run... Loading emacs-lisp/backquote... Loading subr... Loading version... alloc.c:4646: Emacs fatal error: assertion failed: !overflow Here's the backtrace, FTR: #1 0x0133f574 in emacs_abort () at w32fns.c:10832 #2 0x01159bd7 in terminate_due_to_signal (sig=22, backtrace_limit=2147483647) at emacs.c:409 #3 0x01218a3e in die (msg=0x173efad "!overflow", file=0x173e5aa "alloc.c", line=4646) at alloc.c:7362 #4 0x012124da in mark_maybe_object (obj=XIL(0xc0000000058ab680)) at alloc.c:4646 #5 0x012129e4 in mark_memory (start=0x82d818, end=0x82feac) at alloc.c:4864 #6 0x01212a0c in mark_stack (bottom=0x82feac "", end=0x82d818 "H╪ג") at alloc.c:5047 #7 0x0132015b in mark_one_thread (thread=0x1703000 ) at thread.c:630 #8 0x01320290 in mark_threads_callback (ignore=0x0) at thread.c:661 #9 0x01212a36 in flush_stack_call_func1 ( func=0x1320212 , arg=0x0) at alloc.c:5088 #10 0x0131f39a in flush_stack_call_func ( func=0x1320212 , arg=0x0) at lisp.h:3837 #11 0x013202c0 in mark_threads () at thread.c:668 #12 0x0121555c in garbage_collect () at alloc.c:6077 #13 0x01215b05 in Fgarbage_collect () at alloc.c:6193 #14 0x01258cdf in eval_sub (form=XIL(0xc0000000058ac280)) at eval.c:2271 #15 0x012517f0 in Fprogn (body=XIL(0)) at eval.c:462 #16 0x0125c82b in funcall_lambda (fun=XIL(0xc0000000058ac2d0), nargs=1, arg_vector=0x82e010) at eval.c:3065 #17 0x0125b3de in Ffuncall (nargs=2, args=0x82e008) at eval.c:2809 #18 0x01259c69 in funcall_nil (nargs=2, args=0x82e008) at eval.c:2436 #19 0x0125a2d8 in run_hook_with_args (nargs=2, args=0x82e008, funcall=0x1259c51 ) at eval.c:2613 #20 0x01259ce1 in Frun_hook_with_args (nargs=2, args=0x82e008) at eval.c:2478 #21 0x0125b678 in funcall_subr (subr=0x170bb60 , numargs=2, args=0x82e008) at eval.c:2848 #22 0x0125b1e6 in Ffuncall (nargs=3, args=0x82e000) at eval.c:2795 #23 0x012c50a5 in exec_byte_code (bytestr=XIL(0x8000000005a35ad8), vector=XIL(0xa000000005888560), maxdepth=make_fixnum(12), args_template=make_fixnum(257), nargs=1, args=0x82e6a0) at bytecode.c:635 #24 0x0125bd15 in fetch_and_exec_byte_code (fun=XIL(0xa000000005888670), syms_left=make_fixnum(257), nargs=1, args=0x82e698) at eval.c:2917 #25 0x0125c292 in funcall_lambda (fun=XIL(0xa000000005888670), nargs=1, arg_vector=0x82e698) at eval.c:2998 #26 0x0125b240 in Ffuncall (nargs=2, args=0x82e690) at eval.c:2797 #27 0x0125a512 in call1 (fn=XIL(0x5040), arg1=XIL(0x8000000005a38c08)) at eval.c:2655 #28 0x012a50bc in Fload (file=XIL(0x8000000005a38ba8), noerror=XIL(0), nomessage=XIL(0), nosuffix=XIL(0), must_suffix=XIL(0)) at lread.c:1480 #29 0x01258f1c in eval_sub (form=XIL(0xc0000000058ac310)) at eval.c:2288 #30 0x012a7c23 in readevalloop (readcharfun=XIL(0x6d20), infile0=0x82f5fc, sourcename=XIL(0x800000000599cc10), printflag=false, unibyte=XIL(0), readfun=XIL(0), start=XIL(0), end=XIL(0)) at lread.c:2096 #31 0x012a4f1c in Fload (file=XIL(0x800000000599cb50), noerror=XIL(0), nomessage=XIL(0), nosuffix=XIL(0), must_suffix=XIL(0)) at lread.c:1465 #32 0x01258f1c in eval_sub (form=XIL(0xc000000005895120)) at eval.c:2288 #33 0x012581b0 in Feval (form=XIL(0xc000000005895120), lexical=XIL(0)) at eval.c:2103 #34 0x0116160f in top_level_2 () at keyboard.c:1100 #35 0x012557e0 in internal_condition_case (bfun=0x11615dc , handlers=XIL(0x90), hfun=0x1160d8d ) at eval.c:1356 #36 0x01161689 in top_level_1 (ignore=XIL(0)) at keyboard.c:1108 #37 0x012549ed in internal_catch (tag=XIL(0xe070), func=0x1161615 , arg=XIL(0)) at eval.c:1117 #38 0x011614e1 in command_loop () at keyboard.c:1069 #39 0x0116081d in recursive_edit_1 () at keyboard.c:714 #40 0x01160a8b in Frecursive_edit () at keyboard.c:786 #41 0x0115c2a0 in main (argc=5, argv=0xa44250) at emacs.c:2043 Lisp Backtrace: "Automatic GC" (0x0) "garbage-collect" (0x82daf8) 0x58ac2d0 Lisp type 6 "run-hook-with-args" (0x82e008) "do-after-load-evaluation" (0x82e698) "load" (0x82edf8) "load" (0x82f758)