MantisBT - Zandronum |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0002736 | Zandronum | [All Projects] Bug | public | 2016-05-17 10:15 | 2018-09-30 22:00 |
|
Reporter | WaTaKiD | |
Assigned To | Edward-san | |
Priority | normal | Severity | crash | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | Microsoft | OS | Windows | OS Version | XP/Vista/7 |
Product Version | 3.0-beta | |
Target Version | 3.0 | Fixed in Version | 3.0 | |
|
Summary | 0002736: crash when exiting demo as idx 1 |
Description | does not crash when demo was recorded by a player with idx 0
does not crash in zan 2.1.2 or gzdoom 1.8.6
this commit is the culprit:'https://bitbucket.org/Torr_Samaho/zandronum/commits/4a7ea43b28eeeec226d44e93d8ee6834cc7d84fe [^]'
crash report using 3.0-r160510-1827 and example demo are attached |
Steps To Reproduce | either play the attached demo (only doom2.wad is used) and exit it or:
host server: zandronum -iwad doom2 -host
connect client to use idx 0: zandronum -iwad doom2 -connect localhost
connect client to use idx 1 and record a demo: zandronum -iwad doom2 -connect localhost -record democrash.cld
wait a few seconds then exit and play the demo: zandronum -iwad doom2 -playdemo democrash.cld
exit the demo
crash |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | democrash.cld (6,026) 2016-05-17 10:15 /tracker/file_download.php?file_id=1810&type=bug
CrashReport-democrash.zip (23,074) 2016-05-17 10:15 /tracker/file_download.php?file_id=1811&type=bug |
|
Issue History |
Date Modified | Username | Field | Change |
2016-05-17 10:15 | WaTaKiD | New Issue | |
2016-05-17 10:15 | WaTaKiD | File Added: democrash.cld | |
2016-05-17 10:15 | WaTaKiD | File Added: CrashReport-democrash.zip | |
2016-05-17 19:48 | Torr Samaho | Target Version | => 3.0 |
2016-06-12 18:33 | Edward-san | Note Added: 0015075 | |
2016-06-12 18:33 | Edward-san | Assigned To | => Edward-san |
2016-06-12 18:33 | Edward-san | Status | new => assigned |
2016-06-12 18:35 | Edward-san | Note Added: 0015076 | |
2016-06-12 18:35 | Edward-san | Status | assigned => feedback |
2016-06-13 00:28 | WaTaKiD | Note Added: 0015077 | |
2016-06-13 00:28 | WaTaKiD | Status | feedback => assigned |
2016-06-18 21:56 | Edward-san | Note Added: 0015096 | |
2016-06-18 21:57 | Edward-san | Status | assigned => needs review |
2016-06-18 23:07 | Edward-san | Note Edited: 0015096 | bug_revision_view_page.php?bugnote_id=15096#r9161 |
2016-06-20 19:12 | Edward-san | Note Added: 0015102 | |
2016-06-20 19:12 | Edward-san | Status | needs review => needs testing |
2016-07-02 17:16 | WaTaKiD | Note Added: 0015186 | |
2016-07-02 17:17 | WaTaKiD | Status | needs testing => assigned |
2016-07-02 17:38 | WaTaKiD | Note Edited: 0015186 | bug_revision_view_page.php?bugnote_id=15186#r9205 |
2016-07-02 18:48 | WaTaKiD | Note Added: 0015191 | |
2016-07-03 15:37 | Torr Samaho | Note Added: 0015206 | |
2016-07-03 16:47 | WaTaKiD | Note Added: 0015209 | |
2016-08-10 09:58 | Edward-san | Note Added: 0015424 | |
2016-08-10 09:58 | Edward-san | Status | assigned => needs testing |
2016-08-18 00:56 | Ru5tK1ng | Note Added: 0015467 | |
2016-08-18 09:07 | Edward-san | Note Added: 0015476 | |
2016-08-18 14:58 | Ru5tK1ng | Note Added: 0015489 | |
2016-08-18 14:58 | Ru5tK1ng | Status | needs testing => resolved |
2016-08-18 14:58 | Ru5tK1ng | Resolution | open => fixed |
2016-08-18 14:58 | Ru5tK1ng | Fixed in Version | => 3.0 |
2018-09-30 22:00 | Blzut3 | Status | resolved => closed |
Notes |
|
|
I finally found the problem:
// In a client demo, don't lose the userinfo we gave to our console player.
if ( CLIENTDEMO_IsPlaying( ))
memcpy( &players[lConsolePlayer].userinfo, &players[consoleplayer].userinfo, sizeof( userinfo_t ));
|
|
|
|
|
|
|
|
|
(0015096)
|
Edward-san
|
2016-06-18 21:56
(edited on: 2016-06-18 23:07) |
|
|
|
|
|
|
(0015186)
|
WaTaKiD
|
2016-07-02 17:16
(edited on: 2016-07-02 17:38) |
|
|
|
|
|
|
|
The new issue should be fixed now. |
|
|
|
|
|
|
|
|
|
Is this fix in 3.0-160814? If so, Zandro crashed when I tried playing the test demo. |
|
|
|
Try recording a new demo and play that one. |
|
|
|
I went ahead and made new demos as both idx 0 and 1. When playing back the demos, there was no crash. |
|