• Mystic BBS 1.12 A48 EACCESSVIOLATION SENDING EMAIL

    From Baconlive@21:3/176 to All on Wed Feb 7 00:29:04 2024
    Hello,
    i'm trying to setup email for password reset and validation.

    Everything seems to be fine but when Mystic tries to send an email it stays idle for 4/5 seconds then the connection drops.

    In error.log i find:
    "2024.07.02 00:22:47 MYSTIC 991 An error has occured: EAccessViolation access violation"

    Previously on RaspberryPI 64 bit (bullseye) it worked fine now i'm on bookworm and i'm getting this error.

    Anybody had this problem?

    Thanks.

    Guido

    ... This virus requires Microsoft Windows 3.x

    --- Mystic BBS v1.12 A48 (Linux/64)
    * Origin: FlipperZero BBS (21:3/176)
  • From paulie420@21:2/150 to Baconlive on Tue Feb 6 17:35:26 2024
    In error.log i find:
    "2024.07.02 00:22:47 MYSTIC 991 An error has occured: EAccessViolation access violation"

    Gosh; my reply isn't going to be helpful... but MAYBE insightful - sorry about that.

    So I 100% remember two different issues where Mystic reported EAccessViolations. I fixed both of them. One might have POSSIBLY been w/ email verification, too.

    I searched my /mystictext folder where I save all past issues/fixes/Mystic info, but only found one EAccessViolation text - that contained no fix. (I'll still post it at the end of this message.)

    I do remember I talked to g00r00, the Mystic developer, about these issues. That was on ArakNet; you might want to search ArakNet for 'EAccessViolation' - I will, too - and if something jogs my memory I'll come back and post another reply.

    There IS an answer... I've experienced the same before - and maybe some other reply will be more helpful.

    ----- 20_eaccessvio_issue_doorgames.txt -----
    2o fOr beeRS EAccess Violation Issues:

    The following is displayed to user, is rapid succession on many lines, until user is NO CARRIERed after 30+ seconds:
    -----
    An unhandled exception occurred at $0000000000412820:
    EAccessViolation:
    $0000000000412820
    -----
    Happens everytime user runs MENU BBSLink command.
    Happens everytime user runs MENU DoorParty command.

    The above commands are run thru RCS Game Room. When run, BBSLink runs a doorbbs.mps GX command. That doorbbs.mps script simply runs a DD command: menuCmd('DD','python2 /home/pi/mystic/bbslink/bbslink.py menu %#')

    DoorParty runs a doorpty.mps GX command. That doorpty.mps script simply runs a D3 command:
    menuCmd('D3','~/mystic/doorparty/AP_DP.sh %U')

    Odd thing is that I made a temp command in my sysop menu that was just a
    DD with the same 'python2 /home/pi/mystic/bbslink/bbslink.py menu %#' data, and it fires right up.

    So - possibly something within the RCS Game Room mod.
    Sometimes triggers when ONLY loading RCS Game Room multiple times.




    Logs from user running DoorParty.
    errors.log:
    -----
    2022.08.10 13:48:07 MYSTIC 001 An error has occured: EAccessViolation Access vio
    lation
    2022.08.10 13:48:07 MYSTIC 001 Error occured during shutdown of node 1
    -----
    node1.log:
    -----
    ------------------- Node 1 (Mystic v1.12 A48 2022/07/15)
    2022.10.08 13:47:44 Connect from 154.21.20.116 (Unknown)
    2022.10.08 13:47:44 Country: Unknown
    2022.10.08 13:47:45 Set time left 10
    2022.10.08 13:47:45 MPL execute: /home/pi/mystic/themes/default/scripts/connect.
    mpx
    2022.10.08 13:47:45 MPL execute: /home/pi/mystic/themes/default/scripts/botcheck
    1_2.mpx
    2022.10.08 13:47:49 MPL execute: /home/pi/mystic/themes/default/scripts/startup.
    mpx
    2022.10.08 13:47:54 paulie420 logged in
    2022.10.08 13:47:54 Set time left 1396
    2022.10.08 13:47:54 Setting time left to 1396
    2022.10.08 13:47:54 Setting start menu: prelogin
    2022.10.08 13:47:54 MPL execute: /home/pi/mystic/themes/default/scripts/rocketlo
    gintemp.mpx
    2022.10.08 13:47:58 MPL execute: /home/pi/mystic/themes/default/scripts/titles.m
    px
    2022.10.08 13:48:04 MPL execute: /home/pi/mystic/themes/default/scripts/rumors.m
    px
    2022.10.08 13:48:04 MPL execute: /home/pi/mystic/themes/default/scripts/mrc_stat
    2.mpx
    2022.10.08 13:48:05 MPL execute: /home/pi/mystic/themes/default/scripts/rcsmenu.
    mpx
    2022.10.08 13:48:05 RCS Game Room: Reading rcsmenu.ini file
    2022.10.08 13:48:07 RCS Game Room: GX doorpty
    2022.10.08 13:48:07 An error has occured: EAccessViolation Access violation 2022.10.08 13:48:07 Shutting down
    2022.10.08 13:48:07 Error occured during shutdown of node 1
    -----



    |07p|15AULIE|1142|07o
    |08.........

    --- Mystic BBS v1.12 A48 (Linux/64)
    * Origin: 2o fOr beeRS bbs>>>20ForBeers.com:1337 (21:2/150)
  • From paulie420@21:2/150 to Baconlive on Tue Feb 6 19:28:52 2024
    Hello,
    i'm trying to setup email for password reset and validation.

    Everything seems to be fine but when Mystic tries to send an email it stays idle for 4/5 seconds then the connection drops.

    Here's some more I found from reviewing the ArakNet "EAccessViolation" issues;

    -----
    Mystic EAccessViolation infoz;

    Trying to access invalid memory

    - g00r00 states; If you are talking about Python specifically, that
    probably happens most often when the Python environment isn't installed
    correctly.

    - Do you have your Python .so files set in the Mystic config???

    Ahhh - I remember something; Mystic doesn't work well when you run BOTH
    Python2 and Python3 scripts... for me, whenever I run both versions,
    Mystic farts out one the second version is run - I had to select either
    all Python2 or all Python3 scripts... I slowly moved them all over to
    Python3, but possibly the script that is failing for you is causing Mystic
    to fail because of that issue. Are all/most of your scripts Python2 and
    the one thats failing is Python3?????? Or vice versa?

    As I mentioned, goto ArakNet and search "EAcccessViolation" and you can
    read all the threads where a few of us discussed this issue...
    -----
    Sorry its not much, but I was trying to go back in time and help... :P

    For me, and others, if we ran Python2 scripts.... and THEN Python3, we got EAccessViolations - moving all scripts to Py2 or Py3 fixed this.



    |07p|15AULIE|1142|07o
    |08.........

    --- Mystic BBS v1.12 A48 (Linux/64)
    * Origin: 2o fOr beeRS bbs>>>20ForBeers.com:1337 (21:2/150)
  • From Guido Giorgi@21:3/176 to paulie420 on Wed Feb 7 18:14:50 2024

    Hello paulie420!

    06 Feb 24 19:28, you wrote to Baconlive:

    Hello,
    i'm trying to setup email for password reset and validation.

    Everything seems to be fine but when Mystic tries to send an
    email it stays idle for 4/5 seconds then the connection drops.

    Here's some more I found from reviewing the ArakNet "EAccessViolation" issues;

    -----
    Mystic EAccessViolation infoz;

    Trying to access invalid memory

    - g00r00 states; If you are talking about Python specifically, that
    probably happens most often when the Python environment isn't
    installed correctly.

    - Do you have your Python .so files set in the Mystic config???

    Ahhh - I remember something; Mystic doesn't work well when you run
    BOTH Python2 and Python3 scripts... for me, whenever I run both
    versions, Mystic farts out one the second version is run - I had to
    select either all Python2 or all Python3 scripts... I slowly moved
    them all over to Python3, but possibly the script that is failing for
    you is causing Mystic to fail because of that issue. Are all/most of
    your scripts Python2 and the one thats failing is Python3?????? Or
    vice versa?

    As I mentioned, goto ArakNet and search "EAcccessViolation" and you
    can read all the threads where a few of us discussed this issue...
    -----
    Sorry its not much, but I was trying to go back in time and help... :P

    For me, and others, if we ran Python2 scripts.... and THEN Python3, we
    got EAccessViolations - moving all scripts to Py2 or Py3 fixed this.



    |07p|15AULIE|1142|07o
    |08.........

    --- Mystic BBS v1.12 A48 (Linux/64)
    * Origin: 2o fOr beeRS bbs>>>20ForBeers.com:1337 (21:2/150)

    Hello,
    thsnks for all the info. Today i perfomed lot of tests, even tried to remove both python3 and python2, but i still get the error.

    I tried also to spin up a container with mystic, there i don't get the error but anyways i get a "Could not connect to SMTP server" even if i try with a local postfix instance without authentication.

    I'm trying to believe that this might be related to aarch64 architecture (i see that in prealpha A49 is available only on 32 bit).

    I'll keep trying to find a reason and/or a solution... but i support i might need G00r help!

    Thanks

    Guido

    --- GoldED+/LNX 1.1.5--b20170303
    ---
    * Origin: FlipperZero BBS (21:3/176)