[opendemo-devel] qvm playback with compressed files
Status: Beta
Brought to you by:
girlich
From: Dr. U. G. <Uwe...@ph...> - 2002-01-13 19:55:25
|
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. Loading vm file vm/qagame.qvm. VM file qagame compiled to 1493476 bytes of code qagame loaded in 19045056 bytes on the hunk fbReadChar(0) = '<' = 60 xmlParseText: character = 'h' = 104 End of recording Received signal 11, exiting... Shutdown tty console Sooner or or later this results in XML problems and the playback stops (output: "End of recording"). Then somehow (not really important just now) the program crashs totally with a SIGSEGV (segmantation violation). So the main problem is why the print of the character before the return statement of fbReadChar() was '<' but the calling function get another value back. I have no idea, how this could occur, especially I don't see the connection with the zlib code. Bye, Uwe |