Results 1 to 10 of 26

Thread: State machine - requesting advice

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Normaly on Windows when you close the application all of its memory is released. There are exceptions when a program is using two or more seperate memory managers but this is quite unlikely in your case.

    Now you can send me the source code and I'll take a look at it to see what might be causing theese segfaults.

  2. #2
    I've had some look on the source code, and found some things which i PM'd. But i didn't find the crash on exit cause. It came down to al_destroy_bitmap(MaskBitmap); line. Are there some commands to issue for Allegro when application is quitting? I noticed it's sort of threaded, by linking a update procedure in it. But crash when destroying bitmap, which isn't nil, is very odd. That linked update thread wasn't responsible of drawing things. Main loop was already stopped at that time.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •