Anonymous | Login | Signup for a new account | 2025-07-27 13:56 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 | ||||
0001683 | Zandronum | [All Projects] Bug | public | 2014-01-26 02:14 | 2015-12-13 03:11 | ||||
Reporter | AlexMax | ||||||||
Assigned To | |||||||||
Priority | normal | Severity | minor | Reproducibility | unable to reproduce | ||||
Status | closed | Resolution | no change required | ||||||
Platform | OS | OS Version | |||||||
Product Version | 1.2 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0001683: P_CheckSight Assert failed | ||||||||
Description | Got this error message on my jumpmaze server that crashed: zandronum-server: /home/alexmax/workspace/zandronum/src/p_sight.cpp:646: bool P_CheckSight(const AActor*, const AActor*, int): Assertion `t1 != __null' failed. | ||||||||
Attached Files | ![]() | ||||||||
![]() |
|
Dusk (developer) 2014-01-26 10:28 |
and no backtrace? |
Torr Samaho (administrator) 2014-01-26 20:29 |
From the line number I guess this is from 1.2, isn't it? |
AlexMax (developer) 2014-01-27 22:49 |
Correct. I didn't get a backtrace, the assert was the best I could do. I was hoping that it would be something simple like properly vetting incoming packets or something. |
Watermelon (developer) 2014-06-15 15:10 |
We should probably add a safeguard? |
ZzZombo (reporter) 2015-01-21 02:20 |
IIRC the function already has a "pointer != NULL" check right after the assert... |
Edward-san (developer) 2015-01-21 07:59 |
If you compile with CMake, if you compile the game with RelWithDebInfo, the assertion should go away, but I believe there's a good reason the assertion is present. Also, the assertion happens because for some reason the codepointer A_CheckSight calls P_CheckSight with first parameter NULL, as if one of the player's camera is missing (you need at least 2 players to reproduce, sadly with big mods). |
arkore (reporter) 2015-08-03 20:52 |
I've added an example wad here now, using hub maps, because this is related to 0002342 -- same error occurred there too. |
Edward-san (developer) 2015-08-03 22:22 edited on: 2015-08-03 22:24 |
The example wad makes the assertion appear when zandronum-server is compiled with Debug mode on. To reproduce: - host a server with the example wad, - connect two clients, - join both clients as players, - let the first one walk through the portal, - after teleporting to the hub map, walk forward, until the server crashes. |
Dusk (developer) 2015-12-13 03:10 |
Assertion failures may happen if Debug builds are used. If you don't want them, don't use Debug builds. |
This issue is already marked as resolved. If you feel that is not the case, please reopen it and explain why. |
|
Supporters: | WaTaKiD Navi arkore |
Opponents: | No one explicitly opposes this issue yet. |
![]() |
|||
Date Modified | Username | Field | Change |
2014-01-26 02:14 | AlexMax | New Issue | |
2014-01-26 10:28 | Dusk | Note Added: 0008134 | |
2014-01-26 20:29 | Torr Samaho | Note Added: 0008136 | |
2014-01-27 22:49 | AlexMax | Note Added: 0008141 | |
2014-01-28 19:52 | Torr Samaho | Product Version | => 1.2 |
2014-06-15 15:10 | Watermelon | Note Added: 0009415 | |
2014-06-15 15:10 | Watermelon | Status | new => confirmed |
2015-01-21 02:20 | ZzZombo | Note Added: 0011467 | |
2015-01-21 07:59 | Edward-san | Note Added: 0011471 | |
2015-08-03 20:50 | arkore | File Added: hubs-sighted-torches.wad | |
2015-08-03 20:52 | arkore | Note Added: 0013037 | |
2015-08-03 22:22 | Edward-san | Note Added: 0013038 | |
2015-08-03 22:24 | Edward-san | Note Edited: 0013038 | View Revisions |
2015-12-13 03:10 | Dusk | Note Added: 0013978 | |
2015-12-13 03:10 | Dusk | Status | confirmed => closed |
2015-12-13 03:11 | Dusk | Resolution | open => no change required |
Copyright © 2000 - 2025 MantisBT Team |