[Bug 7785] New: wotr (retail): Autoplay.exe produces segfault

Wine Bugs wine-bugs at winehq.org
Sun Mar 18 07:13:09 CDT 2007


           Summary: wotr (retail): Autoplay.exe produces segfault
           Product: Wine
           Version: CVS
          Platform: PC-x86-64
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: wine-files
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: rmh at aybabtu.com

Running 'd:\Autoplay.exe' (with win32 path! see bug 7663) results in segfault at
_dxinst.exe.  I've debugged the problem to some extent, it goes as follows:

  - Autoplay.exe runs Setup.exe
  - Setup.exe runs _dxinst.exe with " -wd " (work directory) as parameter.
  - Since _dxinst.exe found " -wd ", it expects a second parameter, which should
contain 'd:' (checked on WinXP), but can't find it.  Segfaults since it isn't
prepared to fail gracefuly when this happens.

I found that the second param being empty is probably caused by:

0009:Call kernel32.MultiByteToWideChar(00000000,00000000,00124fc1
"",ffffffff,00431298,00000000) ret=004012d9

whose "" argument in the code corresponds to:

:004012CB FF742418                push dword[esp+18]

I suppose I would have to trace back to see where this 18(%esp) comes from,
unless someone can suggest a better/quicker way.  Anyway, I run out of time for
now.  Will look into that later.

Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

More information about the wine-bugs mailing list