Close Window causes crash EXC_BAD_ACCESS (SIGSEGV)

  1. ‹ Older
  2. 5 days ago

    Hamery E

    is not verified Oct 12 44000 Nantes (France)

    I too and on two different project, I put in the windows of the buttons "close" with as code "nomdefenetre. close" and there it no longer crashes...

    french :
    moi aussi et sur deux projet different, j'ai mis dans les fenêtres des boutons "Fermer" avec comme code "nomdefenetre.close" et là ça ne plante plus du tout...

  3. 3 days ago

    Tim J

    Oct 14 Pre-Release Testers, Xojo Pro Dehydrating in AZ

    @Jean-YvesPochez and it's not on window.close, it's more on app.quit that I see this bug.

    Have you tried adding it to App.Close instead?

  4. Jean-Yves P

    Oct 14 Pre-Release Testers, Xojo Pro Europe (France, Besançon)

    I've added it to the App.close, at the end of the method, after all other code.
    I see the bug when I quit the app, without closing all the windows, it often happens
    it did not happen before 2018r2

  5. Tim J

    Oct 14 Pre-Release Testers, Xojo Pro Dehydrating in AZ

    Very odd. Sorry that it didn't sort it for you. It has for me on 6 projects.

  6. Tiago R

    Oct 14 Pre-Release Testers, Xojo Pro Planet Earth

    I was seeing something like this on my project. I had a window property that was set to an object instance.

    The error would be triggered at application close time **if** at any point in time I changed that property to reference another object before setting it to nil first.

    Ex:

    // crashes
    Window1.aProperty = newReference

    // no crash
    Window1.aProperty = Nil
    Window1.aProperty = newReference

    Hope it helps...

or Sign Up to reply!