Bug#1034053: segfaulted on quit

2023-10-02 Thread Marco d'Itri
Control: version -1 2.2.12-0.1

Again:

#0  0x7f4fd963a11a in __GI___libc_free (mem=0x54495f7469)
at ./malloc/malloc.c:3344
Download failed: Argomento non valido.  Continuing without source file 
./malloc/./malloc/malloc.c.
3344./malloc/malloc.c: File o directory non esistente.
(gdb) where
#0  0x7f4fd963a11a in __GI___libc_free (mem=0x54495f7469)
at ./malloc/malloc.c:3344
#1  0x55b62120b685 in safe_free (ptr=0x55b622c3c7d0) at ../../lib.c:198
#2  0x55b6211f0bf0 in rfc822_free_address (p=0x55b622ee2da0)
at ../../rfc822.c:140
#3  0x55b62120e9a0 in mutt_free_envelope (p=0x55b622ee2d80)
at ../../muttlib.c:875
#4  0x55b62120edf7 in mutt_free_body (p=0x55b622d46c38)
at ../../muttlib.c:208
#5  0x55b62120ee0c in mutt_free_body (p=0x55b622d46ac8)
at ../../muttlib.c:211
#6  0x55b62120ebba in mutt_free_header (h=0x55b622d66500)
at ../../muttlib.c:382
#7  0x55b6211d70e1 in mx_fastclose_mailbox (ctx=ctx@entry=0x55b621fa95d0)
at ../../mx.c:736
#8  0x55b6211d7bab in mx_close_mailbox (ctx=0x55b621fa95d0, 
index_hint=index_hint@entry=0x7fff63f24274) at ../../mx.c:1014
#9  0x55b6211ac799 in mutt_index_menu () at ../../curs_main.c:1414
#10 0x55b62118c157 in main (argc=1, argv=0x7fff63f25508, 
environ=) at ../../main.c:1400
(gdb) 

-- 
ciao,
Marco


signature.asc
Description: PGP signature


Bug#1034053: segfaulted on quit

2023-05-23 Thread Marco d'Itri
> This happened while/after saving a mailbox on quit.
> Apparently nothing was corrupted.
Again:

warning: Section `.reg-xstate/3368169' in core file too small.
#0  __pthread_kill_implementation (threadid=, 
signo=signo@entry=6, no_tid=no_tid@entry=0) at ./nptl/pthread_kill.c:44
Download failed: Argomento non valido.  Continuing without source file 
./nptl/./nptl/pthread_kill.c.
44  ./nptl/pthread_kill.c: File o directory non esistente.
(gdb) where
#0  __pthread_kill_implementation (threadid=, 
signo=signo@entry=6, no_tid=no_tid@entry=0) at ./nptl/pthread_kill.c:44
#1  0x7f765179ad2f in __pthread_kill_internal (signo=6, 
threadid=) at ./nptl/pthread_kill.c:78
#2  0x7f765174bef2 in __GI_raise (sig=sig@entry=6)
at ../sysdeps/posix/raise.c:26
#3  0x7f7651736472 in __GI_abort () at ./stdlib/abort.c:79
#4  0x7f765178f2d0 in __libc_message (action=action@entry=do_abort, 
fmt=fmt@entry=0x7f76518a9459 "%s\n") at ../sysdeps/posix/libc_fatal.c:155
#5  0x7f76517a464a in malloc_printerr (
str=str@entry=0x7f76518ac118 "double free or corruption (out)")
at ./malloc/malloc.c:5660
#6  0x7f76517a66b0 in _int_free (av=0x7f76518e2c60 , 
p=0x7f76518e2d40 , have_lock=, 
have_lock@entry=0) at ./malloc/malloc.c:4584
#7  0x7f76517a8d2f in __GI___libc_free (mem=)
at ./malloc/malloc.c:3385
#8  0x5653d28c5fe1 in safe_free (ptr=0x7f76518e2d60 )
at ../../lib.c:198
#9  0x5653d28ab928 in rfc822_free_address (p=0x5653d4eae8a0)
at ../../rfc822.c:140
#10 0x5653d28c916c in mutt_free_envelope (p=0x5653d4eae880)
at ../../muttlib.c:875
#11 0x5653d28c95a7 in mutt_free_body (p=0x5653d53298d8)
--Type  for more, q to quit, c to continue without paging--c
at ../../muttlib.c:208
#12 0x5653d28c95bc in mutt_free_body (p=0x5653d5329768)
at ../../muttlib.c:211
#13 0x5653d28c9376 in mutt_free_header (h=0x5653d4bd0908)
at ../../muttlib.c:382
#14 0x5653d2891dd1 in mx_fastclose_mailbox (ctx=ctx@entry=0x5653d4d9ada0)
at ../../mx.c:736
#15 0x5653d289288b in mx_close_mailbox (ctx=0x5653d4d9ada0, 
index_hint=index_hint@entry=0x7fffdc35a814) at ../../mx.c:1014
#16 0x5653d2862040 in mutt_index_menu () at ../../curs_main.c:1414
#17 0x5653d2842107 in main (argc=1, argv=0x7fffdc35baa8, 
environ=) at ../../main.c:1400
(gdb) 

-- 
ciao,
Marco


signature.asc
Description: PGP signature


Bug#1034053: segfaulted on quit

2023-04-07 Thread Marco d'Itri
Package: mutt
Version: 2.2.9-1+b1
Severity: important

This happened while/after saving a mailbox on quit.
Apparently nothing was corrupted.

Also, why is the debugging info provided by debuginfod incomplete?

#0  rfc822_free_address (p=0x55a34941f100) at ../../rfc822.c:135
Download failed: Argomento non valido.  Continuing without source file 
./debian/build/../../rfc822.c.
135 ../../rfc822.c: File o directory non esistente.
(gdb) where
#0  rfc822_free_address (p=0x55a34941f100) at ../../rfc822.c:135
#1  0x55a347f0116c in mutt_free_envelope (p=0x55a34941f0e0)
at ../../muttlib.c:875
#2  0x55a347f015a7 in mutt_free_body (p=0x55a349302448)
at ../../muttlib.c:208
#3  0x55a347f015bc in mutt_free_body (p=0x55a3493022d8)
at ../../muttlib.c:211
#4  0x55a347f01376 in mutt_free_header (h=0x55a3493203e0)
at ../../muttlib.c:382
#5  0x55a347ec9dd1 in mx_fastclose_mailbox (ctx=ctx@entry=0x55a349117280)
at ../../mx.c:736
#6  0x55a347eca88b in mx_close_mailbox (ctx=0x55a349117280, 
index_hint=index_hint@entry=0x7ffc084da3f4) at ../../mx.c:1014
#7  0x55a347ea04f6 in mutt_index_menu () at ../../curs_main.c:1107
#8  0x55a347e7a107 in main (argc=1, argv=0x7ffc084db688, 
environ=) at ../../main.c:1400
(gdb) 
#0  rfc822_free_address (p=0x55a34941f100) at ../../rfc822.c:135
#1  0x55a347f0116c in mutt_free_envelope (p=0x55a34941f0e0)
at ../../muttlib.c:875
#2  0x55a347f015a7 in mutt_free_body (p=0x55a349302448)
at ../../muttlib.c:208
#3  0x55a347f015bc in mutt_free_body (p=0x55a3493022d8)
at ../../muttlib.c:211
#4  0x55a347f01376 in mutt_free_header (h=0x55a3493203e0)
at ../../muttlib.c:382
#5  0x55a347ec9dd1 in mx_fastclose_mailbox (ctx=ctx@entry=0x55a349117280)
at ../../mx.c:736
#6  0x55a347eca88b in mx_close_mailbox (ctx=0x55a349117280, 
index_hint=index_hint@entry=0x7ffc084da3f4) at ../../mx.c:1014
#7  0x55a347ea04f6 in mutt_index_menu () at ../../curs_main.c:1107
#8  0x55a347e7a107 in main (argc=1, argv=0x7ffc084db688, 
environ=) at ../../main.c:1400
(gdb) x 0x55a34941f100
0x55a34941f100: 0x616e696d
(gdb) x/s 0x55a34941f100
0x55a34941f100: "minap-tech"



-- Package-specific info:
Mutt 2.2.9 (2022-11-12)
Copyright (C) 1996-2022 Michael R. Elkins and others.
Mutt comes with ABSOLUTELY NO WARRANTY; for details type `mutt -vv'.
Mutt is free software, and you are welcome to redistribute it
under certain conditions; type `mutt -vv' for details.

System: Linux 6.1.0-7-amd64 (x86_64)
ncurses: ncurses 6.4.20221231 (compiled with 6.4)
libidn2: 2.3.3 (compiled with 2.3.3)
hcache backend: tokyocabinet 1.4.48

Compiler:
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/12/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 12.2.0-14' 
--with-bugurl=file:///usr/share/doc/gcc-12/README.Bugs 
--enable-languages=c,ada,c++,go,d,fortran,objc,obj-c++,m2 --prefix=/usr 
--with-gcc-major-version-only --program-suffix=-12 
--program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id 
--libexecdir=/usr/lib --without-included-gettext --enable-threads=posix 
--libdir=/usr/lib --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug 
--enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new 
--enable-gnu-unique-object --disable-vtable-verify --enable-plugin 
--enable-default-pie --with-system-zlib --enable-libphobos-checking=release 
--with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch 
--disable-werror --enable-cet --with-arch-32=i686 --with-abi=m64 
--with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic 
--enable-offload-targets=nvptx-none=/build/gcc-12-bTRWOB/gcc-12-12.2.0/debian/tmp-nvptx/usr,amdgcn-amdhsa=/build/gcc-12-bTRWOB/gcc-12-12.2.0/debian/tmp-gcn/usr
 --enable-offload-defaulted --without-cuda-driver --enable-checking=release 
--build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 12.2.0 (Debian 12.2.0-14) 

Configure options: --build=x86_64-linux-gnu --prefix=/usr 
'--includedir=${prefix}/include' '--mandir=${prefix}/share/man' 
'--infodir=${prefix}/share/info' --sysconfdir=/etc --localstatedir=/var 
--disable-option-checking --disable-silent-rules 
'--libdir=${prefix}/lib/x86_64-linux-gnu' --runstatedir=/run 
--disable-maintainer-mode --disable-dependency-tracking 
--with-mailpath=/var/mail --enable-compressed --enable-debug --enable-fcntl 
--enable-hcache --enable-gpgme --enable-imap --enable-smtp --enable-pop 
--enable-sidebar --enable-dotlock --disable-fmemopen --with-curses 
--with-gnutls --with-gss --with-idn2 --with-mixmaster --with-gsasl 
--without-gdbm --without-bdb --without-qdbm --with-tokyocabinet 
build_alias=x86_64-linux-gnu 'CFLAGS=-g -O2 
-ffile-prefix-map=/build/mutt-Fsss7h/mutt-2.2.9=.