Zandronum Chat on our Discord Server Get the latest version: 3.1
Source Code

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002085Zandronum[All Projects] Bugpublic2015-01-29 21:132018-09-30 21:38
Reporteribm5155 
Assigned ToTorr Samaho 
PrioritynormalSeveritycrashReproducibilityalways
StatusclosedResolutionfixed 
PlatformX64OSwindowsOS Version8.1
Product Version2.0 
Target Version2.1Fixed in Version2.1 
Summary0002085: Crash when loading a corrupt archive
DescriptionI got this message when the file "zdoom-dhtp-20130802.pk3" was inside skins folder, removing it stoped the problem.

Note:first I was only getting this image when I was trying to run it from doom builder, but I went to zandronum folder to run it just vanilla, and now I only get a crash report and not this pic anymore
'http://i.imgur.com/33playZ.png [^]'

It bugs when it reach the loading zdoomhtp line.
Steps To ReproduceInclude zdoom-dhtp-20130802.pk3 inside skins folder, have fun with software or gl
Additional InformationTested on zandronum 2.0 - 150118-1152.

Link to download the file:http://www.wad-archive.com/wad/de3e2dd0dcc6dc40144c352050df8117

On the official website there's a new version of hd texture pack, but idk if that will bug too'http://dhtp.freelanzer.com/?page_id=17 [^]'
Attached Fileszip file icon CrashReport.zip [^] (15,902 bytes) 2015-01-29 21:13

- Relationships
has duplicate 0002153closed Zandronum crashes with Address not mapped to object (signal 11) 
has duplicate 0002154closed Crash when clicking on server 

-  Notes
User avatar (0011564)
ibm5155 (reporter)
2015-01-29 21:15
edited on: 2015-01-29 21:21

here's the zandronum "log"
OS: Windows NT (NT 6.2) Build 9200
    
M_LoadDefaults: Load system defaults.
Gameinfo scan took 5 ms
W_Init: Init WADfiles.
 adding C:/Program Files (x86)/Zandronum/zandronum.pk3, 694 lumps
 adding C:/Program Files (x86)/Zandronum/DOOM2.WAD, 2919 lumps
 adding C:/Program Files (x86)/Zandronum/skins/zdoom-dhtp-20130802.pk3
C:/Program Files (x86)/Zandronum/skins/zdoom-dhtp-20130802.pk3: ZIP file corrupt!

EDIT:ofc I didnt noticed the file was corrupt...
but, just saying, that didn't happened on 1.3, only on 2.0 it gave me this fatal error.

User avatar (0011565)
DevilHunter (reporter)
2015-01-29 22:13

So.. the pk3 itself was corrupt? if so, this isn't a bug.. Also, this does not happen to me.
User avatar (0011567)
ibm5155 (reporter)
2015-01-30 17:59

Yes the pk3 was corrupted, but what I mean is, with zandronum 1.3 it just ignored the corrupted file and unload it, while here it crash if he found a corrupt pk3 file...

But, looking at zdoom 2.7, the same thing happened.
Well, I just think it's weird if you try to load a corrupt file you just crash the app and not just free the loaded file :S, but, it can be closed, since the same happens on 2.7.1
User avatar (0011568)
DrinkyBird (developer)
2015-01-30 19:44

I think there's still a bug. It should unload the PK3 as soon as it realises it's corrupt, and not crash.
User avatar (0011569)
Edward-san (developer)
2015-01-30 19:51

ibm5155, can you reproduce the crash with the last build of zdoom, in'http://devbuilds.drdteam.org/zdoom/ [^]' ?
User avatar (0011573)
ibm5155 (reporter)
2015-01-31 00:33
edited on: 2015-03-08 21:06

zdoom-2.8pre-287-g1e50a0a.7z crash (fatal error window)
zdoom-2.8pre-362-g79abe2d.7z crash (zdoom is not responding window)
zdoom-2.8pre-382-ga9bea7d.7z crash (runtime error)
zdoom-2.8pre-412-g584dd78.7z (corrupted build)
zdoom-2.8pre-412-g584dd78.7z crash (zdoom is not responding window)
zdoom-2.8pre-420-g3f8c723.7z crash (zdoom is not responding window)
zdoom-2.8pre-423-g94c4f38.7z works
zdoom-2.8pre-530-gbd5bf2a.7z works
zdoom-2.8pre-1132-gb69edbb.7z works

Problem fixed on:zdoom-2.8pre-423-g94c4f38.7z

EDIT:idk if I'm right (it's a bit confused the build release and the changelog on zdoom page), but, I think the problem was fixed here
'http://zdoom.org/Changelog/5c6ec94/files [^]'

User avatar (0012001)
Torr Samaho (administrator)
2015-04-03 10:50

Can somebody provide a broken archive so that I can test this? The file linked to above works fine for me.
User avatar (0012091)
Torr Samaho (administrator)
2015-04-12 07:19

This crash was reported three times. Yet, nobody is willing to provide an archive that causes the crash?
User avatar (0012094)
ibm5155 (reporter)
2015-04-12 14:40
edited on: 2015-04-12 14:41

Here we go :D
'http://www.mediafire.com/download/pc2wj1wsbjd4xfa/skulltag_actors_1-1-1+-+corrupt.pk3 [^]'

EDIT:Well, it's kinda easy, take a working pk3 file, open notepad++, add some stuff on the middle of the code and tadah :D

User avatar (0012096)
Torr Samaho (administrator)
2015-04-13 18:30

The latest ZDoom build from'http://devbuilds.drdteam.org/zdoom/ [^]' (2.8pre-1399-g7217c69) crashes for me with your example wad. So looks like this problem is not fixed in ZDoom yet.
User avatar (0012098)
Edward-san (developer)
2015-04-13 19:18
edited on: 2015-04-13 19:37

To me it sounds like ibm5155 made the wrong example wad. ibm5155, did you lose the old file which was working for you in latest zdoom?

[edit] anyways, I can confirm it crashes with zdoom, so I filed a bug report here.

User avatar (0012099)
cobalt (updater)
2015-04-13 19:49

Issue addressed by commit 732cf98c3d10: out of sequence fix backport from ZDoom commit 3fa89b4e9fb9579b2b77927997dbc41c4cc876e8: Fixed crash on attempt to load corrupted data file Instance of FileReader is no longer destructed when header of data file is valid but complete loading of file fails Loading of truncated .zip file is the simplest test case -- This partially fixes 2085. Truncated .zip files seem to work now, but files where some garbage is added in the middle still cause a crash.
Committed by Benjamin Berkels [Torr Samaho] on Monday 13 April 2015 20:01:41

Changes in files:
 src/resourcefiles/file_7z.cpp | 2 ++
 src/resourcefiles/file_grp.cpp | 2 ++
 src/resourcefiles/file_pak.cpp | 2 ++
 src/resourcefiles/file_rff.cpp | 2 ++
 src/resourcefiles/file_wad.cpp | 2 ++
 src/resourcefiles/file_zip.cpp | 2 ++
 6 files changed, 12 insertions(+), 0 deletions(-)
User avatar (0012102)
Edward-san (developer)
2015-04-13 20:51

Graf fixed the issue with the current example wad with this commit.
User avatar (0012104)
ibm5155 (reporter)
2015-04-13 23:02
edited on: 2015-04-13 23:46

I think I've lost the main file that was causing the bug, but, good to know I already found another one rofl...

But I'm 70% right the file is on my first backup HDD (that thing is from the time of skulltag 97 hehe)

EDIT: WOW, I actually found after some minutes of research (windows search software) and found a desktop area over my external hdd, well, I'll upload this 127mb test xD


This is the file that I was talking about before:http://www.mediafire.com/download/m3zskjaqzwa40jk/zdoom-dhtp-20130802.pk3


EDIT2 : Status "needs testing", well, if I get some zandronum.exe I can test it :p (or some linux build [I can't remember right now if my linux vm is working :S ])

User avatar (0012107)
Edward-san (developer)
2015-04-14 12:56

It should not be 'needs testing' yet...
User avatar (0012136)
cobalt (updater)
2015-04-18 16:54

Issue addressed by commit ad971d3c9e89: out of sequence fix backport from ZDoom commit 6fc63daabd41a4dffbd63045ee72f1f3eb07bf82: - fixed: Zips whose central directory cannot be read need to print an error message. -- This fixes 2085.
Committed by Benjamin Berkels [Torr Samaho] on Saturday 18 April 2015 18:21:52

Changes in files:
 src/resourcefiles/file_zip.cpp | 22 +++++++++++++++-------
 1 files changed, 15 insertions(+), 7 deletions(-)
User avatar (0012164)
Hypnotoad (reporter)
2015-04-24 01:19

Fix works fine when testing with IBM's wad, Zandronum logs it as corrupt in console and doesn't load it.

Issue Community Support
This issue is already marked as resolved.
If you feel that is not the case, please reopen it and explain why.
Supporters: DrinkyBird
Opponents: No one explicitly opposes this issue yet.

- Issue History
Date Modified Username Field Change
2015-01-29 21:13 ibm5155 New Issue
2015-01-29 21:13 ibm5155 File Added: CrashReport.zip
2015-01-29 21:15 ibm5155 Note Added: 0011564
2015-01-29 21:21 ibm5155 Note Edited: 0011564 View Revisions
2015-01-29 22:13 DevilHunter Note Added: 0011565
2015-01-30 17:59 ibm5155 Note Added: 0011567
2015-01-30 19:44 DrinkyBird Note Added: 0011568
2015-01-30 19:51 Edward-san Note Added: 0011569
2015-01-31 00:33 ibm5155 Note Added: 0011573
2015-01-31 00:42 ibm5155 Note Edited: 0011573 View Revisions
2015-02-15 21:08 Dusk Target Version => 2.0
2015-03-08 21:06 Dusk Note Edited: 0011573 View Revisions
2015-03-09 04:51 Dusk Target Version 2.0 =>
2015-04-02 17:59 Torr Samaho Relationship added has duplicate 0002153
2015-04-02 18:01 Torr Samaho Summary Runtime Error! R6025 - Pure Virtual Function Call => Crash when loading a corrupt archive
2015-04-02 18:01 Torr Samaho Product Version 2.0-beta => 2.0
2015-04-03 10:50 Torr Samaho Note Added: 0012001
2015-04-03 12:25 Torr Samaho Relationship added has duplicate 0002154
2015-04-12 07:19 Torr Samaho Note Added: 0012091
2015-04-12 14:40 ibm5155 Note Added: 0012094
2015-04-12 14:41 ibm5155 Note Edited: 0012094 View Revisions
2015-04-13 18:30 Torr Samaho Note Added: 0012096
2015-04-13 19:18 Edward-san Note Added: 0012098
2015-04-13 19:37 Edward-san Note Edited: 0012098 View Revisions
2015-04-13 19:37 Edward-san Note Edited: 0012098 View Revisions
2015-04-13 19:48 cobalt Assigned To => Torr Samaho
2015-04-13 19:48 cobalt Status new => needs testing
2015-04-13 19:48 cobalt Target Version => 2.1
2015-04-13 19:48 cobalt Description Updated View Revisions
2015-04-13 19:48 cobalt Additional Information Updated View Revisions
2015-04-13 19:49 cobalt Note Added: 0012099
2015-04-13 20:51 Edward-san Note Added: 0012102
2015-04-13 23:02 ibm5155 Note Added: 0012104
2015-04-13 23:07 ibm5155 Note Edited: 0012104 View Revisions
2015-04-13 23:34 ibm5155 Note Edited: 0012104 View Revisions
2015-04-13 23:46 ibm5155 Note Edited: 0012104 View Revisions
2015-04-14 12:56 Edward-san Note Added: 0012107
2015-04-14 12:56 Edward-san Status needs testing => confirmed
2015-04-14 13:29 Edward-san Status confirmed => new
2015-04-18 16:54 cobalt Status new => needs testing
2015-04-18 16:54 cobalt Note Added: 0012136
2015-04-24 01:19 Hypnotoad Note Added: 0012164
2015-04-24 03:59 Dusk Status needs testing => resolved
2015-04-24 03:59 Dusk Fixed in Version => 2.1
2015-04-24 03:59 Dusk Resolution open => fixed
2018-09-30 21:38 Blzut3 Status resolved => closed






Questions or other issues? Contact Us.

Links


Copyright © 2000 - 2024 MantisBT Team
Powered by Mantis Bugtracker