Weird Crashing Problem with my map

Discussion in 'Mapping Questions & Discussion' started by Noted Literally, Aug 16, 2009.

  1. Noted Literally

    Noted Literally L1: Registered

    Messages:
    4
    Positive Ratings:
    0
    I've been having an issue with TF2 crashing when playing on the map that I've made. Most consistantly, it crashes when the sniper's jarate is used from a certain point (screenshot from area attached). However, I've had it randomly crash when it is used elsewhere, as well as one time when I was just running around as scout. Nothing like this happens on any other map I've played, so it has to be something about my custom map.

    I've checked the windows event logs, most consistantly there seems to be a fault in something called d3d9.dll_unloaded, exception code 0xc0000005. (I've got bits of a couple of logs down at the bottom of the post.)

    I was thinking this might be a performance issue, but there doesn't seem to be a particular issue in that area, see attached screenshot for a look at the showbudget panel in that area. Shooting rockets as the soldier didn't cause the crash either, and I would think that those would be more expensive?

    Windows Error logs:
    Code:
    Faulting application hl2.exe, version 0.0.0.0, time stamp 0x470c11ae, faulting module d3d9.dll_unloaded, version 0.0.0.0, time stamp 0x4791a65d, exception code 0xc0000005, fault offset 0x6d7cc76f, process id 0xcc4, application start time 0x01ca1ecb0be82c03.
    
    The program hl2.exe version 0.0.0.0 stopped interacting with Windows and was closed. To see if more information about the problem is available, check the problem history in the Problem Reports and Solutions control panel. Process ID: c48 Start Time: 01ca1ec9dcebc7a3 Termination Time: 97
    
    Faulting application hl2.exe, version 0.0.0.0, time stamp 0x470c11ae, faulting module d3d9.dll_unloaded, version 0.0.0.0, time stamp 0x4791a65d, exception code 0xc0000005, fault offset 0x6c3dc76f, process id 0xc0c, application start time 0x01ca1ec95e0d9993.
    
    The program hl2.exe version 0.0.0.0 stopped interacting with Windows and was closed. To see if more information about the problem is available, check the problem history in the Problem Reports and Solutions control panel. Process ID: c74 Start Time: 01ca1ec8e5020d13 Termination Time: 95
    
    The program hl2.exe version 0.0.0.0 stopped interacting with Windows and was closed. To see if more information about the problem is available, check the problem history in the Problem Reports and Solutions control panel. Process ID: 12e0 Start Time: 01ca1e396c30438d Termination Time: 75
    
    Faulting application hl2.exe, version 0.0.0.0, time stamp 0x470c11ae, faulting module d3d9.dll_unloaded, version 0.0.0.0, time stamp 0x4791a65d, exception code 0xc0000005, fault offset 0x6e44c76f, process id 0x11f0, application start time 0x01ca1e37ec24d58d.
    
    Faulting application hl2.exe, version 0.0.0.0, time stamp 0x470c11ae, faulting module unknown, version 0.0.0.0, time stamp 0x00000000, exception code 0xc0000005, fault offset 0x00000000, process id 0xc18, application start time 0x01ca1e0fa2b62fcd.
    
    Here's the compile log as well, the only error is one I've been consistently getting with the skybox texture, I don't see why that would cause any problems.
    Code:
    materialPath: c:\program files (x86)\steam\steamapps\noted_literally\team fortress 2\tf\materials
    Loading C:\Program Files (x86)\Steam\steamapps\noted_literally\sourcesdk_content\tf\mapsrc\cp_serenity_a2a.vmf
    Patching WVT material: maps/cp_serenity_a2a/dev/dev_blendmeasure_wvt_patch
    Patching WVT material: maps/cp_serenity_a2a/nature/blendgroundtograss007_nodetail_wvt_patch
    fixing up env_cubemap materials on brush sides...
    0...1...2...3...4...5...6...7...8...9...100...1...2...3...4...5...6...7...8...9...10Processing areas...done (0)
    Building Faces...done (0)
    Chop Details...done (1)
    Find Visible Detail Sides...
    Merged 1644 detail faces...done (1)
    Merging details...done (0)
    FixTjuncs...
    PruneNodes...
    WriteBSP...
    done (0)
    writing C:\Program Files (x86)\Steam\steamapps\noted_literally\sourcesdk_content\tf\mapsrc\cp_serenity_a2a.prt...Building visibility clusters...
    done (0)
    *** Error: Skybox vtf files for skybox/sky_trainyard_01 weren't compiled with the same size texture and/or same flags!
    Can't load skybox file skybox/sky_trainyard_01 to build the default cubemap!
    *** Error: Skybox vtf files for skybox/sky_trainyard_01 weren't compiled with the same size texture and/or same flags!
    Can't load skybox file skybox/sky_trainyard_01 to build the default cubemap!
    Finding displacement neighbors...
    Finding lightmap sample positions...
    Displacement Alpha : 0...1...2...3...4...5...6...7...8...9...10
    Building Physics collision data...
    done (4) (645023 bytes)
    Placing detail props : 0...1...2...3...4...5...6...7...8...9...10
    Compacting texture/material tables...
    Reduced 1288 texinfos to 883
    Reduced 71 texdatas to 63 (1731 bytes to 1414)
    Writing C:\Program Files (x86)\Steam\steamapps\noted_literally\sourcesdk_content\tf\mapsrc\cp_serenity_a2a.bsp
    12 seconds elapsed
    
    
    
    materialPath: c:\program files (x86)\steam\steamapps\noted_literally\team fortress 2\tf\materials
    Loading C:\Program Files (x86)\Steam\steamapps\noted_literally\sourcesdk_content\tf\mapsrc\cp_serenity_a2a.vmf
    Patching WVT material: maps/cp_serenity_a2a/dev/dev_blendmeasure_wvt_patch
    Patching WVT material: maps/cp_serenity_a2a/nature/blendgroundtograss007_nodetail_wvt_patch
    fixing up env_cubemap materials on brush sides...
    0...1...2...3...4...5...6...7...8...9...100...1...2...3...4...5...6...7...8...9...10Processing areas...done (0)
    Building Faces...done (0)
    Chop Details...done (0)
    Find Visible Detail Sides...
    Merged 1644 detail faces...done (1)
    Merging details...done (0)
    FixTjuncs...
    PruneNodes...
    WriteBSP...
    done (0)
    writing C:\Program Files (x86)\Steam\steamapps\noted_literally\sourcesdk_content\tf\mapsrc\cp_serenity_a2a.prt...Building visibility clusters...
    done (0)
    *** Error: Skybox vtf files for skybox/sky_trainyard_01 weren't compiled with the same size texture and/or same flags!
    Can't load skybox file skybox/sky_trainyard_01 to build the default cubemap!
    *** Error: Skybox vtf files for skybox/sky_trainyard_01 weren't compiled with the same size texture and/or same flags!
    Can't load skybox file skybox/sky_trainyard_01 to build the default cubemap!
    Finding displacement neighbors...
    Finding lightmap sample positions...
    Displacement Alpha : 0...1...2...3...4...5...6...7...8...9...10
    Building Physics collision data...
    done (5) (645023 bytes)
    Placing detail props : 0...1...2...3...4...5...6...7...8...9...10
    Compacting texture/material tables...
    Reduced 1288 texinfos to 883
    Reduced 71 texdatas to 63 (1731 bytes to 1414)
    Writing C:\Program Files (x86)\Steam\steamapps\noted_literally\sourcesdk_content\tf\mapsrc\cp_serenity_a2a.bsp
    12 seconds elapsed
    
    
    
    2 threads
    reading c:\program files (x86)\steam\steamapps\noted_literally\sourcesdk_content\tf\mapsrc\cp_serenity_a2a.bsp
    reading c:\program files (x86)\steam\steamapps\noted_literally\sourcesdk_content\tf\mapsrc\cp_serenity_a2a.prt
     920 portalclusters
    2851 numportals
    0...1...2...3...4...5...6...7...8...9...100...1...2...3...4...5...6...7...8...9...10Optimized: 3759 visible clusters (0.00%)
    Total clusters visible: 405821
    Average clusters visible: 441
    Building PAS...
    Average clusters audible: 913
    visdatasize:209314  compressed from 220800
    writing c:\program files (x86)\steam\steamapps\noted_literally\sourcesdk_content\tf\mapsrc\cp_serenity_a2a.bsp
    20 minutes, 31 seconds elapsed
    
    
    
    [Reading texlights from 'lights.rad']
    [34 texlights parsed from 'lights.rad']
    
    Loading c:\program files (x86)\steam\steamapps\noted_literally\sourcesdk_content\tf\mapsrc\cp_serenity_a2a.bsp
    7890 faces
    7 degenerate faces
    1967267 square feet [283286496.00 square inches]
    550 Displacements
    391246 Square Feet [56339552.00 Square Inches]
    7883 patches before subdivision
    103963 patches after subdivision
    63 direct lights
    0...1...2...3...4...5...6...7...8...9...100...1...2...3...4...5...6...7...8...9...10transfers 10740032, max 1215
    transfer lists:  81.9 megs
    0...1...2...3...4...5...6...7...8...9...10	Bounce #1 added RGB(560409, 388359, 303574)
    0...1...2...3...4...5...6...7...8...9...10	Bounce #2 added RGB(119142, 56475, 34811)
    0...1...2...3...4...5...6...7...8...9...10	Bounce #3 added RGB(31920, 9876, 5113)
    0...1...2...3...4...5...6...7...8...9...10	Bounce #4 added RGB(11673, 3189, 1738)
    0...1...2...3...4...5...6...7...8...9...10	Bounce #5 added RGB(4426, 937, 483)
    0...1...2...3...4...5...6...7...8...9...10	Bounce #6 added RGB(2139, 504, 264)
    0...1...2...3...4...5...6...7...8...9...10	Bounce #7 added RGB(953, 171, 82)
    0...1...2...3...4...5...6...7...8...9...10	Bounce #8 added RGB(538, 112, 54)
    0...1...2...3...4...5...6...7...8...9...10	Bounce #9 added RGB(263, 39, 17)
    0...1...2...3...4...5...6...7...8...9...10	Bounce #10 added RGB(161, 28, 13)
    0...1...2...3...4...5...6...7...8...9...10	Bounce #11 added RGB(84, 10, 4)
    0...1...2...3...4...5...6...7...8...9...10	Bounce #12 added RGB(53, 8, 3)
    0...1...2...3...4...5...6...7...8...9...10	Bounce #13 added RGB(29, 3, 1)
    0...1...2...3...4...5...6...7...8...9...10	Bounce #14 added RGB(19, 2, 1)
    0...1...2...3...4...5...6...7...8...9...10	Bounce #15 added RGB(10, 1, 0)
    0...1...2...3...4...5...6...7...8...9...10	Bounce #16 added RGB(7, 1, 0)
    0...1...2...3...4...5...6...7...8...9...10	Bounce #17 added RGB(4, 0, 0)
    0...1...2...3...4...5...6...7...8...9...10	Bounce #18 added RGB(3, 0, 0)
    0...1...2...3...4...5...6...7...8...9...10	Bounce #19 added RGB(1, 0, 0)
    0...1...2...3...4...5...6...7...8...9...10	Bounce #20 added RGB(1, 0, 0)
    Build Patch/Sample Hash Table(s).....Done<0.0691 sec>
    0...1...2...3...4...5...6...7...8...9...10FinalLightFace Done
    0 of 0 (0% of) surface lights went in leaf ambient cubes.
    0...1...2...3...4...5...6...7...8...9...10Writing leaf ambient...done
    Ready to Finish
    
    Object names       Objects/Maxobjs  Memory / Maxmem  Fullness 
    ------------       ---------------  ---------------  -------- 
    models                  68/1024         3264/49152    ( 6.6%) 
    brushes               1750/8192        21000/98304    (21.4%) 
    brushsides           12622/65536      100976/524288   (19.3%) 
    planes                5678/65536      113560/1310720  ( 8.7%) 
    vertexes             14584/65536      175008/786432   (22.3%) 
    nodes                 2178/65536       69696/2097152  ( 3.3%) 
    texinfos               883/12288       63576/884736   ( 7.2%) 
    texdata                 63/2048         2016/65536    ( 3.1%) 
    dispinfos              550/0           96800/0        ( 0.0%) 
    disp_verts          126502/0         2530040/0        ( 0.0%) 
    disp_tris           221696/0          443392/0        ( 0.0%) 
    disp_lmsamples     1180504/0         1180504/0        ( 0.0%) 
    faces                 7890/65536      441840/3670016  (12.0%) 
    hdr faces                0/65536           0/3670016  ( 0.0%) 
    origfaces             6039/65536      338184/3670016  ( 9.2%) 
    leaves                2247/65536       71904/2097152  ( 3.4%) 
    leaffaces             9698/65536       19396/131072   (14.8%) 
    leafbrushes           3673/65536        7346/131072   ( 5.6%) 
    areas                    2/256            16/2048     ( 0.8%) 
    surfedges            64597/512000     258388/2048000  (12.6%) 
    edges                40632/256000     162528/1024000  (15.9%) 
    LDR worldlights         63/8192         5544/720896   ( 0.8%) 
    HDR worldlights          0/8192            0/720896   ( 0.0%) 
    leafwaterdata            1/32768          12/393216   ( 0.0%) 
    waterstrips           1162/32768       11620/327680   ( 3.5%) 
    waterverts               0/65536           0/786432   ( 0.0%) 
    waterindices         25212/65536       50424/131072   (38.5%) 
    cubemapsamples           8/1024          128/16384    ( 0.8%) 
    overlays                25/512          8800/180224   ( 4.9%) 
    LDR lightdata         [variable]     5599064/0        ( 0.0%) 
    HDR lightdata         [variable]           0/0        ( 0.0%) 
    visdata               [variable]      209314/16777216 ( 1.2%) 
    entdata               [variable]       90640/393216   (23.1%) 
    LDR ambient table     2247/65536        8988/262144   ( 3.4%) 
    HDR ambient table     2247/65536        8988/262144   ( 3.4%) 
    LDR leaf ambient     13921/65536      389788/1835008  (21.2%) 
    HDR leaf ambient      2247/65536       62916/1835008  ( 3.4%) 
    occluders                0/0               0/0        ( 0.0%) 
    occluder polygons        0/0               0/0        ( 0.0%) 
    occluder vert ind        0/0               0/0        ( 0.0%) 
    detail props          [variable]           1/12       ( 8.3%) 
    static props          [variable]           1/16142    ( 0.0%) 
    pakfile               [variable]        1635/0        ( 0.0%) 
    physics               [variable]      645023/4194304  (15.4%) 
    physics terrain       [variable]      394960/1048576  (37.7%) 
    
    Level flags = 0
    
    Total triangle count: 24985
    Writing c:\program files (x86)\steam\steamapps\noted_literally\sourcesdk_content\tf\mapsrc\cp_serenity_a2a.bsp
    2 minutes, 42 seconds elapsed
    
     
  2. Bockagon

    Bockagon L3: Member

    Messages:
    147
    Positive Ratings:
    72
    • Thanks Thanks x 1
  3. Noted Literally

    Noted Literally L1: Registered

    Messages:
    4
    Positive Ratings:
    0
    I just had a friend try running the map on his computer, it also crashed once he used jarate. Neither of us has had issues with this on any other maps.

    Also did another few things, tried using a demoman's grenades from the same spot, which also caused a crash.
     
  4. Vigilante212

    Vigilante212 L7: Fancy Member

    Messages:
    481
    Positive Ratings:
    33
    I think someone said they were having issue slike this with power of 4 displacements
     
    • Thanks Thanks x 2
  5. Noted Literally

    Noted Literally L1: Registered

    Messages:
    4
    Positive Ratings:
    0
    This fixed it! Thanks so much.
     
  6. Vigilante212

    Vigilante212 L7: Fancy Member

    Messages:
    481
    Positive Ratings:
    33