Coder Social home page Coder Social logo

Comments (7)

IohannRabeson avatar IohannRabeson commented on July 22, 2024

compile with make complete MODE=debug and run lldb.
Quand ca a planté tu tape bt (pour demander la backtrace)

Le 01/06/15 13:45, fcvalise a écrit :

J'ai parfois un segfault au moment ou je quitte l'application. Ce
n'est pas gênant pour le moment, mais je n'arrive a identifier d'ou ça
peut venir (probablement de quelque part dans mon code car a priori
j'ai longtemps été le seul a avoir le problème).
Il faudra un jour que l'on enquête :)


Reply to this email directly or view it on GitHub
#18.

from anoctonautodyssey.

fcvalise avatar fcvalise commented on July 22, 2024

C'est a peu près ce que j'avais fait mais je n'ai pas réussi a en tirer de conclusion..
Voici ce que j'obtiens:

Process 41323 stopped

  • thread #1: tid = 0x53a19, 0x00000001000f466f octodyssey.appocto::GraphicsManager::processEvents(this=0x000000010080c098) + 2687 at GraphicsManager.cpp:87, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=EXC_I386_GPFLT) frame #0: 0x00000001000f466f octodyssey.appocto::GraphicsManager::processEvents(this=0x000000010080c098) + 2687 at GraphicsManager.cpp:87
    84 {
    85 for (IKeyboardListener* listener : m_keyboardListeners)
    86 {
    -> 87 if (listener->onPressed(m_event.key) == false)
    88 break;
    89 }
    90 }
    (lldb) bt
  • thread #1: tid = 0x53a19, 0x00000001000f466f octodyssey.app`octo::GraphicsManager::processEvents(this=0x000000010080c098) + 2687 at GraphicsManager.cpp:87, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=EXC_I386_GPFLT)
    • frame #0: 0x00000001000f466f octodyssey.appocto::GraphicsManager::processEvents(this=0x000000010080c098) + 2687 at GraphicsManager.cpp:87 frame #1: 0x00000001000a1893 octodyssey.appocto::ApplicationImp::run(this=0x000000010080c000) + 115 at Application.cpp:263
      frame #2: 0x000000010009dbd0 octodyssey.appocto::Application::run(stateKey=0x00007fff5fbff998) + 112 at Application.cpp:339 frame #3: 0x000000010006ea15 octodyssey.appmain(argc=1, argv=0x00007fff5fbffb30) + 821 at main.cpp:56
      frame #4: 0x00007fff89dec5c9 libdyld.dylib`start + 1

from anoctonautodyssey.

IohannRabeson avatar IohannRabeson commented on July 22, 2024

ha t'as mis a jour avaec les dernier modif de la master?

Le 01/06/15 18:10, fcvalise a écrit :

C'est a peu près ce que j'avais fait mais je n'ai pas réussi a en
tirer de conclusion..
Voici ce que j'obtiens:

Process 41323 stopped

  • thread #1 #1:
    tid = 0x53a19, 0x00000001000f466f
    octodyssey.app|octo::GraphicsManager::processEvents(this=0x000000010080c098)
    • 2687 at GraphicsManager.cpp:87, queue = 'com.apple.main-thread',
      stop reason = EXC_BAD_ACCESS (code=EXC_I386_GPFLT) frame #0:
      0x00000001000f466f
      octodyssey.app|octo::GraphicsManager::processEvents(this=0x000000010080c098)
    • 2687 at GraphicsManager.cpp:87 84 { 85 for (IKeyboardListener*
      listener : m_keyboardListeners) 86 { -> 87 if
      (listener->onPressed(m_event.key) == false) 88 break; 89 } 90 }
      (lldb) bt
  • thread #1 #1:
    tid = 0x53a19, 0x00000001000f466f
    octodyssey.app`octo::GraphicsManager::processEvents(this=0x000000010080c098)
    • 2687 at GraphicsManager.cpp:87, queue = 'com.apple.main-thread',
      stop reason = EXC_BAD_ACCESS (code=EXC_I386_GPFLT)
      o frame #0: 0x00000001000f466f
      octodyssey.app|octo::GraphicsManager::processEvents(this=0x000000010080c098)
      • 2687 at GraphicsManager.cpp:87 frame #1: 0x00000001000a1893
        octodyssey.app|octo::ApplicationImp::run(this=0x000000010080c000)
      • 115 at Application.cpp:263 frame #2
        #2:
        0x000000010009dbd0
        octodyssey.app|octo::Application::run(stateKey=0x00007fff5fbff998)
      • 112 at Application.cpp:339 frame #3: 0x000000010006ea15
        octodyssey.app|main(argc=1, argv=0x00007fff5fbffb30) + 821 at
        main.cpp:56 frame #4
        #4:
        0x00007fff89dec5c9 libdyld.dylib`start + 1


Reply to this email directly or view it on GitHub
#18 (comment).

from anoctonautodyssey.

fcvalise avatar fcvalise commented on July 22, 2024

Bon a priori ça a bien résolu le problème ou en tout cas je n'ai pas reussi a reproduire le segfault 👍

from anoctonautodyssey.

IohannRabeson avatar IohannRabeson commented on July 22, 2024

J'avais deja pointé le probleme en effet, il est resolu depuis quelque
jours.
Pensez a mettre regulierent vos depot ajout. Tout ce qui est sur master
est bon pour vous.

De même sur octogame, pensez a faire des pull request avec vos branches,
normalement, a chaque tache accomplie (ex: champignon ajoutes) vous
devez faire une pull request(ce qui implique que chaque tache dois etre
realisée dans une branche), et pas en faisant le merge
avec master, mais avec dev, ben oui c'est pas testé donc ca doit pas
etre dispo au utilisateur finaux.

C'est seulement une fois qu'on est sur que tout va vien sur dev, qu'on
a eventuellement fait quelque correction qu'on
fera a nouveau un pull request mais pour merge dev dans master, et donc
rendre dispo les nouvelles
fonctionnalité a tout les autres qui travail.

Enfin voila, ca parait compliqué comme ca mais ca evite tellement de
perte de temps inutile.

Comme j'ai l'impression que c'est pas du tout acquis pour vous je vous
en reparlerai demain je pense.

Le 01/06/15 18:51, fcvalise a écrit :

Bon a priori ça a bien résolu le problème ou en tout cas je n'ai pas
reussi a reproduire le segfault 👍


Reply to this email directly or view it on GitHub
#18 (comment).

from anoctonautodyssey.

jbalestr42 avatar jbalestr42 commented on July 22, 2024

Oui on en parle demain, on voulait justement te poser des questions par rapport à ça :)

from anoctonautodyssey.

IohannRabeson avatar IohannRabeson commented on July 22, 2024

S'marche!

from anoctonautodyssey.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.