MantisBT - Zandronum
View Issue Details
0002456Zandronum[All Projects] Bugpublic2015-09-13 16:082018-09-30 21:57
Zalewa 
Dusk 
normalcrashalways
closedfixed 
MicrosoftWindowsXP/Vista/7
3.0-beta 
3.03.0 
0002456: Ghosts of Pingfang WAD crashes when hosted on a server.
Ghosts of Pingfang WAD crashes when hosted on a server.
1. Get this:'http://www.doomworld.com/idgames/levels/doom/Ports/p-r/pingfang [^]'
2. Host a server with this using Zandronum 3.0 (map e1m1, IWAD doom.wad).
No tags attached.
zip CrashReport.zip (15,379) 2015-09-13 17:55
/tracker/file_download.php?file_id=1653&type=bug
Issue History
2015-09-13 16:08ZalewaNew Issue
2015-09-13 17:50DuskNote Added: 0013506
2015-09-13 17:55ZalewaFile Added: CrashReport.zip
2015-09-13 17:55ZalewaNote Added: 0013507
2015-09-13 19:21WaTaKiDNote Added: 0013508
2015-09-14 00:30DuskNote Added: 0013511
2015-09-14 00:30DuskStatusnew => confirmed
2015-09-14 21:00DuskNote Added: 0013516
2015-09-14 21:00DuskAssigned To => Dusk
2015-09-14 21:00DuskStatusconfirmed => needs review
2015-10-04 10:59cobaltStatusneeds review => needs testing
2015-10-04 10:59cobaltTarget Version => 3.0
2015-10-04 10:59cobaltSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=8087#r8087
2015-10-04 10:59cobaltNote Added: 0013583
2015-10-05 18:58ZalewaNote Added: 0013615
2015-10-06 16:22DuskStatusneeds testing => resolved
2015-10-06 16:22DuskFixed in Version => 3.0
2015-10-06 16:22DuskResolutionopen => fixed
2016-11-20 21:31Edward-sanProduct Version3.0 => 3.0-beta
2016-11-20 21:31Edward-sanSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=9873#r9873
2018-09-30 21:57Blzut3Statusresolved => closed

Notes
(0013506)
Dusk   
2015-09-13 17:50   
Works fine for me.
(0013507)
Zalewa   
2015-09-13 17:55   
Attached CrashReport.
(0013508)
WaTaKiD   
2015-09-13 19:21   
backtrace for the provided crash report:

> zandronum.exe!FTexture::CopyTrueColorPixels(FBitmap * bmp=0x03abf574, int x=0, int y=0, int rotate=0, FCopyInfo * inf=0x00000000) Line 529 + 0x6 bytes C++
     zandronum.exe!CreateAlphaCursor(FTexture * cursorpic=0x00000000) Line 1685 C++
     zandronum.exe!I_SetCursor(FTexture * cursorpic=0x00000000) Line 1526 + 0x5 bytes C++
     zandronum.exe!cvarfunc_vid_cursor(FStringCVar & self={...}) Line 231 C++
     zandronum.exe!D_DoomLoop() Line 1285 C++


<WaTaKiD>so with this particular wad, the server will crash if vid_cursor is set to none or doomcurs, and m_use_mouse 0/1/2 has no effect fwiw
(0013511)
Dusk   
2015-09-14 00:30   
I can confirm the crash now, I had the cursor as "simple cursor" which makes the crash go away.
(0013516)
Dusk   
2015-09-14 21:00   
'https://bitbucket.org/Torr_Samaho/zandronum/pull-requests/24 [^]'
(0013583)
cobalt   
2015-10-04 10:59   
Issue addressed by commit 96424bbacf07: Fixed: The server would crash when trying to set the cursor (fixes 2456).
Committed by Benjamin Berkels [Torr Samaho] on Sunday 04 October 2015 12:54:44

Changes in files:

 src/d_main.cpp | 4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

(0013615)
Zalewa   
2015-10-05 18:58   
Tested in 3.0-alpha-r151004-2012. Server doesn't crash anymore.