Bug#1017113: glibc FTBFS on Alpha: segfault in setlocale

2022-08-13 Thread Michael Cree
Source: glibc
Version: 2.34
Severity: important
User: debian-al...@lists.debian.org
Usertags: ftbfs
Justification: Fails to build from source but built in the past.

glibc 2.34 FTBFS on Alpha with a segfault occuring during building
locales.  From the build log:

Generating locale en_US.UTF-8: this might take a while...
../localedata/gen-locale.sh: line 29: 12551 Segmentation fault  
${localedef_before_env} ${run_program_env} I18NPATH=../localedata 
${localedef_after_env} $flags -f $charmap -i $input 
${common_objpfx}localedata/$out
Charmap: "UTF-8" Inputfile: "en_US" Outputdir: "en_US.UTF-8" failed
/bin/bash: line 4: 
/<>/build-tree/alpha-libc/localedata/en_US.UTF-8/LC_CTYPE.test-result:
 No such file or directory
make[3]: *** [../gen-locales.mk:17: 
/<>/build-tree/alpha-libc/localedata/en_US.UTF-8/LC_CTYPE] Error 1
make[3]: Leaving directory '/<>/iconv'


In the build directory I reran ./debian/rule build-arch to get a
coredump.  Debugging reports:

(sid)mjc@alpha:glibc-2.34$ gdb build-tree/alpha-libc/elf/ld.so 
iconv/core-23033-\!build\!glibc-hXmOs0\!glibc-2.34\!build-tree\!alpha-libc\!elf\!ld.so
 
GNU gdb (Debian 12.1-3) 12.1
Copyright (C) 2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "alpha-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
.
Find the GDB manual and other documentation resources online at:
.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from build-tree/alpha-libc/elf/ld.so...

warning: core file may not match specified executable file.
[New LWP 23033]

warning: Unexpected size of section `.reg/23033' in core file.

warning: Unable to find libthread_db matching inferior's thread library, thread 
debugging will not be available.
Core was generated by 
`/build/glibc-hXmOs0/glibc-2.34/build-tree/alpha-libc/elf/ld-linux.so.2 
--librar'.
Program terminated with signal SIGSEGV, Segmentation fault.

warning: Unexpected size of section `.reg/23033' in core file.
#0  0x020f6384 in sysmalloc (nb=656, av=0x2252908 ) at 
./malloc/malloc.c:2784
2784  set_head (av->top, (snd_brk - aligned_brk + 
correction) | PREV_INUSE);
(gdb) list
2779
2780  /* Adjust top based on results of second sbrk */
2781  if (snd_brk != (char *) (MORECORE_FAILURE))
2782{
2783  av->top = (mchunkptr) aligned_brk;
2784  set_head (av->top, (snd_brk - aligned_brk + 
correction) | PREV_INUSE);
2785  av->system_mem += correction;
2786
2787  /*
2788 If not the first time through, we either have a
(gdb) print snd_brk
$1 = 0x2064000 "\002"
(gdb) print aligned_brk
$2 = 0x2042000 "\177ELF\002\001\001"
(gdb) print correction
$3 = 0
(gdb) print av->top
$4 = (mchunkptr) 0x2042000
(gdb) print *av->top
$5 = {mchunk_prev_size = 282584257676671, mchunk_size = 0, fd = 0x190260003, bk 
= 0x2ce40, fd_nextsize = 0x40, 
  bk_nextsize = 0xb9d550}
(gdb) bt full
#0  0x020f6384 in sysmalloc (nb=656, av=0x2252908 ) at 
./malloc/malloc.c:2784
old_top = 
old_size = 0
old_end = 
size = 
brk = 
correction = 0
snd_brk = 0x2064000 "\002"
front_misalign = 
end_misalign = 
aligned_brk = 0x2042000 "\177ELF\002\001\001"
p = 
remainder = 
remainder_size = 
pagesize = 
tried_mmap = false
__PRETTY_FUNCTION__ = "sysmalloc"
#1  0x020f74d0 in _int_malloc (av=0x2252908 , 
bytes=640) at ./malloc/malloc.c:4290
p = 
iters = 
nb = 656
idx = 42
bin = 0xe000
victim = 0x1fff
size = 
victim_index = 
remainder = 
remainder_size = 
block = 409600
bit = 
map = 
fwd = 
bck = 
tcache_unsorted_count = 
tcache_nb = 
tc_idx = 39
return_cached = 
__PRETTY_FUNCTION__ = "_int_malloc"
#2  0x020f7624 in tcache_init () at ./malloc/malloc.c:3128
ar_ptr = 0x2252908 
victim = 
bytes = 
#3  0x020f8050 in tcache_init () at ./malloc/malloc.c:3124
ar_ptr = 
victim = 0x0
bytes = 640
__futex = 
__atg2_result = 
__prev = 
__cmp = 
__tmp = 
__snew = 
__addr64 = 
__prev = 
__cmp = 
--Type  for more, q to quit, c to continue without paging--
__tmp = 
  

Processed: update bts meta info

2022-08-13 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

> reassign 1014735 src:glibc
Bug #1014735 {Done: Aurelien Jarno } [rpcsvc-proto] 
rpcsvc-proto: The /usr/include/rpc/* files is not included
Bug reassigned from package 'rpcsvc-proto' to 'src:glibc'.
No longer marked as found in versions rpcsvc-proto/1.4.2-4.
No longer marked as fixed in versions glibc/2.34-1.
> fixed 1014735 2.34-1
Bug #1014735 {Done: Aurelien Jarno } [src:glibc] 
rpcsvc-proto: The /usr/include/rpc/* files is not included
Marked as fixed in versions glibc/2.34-1.
> affects 1014735 rpcsvc-proto
Bug #1014735 {Done: Aurelien Jarno } [src:glibc] 
rpcsvc-proto: The /usr/include/rpc/* files is not included
Added indication that 1014735 affects rpcsvc-proto
> thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
1014735: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1014735
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Upcoming oldstable point release (10.13)

2022-08-13 Thread Adam D. Barratt
Hi,

The next - and final - point release for "buster" (10.13) is scheduled
for Saturday, September 10th. Processing of new uploads into buster-
proposed-updates will be frozen during the weekend of August 27th.

Regards,

Adam



Upcoming stable point release (11.5)

2022-08-13 Thread Adam D. Barratt
Hi,

The next point release for "bullseye" (11.5) is scheduled for Saturday,
September 10th. Processing of new uploads into bullseye-proposed-
updates will be frozen during the preceding weekend.

Regards,

Adam