View Issue Details

IDProjectCategoryView StatusLast Update
0003115The Dark ModCodingpublic31.05.2014 04:12
Reportertels Assigned Totaaaki  
PrioritynormalSeverityminorReproducibilitysometimes
Status resolvedResolutionfixed 
Product VersionTDM 1.07 
Target VersionTDM 1.08Fixed in VersionTDM 1.08 
Summary0003115: .lin (pointfile) cannot be written if maps/ does not exist
Description* Install any FM
* try to dmap a test map that does leak
* the point file will be tried to be written to "maps/mapname.lin"

This fails if the maps/ directory does not exist, which it usually does not inside doom3/.
TagsNo tags attached.

Relationships

related to 0003057 resolvedtaaaki Deleting FM folder of installed mission causes DarkMod to break/crash 
related to 0003125 resolvedtaaaki Revising Framework/FileSystem for clarity 
related to 0003739 resolvedtaaaki dmap fails to delete pointfile 

Activities

tels

tels

06.05.2012 12:44

reporter   ~0004550

When currentfm was anoott, the pointfile was tried to be written to "doom3/anoott/maps/".

If this directory does not exist, dmap crashes.

The fix for this bug might be in tools/compilers/dmap/leakfile.cpp around line 64, but it hints at a deeper problem.

My hunch is that such an error is also a problem for 00003057 e.g. there is some code that tries to reference doom3/FMNAME instead of doom3/fms/FMNAME and if the directory is not there, crashes.
tels

tels

06.05.2012 12:46

reporter   ~0004551

The code transforms "maps/snow.lin" into "/home/te/.doom3/anoott/maps/snow.lin" by calling ospath = fileSystem->RelativePathToOSPath( filename ); and I think "RelativePathToOSPath()" is just broken.
tels

tels

11.05.2012 14:20

reporter   ~0004569

Should be fixed with revision #5446.

Issue History

Date Modified Username Field Change
06.05.2012 11:58 tels New Issue
06.05.2012 12:42 tels Relationship added related to 0003057
06.05.2012 12:44 tels Note Added: 0004550
06.05.2012 12:46 tels Note Added: 0004551
09.05.2012 19:22 taaaki Relationship added related to 0003125
11.05.2012 14:07 tels Assigned To => tels
11.05.2012 14:07 tels Status new => assigned
11.05.2012 14:07 tels Severity normal => minor
11.05.2012 14:07 tels Product Version => TDM 1.07
11.05.2012 14:07 tels Target Version => TDM 1.08
11.05.2012 14:07 tels Assigned To tels => taaaki
11.05.2012 14:20 tels Note Added: 0004569
11.05.2012 14:20 tels Status assigned => resolved
11.05.2012 14:20 tels Fixed in Version => TDM 1.08
11.05.2012 14:20 tels Resolution open => fixed
31.05.2014 04:12 SteveL Relationship added related to 0003739