On Tue, Jun 18, 2013 at 1:40 PM, Zhenbo Li <litimetal@xxxxxxxxx> wrote: > 比方说 > http://bugs.winehq.org/show_bug.cgi?id=14961 > 刚运行就出这样的提示 > wine: Unhandled page fault on write access to 0x00000000 at address > 0x1004912c (thread 0009), starting debugger... > Unhandled exception: page fault on write access to 0x00000000 in > 32-bit code (0x1004912c). > > 用 winedbg 的话,也根本不能启动程序。 > 请问,这样的 bug,一般是什么原因导致的?有什么解决方法吗? > > PS 刚才试了一下 wine VC++ 6.0,也有一样的问题。在 winecfg 里设成 win98 就解决了。但 clannad 并不能这样处理。 有下载链接吗? 并不是每个bug都有可能通过替换dll的方式来workaround的.很多bug都需要改动Wine的代码才能解决. 对于一启动就崩溃的程序,通常调试的时候都是从 WINEDEBUG=+tid,+relay,+seh 入手, 在日志中搜索第一个(或最接近崩溃的那个) :seh: , :seh: 出现之前的最后几次api调用就有可能是罪魁祸首,如果不是的话就得继续回溯阅读日志,需要根据具体实例分析. -- Regards, Qian Hong - http://www.winehq.org