Bug 5905 - SnapVector segfaults in 64 bit MSVC builds
Status: RESOLVED FIXED
Alias: None
Product: ioquake3
Classification: Unclassified
Component: Misc
Version: GIT MASTER
Hardware: PC Windows Vista
: P3 normal
Assignee: Zachary J. Slater
QA Contact: ioquake3 bugzilla mailing list
URL:
Depends on:
Blocks:
 
Reported: 2013-03-23 11:45 EDT by Matti
Modified: 2015-01-14 22:10:20 EST
1 user (show)

See Also:


Attachments
Make MASM SnapVector the same as the inline version (504 bytes, patch)
2013-03-23 11:45 EDT, Matti

Description Matti 2013-03-23 11:45:17 EDT
Created attachment 3337 [details]
Make MASM SnapVector the same as the inline version

When running a 64 bit MSVC build on Windows 7, the game segfaults after map load. This is caused by qsnapvectorsse in snapvector.asm (which is only used by MSVC, the makefile uses the inline .c files).

More specifically, there seems to be a leftover opcode at the start.

I don't know much about assembler, but it's the only difference between the snapvector.asm and snapvector.c versions, and the game builds and runs fine with the change.