|
an old bug still there |
Neil Walker
Member #210
April 2000
|
Hello, Basically, if you create a system bitmap then create sub-bitmaps from it, when you destroy any of the sub-bitmaps, your program crashes. Video and memory bitmaps are fine. I have only (and I guess it is the only o/s that supports them) tried this on Windows. Anyone hazard a guess why, or if it's possible for someone to have a look Neil. wii:0356-1384-6687-2022, kart:3308-4806-6002. XBOX:chucklepie |
Peter Wang
Member #23
April 2000
|
Please consider debugging this yourself. We are extremely short on Windows developers nowadays and need to encourage more users to become developers.
|
Matthew Leverton
Supreme Loser
January 1999
|
I'm unable to duplicate it on 4.2.1 with VC 2005. |
relpatseht
Member #5,034
September 2004
|
Might I suggest (better) documentation of the driver functions and vtable functions if you want more users to become developers? While working on the DS port of Allegro, I often find myself either tracing through other drivers looking for a specific function or asking Tomasu when he is present just to find out what it is supposed to do. The functions which Allegro exposes to the user are documented well enough, but those exposed only to the developer could use a bit of work. Not that I am willing or even capable of doing any of my suggestions, but I do believe they would at least help moderately in getting more users to participate in development.
|
Evert
Member #794
November 2000
|
I distinctly remember looking into this a long while back (any chance you can dig up the thread?) and finding a fix for it. I think this was comitted after testing as well, that should show up in the logs. |
Matthew Leverton
Supreme Loser
January 1999
|
Peter Wang
Member #23
April 2000
|
Quote: Might I suggest (better) documentation of the driver functions and vtable functions if you want more users to become developers? You might, but it's not going to happen. Can I suggest in return that, while working on the DS port, adding any comments on anything you figure out? If and when we merge the DS port into the main tree, we would pick up those comments as well. Thanks.
|
Neil Walker
Member #210
April 2000
|
I can get it to fail with this simple program, can you try this Matthew? or anyone who would like to try it out, it crashes on the first destroy statement, both in mingw and vc2005 for me. Then uncomment/swap the two commented lines to make it normal memory bitmaps and all is well: btw, I'm on 4.2.0.0 but I would have thought this would have the fix mentioned above in it also.
Neil. wii:0356-1384-6687-2022, kart:3308-4806-6002. XBOX:chucklepie |
relpatseht
Member #5,034
September 2004
|
Quote: You might, but it's not going to happen. Can I suggest in return that, while working on the DS port, adding any comments on anything you figure out? If and when we merge the DS port into the main tree, we would pick up those comments as well. If such is the case, then I will make no suggestion. I will, however, make the greatest effort I am willing to put forth, which if history serves as truth will be very little, to follow your's even in the event you don't make it.
|
Matthew Leverton
Supreme Loser
January 1999
|
Quote: I can get it to fail with this simple program, can you try this Matthew? or anyone who would like to try it out, it crashes on the first destroy statement, both in mingw and vc2005 for me. Then uncomment/swap the two commented lines to make it normal memory bitmaps and all is well: No crash on gcc or VC 2005. |
Francois Lamini
Member #7,791
September 2006
|
I'd be glad to work on Allegro if I wasn't working on Mario's Fly Catcher. This library made it possible to persue my dreams. And what's sad is that after Mario's Fly Catcher I'll be working on Worm Wars so as you can see I'm quite busy. Francois |
Evert
Member #794
November 2000
|
Quote: btw, I'm on 4.2.0.0
What's with the extra .0? Quote: but I would have thought this would have the fix mentioned above in it also. How could it? 4.2.0 was released in November 2005, you reported the problem in January 2006. |
Neil Walker
Member #210
April 2000
|
Quote: What's with the extra .0? I just copied/pasted from file properties in windows Quote: How could it? 4.2.0 was released in November 2005, you reported the problem in January 2006. I guess I'm behind the times again, I thought I had updated. I'll get the latest copy and recompile. Neil. wii:0356-1384-6687-2022, kart:3308-4806-6002. XBOX:chucklepie |
Richard Phipps
Member #1,632
November 2001
|
4.2.0 is over a year old already?! Wow, time flies.. |
Neil Walker
Member #210
April 2000
|
4.2.1 fixes the subbitmap problem. apologies for the time-wasting Neil. wii:0356-1384-6687-2022, kart:3308-4806-6002. XBOX:chucklepie |
|