home bbs files messages ]

Just a sample of the Echomail archive

Cooperative anarchy at its finest, still active today. Darkrealms is the Zone 1 Hub.

   FMAIL_HELP      Fmail support      2,396 messages   

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

   Message 2,296 of 2,396   
   Wilfred van Velzen to Fernando Toledo   
   Re: fmail linux malloc(): invalid next s   
   12 Nov 24 09:36:51   
   
   RFC-X-No-Archive: Yes   
   TZUTC: 0100   
   CHRS: CP437 2   
   PID: GED+W64 1.1.5-b20240306   
   MSGID: 2:280/464.112 673318a2   
   REPLY: 387.fidonetfmailhel@4:902/26 2b97d3c5   
   Hi Fernando,   
      
   On 11 Nov 24 21:07, Fernando Toledo wrote to Wilfred van Velzen:   
     about: "Re: fmail linux malloc(): invalid next size (unsorted)":   
      
    >>   FT> #9  0x00007ffff7e7bdd2 in opendir_tail (fd=4) at   
    >>   FT> ../sysdeps/unix/sysv/linux/opendir.c:63   
    >>   FT> #10 0x0000555555589fcf in Delete ()   
    >>   FT> #11 0x0000555555577d86 in initMsg ()   
    >>   FT> #12 0x000055555556ef78 in Toss ()   
    >>   FT> #13 0x00005555555722a9 in main ()   
    >>   
    >> It would help if you could compile in debug mode, with symbols present in   
    >> the compiled executable, but it seems to come from these lines:   
      
    FT> I run with debug symbols:   
      
   Ok great...   
      
    FT> Reading symbols from ./fmail...   
    FT> (gdb) set args toss   
    FT> (gdb) r   
    FT> Starting program: /home/ragnarok/fido/fmail/fmail toss   
    FT> [Thread debugging using libthread_db enabled]   
    FT> Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".   
    FT> FMail-lnx64-2.3.1.0 - The Fast Echomail Processor   
    FT> Copyright (C) 1991-2024 by FMail Developers - All rights reserved   
      
    FT> DEBUG cwd: /home/ragnarok/fido/fmail   
    FT> DEBUG arg 0: /home/ragnarok/fido/fmail/fmail   
    FT> DEBUG arg 1: toss   
    FT> DEBUG replaceDrive = ""   
    FT> DEBUG configPath = "/home/ragnarok/fido/fmail/"   
    FT> DEBUG gmtOffset=-10800 daylight=1 timezone=10800 tzname=-03--03   
      
      
    FT> Scanning netmail directory...   
      
    FT> DEBUG Delete-ing: /home/ragnarok/fido/fmail/netmail/*.fml   
    FT> malloc(): invalid next size (unsorted)   
      
    FT> Program received signal SIGABRT, Aborted.   
    FT> __pthread_kill_implementation (threadid=,   
    FT> signo=signo@entry=6, no_tid=no_tid@entry=0) at ./nptl/pthread_kill.c:44   
    FT> 44 ./nptl/pthread_kill.c: No existe el fichero o el directorio.   
    FT> (gdb) bt   
    FT> #0  __pthread_kill_implementation (threadid=,   
    FT> signo=signo@entry=6, no_tid=no_tid@entry=0) at ./nptl/pthread_kill.c:44   
    FT> #1  0x00007ffff7e36f1f in __pthread_kill_internal (signo=6,   
    FT> threadid=) at ./nptl/pthread_kill.c:78   
    FT> #2  0x00007ffff7de7fb2 in __GI_raise (sig=sig@entry=6) at   
    FT> ../sysdeps/posix/raise.c:26   
    FT> #3  0x00007ffff7dd2472 in __GI_abort () at ./stdlib/abort.c:79   
    FT> #4  0x00007ffff7e2b430 in __libc_message (action=action@entry=do_abort,   
    FT> fmt=fmt@entry=0x7ffff7f45459 "%s\n")   
    FT>      at ../sysdeps/posix/libc_fatal.c:155   
    FT> #5  0x00007ffff7e4083a in malloc_printerr (str=str@entry=0x7ffff7f48590   
    FT> "malloc(): invalid next size (unsorted)")   
    FT>      at ./malloc/malloc.c:5660   
    FT> #6  0x00007ffff7e43974 in _int_malloc (av=av@entry=0x7ffff7f7ec60   
    FT> , bytes=bytes@entry=4096) at ./malloc/malloc.c:4001   
    FT> #7  0x00007ffff7e44a8a in __GI___libc_malloc (bytes=bytes@entry=4096) at   
    FT> ./malloc/malloc.c:3315   
    FT> #8  0x00007ffff7e218cc in __GI__IO_file_doallocate (fp=0x7fffffff3810)   
    FT> at ./libio/filedoalloc.c:101   
    FT> #9  0x00007ffff7e2f0a0 in __GI__IO_doallocbuf (fp=0x7fffffff3810) at   
    FT> ./libio/libioP.h:947   
    FT> #10 __GI__IO_doallocbuf (fp=fp@entry=0x7fffffff3810) at   
    FT> ./libio/genops.c:342 #11 0x00007ffff7e2ccec in _IO_new_file_seekoff   
    FT> (fp=0x7fffffff3810, offset=0, dir=1, mode=) at   
    FT> ./libio/fileops.c:937 #12 0x00007ffff7e2df82 in _IO_new_file_attach   
    FT>  (fp=fp@entry=0x7fffffff3810, fd=fd@entry=4) at ./libio/libioP.h:947 #13   
    FT> 0x00007ffff7e2a50d in __vdprintf_internal (d=4, format=0x5555555937f0   
    FT> "%02u:%02u:%02u.%03u  ", arg=arg@entry=0x7fffffff3a10,   
    FT>      mode_flags=mode_flags@entry=0) at ./libio/iovdprintf.c:44   
    FT> #14 0x00007ffff7dfdd76 in __GI___dprintf (d=,   
    FT> format=) at ./stdio-common/dprintf.c:30   
    FT> #15 0x0000555555577734 in writeLogLine (logHandle=4, s=0x7fffffff4be0   
    FT> "DEBUG Delete-ing: /home/ragnarok/fido/fmail/netmail/*.fml")   
    FT>      at /home/ragnarok/fido/fmail-code/log.c:117   
      
   So here it seems to be happening when logging a debug line... Strange...   
      
    FT> #16 0x0000555555577c59 in logEntry (s=0x7fffffff4be0 "DEBUG   
    FT> Delete-ing:   
    FT> /home/ragnarok/fido/fmail/netmail/*.fml", entryType=32768,   
    FT>      errorLevel=0) at /home/ragnarok/fido/fmail-code/log.c:251   
    FT> #17 0x0000555555577b2f in logEntryf (entryType=32768, errorLevel=0,   
    FT> fmt=0x55555559556b "DEBUG Delete-ing: %s%s")   
    FT>      at /home/ragnarok/fido/fmail-code/log.c:217   
    FT> #18 0x000055555558ab73 in Delete (path=0x5555555add10    
    FT> "/home/ragnarok/fido/fmail/netmail/",   
    FT>      wildCard=0x5555555939d7 "*.fml") at   
    FT> /home/ragnarok/fido/fmail-code/utils.c:371   
    FT> #19 0x000055555557857c in initMsg (noAreaFix=0) at   
    FT> /home/ragnarok/fido/fmail-code/msgmsg.c:241   
    FT> #20 0x000055555556f413 in Toss (argc=2, argv=0x7fffffffdcf8) at   
    FT> /home/ragnarok/fido/fmail-code/fmail.c:986   
    FT> #21 0x0000555555572902 in main (argc=2, argv=0x7fffffffdcf8) at   
    FT> /home/ragnarok/fido/fmail-code/fmail.c:2065   
    FT> (gdb)   
      
      
    >>   
    >> Line 238 in msgmsg.c:   
    >>    Delete(config.netPath, "*."MBEXTB);   
    >>    if (*config.pmailPath)   
    >>      Delete(config.pmailPath, "*."MBEXTB);   
    >>   
    >> Could it be you haven't set the netmail path directory for instance?   
      
    FT> I setup all directories at System Info->Directories (all have absolute   
    FT> paths and these exists)   
      
   Ok...   
      
    FT> I dont have *.fml files at netmail directory as see the debug line:   
      
   Well that is OK. The routine searches them and deletes them when they exist.   
      
      
   Wilfred.   
      
   --- FMail-W64 2.3.2.3-B20240423   
    * Origin:  point@work  (2:280/464.112)   
   SEEN-BY: 90/1 103/705 105/81 106/201 124/5016 128/187 129/305 153/757   
   SEEN-BY: 153/7715 154/10 30 203/0 218/700 221/0 226/30 227/114 229/110   
   SEEN-BY: 229/114 206 275 317 426 428 470 550 664 700 240/1120 5832   
   SEEN-BY: 266/512 280/464 5003 5006 5555 282/1038 291/111 292/854 8125   
   SEEN-BY: 301/1 310/31 320/219 322/757 341/66 234 342/200 396/45 423/120   
   SEEN-BY: 460/58 256 1124 467/888 633/280 712/848 770/1 902/26 5020/400   
   SEEN-BY: 5020/8912 5054/30   
   PATH: 280/464 460/58 229/426   
      

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


(c) 1994,  bbs@darkrealms.ca