GNU bug report logs - #38133
27.0.50; compiling master and core dump with r139382-1

Previous Next

Package: emacs;

Reported by: rrandresf <at> gmail.com

Date: Fri, 8 Nov 2019 14:03:02 UTC

Severity: normal

Fixed in version 27.0.50

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: andrés ramírez <rrandresf <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 38133 <at> debbugs.gnu.org
Subject: bug#38133: 27.0.50; compiling master and core dump with r139382-1
Date: Fri, 08 Nov 2019 17:23:54 +0000
Hi Eli. SOLVED.

When You pointed out LDFLAGS, that gave me some hints. About similar
problems in the past (i have read on emacs-devel). Most of them were solved with 'make bootstrap'. So
I modified my packaging script for also including {./autogen.sh; make
bootstrap}. This solved It.

>> Thread 1 "emacs" received signal SIGSEGV, Segmentation fault.
>> 0x006283d5 in xlw_create_menubar (instance=0xd122f0) at
>> lwlib-Xlw.c:139 139 XtSetArg (al[ac], XtNmenu,
>> instance->info->val); ac++;

Eli> OK, so which of these caused the crash?  Is one of them a NULL
Eli> pointer or an invalid pointer, or is ac a garbled value?

Probably this is going to be irrelevant. But as the debugging session
was still open:
--8<---------------cut here---------------start------------->8---
Thread 1 "emacs" received signal SIGSEGV, Segmentation fault.
0x006283d5 in xlw_create_menubar (instance=0xd12520) at lwlib-Xlw.c:139
139	  XtSetArg (al[ac], XtNmenu, instance->info->val); ac++;
(gdb) p al
$1 = {{name = 0x6337dc "menu", value = -1236906428}, {name = 0xb633fb60 <malloc+400> "\211Dž\300\017\204", <incomplete sequence \306>, value = 13594960}, {name = 0xc7b1c0 "", value = 3}, {name = 0x709d2c "\254\232\060", value = 13594960}, {name = 0xc7b1c0 "", value = 3}}
(gdb) p al[ac]
$2 = {name = 0x6337dc "menu", value = -1236906428}
(gdb) p ac
$3 = 0
(gdb) p XtNmenu
$4 = "menu"
(gdb) p instance->info->val
Cannot access memory at address 0xc
(gdb)
--8<---------------cut here---------------end--------------->8---

AR.
ps: should I close de bug report?




This bug report was last modified 5 years and 199 days ago.

Previous Next


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