Error

  • QuanTech
    28th Aug 2017 Member 0 Permalink

    @zaccybot2 (View Post)

     Nope, I can't reproduce the crash

  • oliverstr
    28th Aug 2017 Member 0 Permalink

    I fill it with holding my mouse and moving that circle

  • zaccybot2
    28th Aug 2017 Member 0 Permalink

    I can get the error now. I will look into it

  • jacob2
    28th Aug 2017 Member 0 Permalink
    @zaccybot2 (View Post)
    If you could narrow it down that would he helpful. I couldn't reproduce it on that save before.
  • QuanTech
    28th Aug 2017 Member 0 Permalink

    Oh I'm getting the crash now too! Make your cursor super huge, open the save, pause the sim, move your cursor around the whole screen, wait a few seconds due to lag, when the bomb appears on screen, unpause.


    EDIT: gdb shows it's crashing at sim->kill_part. i'm investigating moar


    EDIT2: Out of bounds read. The index i passed to sim->kill_part is huuuuge

    Edited 3 times by QuanTech. Last: 28th Aug 2017
  • basiliotornado
    28th Aug 2017 Member 0 Permalink

    i tried that in the snapshot and nothing happened exept lag (idk if im doing it right) edit: oh i need to open a save ALSO shortcuts work like ctrl + shift + drag

    Edited 2 times by basiliotornado. Last: 28th Aug 2017
  • oliverstr
    28th Aug 2017 Member 0 Permalink

    Could be a embr interger overflow cause when i try the exact same bomb element count on a empty map the game does not show the error EDIT: It isnt a interger overflow but it could be a overflow which has to do something with embr

    Edited 3 times by oliverstr. Last: 28th Aug 2017
  • basiliotornado
    28th Aug 2017 Member 0 Permalink

    i found it works in other saves with complicated patterns! its not just The Dawn of EREBOR

  • jacob2
    28th Aug 2017 Member 0 Permalink
    @QuanTech (View Post)
    Can you get a traceback and do more debugging? A traceback would show what function called kill_part
  • QuanTech
    28th Aug 2017 Member 0 Permalink

    @jacob2 (View Post)

     BOMB's update function. I'm still debugging some more


    EDIT: Every time it crashes, the huge index (e.g. 4428435), when ANDded with 0xff, is 0x93, which is the type number of EMBR. Some pmap thingy

    Edited once by QuanTech. Last: 28th Aug 2017