HaikuPorts
  • Login
  • Preferences
  • Help/Guide
  • Wiki
  • Timeline
  • Roadmap
  • View Tickets
  • Search
  • Port Log
  • Blog

Context Navigation

  • Back to Ticket #581

Ticket #581: protocol.txt

File protocol.txt, 1.0 KB (added by richienyhus, 2 years ago)
Line 
1Protocol for CHECK FIX FOR ALLEGRO AND IMPROVE ON IT IF IT'S NOT WORKING AS EXPECTED
2https://google-melange.appspot.com/gci/task/view/google/gci2012/7982205
3
4[Summary]:
5I created a simple test application in allegro (refer to test.cpp). Compiling with pure allegro-4.4.x-svn was causing the application to crash at the end. Compiling with PulkoMandy's patch did not fix the crash. Doing some research and experimenting I managed to find out that the crash was caused by BeAllegroWindow::~BeAllegroWindow(), which is found inside bwindow.cpp. I managed to fix the crash by commenting-out the call to Unlock() inside BeAllegroWindow::~BeAllegroWindow(). I am not 100% sure if this is the correct way to go about this problem, but it did prevent the crash. Then I made one more test: Having my fix applied, but not having PulkoMandy's patch applied, resulted in the application leaving behind unterminated threads.
6
7[Conclusion]:
8Both my fix and PulkoMandy's patch are necessary in order for the application to terminate successfully without any freezing or crashing.

Download in other formats:

  • Original Format

Trac Powered

Powered by Trac 0.13dev-r10686
By Edgewall Software.

Visit the Trac open source project at
http://trac.edgewall.org/