Anonymous | Login | Signup for a new account | 2024-04-23 23:58 UTC |
My View | View Issues | Change Log | Roadmap | Zandronum Issue Support Ranking | Rules | My Account |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0002275 | Zandronum | [All Projects] Bug | public | 2015-05-30 06:23 | 2024-01-29 15:39 | ||||
Reporter | President People | ||||||||
Assigned To | |||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | resolved | Resolution | fixed | ||||||
Platform | Apple | OS | Mac OS X | OS Version | 10.4-10.7 | ||||
Product Version | 2.0 | ||||||||
Target Version | 3.1 | Fixed in Version | 3.1 | ||||||
Summary | 0002275: Crash when selecting Random class after enabling Multiplayer | ||||||||
Description | Seems to happen with any class mod. Example provided. *** Fatal Error *** Address not mapped to object (signal 11) Address: 0x635b6370 | ||||||||
Steps To Reproduce | 1. Enable multiplayer either by typing "Multiplayer" in console, or adding and then removing a bot. 2. Leave the game either by typing "Spectate" in console, or using Spectate in the Multiplayer menu. 3. Rejoin the game either by pressing fire and selecting the Random class, or choosing Random class in the Player preferences, and typing "Join" in console. 4. Reward yourself either by eating a Whopper, or eating a Big Mac. | ||||||||
Attached Files | RandomClassCrash.pk3 [^] (309 bytes) 2015-05-30 06:23 | ||||||||
Notes | |
(0012459) Edward-san (developer) 2015-05-30 07:20 edited on: 2015-05-30 07:43 |
I can reproduce the crash in 3.0, not in 2.0. Anyways, valgrind reported some issues before crashing:
Analyzing that I found out that in p_mobj.cpp, line 5322, 'type' becomes -1, leading to 'p->CurrentPlayerClass' = -1 in line 5336, and hence 'PlayerClasses' is accessed with index -1 at line 5342, giving 'p->cls' a very random value, leading to the crash later in line 5378 while trying to access to 'p->cls' inside GetDefaultByType call. [edit] 'SinglePlayerClass[consoleplayer]' is -1 in the function PLAYER_JoinGameFromSpectators in p_user.cpp, line 3060+:
|
(0012465) Edward-san (developer) 2015-05-30 12:12 edited on: 2015-05-30 12:12 |
Nevermind, it happens also in 2.0, same thing. |
(0023032) Ru5tK1ng (updater) 2024-01-29 15:39 |
This was fixed in 3.1. |
This issue is already marked as resolved. If you feel that is not the case, please reopen it and explain why. |
|
Supporters: | No one explicitly supports this issue yet. |
Opponents: | No one explicitly opposes this issue yet. |
Issue History | |||
Date Modified | Username | Field | Change |
2015-05-30 06:23 | President People | New Issue | |
2015-05-30 06:23 | President People | File Added: RandomClassCrash.pk3 | |
2015-05-30 07:20 | Edward-san | Note Added: 0012459 | |
2015-05-30 07:43 | Edward-san | Note Edited: 0012459 | View Revisions |
2015-05-30 07:44 | Edward-san | Status | new => confirmed |
2015-05-30 12:12 | Edward-san | Note Added: 0012465 | |
2015-05-30 12:12 | Edward-san | Note Edited: 0012465 | View Revisions |
2024-01-29 15:39 | Ru5tK1ng | Note Added: 0023032 | |
2024-01-29 15:39 | Ru5tK1ng | Status | confirmed => resolved |
2024-01-29 15:39 | Ru5tK1ng | Resolution | open => fixed |
2024-01-29 15:39 | Ru5tK1ng | Fixed in Version | => 3.1 |
2024-01-29 15:39 | Ru5tK1ng | Target Version | => 3.1 |
Copyright © 2000 - 2024 MantisBT Team |