Menu

#2324 KC-135 white screen on startup

2020.2
Fixed
Low
2023-12-12
2020-08-08
legoboyvdlp
No

The KC-135 on FGADDON gets stuck on displaying a splash, displaying merely a white screen. The last message with --log-level=bulk is Reading image "FGDATA/data/Textures/Splash2.png"

The file does exist. The aircraft does not specify any splash in the -set-file. This is very odd, I don't think its actually related to the splash itself, as this works perfectly on all other aircraft.

Discussion

  • James Turner

    James Turner - 2020-08-09

    Run under GDb, hit Ctrl-C a few times to break, and see where it's stuck?

     
  • Gijs

    Gijs - 2020-08-12

    Apparently the problem is in the -set.xml. Replacing

            <author type="string">
                Innis Cunningham, Vivian Meazza, David Culp
                and Julien Pierru
            </author>
    

    with

            <author type="string">Innis Cunningham, Vivian Meazza, David Culp and Julien Pierru</author>
    

    makes it load.

     
  • James Turner

    James Turner - 2020-08-12

    That's very odd, will take a look!

     
  • James Turner

    James Turner - 2020-08-13

    Based o the code, the contents of the string shouldn't make any difference. Jonathan can you try a few different 'weird' author strings with the UFO and see if you there's any pattern? It shuld all be exactly the same, so I'm very confused what it could be.

     
  • James Turner

    James Turner - 2020-08-13
    • status: New --> NeedInfo
    • assigned_to: James Turner
     
  • legoboyvdlp

    legoboyvdlp - 2020-08-13

    Yes, replacing the UFO's author block with
    <author type="string">
    Innis Cunningham, Vivian Meazza, David Culp
    and Julien Pierru
    </author>

        results in the same white screen.
    
        The trigger is the newline -- a backspace immediately before the _and_ then results in it working normally.
    
     
  • Gijs

    Gijs - 2020-08-13

    Actualy, the issue is if there are three or more newlines.

    These all work:

    <author>
    A
    B
    </author>
    
    <author>A
    B
    
    </author>
    
    <author>A
     B
    
    </author>
    
    <author>A
    B
    C
    </author>
    

    While these don't (note the space before the closing tag in the first two blocks):

    <author>
    A
    B
     </author>
    
    <author>A
    B
    
     </author>
    
    <author>A
    B
    C
    D
    </author>
    

    I get the same behaviour with the UFO and it does not matter if the indentations are tabs or spaces.

     

    Last edit: Gijs 2020-08-13
  • James Turner

    James Turner - 2020-08-13

    The osgText I create for this specifies a maximum of three lines, so that is .... interesting :)

     
  • Gijs

    Gijs - 2023-12-12
    • status: NeedInfo --> Fixed
     
  • Gijs

    Gijs - 2023-12-12

    Fixed for the KC-135 per [r7948]

     

    Related

    Commit: [r7948]


Log in to post a comment.

MongoDB Logo MongoDB