SOLVED onFatalError 11 in trace file

Discussion in 'Technical & Support' started by Bernd, Jun 7, 2020.

  1. Bernd

    Bernd Registered

    Joined:
    Jul 9, 2013
    Messages:
    1,509
    Likes Received:
    755
    Does anybody know what can cause that error?
    The complete line in the trace file is
    96.26s main.cpp 290: onFatalError 11

    Is there an index with error numbers and what they mean?
     
  2. davehenrie

    davehenrie Registered

    Joined:
    Jul 6, 2016
    Messages:
    7,454
    Likes Received:
    4,369
    not that I am aware of, at least not for public viewing. Was that the last line of the file? We've come to believe the trace file ends when the error that stops the load occurs.
     
  3. Bernd

    Bernd Registered

    Joined:
    Jul 9, 2013
    Messages:
    1,509
    Likes Received:
    755
    Yes it is the last line in the trace file, that is why i ask, because i want to know why the game crashes. ;)
     
  4. Lazza

    Lazza Registered

    Joined:
    Oct 5, 2010
    Messages:
    12,346
    Likes Received:
    6,572
    Can you describe when it crashes, and post the entire trace file?
     
  5. Bernd

    Bernd Registered

    Joined:
    Jul 9, 2013
    Messages:
    1,509
    Likes Received:
    755
    @Lazza Thank you for trying to help, but for a special reason i don't want to upload the trace file.
    But you can believe me that i'm experienced enough to see a possible reason in the trace.
    I think only the devs can answer my question, at least they should know what that error message means.
     
  6. Goanna

    Goanna Registered

    Joined:
    Jan 19, 2012
    Messages:
    1,405
    Likes Received:
    953
  7. Bernd

    Bernd Registered

    Joined:
    Jul 9, 2013
    Messages:
    1,509
    Likes Received:
    755
    No, i can't. :D
    And all files that have brackets, have the same amount of { and }.

    @Marcel Offermans @Christopher Elliott Could one of you be so kind and tell me what the code "onFatalError 11" in the trace file means?
     
    Goanna likes this.
  8. Bernd

    Bernd Registered

    Joined:
    Jul 9, 2013
    Messages:
    1,509
    Likes Received:
    755
    I have found the problem.
    It was the link to the tdf file in the gdb file, that was this:
    TerrainDataFile=../XXXXXXtdf (worked in devmode, crashed in game)
    I have changed that to:
    TerrainDataFile=..\XXXXXXtdf
    and it also works in game too now.
    So it only was the slash, that has to be a backslash.....
    "Funny" that it worked in devmode with the slash too.
     
    coasting&cruising, Davvid and Goanna like this.
  9. Brutten

    Brutten Registered

    Joined:
    Jun 21, 2017
    Messages:
    361
    Likes Received:
    362
    Greetings.

    Although the problem presented seems to have had a solution, I have had the same mistake and the origin is not the same.

    In my case, after three days of researching, I found the original problem that was in some textures that didn't meet the required specifications.

    Same error: main.cpp 290: onFatalError 11
    Different solutions.

    I hope that it will serve as an input.
     
    Bernd likes this.
  10. Bernd

    Bernd Registered

    Joined:
    Jul 9, 2013
    Messages:
    1,509
    Likes Received:
    755
    I would say "yes".
    As long as we don't get any informations from S397, in which situation that error message gets used, we can collect different reasons here. :)
     
  11. Lazza

    Lazza Registered

    Joined:
    Oct 5, 2010
    Messages:
    12,346
    Likes Received:
    6,572
    Just to add to the list, I packaged up various vehicle files into MAS files for packaging and had them in the vehicle's folder (totally different names to any of the mod's files, and not referenced in any files). Devmode picked up the tyres (.TBC) from the MAS files (tire manager added them in the trace) and then reported "tire_manager 1414: Non-existent tire brand """ . Followed soon after by the onFatalError 11.

    So looks like a 'file not found' or 'broken reference' error in that case.
     
  12. Bruno Gil

    Bruno Gil Registered

    Joined:
    Oct 12, 2020
    Messages:
    128
    Likes Received:
    79
    Well, lets add another reason shall we... I can't load nurburgring or any of its variants. when it reaches 100% game CTDs. Same onFatalError 11 at end of tracefile. I've reinstalled the track and I have not been messing with modding or anything like that... Ideas?
     
  13. Seven Smiles

    Seven Smiles Registered

    Joined:
    Oct 5, 2010
    Messages:
    1,099
    Likes Received:
    1,152
    I suspect main.cpp contains a catch all for any error anywhere:
    Code:
    try {
       // run rFactor...
    } catch(...) {
      cerr << "OnFatalError 11" << endl;  // line 290
    }
     
  14. coasting&cruising

    coasting&cruising Registered

    Joined:
    Aug 16, 2021
    Messages:
    107
    Likes Received:
    46

Share This Page