Subj : fmail linux malloc(): invalid next size (unsorted) To : Fidonet.FMAIL_HELP From : Fernando Toledo Date : Mon Nov 11 2024 18:07:34 Hi People! I just try to use fmail (I've never used it before, so I may be doing something wrong) I compiled it on debian12 with no errors (latests git from SF.net), fdconfig works and I started configuring some things. But if you want to do a fmail toss or scan etc, they all fail with the following error message If you have any insight into where to start looking, it would be appreciated ragnarok@ragnarok-pc:~/fido/fmail$ ./fmail toss FMail-lnx64-2.3.1.0 - The Fast Echomail Processor Copyright (C) 1991-2024 by FMail Developers - All rights reserved Scanning netmail directory... malloc(): invalid next size (unsorted) Abortado ragnarok@ragnarok-pc:~/fido/fmail$ gdb ./fmail GNU gdb (Debian 13.1-3) 13.1 Copyright (C) 2023 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 "x86_64-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 ./fmail... (No debugging symbols found in ./fmail) (gdb) set args toss (gdb) r Starting program: /home/ragnarok/fido/fmail/fmail toss [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". FMail-lnx64-2.3.1.0 - The Fast Echomail Processor Copyright (C) 1991-2024 by FMail Developers - All rights reserved Scanning netmail directory... malloc(): invalid next size (unsorted) Program received signal SIGABRT, Aborted. __pthread_kill_implementation (threadid=, signo=signo@entry=6, no_tid=no_tid@entry=0) at ./nptl/pthread_kill.c:44 44 ./nptl/pthread_kill.c: No existe el fichero o el directorio. (gdb) bt #0 __pthread_kill_implementation (threadid=, signo=signo@entry=6, no_tid=no_tid@entry=0) at ./nptl/pthread_kill.c:44 #1 0x00007ffff7e36f1f in __pthread_kill_internal (signo=6, threadid=) at ./nptl/pthread_kill.c:78 #2 0x00007ffff7de7fb2 in __GI_raise (sig=sig@entry=6) at .../sysdeps/posix/raise.c:26 #3 0x00007ffff7dd2472 in __GI_abort () at ./stdlib/abort.c:79 #4 0x00007ffff7e2b430 in __libc_message (action=action@entry=do_abort, fmt=fmt@entry=0x7ffff7f45459 "%s\n") at ../sysdeps/posix/libc_fatal.c:155 #5 0x00007ffff7e4083a in malloc_printerr (str=str@entry=0x7ffff7f48590 "malloc(): invalid next size (unsorted)") at ./malloc/malloc.c:5660 #6 0x00007ffff7e43974 in _int_malloc (av=av@entry=0x7ffff7f7ec60 , bytes=bytes@entry=32816) at ./malloc/malloc.c:4001 #7 0x00007ffff7e44a8a in __GI___libc_malloc (bytes=bytes@entry=32816) at ./malloc/malloc.c:3315 #8 0x00007ffff7e7bd65 in __alloc_dir (fd=fd@entry=4, close_fd=close_fd@entry=true, flags=flags@entry=0, statp=statp@entry=0x7fffffff4fe0) at ../sysdeps/unix/sysv/linux/opendir.c:115 #9 0x00007ffff7e7bdd2 in opendir_tail (fd=4) at .../sysdeps/unix/sysv/linux/opendir.c:63 #10 0x0000555555589fcf in Delete () #11 0x0000555555577d86 in initMsg () #12 0x000055555556ef78 in Toss () #13 0x00005555555722a9 in main () (gdb) (gdb) bt full #0 __pthread_kill_implementation (threadid=, signo=signo@entry=6, no_tid=no_tid@entry=0) at ./nptl/pthread_kill.c:44 tid = ret = 0 pd = old_mask = {__val = {0}} ret = #1 0x00007ffff7e36f1f in __pthread_kill_internal (signo=6, threadid=) at ./nptl/pthread_kill.c:78 No locals. #2 0x00007ffff7de7fb2 in __GI_raise (sig=sig@entry=6) at .../sysdeps/posix/raise.c:26 ret = #3 0x00007ffff7dd2472 in __GI_abort () at ./stdlib/abort.c:79 save_stage = 1 act = {__sigaction_handler = {sa_handler = 0x20, sa_sigaction = 0x20}, sa_mask = {__val = {0 }}, sa_flags = 0, sa_restorer = 0x0} #4 0x00007ffff7e2b430 in __libc_message (action=action@entry=do_abort, fmt=fmt@entry=0x7ffff7f45459 "%s\n") at ../sysdeps/posix/libc_fatal.c:155 ap = {{gp_offset = 24, fp_offset = 0, overflow_arg_area = 0x7fffffff4f20, reg_save_area = 0x7fffffff4eb0}} fd = list = nlist = cp = #5 0x00007ffff7e4083a in malloc_printerr (str=str@entry=0x7ffff7f48590 "malloc(): invalid next size (unsorted)") at ./malloc/malloc.c:5660 No locals. #6 0x00007ffff7e43974 in _int_malloc (av=av@entry=0x7ffff7f7ec60 , bytes=bytes@entry=32816) at ./malloc/malloc.c:4001 next = iters = nb = idx = bin = victim = size = victim_index = remainder = remainder_size = block = bit = map = --Type for more, q to quit, c to continue without paging-- fwd = bck = tcache_unsorted_count = 0 tcache_nb = tc_idx = 2050 return_cached = __PRETTY_FUNCTION__ = "_int_malloc" #7 0x00007ffff7e44a8a in __GI___libc_malloc (bytes=bytes@entry=32816) at ./malloc/malloc.c:3315 ar_ptr = victim = tbytes = tc_idx = __PRETTY_FUNCTION__ = "__libc_malloc" #8 0x00007ffff7e7bd65 in __alloc_dir (fd=fd@entry=4, close_fd=close_fd@entry=true, flags=flags@entry=0, statp=statp@entry=0x7fffffff4fe0) at ../sysdeps/unix/sysv/linux/opendir.c:115 max_buffer_size = max_buffer_size allocation_size = allocation_size allocation = 32768 dirp = #9 0x00007ffff7e7bdd2 in opendir_tail (fd=4) at .../sysdeps/unix/sysv/linux/opendir.c:63 statbuf = {st_dev = 2050, st_ino = 47334377, st_nlink = 2, st_mode = 16872, st_uid = 1000, st_gid = 1000, __pad0 = 0, st_rdev = 0, st_size = 4096, st_blksize = 4096, st_blocks = 8, st_atim = {tv_sec = 1731358221, tv_nsec = 628824417}, st_mtim = {tv_sec = 1712017816, tv_nsec = 583052348}, st_ctim = {tv_sec = 1722349498, tv_nsec = 245415084}, __glibc_reserved = {0, 0, 0}} #10 0x0000555555589fcf in Delete () No symbol table info available. #11 0x0000555555577d86 in initMsg () No symbol table info available. #12 0x000055555556ef78 in Toss () No symbol table info available. #13 0x00005555555722a9 in main () No symbol table info available. (gdb) --- SBBSecho 3.21-Linux * Origin: Dock Sud BBS - http://bbs.docksud.com.ar (4:902/26) .