Peter Beutner wrote:
Tyler Nielsen schrieb:
Ivan Leo Puoti wrote: Yeah, the safedisc patch didn't seem to help the issue at all. I really hope this isn't debugger checks failing, but I still wonder why a seemingly valid command (movaps) is returning a privileged instruction exception.
google says: movaps will cause an exception when trying to access data not aligned to 16-byte boundary.
though i don't really know what you can do about that :(
Thanks for finding that. It looks like the movaps command that is failing is:
(gdb) disassemble bar Dump of assembler code for function bar: 0x080495a0 <bar+0>: movaps %xmm0,(%ecx)
So looking at the winedbg dump:
Register dump: CS:0073 SS:007b DS:007b ES:007b FS:003b GS:0033 EIP:00872230 ESP:7fbfee40 EBP:7fbfef64 EFLAGS:00210202( - 00 - -RI1) EAX:75065bec EBX:00f77bc0 ECX:00f78080 EDX:00f78080 ESI:60890008 EDI:75003280
It seems like ECX is 00f78080. I think that's on a 16 byte boundary, but I'm not positive.
Thanks for all the help everyone, Tyler