Hi All, I can confirm that such an issue occured many times to me when I was playing various 0.8 svn releases (including the one tagged as 0.8b4). The good news is that since I've fixed bug #10693 (https://gna.org/bugs/index.php?10693) it didn't happen again. I believe it was due to this statement:
!(*it)->CanBeUsedOnClosedMap() Well, theoretically speaking '->' operator has higher precedence than '!'. However, it seems that '!' in conjunction with '()' has higher precedence. So, what we did here was negating the pointer and then trying to access object's method. This way when user changed weapon, the program jumped at random places in memory. I don't know why it worked at all, but the fact is that sometimes it was leading to segmentation fault. Best regards, Pawel. =================================================================== Original message: Hi, I've got an error when I play online, I can make or join games, but sometimes, after playing a while, I get the following error: Segmentation fault (core dumped) I'm playing on Ubuntu 7.10 Gutsy Gibbon, but, as I'm playing 8.0beta4 I compiled it from source code. I read in some forums that in other software such as Opera, this error is because of libraries problems, but I don't know which library could be causing trouble, maybe SDL? I had to compile SDL_* because of dependencies. Well, thank you in advance for your help. _______________________________________________ Wormux-dev mailing list Wormux-dev@gna.org https://mail.gna.org/listinfo/wormux-dev --- Wiadomość została wysłana z serwisu bezpłatnych kont pocztowych portalu Gazeta.pl. Agora SA nie odpowiada za sposób wykorzystywania tych kont przez użytkowników. _______________________________________________ Wormux-dev mailing list Wormux-dev@gna.org https://mail.gna.org/listinfo/wormux-dev