• Soupgate Pkt Error

    From Tommi Koivula@2:221/1 to Sean Rima on Sun Jul 5 17:54:32 2020
    *** Answering a msg posted in area 'fidosoft.husky'.

    05 Jul 20 02:10, Sean Rima wrote to Tommi Koivula:

    [2:263/1.2] A 16:31:12 There are 163602 bytes of unknown data
    at the end of pkt file! A 16:31:12 Renaming pkt/arc to .bad

    I get this also in my 64bit Ubuntu system. However, it works ok in
    32bit Raspberry PI Ubuntu. Seems to be a 64bit problem, just like with
    jamnntpd. :(

    in the makesg file add -m32 after the gcc. You may need to apt install gcc-multilib

    This seems to make it work on a 64 bit sysyem.

    But of course. :) Soupgate seems to run fine now! :)

    Spoon compiles ok, but when sending:



    Spoon-Linux v1.01 - fetches your SOUP!
    Copyright (c) 1999-2000 by Tom Torfs, all rights reserved

    Restricted beta version; compiled Jul 5 2020 08:33:25

    This is FREEWARE. Read spoon.doc for more information.

    + No mail messages to be posted
    Posting news to news.aioe.org...
    + Connecting to NNTP host news.aioe.org...
    * Posting article to aioe.test
    + Signing off...
    *** Error in `/usr/local/bin/spoon': double free or corruption (!prev): 0x00000000007999c0 ***
    ======= Backtrace: ========= /lib/x86_64-linux-gnu/libc.so.6(+0x777e5)[0x7f05013a67e5] /lib/x86_64-linux-gnu/libc.so.6(+0x8037a)[0x7f05013af37a] /lib/x86_64-linux-gnu/libc.so.6(cfree+0x4c)[0x7f05013b353c] /lib/x86_64-linux-gnu/libc.so.6(fclose+0x103)[0x7f050139c363] /usr/local/bin/spoon[0x4049fa]
    /usr/local/bin/spoon[0x40b026] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0)[0x7f050134f830] /usr/local/bin/spoon[0x402079]
    ======= Memory map: ========
    00400000-0040e000 r-xp 00000000 fd:01 2328 /usr/local/bin/spoon
    0060d000-0060e000 r--p 0000d000 fd:01 2328 /usr/local/bin/spoon
    0060e000-00611000 rw-p 0000e000 fd:01 2328 /usr/local/bin/spoon
    00611000-00617000 rw-p 00000000 00:00 0
    0077a000-007ac000 rw-p 00000000 00:00 0 [heap] 7f04fc000000-7f04fc021000 rw-p 00000000 00:00 0
    7f04fc021000-7f0500000000 ---p 00000000 00:00 0
    7f05009f2000-7f0500a09000 r-xp 00000000 fd:01 34323 /lib/x86_64-linux-gnu/libresolv-2.23.so
    7f0500a09000-7f0500c09000 ---p 00017000 fd:01 34323 /lib/x86_64-linux-gnu/libresolv-2.23.so
    7f0500c09000-7f0500c0a000 r--p 00017000 fd:01 34323 /lib/x86_64-linux-gnu/libresolv-2.23.so
    7f0500c0a000-7f0500c0b000 rw-p 00018000 fd:01 34323 /lib/x86_64-linux-gnu/libresolv-2.23.so
    7f0500c0b000-7f0500c0d000 rw-p 00000000 00:00 0
    7f0500c0d000-7f0500c12000 r-xp 00000000 fd:01 34315 /lib/x86_64-linux-gnu/libnss_dns-2.23.so
    7f0500c12000-7f0500e12000 ---p 00005000 fd:01 34315 /lib/x86_64-linux-gnu/libnss_dns-2.23.so
    7f0500e12000-7f0500e13000 r--p 00005000 fd:01 34315 /lib/x86_64-linux-gnu/libnss_dns-2.23.so
    7f0500e13000-7f0500e14000 rw-p 00006000 fd:01 34315 /lib/x86_64-linux-gnu/libnss_dns-2.23.so
    7f0500e14000-7f0500e1f000 r-xp 00000000 fd:01 34333 /lib/x86_64-linux-gnu/libnss_files-2.23.so
    7f0500e1f000-7f050101e000 ---p 0000b000 fd:01 34333 /lib/x86_64-linux-gnu/libnss_files-2.23.so
    7f050101e000-7f050101f000 r--p 0000a000 fd:01 34333 /lib/x86_64-linux-gnu/libnss_files-2.23.so
    7f050101f000-7f0501020000 rw-p 0000b000 fd:01 34333 /lib/x86_64-linux-gnu/libnss_files-2.23.so
    7f0501020000-7f0501026000 rw-p 00000000 00:00 0
    7f0501026000-7f050112e000 r-xp 00000000 fd:01 34351 /lib/x86_64-linux-gnu/libm-2.23.so
    7f050112e000-7f050132d000 ---p 00108000 fd:01 34351 /lib/x86_64-linux-gnu/libm-2.23.so
    7f050132d000-7f050132e000 r--p 00107000 fd:01 34351 /lib/x86_64-linux-gnu/libm-2.23.so
    7f050132e000-7f050132f000 rw-p 00108000 fd:01 34351 /lib/x86_64-linux-gnu/libm-2.23.so
    7f050132f000-7f05014ef000 r-xp 00000000 fd:01 34339 /lib/x86_64-linux-gnu/libc-2.23.so
    7f05014ef000-7f05016ef000 ---p 001c0000 fd:01 34339 /lib/x86_64-linux-gnu/libc-2.23.so
    7f05016ef000-7f05016f3000 r--p 001c0000 fd:01 34339 /lib/x86_64-linux-gnu/libc-2.23.so
    7f05016f3000-7f05016f5000 rw-p 001c4000 fd:01 34339 /lib/x86_64-linux-gnu/libc-2.23.so
    7f05016f5000-7f05016f9000 rw-p 00000000 00:00 0
    7f05016f9000-7f0501710000 r-xp 00000000 fd:01 35288 /lib/x86_64-linux-gnu/libgcc_s.so.1
    7f0501710000-7f050190f000 ---p 00017000 fd:01 35288 /lib/x86_64-linux-gnu/libgcc_s.so.1
    7f050190f000-7f0501910000 r--p 00016000 fd:01 35288 /lib/x86_64-linux-gnu/libgcc_s.so.1
    7f0501910000-7f0501911000 rw-p 00017000 fd:01 35288 /lib/x86_64-linux-gnu/libgcc_s.so.1
    7f0501911000-7f0501ae4000 r-xp 00000000 fd:01 35170 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.28
    7f0501ae4000-7f0501ce3000 ---p 001d3000 fd:01 35170 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.28
    7f0501ce3000-7f0501cee000 r--p 001d2000 fd:01 35170 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.28
    7f0501cee000-7f0501cf1000 rw-p 001dd000 fd:01 35170 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.28
    7f0501cf1000-7f0501cf4000 rw-p 00000000 00:00 0
    7f0501cf4000-7f0501d1a000 r-xp 00000000 fd:01 34309 /lib/x86_64-linux-gnu/ld-2.23.so
    7f0501f00000-7f0501f06000 rw-p 00000000 00:00 0
    7f0501f18000-7f0501f19000 rw-p 00000000 00:00 0
    7f0501f19000-7f0501f1a000 r--p 00025000 fd:01 34309 /lib/x86_64-linux-gnu/ld-2.23.so
    7f0501f1a000-7f0501f1b000 rw-p 00026000 fd:01 34309 /lib/x86_64-linux-gnu/ld-2.23.so
    7f0501f1b000-7f0501f1c000 rw-p 00000000 00:00 0
    7ffd5cb47000-7ffd5cb68000 rw-p 00000000 00:00 0 [stack]
    7ffd5cbd4000-7ffd5cbd6000 r--p 00000000 00:00 0 [vvar] 7ffd5cbd6000-7ffd5cbd8000 r-xp 00000000 00:00 0 [vdso] ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall]


    'Tommi

    ---
    * Origin: rbb.fidonet.fi (2:221/1)
  • From Sean Rima@2:263/1.1 to Tommi Koivula on Sun Jul 5 18:33:14 2020
    Hello Tommi!

    05 Jul 20 17:54, you wrote to me:


    [2:263/1.2] A 16:31:12 There are 163602 bytes of unknown data
    at the end of pkt file! A 16:31:12 Renaming pkt/arc to .bad

    I get this also in my 64bit Ubuntu system. However, it works ok
    in 32bit Raspberry PI Ubuntu. Seems to be a 64bit problem, just
    like with jamnntpd. :(

    in the makesg file add -m32 after the gcc. You may need to apt
    install gcc-multilib

    This seems to make it work on a 64 bit sysyem.

    But of course. :) Soupgate seems to run fine now! :)

    Spoon compiles ok, but when sending:




    + No mail messages to be posted
    Posting news to news.aioe.org...
    + Connecting to NNTP host news.aioe.org...
    * Posting article to aioe.test
    + Signing off...
    *** Error in `/usr/local/bin/spoon': double free or corruption
    (!prev): 0x00000000007999c0 ***
    ======= Backtrace: =========

    Odd, I don't get that issue and I am using the same server
    Sean


    --- GoldED+/OSX 1.1.5-b20180707
    * Origin: A Pointless Point in Connemara (2:263/1.1)
  • From Tommi Koivula@2:221/1 to Sean Rima on Fri Jul 10 08:41:40 2020
    Hi Sean.

    05 Jul 20 18:33, you wrote to me:

    + No mail messages to be posted
    Posting news to news.aioe.org...
    + Connecting to NNTP host news.aioe.org...
    * Posting article to aioe.test
    + Signing off...
    *** Error in `/usr/local/bin/spoon': double free or corruption
    (!prev): 0x00000000007999c0 ***
    ======= Backtrace: =========

    Odd, I don't get that issue and I am using the same server

    Spoon crashes also with my own local nntp server, the 32bit Raspberry PI:


    Spoon-Linux v1.01 - fetches your SOUP!
    Copyright (c) 1999-2000 by Tom Torfs, all rights reserved

    Restricted beta version; compiled Jul 10 2020 08:32:54

    This is FREEWARE. Read spoon.doc for more information.

    + No mail messages to be posted
    Posting news to 192.168.1.5...
    + Connecting to NNTP host 192.168.1.5...
    * Posting article to rbb.test.1-pi
    ! Cannot open message file /bbs/soup/NEWS0000.msg
    * Posting article to rbb.test.2
    * Posting article to rbb.test.1-pi
    * Posting article to rbb.test.2
    + Signing off...
    free(): double free detected in tcache 2
    Aborted (core dumped)


    Posting seems to work, but the REPLIES file will still be there after the crash. NEWS*.msg files are removed.


    And the next run will be:

    ftn@rpi:/bbs/soup$ spoon post /verbose
    Spoon-Linux v1.01 - fetches your SOUP!
    Copyright (c) 1999-2000 by Tom Torfs, all rights reserved

    Restricted beta version; compiled Jul 10 2020 08:32:54

    This is FREEWARE. Read spoon.doc for more information.

    + No mail messages to be posted
    Posting news to 192.168.1.5...
    + Connecting to NNTP host 192.168.1.5...
    ! Cannot open message file /bbs/soup/NEWS0000.msg
    ! Cannot open message file /bbs/soup/NEWS0000.msg
    ! Cannot open message file /bbs/soup/NEWS0001.msg
    ! Cannot open message file /bbs/soup/NEWS0002.msg
    ! Cannot open message file /bbs/soup/NEWS0003.msg
    ! Cannot open message file /bbs/soup/NEWS0000.msg
    ! Cannot open message file /bbs/soup/NEWS0001.msg
    + Signing off...
    free(): double free detected in tcache 2
    Aborted (core dumped)


    :(

    Oh well, no such problems in my OS/2 system. :)

    'Tommi

    --- GoldED+/LNX 1.1.5-b20170303
    * Origin: rpi.rbb.bbs.fi (2:221/1)
  • From Sean Rima@2:263/1.1 to Tommi Koivula on Sat Jul 18 21:38:10 2020
    Hello Tommi!

    10 Jul 20 08:41, you wrote to me:

    + No mail messages to be posted
    Posting news to news.aioe.org...
    + Connecting to NNTP host news.aioe.org...
    * Posting article to aioe.test
    + Signing off...
    *** Error in `/usr/local/bin/spoon': double free or corruption
    (!prev): 0x00000000007999c0 ***
    ======= Backtrace: =========

    Odd, I don't get that issue and I am using the same server

    Spoon crashes also with my own local nntp server, the 32bit Raspberry
    PI:


    Spoon-Linux v1.01 - fetches your SOUP!
    Copyright (c) 1999-2000 by Tom Torfs, all rights reserved

    Restricted beta version; compiled Jul 10 2020 08:32:54

    This is FREEWARE. Read spoon.doc for more information.

    + No mail messages to be posted
    Posting news to 192.168.1.5...
    + Connecting to NNTP host 192.168.1.5...
    * Posting article to rbb.test.1-pi
    ! Cannot open message file /bbs/soup/NEWS0000.msg
    * Posting article to rbb.test.2
    * Posting article to rbb.test.1-pi
    * Posting article to rbb.test.2
    + Signing off...
    free(): double free detected in tcache 2
    Aborted (core dumped)


    Posting seems to work, but the REPLIES file will still be there after
    the crash. NEWS*.msg files are removed.


    And the next run will be:

    ftn@rpi:/bbs/soup$ spoon post /verbose
    Spoon-Linux v1.01 - fetches your SOUP!
    Copyright (c) 1999-2000 by Tom Torfs, all rights reserved

    Restricted beta version; compiled Jul 10 2020 08:32:54

    This is FREEWARE. Read spoon.doc for more information.

    + No mail messages to be posted
    Posting news to 192.168.1.5...
    + Connecting to NNTP host 192.168.1.5...
    ! Cannot open message file /bbs/soup/NEWS0000.msg
    ! Cannot open message file /bbs/soup/NEWS0000.msg
    ! Cannot open message file /bbs/soup/NEWS0001.msg
    ! Cannot open message file /bbs/soup/NEWS0002.msg
    ! Cannot open message file /bbs/soup/NEWS0003.msg
    ! Cannot open message file /bbs/soup/NEWS0000.msg
    ! Cannot open message file /bbs/soup/NEWS0001.msg
    + Signing off...
    free(): double free detected in tcache 2
    Aborted (core dumped)


    :(

    Oh well, no such problems in my OS/2 system. :)

    I was airlifted to hospital last week so it is low on my list. I think what I will do is go through the code, make sure that file anmes are all lower case and agree. Then start working on the issues


    Sean


    --- GoldED+/OSX 1.1.5-b20180707
    * Origin: A Pointless Point in Connemara (2:263/1.1)