Forums » Linux
re-dling media.rlb
Don't know if this is
*) linux-specific
*) related to 1.0.1
but: the updater told me it will update to 1.0.1, d/ld ca. 3MB,
and upon pressing [Play Vendetta] it segfaulted.
started it again, and now it downloads media.rlb, resuming from ca. 70 already dld MBs to 108717k
Did the segfaulting vendetta damage my media.rlb? Was the downloaded patch incomplete? Is my machine just going bananas?
EDIT: IMPORTANT!
If you see the same problem, please read _this whole thread_ before removing/updating any files!
*) linux-specific
*) related to 1.0.1
but: the updater told me it will update to 1.0.1, d/ld ca. 3MB,
and upon pressing [Play Vendetta] it segfaulted.
started it again, and now it downloads media.rlb, resuming from ca. 70 already dld MBs to 108717k
Did the segfaulting vendetta damage my media.rlb? Was the downloaded patch incomplete? Is my machine just going bananas?
EDIT: IMPORTANT!
If you see the same problem, please read _this whole thread_ before removing/updating any files!
I don't know why it's doing this. I'm trying to find out now.
I'm certain that the initial download was corrupt; segfaulting vendetta did not damage media.rlb. Actually what must have happened was the patcher left a short file behind (it applies a 35k patch to a 110 meg file, and the result isn't 110 megs anymore...)
I'm certain that the initial download was corrupt; segfaulting vendetta did not damage media.rlb. Actually what must have happened was the patcher left a short file behind (it applies a 35k patch to a 110 meg file, and the result isn't 110 megs anymore...)
I don't understand. This works fine for me (but it's happened to at least three other people now).
Can you give me an md5 of your ~/.vendetta/update.rlb?
Can you give me an md5 of your ~/.vendetta/update.rlb?
$ ls -la update.rlb
-rwxr-xr-x [...] 431752 Jun 28 2003 update.rlb*
$ md5sum update.rlb
60ef7673125c5a335b35bbb100bf7e3b update.rlb
as I have already posted somewhere, updating the updater shows an error when using strace, so maybe that's the problem.
(uh, this sentence sucks syntactically. I'd love to just give you a link, but I cant find my post anymore. Can _you_ do a grep for 'strace' in the forum-db? :)
Edit: Found it! :)
http://www.vendetta-online.com/x/msgboard/2/5713
<quote>
The updater seems to have problems updating itself:
[...]
open("update.rlb", O_RDONLY) = 7
fstat64(7, {st_mode=S_IFREG|0755, st_size=431752, ...}) = 0
open("update.rlb", O_WRONLY|O_CREAT|O_TRUNC, 0666) = -1 ETXTBSY (Text file busy)
chmod("update.rlb", 0755) = 0
execve("./update.rlb", ["update.rlb", "-phase2"], [/* 52 vars */]) = 0
[...]
I guess the ETXTBSY is not ok, is it?
</quote>
-rwxr-xr-x [...] 431752 Jun 28 2003 update.rlb*
$ md5sum update.rlb
60ef7673125c5a335b35bbb100bf7e3b update.rlb
as I have already posted somewhere, updating the updater shows an error when using strace, so maybe that's the problem.
(uh, this sentence sucks syntactically. I'd love to just give you a link, but I cant find my post anymore. Can _you_ do a grep for 'strace' in the forum-db? :)
Edit: Found it! :)
http://www.vendetta-online.com/x/msgboard/2/5713
<quote>
The updater seems to have problems updating itself:
[...]
open("update.rlb", O_RDONLY) = 7
fstat64(7, {st_mode=S_IFREG|0755, st_size=431752, ...}) = 0
open("update.rlb", O_WRONLY|O_CREAT|O_TRUNC, 0666) = -1 ETXTBSY (Text file busy)
chmod("update.rlb", 0755) = 0
execve("./update.rlb", ["update.rlb", "-phase2"], [/* 52 vars */]) = 0
[...]
I guess the ETXTBSY is not ok, is it?
</quote>
Right, I replied to that elsewhere, and your MD5 confirms it: you have an old update.rlb which is not able to update itself. rm ~/.vendetta/update.rlb and try again.
At least the one we're putting on the CD can update itself... :P
I can duplicate this easily:
light:~/.vendetta> md5sum update.rlb
60ef7673125c5a335b35bbb100bf7e3b update.rlb
light:~/.vendetta> rm update.rlb
light:~/.vendetta> vendetta
light:~/.vendetta> md5sum update.rlb
baa4185bc7014be8f14aa7f6eaf69803 update.rlb
HOWEVER!
while I can duplicate the fact that the old updater doesn't update itself, and I've known this for a long time, I haven't been able to duplicate the old updater failing to patch 1.0.0 to 1.0.1... And if the new one does this, that seriously sucks.
So, everyone who's had the patch-crash-redownload 30 megs-work thing, could you please tell me your md5 for ~/.vendetta/update.rlb (before you go and remove it.. :P)
At least the one we're putting on the CD can update itself... :P
I can duplicate this easily:
light:~/.vendetta> md5sum update.rlb
60ef7673125c5a335b35bbb100bf7e3b update.rlb
light:~/.vendetta> rm update.rlb
light:~/.vendetta> vendetta
light:~/.vendetta> md5sum update.rlb
baa4185bc7014be8f14aa7f6eaf69803 update.rlb
HOWEVER!
while I can duplicate the fact that the old updater doesn't update itself, and I've known this for a long time, I haven't been able to duplicate the old updater failing to patch 1.0.0 to 1.0.1... And if the new one does this, that seriously sucks.
So, everyone who's had the patch-crash-redownload 30 megs-work thing, could you please tell me your md5 for ~/.vendetta/update.rlb (before you go and remove it.. :P)
oops :)
Really sorry, didn't see your reply on the other thread (I _knew_ I had posted that error, but wasn't able to find it anymore...)
now it seems to work (the updater was always started twice before), thanks!
Really sorry, didn't see your reply on the other thread (I _knew_ I had posted that error, but wasn't able to find it anymore...)
now it seems to work (the updater was always started twice before), thanks!
I'm about to release a 1.0.2 update. I'd appreciate it if you could cp -R ~/.vendetta vendetta-1.0.1-backup before updating, and then see if you can reproduce the problem. An strace would be awesome too.
dunno if this has to do with the problem, but:
I still have an old (June 2003) /usr/local/bin/vendetta lying around
3a4d8e5c7660e5364142f2dec3b5c408 /usr/local/bin/vendetta
which I use for starting the game (as opposed to my ~/.vendetta/vendetta)
I still have an old (June 2003) /usr/local/bin/vendetta lying around
3a4d8e5c7660e5364142f2dec3b5c408 /usr/local/bin/vendetta
which I use for starting the game (as opposed to my ~/.vendetta/vendetta)
Not enough space on filesystem? Today I've seen Vendetta consume a lot of space when updating (much more than a few megs of patch) and when my /home was 100% full it "finished" updating, leaving an obviously corrupted media.rlb, which I'm happily redownloading right now. ;) Hope this helps.