Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SEGFAULT rafraîchissement interface shop #2

Open
clarkwinkelmann opened this issue Mar 31, 2015 · 0 comments
Open

SEGFAULT rafraîchissement interface shop #2

clarkwinkelmann opened this issue Mar 31, 2015 · 0 comments

Comments

@clarkwinkelmann
Copy link
Owner

SEGFAULT au moment d'essayer une 4e lettre pour le mot (cette lettre n'aurait pas terminé le mot mais en fait partie)

À la ligne 102 de mainfrm.cpp

Dump des objets lors du crash:

    Locals      
        Amelioration    Player::Amelioration_ShootInterval (3)  Player::Amelioration_e
        AmeliorationSuffix  "Shoot" QString
            [0] 83 'S'  QChar
            [1] 104 'h' QChar
            [2] 111 'o' QChar
            [3] 111 'o' QChar
            [4] 116 't' QChar
        LettersLayout   @0x8d5440   QHBoxLayout
        pGameStatus @0x105be50  GameStatus
            m_FoundLetters  <46 éléments> QStringList
                [0] "J" QString
                [1] "O" QString
                [2] "J" QString
                [3] "F" QString
                [4] "E" QString
                [5] "O" QString
                [6] "B" QString
                [7] "P" QString
                [8] "N" QString
                [9] "P" QString
                [10]    "E" QString
                [11]    "W" QString
                [12]    "D" QString
                [13]    "F" QString
                [14]    "P" QString
                [15]    "X" QString
                [16]    "X" QString
                [17]    "L" QString
                [18]    "J" QString
                [19]    "D" QString
                [20]    "R" QString
                [21]    "Y" QString
                [22]    "S" QString
                [23]    "Q" QString
                [24]    "V" QString
                [25]    "B" QString
                [26]    "A" QString
                [27]    "D" QString
                [28]    "W" QString
                [29]    "I" QString
                [30]    "D" QString
                [31]    "D" QString
                [32]    "H" QString
                [33]    "Y" QString
                [34]    "L" QString
                [35]    "Z" QString
                [36]    "N" QString
                [37]    "V" QString
                [38]    "J" QString
                [39]    "I" QString
                [40]    "L" QString
                [41]    "T" QString
                [42]    "N" QString
                [43]    "V" QString
                [44]    "N" QString
                [45]    "H" QString
            m_Level 3   int
            m_Life  100 float
            m_Munitions 52.5919189  float
            m_Round 4   int
            m_RoundDamages  13  int
            m_RoundHits 200 int
            m_RoundKills    50  int
            m_RoundProgress 100 float
            m_RoundShoots   250 int
            m_Score 14500   int
        pPlayer @0x97f0e0   Player
            NoLetter    "?" QString
            m_Ameliorations @0x97f0f0   Amelioration [4]
                [0] @0x97f0f0   Amelioration
                [1] @0x97f110   Amelioration
                [2] @0x97f130   Amelioration
                    m_Stage 0   int
                    m_StagesList    <10 éléments> QList<float>
                    m_pMysteryWord  @0xa36400   MysteryWord
                    m_pWordLibrary  @0x97ed30   WordLibrary
                [3] @0x97f150   Amelioration
                    m_Stage 1   int
                    m_StagesList    <7 éléments>  QList<float>
                    m_pMysteryWord  @0xc6e9c0   MysteryWord
                        LetterNotFound  "?" QString
                        m_RemainingTries    3   int
                        m_TestedLetters <14 éléments> QStringList
                            [0] "I" QString
                            [1] "T" QString
                            [2] "N" QString
                            [3] "L" QString
                            [4] "U" QString
                            [5] "O" QString
                            [6] "A" QString
                            [7] "C" QString
                            [8] "R" QString
                            [9] "D" QString
                            [10]    "M" QString
                            [11]    "P" QString
                            [12]    "E" QString
                            [13]    "G" QString
                        m_Word  <10 éléments> QStringList
                            [0] "P" QString
                            [1] "E" QString
                            [2] "R" QString
                            [3] "S" QString
                            [4] "I" QString
                            [5] "F" QString
                            [6] "L" QString
                            [7] "A" QString
                            [8] "G" QString
                            [9] "E" QString
                    m_pWordLibrary  @0x97ed30   WordLibrary
            m_GameDifficulty    Player::Hardcore (0)    Player::GameDifficulty_e
            m_Level 3   int
            m_Round 5   int
            m_Score 14500   int
            m_pWordLibrary  @0x97ed30   WordLibrary
        this    "MainFrm"   MainFrm
            [QWidget]   @0x7fffffffe2b0 QWidget
            [methods]   <13 éléments> 
                on_btnDifficultyHardcore_clicked        
                on_btnDifficultyImpossible_clicked      
                on_btnDifficultyInsane_clicked      
                on_btnGameMenuToMainMenu_clicked        
                on_btnNextLevel_clicked     
                on_btnNextRound_clicked     
                on_btnPause_clicked     
                on_btnRestart_clicked       
                on_gameOver     
                on_roundEnded       
                on_roundStart       
                on_tryLetter        
                on_updateStatus     
            [properties]    <plus d'un item>    
            [signals]   <0 élément>   
            m_pGameScene    @0x8ee060   GameScene
            staticMetaObject    @0x636e00   QMetaObject
            ui  @0x8beb50   Ui::MainFrm
    Inspector       
    Expressions     
    Return Value        
    Tooltip     
        updateShop  {void (MainFrm * const, GameStatus *, Player *)} 0x40ab4a <MainFrm::updateShop(GameStatus*, Player*)>   void (MainFrm * const, GameStatus *, Player *)
        0   0   int
        layLetters  <no such value> 
        findChild   <no such value> 
        QHBoxLayout <no such value> 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant