• Re: FMail 2.3.2.2 public beta release

    From Wilfred van Velzen@2:280/464 to Tommi Koivula on Sun Apr 21 22:00:48 2024
    Hi Tommi,

    On 2024-04-21 20:11:18, you wrote to me:

    And what are the last lines in your fmail.log

    ---------- Sun 2024-04-21, FMail-lnx64-2.3.2.2-Beta20240421 - Toss
    20:10:49 DEBUG gmtOffset=10800 daylight=1 timezone=-7200 tzname=EET-EEST
    20:10:49 DEBUG Delete-ing: /bbs/fmail/netmail/*.fml

    These are the same as what is on the terminal, so unfortunately that doesn't help.

    What is that .fml file?

    MSG*.FML These files are created in the message base
    directory when FMail is running in message base
    sharing mode. Normally FMail will append these
    files to the normal message base files, but it can
    happen that this is not possible. FMail will retry
    to append them to the normal message base files the
    next time it is started.


    Bye, Wilfred.

    --- FMail-lnx64 2.3.2.2-B20240419
    * Origin: FMail development HQ (2:280/464)
  • From Tommi Koivula@2:221/360 to Wilfred van Velzen on Mon Apr 22 10:46:00 2024
    On 21.4.2024 23.00, Wilfred van Velzen wrote:

    20:10:49 DEBUG Delete-ing: /bbs/fmail/netmail/*.fml

    These are the same as what is on the terminal, so unfortunately that
    doesn't help.

    Damn..


    TK> What is that .fml file?

    MSG*.FML These files are created in the message base
    directory when FMail is running in message base
    sharing mode. Normally FMail will append these
    files to the normal message base files, but it can
    happen that this is not possible. FMail will retry
    to append them to the normal message base files the
    next time it is started.


    So the msgbase in this means hudson base? In my system /bbs/fmail/netmail is msg opus netmail directory.

    'Tommi

    --- FastEcho/2 1.46.1 Revival
    * Origin: nntp://rbb.fidonet.fi - Finland (2:221/360.0)
  • From Wilfred van Velzen@2:280/464 to Tommi Koivula on Mon Apr 22 09:49:32 2024
    Hi Tommi,

    On 2024-04-22 10:46:01, you wrote to me:

    20:10:49 DEBUG Delete-ing: /bbs/fmail/netmail/*.fml

    These are the same as what is on the terminal, so unfortunately that
    doesn't help.

    Damn..

    I've got another thing to try: 'valgrind'

    If yours is setup as a development system, you might already have it, otherwise it should be easy to install it from your distributions package manager.

    Then start fmail (the debug version!) "under" valgrind:

    # valgrind [path/]fmail toss [&>output.txt]

    Hopefully that wil give us the specific clues to narrow it down to the line of code that causes the error in your setup.

    Btw: If the output is large, maybe use netmail! ;-)

    TK> What is that .fml file?

    MSG*.FML These files are created in the message base
    directory when FMail is running in message base
    sharing mode. Normally FMail will append these
    files to the normal message base files, but it can
    happen that this is not possible. FMail will retry
    to append them to the normal message base files the
    next time it is started.


    So the msgbase in this means hudson base?

    Yes.

    In my system /bbs/fmail/netmail is msg opus netmail directory.

    Netmail and the hudson message base can be in the same directory (I think). They don't have overlapping file names.
    There are some more references to FML in FMail.txt, if you want to know more...


    Bye, Wilfred.

    --- FMail-lnx64 2.3.2.2-B20240419
    * Origin: FMail development HQ (2:280/464)
  • From Wilfred van Velzen@2:280/464 to All on Fri Apr 19 22:18:52 2024

    Hi All,

    There is a new public beta release:

    2024-04-19 - 2.3.2.2-Beta

    * Toss function split up in sub functions
    * Fixed lot's of clang tidy warnings, mostly regarding types.
    * Fixed issue regarding altgr keys on Spanish, and maybe other countries keyboards.


    Downloads:

    http://www.vlzn.nl/fmail/files/FMail-lnx32-2.3.2.2-B20240419.zip http://www.vlzn.nl/fmail/files/FMail-lnx64-2.3.2.2-B20240419.zip

    http://www.vlzn.nl/fmail/files/FMail-win32-2.3.2.2-B20240419.zip http://www.vlzn.nl/fmail/files/FMail-win64-2.3.2.2-B20240419.zip


    For the linux version, instead of using above statically linked executables,
    I recommend, if you have the setup/tools for it,
    to download the sources with git, and compile it yourself.

    These are the steps/commands:

    # git clone git://git.code.sf.net/p/fmail/code FMail
    # cd FMail
    # git checkout --track origin/json_toss_log
    # mkdir cmake-build
    # cd cmake-build
    # cmake ..
    # make


    Bye, Wilfred.


    --- FMail-lnx64 2.3.2.2-B20240419
    * Origin: FMail development HQ (2:280/464)
  • From Tommi Koivula@2:221/1 to Wilfred van Velzen on Sat Apr 20 08:08:24 2024


    Downloads:

    http://www.vlzn.nl/fmail/files/FMail-lnx32-2.3.2.2-B20240419.zip http://www.vlzn.nl/fmail/files/FMail-lnx64-2.3.2.2-B20240419.zip

    http://www.vlzn.nl/fmail/files/FMail-win32-2.3.2.2-B20240419.zip http://www.vlzn.nl/fmail/files/FMail-win64-2.3.2.2-B20240419.zip

    All the zips are size 210 bytes. ;(

    [ ] FMail-win64-2.3.2.2-B20240419.zip 2024-04-19 22:14 210
    [ ] FMail-win32-2.3.2.2-B20240419.zip 2024-04-19 18:22 210
    [ ] FMail-lnx64-2.3.2.2-B20240419.zip 2024-04-19 18:22 210
    [ ] FMail-lnx32-2.3.2.2-B20240419.zip 2024-04-19 18:21 210

    'Tommi

    ---
    * Origin: jamnntpd/lnx (2:221/1.0)
  • From Wilfred van Velzen@2:280/464 to Tommi Koivula on Sat Apr 20 11:09:36 2024
    Hi Tommi,

    On 2024-04-20 08:08:24, you wrote to me:

    http://www.vlzn.nl/fmail/files/FMail-lnx32-2.3.2.2-B20240419.zip
    http://www.vlzn.nl/fmail/files/FMail-lnx64-2.3.2.2-B20240419.zip

    http://www.vlzn.nl/fmail/files/FMail-win32-2.3.2.2-B20240419.zip
    http://www.vlzn.nl/fmail/files/FMail-win64-2.3.2.2-B20240419.zip

    All the zips are size 210 bytes. ;(

    [ ] FMail-win64-2.3.2.2-B20240419.zip 2024-04-19 22:14 210
    [ ] FMail-win32-2.3.2.2-B20240419.zip 2024-04-19 18:22 210
    [ ] FMail-lnx64-2.3.2.2-B20240419.zip 2024-04-19 18:22 210
    [ ] FMail-lnx32-2.3.2.2-B20240419.zip 2024-04-19 18:21 210

    Oops... Forgot the -r option to zip and didn't check the result. Should be ok now. I created a script to automate the creating and publishing of the zip files, so this won't happen again. ;-)


    Bye, Wilfred.

    --- FMail-lnx64 2.3.2.2-B20240419
    * Origin: FMail development HQ (2:280/464)
  • From Tommi Koivula@2:221/1 to Wilfred van Velzen on Sun Apr 21 09:07:32 2024
    Wilfred van Velzen wrote:



    For the linux version, instead of using above statically linked executables, I recommend, if you have the setup/tools for it,
    to download the sources with git, and compile it yourself.

    These are the steps/commands:

    # git clone git://git.code.sf.net/p/fmail/code FMail
    # cd FMail
    # git checkout --track origin/json_toss_log
    # mkdir cmake-build
    # cd cmake-build
    # cmake ..
    # make


    Compiled the newest, and:

    ================================================================= ftn@kco:/bbs/fmail$ fmail toss
    FMail-lnx64-2.3.2.2-Beta20240421 - The Fast Echomail Processor
    Copyright (C) 1991-2024 by FMail Developers - All rights reserved



    Scanning netmail directory...

    fmail: malloc.c:2379: sysmalloc: Assertion `(old_top == initial_top
    (av) && old_size == 0) || ((unsigned long) (old_size) >= MINSIZE &&
    prev_inuse (old_top) && ((unsigned long) old_end & (pagesize - 1)) ==
    0)' failed. Aborted

    ftn@kco:/bbs/fmail$ fmail scan
    FMail-lnx64-2.3.2.2-Beta20240421 - The Fast Echomail Processor
    Copyright (C) 1991-2024 by FMail Developers - All rights reserved



    Scanning netmail directory...

    fmail: malloc.c:2379: sysmalloc: Assertion `(old_top == initial_top
    (av) && old_size == 0) || ((unsigned long) (old_size) >= MINSIZE &&
    prev_inuse (old_top) && ((unsigned long) old_end & (pagesize - 1)) ==
    0)' failed. Aborted

    =================================================================

    ---
    * Origin: smapinntpd/lnx (2:221/1.0)
  • From Tommi Koivula@2:221/6 to Wilfred van Velzen on Sun Apr 21 09:22:50 2024
    Tommi Koivula wrote:


    Compiled the newest, and:

    ================================================================= ftn@kco:/bbs/fmail$ fmail toss
    FMail-lnx64-2.3.2.2-Beta20240421 - The Fast Echomail Processor
    Copyright (C) 1991-2024 by FMail Developers - All rights reserved



    Scanning netmail directory...

    fmail: malloc.c:2379: sysmalloc: Assertion `(old_top == initial_top
    (av) && old_size == 0) || ((unsigned long) (old_size) >= MINSIZE && prev_inuse (old_top) && ((unsigned long) old_end & (pagesize - 1))
    == 0)' failed. Aborted

    ftn@kco:/bbs/fmail$ fmail scan
    FMail-lnx64-2.3.2.2-Beta20240421 - The Fast Echomail Processor
    Copyright (C) 1991-2024 by FMail Developers - All rights reserved



    Scanning netmail directory...

    fmail: malloc.c:2379: sysmalloc: Assertion `(old_top == initial_top
    (av) && old_size == 0) || ((unsigned long) (old_size) >= MINSIZE && prev_inuse (old_top) && ((unsigned long) old_end & (pagesize - 1))
    == 0)' failed. Aborted

    =================================================================

    Happens also with your precompiled 64bit binary, but your 32bit binary
    works.

    'Tommi

    --- FMail-lnx32 2.3.2.2-B20240419
    * Origin: jamnntpd/lnx (2:221/6.0)
  • From Wilfred van Velzen@2:280/464 to Tommi Koivula on Sun Apr 21 14:10:56 2024
    Hi Tommi,

    On 2024-04-21 09:07:32, you wrote to me:

    For the linux version, instead of using above statically linked
    executables, I recommend, if you have the setup/tools for it,
    to download the sources with git, and compile it yourself.

    These are the steps/commands:

    # git clone git://git.code.sf.net/p/fmail/code FMail
    # cd FMail
    # git checkout --track origin/json_toss_log
    # mkdir cmake-build
    # cd cmake-build
    # cmake ..
    # make


    Compiled the newest, and:

    ================================================================= ftn@kco:/bbs/fmail$ fmail toss
    FMail-lnx64-2.3.2.2-Beta20240421 - The Fast Echomail Processor
    Copyright (C) 1991-2024 by FMail Developers - All rights reserved



    Scanning netmail directory...

    fmail: malloc.c:2379: sysmalloc: Assertion `(old_top == initial_top
    (av) && old_size == 0) || ((unsigned long) (old_size) >= MINSIZE && prev_inuse (old_top) && ((unsigned long) old_end & (pagesize - 1)) ==
    0)' failed. Aborted

    I cannot reproduce this. I tried several configurations. Maybe it has to do with yours?

    But first can you try to build fmail in debug modus, and test again? Maybe this helps a bit to narrow it down.

    Building in debug mode you do as follows: In above steps you replace 'cmake ..' with 'cmake -DCMAKE_BUILD_TYPE=Debug ..' ...


    Bye, Wilfred.

    --- FMail-lnx64 2.3.2.2-B20240419
    * Origin: FMail development HQ (2:280/464)
  • From Wilfred van Velzen@2:280/464 to Tommi Koivula on Sun Apr 21 14:13:30 2024
    Hi Tommi,

    On 2024-04-21 09:22:51, you wrote to me:

    Happens also with your precompiled 64bit binary, but your 32bit binary works.

    Ok...


    Bye, Wilfred.

    --- FMail-lnx64 2.3.2.2-B20240419
    * Origin: FMail development HQ (2:280/464)
  • From Tommi Koivula@2:221/6.600 to Wilfred van Velzen on Sun Apr 21 17:29:24 2024
    Hi Wilfred.

    21 Apr 24 14:10, you wrote to me:

    I cannot reproduce this. I tried several configurations. Maybe it has
    to do with yours?

    Maybe. But nothing changed, only the executables.

    But first can you try to build fmail in debug modus, and test again?
    Maybe this helps a bit to narrow it down.

    Building in debug mode you do as follows: In above steps you replace 'cmake ..' with 'cmake -DCMAKE_BUILD_TYPE=Debug ..' ...

    FMail-lnx64-2.3.2.2-Beta20240421 - The Fast Echomail Processor
    Copyright (C) 1991-2024 by FMail Developers - All rights reserved

    DEBUG cwd: /bbs/fmail
    DEBUG arg 0: ./fmail64
    DEBUG arg 1: toss
    DEBUG replaceDrive = ""
    DEBUG configPath = "./"
    DEBUG gmtOffset=10800 daylight=1 timezone=-7200 tzname=EET-EEST


    Scanning netmail directory...

    DEBUG Delete-ing: /bbs/fmail/netmail/*.fml
    fmail64: malloc.c:2379: sysmalloc: Assertion `(old_top == initial_top (av) && old_size == 0) || ((unsigned long) (old_size) >= MINSIZE && prev_inuse (old_top) && ((unsigned long) old_end & (pagesize - 1)) == 0)' failed.
    Aborted


    'Tommi

    --- FMail-lnx32 2.3.2.2-B20240419
    * Origin: ----------> (2:221/6.600)
  • From Wilfred van Velzen@2:280/464 to Tommi Koivula on Sun Apr 21 17:09:04 2024
    Hi Tommi,

    On 2024-04-21 17:29:24, you wrote to me:

    I cannot reproduce this. I tried several configurations. Maybe it has
    to do with yours?

    Maybe. But nothing changed, only the executables.

    But first can you try to build fmail in debug modus, and test again?
    Maybe this helps a bit to narrow it down.

    Building in debug mode you do as follows: In above steps you replace
    'cmake ..' with 'cmake -DCMAKE_BUILD_TYPE=Debug ..' ...

    FMail-lnx64-2.3.2.2-Beta20240421 - The Fast Echomail Processor
    Copyright (C) 1991-2024 by FMail Developers - All rights reserved

    DEBUG cwd: /bbs/fmail
    DEBUG arg 0: ./fmail64
    DEBUG arg 1: toss
    DEBUG replaceDrive = ""
    DEBUG configPath = "./"
    DEBUG gmtOffset=10800 daylight=1 timezone=-7200 tzname=EET-EEST


    Scanning netmail directory...

    DEBUG Delete-ing: /bbs/fmail/netmail/*.fml

    Only a bit further in the code...

    fmail64: malloc.c:2379: sysmalloc: Assertion `(old_top == initial_top
    (av) &&
    old_size == 0) || ((unsigned long) (old_size) >= MINSIZE && prev_inuse (old_top) && ((unsigned long) old_end & (pagesize - 1)) == 0)' failed. Aborted

    And what are the last lines in your fmail.log


    Bye, Wilfred.

    --- FMail-lnx64 2.3.2.2-B20240419
    * Origin: FMail development HQ (2:280/464)
  • From Tommi Koivula@2:221/6.26 to Wilfred van Velzen on Sun Apr 21 20:11:18 2024
    Hi Wilfred.

    Scanning netmail directory...

    DEBUG Delete-ing: /bbs/fmail/netmail/*.fml

    Only a bit further in the code...

    fmail64: malloc.c:2379: sysmalloc: Assertion `(old_top == initial_top
    (av) &&
    old_size == 0) || ((unsigned long) (old_size) >= MINSIZE && prev_inuse
    (old_top) && ((unsigned long) old_end & (pagesize - 1)) == 0)' failed.
    Aborted

    And what are the last lines in your fmail.log

    ---------- Sun 2024-04-21, FMail-lnx64-2.3.2.2-Beta20240421 - Toss
    20:10:49 DEBUG gmtOffset=10800 daylight=1 timezone=-7200 tzname=EET-EEST
    20:10:49 DEBUG Delete-ing: /bbs/fmail/netmail/*.fml

    What is that .fml file?

    'Tommi

    --- GoldED+/LNX 1.1.5-b20240309
    * Origin: Linux 6.1.21-v7+ armv7l (2:221/6.26)