View Issue Details

IDProjectCategoryView StatusLast Update
0002570The Dark ModSEEDpublic27.10.2011 05:16
Reportertels Assigned Totels  
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionfixed 
Product VersionTDM 1.03 
Target VersionTDM 1.04Fixed in VersionTDM 1.04 
Summary0002570: SEED: segfault (crash) when you use combine=0 with func_statics from map geometry
DescriptionSEED: segfault (crash) when you use combine=0 with func_statics from map geometry
Steps To ReproduceCreate a SEED entity, plus build a brush in your map, convert the brush to func_static, then link it from your SEED. Set combine on the SEED (so it should create multiple entities instead of one).
Additional InformationSEED atdm_seed_3: Adding skin 'nature/long_grass_dense' (idx 1) to class.
SEED atdm_seed_3: Entity has random_skin 'nature/heath_calluna_red, '''.
 start 0 numChars 28
SEED atdm_seed_3: Adding random skin 'nature/heath_calluna_red' (idx 2) to class.
SEED atdm_seed_3: Adding random skin '' (idx 0) to class.
SEED atdm_seed_3: Adding class atdm:nature_heath_calluna.
Using clip from rendermodel ptr=0x0x11fc8778 bounds -9 -8 -8 -> 9 8 8
SEED atdm_seed_3: Adding class atdm:seed_dummy_static.
SEED atdm_seed_3: Overall score: 2. Max. entity count: 7
SEED atdm_seed_3: Origin 128.00 -512.00 64.00
SEED atdm_seed_3: Seed 1777095246 Size 384.00 192.00 128.00 Axis -0 0 0.
SEED atdm_seed_3: Creating 3 entities of class atdm:seed_dummy_static (0000001 index 0, seed 11060348).
SEED atdm_seed_3: Creating 3 entities of class atdm:nature_heath_calluna (#0 index 1, seed 17235823).
SEED atdm_seed_3: Preparing 6 entities took 0 seconds.
SEED atdm_seed_3: combine = 0, skipping combine step.
loaded collision model models/darkmod/junk/plank_short.lwo
signal caught: Segmentation fault
TagsNo tags attached.

Activities

tels

tels

23.01.2011 15:39

reporter   ~0003479

The crash occured because the ModelGenerator was accessing "scale" without checking first if it is NULL.

Fixed with revision 0004457.

Issue History

Date Modified Username Field Change
23.01.2011 14:08 tels New Issue
23.01.2011 14:08 tels Status new => assigned
23.01.2011 14:08 tels Assigned To => tels
23.01.2011 15:29 tels Target Version => TDM 1.04
23.01.2011 15:39 tels Note Added: 0003479
23.01.2011 15:39 tels Status assigned => resolved
23.01.2011 15:39 tels Fixed in Version => TDM 1.04
23.01.2011 15:39 tels Resolution open => fixed
29.01.2011 13:08 tels Category Coding => SEED
27.10.2011 05:16 greebo Status resolved => closed