[Bug 38505] New: Unhandled exception: page fault on read access to 0x exiting a vb5 program

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Apr 29 04:34:04 CDT 2015


https://bugs.winehq.org/show_bug.cgi?id=38505

            Bug ID: 38505
           Summary: Unhandled exception: page fault on read access to 0x
                    exiting a vb5 program
           Product: Wine
           Version: unspecified
          Hardware: x86
                OS: Linux
            Status: UNCONFIRMED
          Severity: blocker
          Priority: P2
         Component: user32
          Assignee: wine-bugs at winehq.org
          Reporter: joluinfante at gmail.com
      Distribution: ---

I’m trying to execute sijpv12.exe (a fiscal program from Argentina), and, when
I try to exit it, the wine crash.
I did try with wine 1.4.1, 1.7.x, and the problem is not repaired.

I did see the problem is here:

static LRESULT call_window_proc( HWND hwnd, UINT msg, WPARAM wp, LPARAM lp,
LRESULT *result, void *arg )
{
WNDPROC proc = arg;

USER_CheckNotLock();

hwnd = WIN_GetFullHandle( hwnd );
if (TRACE_ON(relay))
DPRINTF( "%04x:Call window proc %p (hwnd=%p,msg=%s,wp=%08lx,lp=%08lx)\n",
GetCurrentThreadId(), proc, hwnd, SPY_GetMsgName(msg, hwnd), wp, lp );
FIXME("%04x:Call window proc %p (hwnd=%p,msg=%s,wp=%08lx,lp=%08lx)\n",
GetCurrentThreadId(), proc, hwnd, SPY_GetMsgName(msg, hwnd), wp, lp );

*result = WINPROC_wrapper( proc, hwnd, msg, wp, lp ); <<<<<- The problem is
here

if (TRACE_ON(relay))
DPRINTF( "%04x:Ret window proc %p (hwnd=%p,msg=%s,wp=%08lx,lp=%08lx)
retval=%08lx\n",
GetCurrentThreadId(), proc, hwnd, SPY_GetMsgName(msg, hwnd), wp, lp, *result );
return *result;
}

I did "repair" (using wine1.5), adding this to except.c:
430a431,433
>         case EXCEPTION_READ_FAULT:
>             TerminateProcess( GetCurrentProcess(), 1 );
>             break;
This works for me, because I can complete the exit, but, is not appropiate.
To reproduce the problem:

Download siap application from:
http://www.afip.gob.ar/aplicativos/siap/archivos/siap.zip
Install It (It is a vb5 application, only next, next with default options).

Download sicoss application from:
http://www.afip.gob.ar/Aplicativos/seguridadSocial/archivos/SICOSS_39_R1-Master3.zip
Install It (like siap)

Start the application siap.
Add information required for business.
Select business, and click on sicoss (right, upper icon).
Add minimal information required.
Try to exit. Your program hung.

I'll send more information later, including screen shots, but this the problem.

TIA

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.


More information about the wine-bugs mailing list