vasi wrote:
Assuming the basilisk-cvs list is working properly
In the past years I noticed that sometimes changes are made to cvs that are not reported in the mailing list.
I tried building BasiliskII in the way I described above with todays freshly downloaded source, BasiliskII from cvs and SDL-1.2 through Mercurial (I suppose that is the last revision?). It resulted in a BasiliskII application that only shows a light grey screen and after a couple of seconds a single system beep. It could only be stopped with a forced quit in OSX and Console showed this message, endlessly repeated in high succession:
Code:
24-09-11 13:41:51 [0x0-0x28e28e].BasiliskII-3[84467] Sat Sep 24 13:41:51 MacKanjer4.local BasiliskII[84467] <Error>: CGContextFlush: invalid context 0x0
I also tried building BasiliskII in the way I describe above, again with the source from August 23, but now with the original SDL-1.2 as downloaded then through Mercurial, without the memory leak patch for SheepShaver applied. It results in an application that behaves the same as my yesterday's working build (fast startup, Finder, application launching, but stuttering sound in 'Swoop'), with one notable exception: It has the same memory leak that we know from SheepShaver:
Code:
24-09-11 14:51:29 BasiliskII[45375] *** __NSAutoreleaseNoPool(): Object 0x273ecd30 of class NSWindowGraphicsContext autoreleased with no pool in place - just leaking
So, apparently, BasiliskII is affected by the same memory leak with SDL 1.2.14 (and later 1.2) as SheepShaver.
vasi wrote:
Can you tell me which revision you worked from?
I really do not know. How or where can I find which revision is the source code I used?
Quote:
And maybe also share your patches to SDL.
It is this patch (some call it a hack) by Jean-Pierre Chombier:
http://bugzilla.libsdl.org/show_bug.cgi?id=870
Described in more detail here for SDL 1.2.14:
http://www.emaculation.com/forum/viewto ... 5746#35746
Last month I applied the patch to SDL-1.2 I got through Mercurial (then the latest revision?) in order to be able to build a SheepShaver version that could run full-screen and did not have the memory leak. Apparently I succeeded somehow, although the files had changed since 1.2.14 and I needed to adapt the patch as described in the forum post linked to above.
Here are the files, original and patched side by side, for SDL 1.2.14 and for the August 23 SDL-1.2
http://www.xs4all.nl/~ronaldpr/sheepsha ... _patch.zip