Linux Spice with Recorder

Tuesday, July 11, 2017

Working on the Linux port of Spice with recorder. I am getting different unsatisfied symbols because of Spice GTK and the tools. Trying to do it "the right way".

After getting this fixed, some messages are messed up:

spice-channel.c:1222: [422 4.183747] channel_read: Readzu bytes froms, totalzu
spice-channel.c:1200: [423 4.183750] channel_read: Readzu bytes froms
spice-channel.c:1222: [424 4.183753] channel_read: Readzu bytes froms, totalzu
channel-usbredir.c:629: [425 4.183759] channel: :s
spice-session.c:2047: [427 4.184503] channel: inputs-3:0: connecting 0x7fc2d34bca50...
spice-session.c:2047: [429 4.184557] channel: cursor-4:0: connecting 0x7fc2d24bca50...
s

Of course, it works perfectly on macOS. The problem was an incorrect test for the range where we copy the format, which caused the copy to abort premarurely depending on the relative position on the stack of the format string and format copy. Fixed.