Subject: Re: bug#38133: 27.0.50; compiling master and core dump with r139382-1

From: Eli Zaretskii <[email-masked]>
Date: Fri, 08 Nov 2019 21:08:23 +0200

> From: andrés ramírez <[email-masked]>
> Cc: [email-masked]
> 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.

Great, thanks.

> 139	  XtSetArg (al[ac], XtNmenu, instance->info->val); ac++;
> (gdb) p al
> $1 = {{name = 0x6337dc "menu", value = -1236906428}, {name = 0xb633fb60 <malloc+400> "\211ǅ\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

OK, so instance or instance->info is a NULL pointer.  But this is no
longer important.

> ps: should I close de bug report?

Yes, please.