home bbs files messages ]

Just a sample of the Echomail archive

<< oldest | < older | list | newer > | newest >> ]

 Message 2294 
 Fernando Toledo to Fernando Toledo 
 Re: fmail linux malloc(): invalid next s 
 12 Nov 24 00:21:43 
 
TZUTC: -0300
MSGID: 389.fidonetfmailhel@4:902/26 2b98014d
REPLY: 388.fidonetfmailhel@4:902/26 2b97f9ab
PID: Synchronet 3.20a-Linux master/24927388c nov 10 202 GCC 10.2.1
TID: SBBSecho 3.21-Linux master/24927388c nov 10 2024 05:44 GCC 10.2.1
BBSID: DOCKSUD
CHRS: UTF-8 4
El 11/11/24 a las 23:49, Fernando Toledo escribió:
> El 11/11/24 a las 21:07, Fernando Toledo escribió:
>> El 11/11/24 a las 18:38, Wilfred van Velzen escribió:
> 
> I think that I found sometihng like a bug.
> 
> I save the area as ESP.PRUEBAS at area Mgr, then close, save config and 
> reopen fconfig.  Finally, the Area name seems that broken.
> 
> I paste a capture here:
> 
> https://downloads.bbs.docksud.com.ar/tmp/fmail_area.png
> 
> Saludos!

the issue seems to raise when call initAreaInfo() at line 175, i think 
that is here, the area name is not read corretly

(sorry, I don't have more skills on C code to help)


(gdb) set args mgr
(gdb) r
Starting program: /home/ragnarok/fido/fmail/fmail mgr
[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

DEBUG cwd: /home/ragnarok/fido/fmail
DEBUG arg 0: /home/ragnarok/fido/fmail/fmail
DEBUG arg 1: mgr
DEBUG replaceDrive = ""
DEBUG configPath = "/home/ragnarok/fido/fmail/"
DEBUG gmtOffset=-10800 daylight=1 timezone=10800 tzname=-03--03


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=3) at ./malloc/malloc.c:4001
#7  0x00007ffff7e44a8a in __GI___libc_malloc (bytes=) at 
./malloc/malloc.c:3315
#8  0x0000555555566563 in initAreaInfo () at 
/home/ragnarok/fido/fmail-code/areainfo.c:175
#9  0x00005555555724f2 in Mgr (argc=2, argv=0x7fffffffdcf8) at 
/home/ragnarok/fido/fmail-code/fmail.c:1966
#10 0x0000555555572ab6 in main (argc=2, argv=0x7fffffffdcf8) at 
/home/ragnarok/fido/fmail-code/fmail.c:2077
--- SBBSecho 3.21-Linux
 * Origin: Dock Sud BBS - http://bbs.docksud.com.ar (4:902/26)
SEEN-BY: 90/0 1 105/81 106/201 128/187 129/305 153/7715 218/700 226/30
SEEN-BY: 227/114 229/110 114 206 275 317 426 428 470 550 664 700 266/512
SEEN-BY: 280/464 282/1038 291/111 292/854 320/219 322/757 341/66 342/200
SEEN-BY: 396/45 460/58 633/280 712/848 900/0 106 902/0 19 26
PATH: 902/26 229/426


<< oldest | < older | list | newer > | newest >> ]

(c) 1994,  bbs@darkrealms.ca