Re: [opendemo-devel] qvm playback with compressed files
Status: Beta
Brought to you by:
girlich
From: Conor D. <co...@ma...> - 2002-01-17 06:43:27
|
Hello, ----- Original Message ----- From: "Dr. Uwe Girlich" <Uwe...@ph...> To: "OpenDemo Development List" <ope...@li...> Sent: Sunday, January 13, 2002 1:55 PM Subject: [opendemo-devel] qvm playback with compressed files > Hello! > > I just analysed the crashing behaviour of the QVM code on playback of > compressed files. It is really strange. The attached patch file adds a mini > trace to the first call of fbReadChar, which get the character '<', as we all > would expect. But the calling function xmlParseText get another return value. Ok this is driving me crazy. If vm_game is 1, then I don't get the bug you described, but I do get the ~ operator bug. If vm_game is 2, then I do get the bug you described (with the return value of gzread, it crashes before fbReadChar exits), but I don't get the ~ operator bug. I fixed the ~ bug, but nothing I do fixes the return value bug. Perhaps the virtual machine's frame pointer is getting corrupted somehow? I have no idea how to test for this. BTW, gzip input does work for me with vm_game=1, at about half the performance of a native dll. If we convert a few more functions to macros (fbEOF and gzeof come to mind), maybe it will get better. -Conor |