View Issue Details

IDProjectCategoryView StatusLast Update
0000753FSSCP---------public2006-01-30 07:56
ReporterGoober5000 Assigned Totaylor  
PriorityhighSeveritycrashReproducibilityalways
Status resolvedResolutionfixed 
Summary0000753: CTD when FRED loads
DescriptionModeloctant.cpp, line 218. Interp_verts is NULL, so it crashes. It looks like it's not getting allocated. Assigning to taylor since he messed with Interp_verts recently. :)

It doesn't happen in FS2, but there doesn't appear to be a Fred_running if branch that would do this.
Additional InformationCall stack:

moff_defpoints(unsigned char * 0x0505f804) line 218 + 11 bytes
model_octant_find_faces_sub(polymodel * 0x0503f88c, model_octant * 0x05040acc, void * 0x0505f804, int 1) line 354 + 9 bytes
model_octant_find_faces(polymodel * 0x0503f88c, model_octant * 0x05040acc) line 394 + 19 bytes
model_octant_create(polymodel * 0x0503f88c) line 453 + 26 bytes
model_load(char * 0x01cb22fc, int 5, model_subsystem * 0x04de5b48, int 1, int 0) line 3101 + 9 bytes
ship_create(matrix * 0x00cfddd8 struct matrix vmd_identity_matrix, vec3d * 0x00e5f408 struct vec3d vmd_zero_vector, int 0, char * 0x00000000) line 7879 + 36 bytes
create_ship(matrix * 0x00cfddd8 struct matrix vmd_identity_matrix, vec3d * 0x00e5f408 struct vec3d vmd_zero_vector, int 0) line 911 + 19 bytes
create_player(int 0, vec3d * 0x00e5f408 struct vec3d vmd_zero_vector, matrix * 0x00cfddd8 struct matrix vmd_identity_matrix, int 0, int 1) line 1135 + 17 bytes
reset_mission() line 1243 + 21 bytes
create_new_mission() line 1235
fred_init() line 816
CFREDView::OnCreate(tagCREATESTRUCTA * 0x0366f390) line 5107 + 5 bytes
CWnd::OnWndMsg(unsigned int 1, unsigned int 0, long 57078672, long * 0x0366f258) line 1811 + 13 bytes
CWnd::WindowProc(unsigned int 1, unsigned int 0, long 57078672) line 1585 + 30 bytes
AfxCallWndProc(CWnd * 0x04441510 {CFREDView hWnd=???}, HWND__ * 0x000008b8, unsigned int 1, unsigned int 0, long 57078672) line 215 + 26 bytes
AfxWndProc(HWND__ * 0x000008b8, unsigned int 1, unsigned int 0, long 57078672) line 368
KERNEL32! bff7363b()
KERNEL32! bff94407()
TagsNo tags attached.

Activities

taylor

2006-01-28 00:46

administrator   ~0004513

Ok, I see the problem areas. I'll clean it up some time tonight and commit the fixes tomorrow.

taylor

2006-01-30 07:56

administrator   ~0004557

Should be fixed now.

taylor

2006-01-30 07:56

administrator   ~0004558

Fixered.

Issue History

Date Modified Username Field Change
2006-01-27 23:29 Goober5000 New Issue
2006-01-28 00:46 taylor Note Added: 0004513
2006-01-30 07:56 taylor Note Added: 0004557
2006-01-30 07:56 taylor Status assigned => resolved
2006-01-30 07:56 taylor Resolution open => fixed
2006-01-30 07:56 taylor Note Added: 0004558