• error when running a native external program in linux

    From Ner@1:103/705 to All on Thursday, November 09, 2023 17:06:06
    Hi guys,

    I'm trying to help a developer, and myself frankly since I'd like this to run on Synchronet, run a game called Swords of Freeport. I can run the game in Linux under the terminal and it works fine. Something is causing a thrown error, and the dev says it's not a method she uses. I run the game as a native application with standard intercept. Error is as follows:
    Terminate thrown after calling an instance of ‘logic_error what(): basic construction from null is not valid
    I, and she, is not sure how to get the application to use sockets to intercept. Do you all have any ideas on this error?

    ---
    ï¿­ Synchronet ï¿­ NER BBS: Accessibility for all
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Ner on Thursday, November 09, 2023 17:19:16
    Re: error when running a native external program in linux
    By: Ner to All on Thu Nov 09 2023 05:06 pm

    Hi guys,

    I'm trying to help a developer, and myself frankly since I'd like this to run on Synchronet, run a game called Swords of Freeport. I can run the game in Linux under the terminal and it works fine. Something is causing a thrown error, and the dev says it's not a method she uses. I run the game as a native application with standard intercept. Error is as follows: Terminate thrown after calling an instance of `logic_error what(): basic construction from null is not valid
    I, and she, is not sure how to get the application to use sockets to intercept. Do you all have any ideas on this error?

    If the application uses stdio (and you're using standard I/O intercept in SBBS), then socket I/O is not required. And I wouldn't recommend converting the application to use socket I/O. Just stay with standard I/O.

    The error appears to be from the application (and the standard C++ library): https://www.reddit.com/r/cpp_questions/comments/lpuyp9/terminate_called_after_throwing_an_instance_of/

    Is it possible the program is expecting specific command-line arguments or reading from a file that is missing or has some unexpected value? If you could provide the developer with a backtrace (is a coredump generated?) that should point them to the root-cause. It likely has nothing to do with SBBS or stdio.
    --
    digital man (rob)

    Breaking Bad quote #16:
    Thinking Operation Breath Mint evertime you and me are on a stakeout together. Norco, CA WX: 68.8øF, 14.0% humidity, 1 mph ENE wind, 0.00 inches rain/24hrs --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)