From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Visuwesh Newsgroups: gmane.emacs.bugs Subject: bug#58232: 29.0.50; alloc.c:879: assertion failed: 0 < item_size && 0 < nitems_incr_min && 0 <= n0 && -1 <= nitems_max Date: Sun, 02 Oct 2022 14:07:54 +0530 Message-ID: <87v8p2mxi5.fsf@gmail.com> References: <87v8p3pktz.fsf@gmail.com> <831qrrbfly.fsf@gnu.org> <87pmfaq23l.fsf@gmail.com> <83lepyah0l.fsf@gnu.org> <874jwmogs3.fsf@gmail.com> <83bkquaetp.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30812"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 58232@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Oct 02 10:39:10 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 1oeuVC-0007rD-Ej for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 02 Oct 2022 10:39:10 +0200 Original-Received: from localhost ([::1]:48290 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oeuVA-0000S8-Tr for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 02 Oct 2022 04:39:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59432) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oeuV4-0000Rx-DA for bug-gnu-emacs@gnu.org; Sun, 02 Oct 2022 04:39:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:47138) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oeuV4-0005Q3-07 for bug-gnu-emacs@gnu.org; Sun, 02 Oct 2022 04:39:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oeuV3-0002r8-Ld for bug-gnu-emacs@gnu.org; Sun, 02 Oct 2022 04:39:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Visuwesh Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 02 Oct 2022 08:39:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58232 X-GNU-PR-Package: emacs Original-Received: via spool by 58232-submit@debbugs.gnu.org id=B58232.166469989110915 (code B ref 58232); Sun, 02 Oct 2022 08:39:01 +0000 Original-Received: (at 58232) by debbugs.gnu.org; 2 Oct 2022 08:38:11 +0000 Original-Received: from localhost ([127.0.0.1]:46216 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oeuUF-0002pz-36 for submit@debbugs.gnu.org; Sun, 02 Oct 2022 04:38:11 -0400 Original-Received: from mail-pf1-f194.google.com ([209.85.210.194]:46653) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oeuUD-0002pm-KK for 58232@debbugs.gnu.org; Sun, 02 Oct 2022 04:38:10 -0400 Original-Received: by mail-pf1-f194.google.com with SMTP id u21so2153758pfc.13 for <58232@debbugs.gnu.org>; Sun, 02 Oct 2022 01:38:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date; bh=Zo8rJr7H/pBClNXLrK2jKh/tJDZHRQFU93nXcCv8tOo=; b=l36lczUXQPUElgHJGpU3L3oJ5LvneqzpCsom8ZIIJz3fZdTtPA38BbuJSpxUUVlvP5 BnGBoTu4EISdFFiXz1FOGlxhzctM2OmjC4y8iD+VJp5ppvKcBLNaoN/LNPLuWHD6E8b0 FZkEnTxzKBFmlTqUGU58wfoLdf8DN6A8/ZyeER+WyGbWsNX7zzuXf38XeuabRMxq5121 HTmuTDZ+EVnUz68mrnd8QekqKHiUgHggi2mdCWFDM4ipHUNDv83h+dLQCi7SW00XzYbn TswlEV7jId9UxKhaTzsYjSdz9poAOzizoISbhlv+f2dGGkEDc7XA3IRof3RfcPbkSyox Fp+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date; bh=Zo8rJr7H/pBClNXLrK2jKh/tJDZHRQFU93nXcCv8tOo=; b=gRaD95gGzMSDZOQbL5mX+zoiKbo5PaGpuVPhvpZ1eYIplA4iL1iG6wLtljNxS/ONWm 5ApHdYP81Hc8rBsAPuaFOXl+Vke/0o8kArJUppD3Jmv31Dlnnc7jVHUP1dwFloMSKSwz eSR6btjf8iK/GuRAirEh8NII7uXM2XShLuDGvXOcE3+saMRaan0PZmv8HS8U06SlLxru ufe+WYyiJXoyViM5wNl28F2xh7yXU0lsMaCqexhcJDYje5Y/2pgj/PGqMWjvm9g2zkSE qT5+RaRFBoshEOTtnt6ovQrasOBObJsYKTlaWgG+GZDWW4v0UDoyDH62jnCUdk4wq/sq 1viA== X-Gm-Message-State: ACrzQf3OTdAXYrFwuSYh3M8Hda8CToNeo4cL8Nv5+k8mhNccMzczn9JW yTPYpNlxwKHqB6m0Qtlz/KQ= X-Google-Smtp-Source: AMsMyM4kSs+W+szU1VbZK2QLSl95JugQGZwCo4gyDQYA7zqiI0XHrpHw67dfKXf7b/BGaa6nKBPEKA== X-Received: by 2002:a63:135a:0:b0:440:f2af:c4cd with SMTP id 26-20020a63135a000000b00440f2afc4cdmr10581296pgt.393.1664699883608; Sun, 02 Oct 2022 01:38:03 -0700 (PDT) Original-Received: from localhost ([115.240.90.130]) by smtp.gmail.com with ESMTPSA id 21-20020a170902c11500b0017eea4a3979sm669980pli.154.2022.10.02.01.38.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 02 Oct 2022 01:38:03 -0700 (PDT) In-Reply-To: <83bkquaetp.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 02 Oct 2022 10:02:10 +0300") 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:244184 Archived-At: [Sunday October 02, 2022] Eli Zaretskii wrote: > Is your Emacs compiled with debug info (-g3) and unstripped (no -s)? Yes, and yes. My configure flag is the one that is in etc/DEBUG, and `file' reports that my binary is unstripped. > Also, did you set up core file size limit to "unlimited"? Looks like I messed up this part. Here's `bt' when core dump limit is unlimited, Reading symbols from emacs... [New LWP 6962] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". Core was generated by `emacs -Q'. Program terminated with signal SIGABRT, Aborted. (gdb) bt #0 __pthread_kill_implementation (threadid=, signo=signo@entry=6, no_tid=no_tid@entry=0) at ./nptl/pthread_kill.c:44 #1 0x00007f854d4895df in __pthread_kill_internal (signo=6, threadid=) at ./nptl/pthread_kill.c:78 #2 0x00007f854d43da02 in __GI_raise (sig=6) at ../sysdeps/posix/raise.c:26 #3 0x000055a416dac32d in terminate_due_to_signal (sig=6, backtrace_limit=2147483647) at emacs.c:458 #4 0x000055a416e6712d in die (msg=0x55a41702d090 "0 < item_size && 0 < nitems_incr_min && 0 <= n0 && -1 <= nitems_max", file=0x55a41702d06b "alloc.c", line=879) at alloc.c:7672 #5 0x000055a416e5a9be in xpalloc (pa=0x0, nitems=0x7fffc2172868, nitems_incr_min=-87, nitems_max=-1, item_size=1) at alloc.c:879 #6 0x000055a416dad158 in load_pdump (argc=2, argv=0x7fffc2172b98) at emacs.c:935 #7 0x000055a416dade3a in main (argc=2, argv=0x7fffc2172b98) at emacs.c:1359 (gdb) >> I'm observing something weird here. If I say "emacs -Q", then I get an >> abort however if I say "src/emacs -Q", Emacs launches just fine. >> "emacs" in my PATH refers to "src/emacs"... > > Yes, weird.