s*****w 发帖数: 1527 | 1 We develop a SW, after install and reboot.
The 1st time it runs the app, there's a "just-in-time" error.
So hook it to the VS 2005, from the stack i can see our app calls "new",
it calls malloc/heap etc.
Now if i reboot the pc, retry all these, everything is ok now.
Our app has that "user access control" thing, if turn off our UAC, the app
is ok as well.
I'm totally lost and looking for help, how come "new" can fail ?
Any hints pls ? | n**p 发帖数: 1150 | 2 heap is corrupted by your app probably. use app verifier.
【在 s*****w 的大作中提到】 : We develop a SW, after install and reboot. : The 1st time it runs the app, there's a "just-in-time" error. : So hook it to the VS 2005, from the stack i can see our app calls "new", : it calls malloc/heap etc. : Now if i reboot the pc, retry all these, everything is ok now. : Our app has that "user access control" thing, if turn off our UAC, the app : is ok as well. : I'm totally lost and looking for help, how come "new" can fail ? : Any hints pls ?
| s*****w 发帖数: 1527 | 3 But why it only shows up the 1st time this app is installed ?
Note after the install, we have to reboot the PC.
【在 n**p 的大作中提到】 : heap is corrupted by your app probably. use app verifier.
| w*i 发帖数: 970 | 4 光听你这么讲没有debug很难知道原因。
【在 s*****w 的大作中提到】 : But why it only shows up the 1st time this app is installed ? : Note after the install, we have to reboot the PC.
| s*****w 发帖数: 1527 | 5 we used windbg and found the bug, thx !
【在 w*i 的大作中提到】 : 光听你这么讲没有debug很难知道原因。
|
|