http://bugs.winehq.org/show_bug.cgi?id=8533
Summary: Unhandled page fault on write access
Product: Wine
Version: 0.9.37.
Platform: PC-x86-64
OS/Version: Linux
Status: UNCONFIRMED
Severity: major
Priority: P2
Component: wine-binary
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: vladimiroski(a)gmail.com
Using Winsock.dll calls from VB6 with this module:
http://www.freevbcode.com/ShowCode.asp?ID=6485
Every program I had made with this module works just fine in Windows XP SP2 (to
be specific).
In linux I got an "segmentation fault (core dumped)" running Wine in normal use
mode and a "Unhandled page fault on write access" when using sudo to run wine.
I'll attach the log produced by wine to see if you can fix this bug (in case it
were a wine bug of course).
Using Wine in Windows XP or Windows 2000 mode, Kubuntu Feisty Fawn.
PD: Excuse my english.
--
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.
http://bugs.winehq.org/show_bug.cgi?id=2467
vitaliy(a)kievinfo.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |minor
------- Additional Comments From vitaliy(a)kievinfo.com 2007-28-05 19:55 -------
Andreas Hase <hasen_a(a)gmx.de> you are asking this in the wrong place. Besides
not being able to read( *do not PASTE* logs and back traces) , you treating
bugzilla as a forum WHICH IT IS NOT!
--
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.
http://bugs.winehq.org/show_bug.cgi?id=8525
------- Additional Comments From Hubmasterflex(a)hotmail.com 2007-28-05 19:49 -------
I don't notice anything wrong with the cashier window. However, i'm using
OpenSuSe 10.2 and Wine 0.9.37.
--
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.
http://bugs.winehq.org/show_bug.cgi?id=4654
------- Additional Comments From focht(a)gmx.net 2007-28-05 19:42 -------
Hello,
--- quote ---
I thought even Wine's declaration of $I10_OUTPUT may be wrong.
--- quote ---
Indeed, completely wrong ;-)
Following is the likely $I10_OUTPUT prototype and a working test case for you
(windows msvcrt.dll).
I had to trick M$ VC++ to accept 10-byte long double data (long double is always
mapped to 64 bit double).
--- snip sample code ---
#include <windows.h>
#include <stdio.h>
typedef struct _I10_DATA
{
unsigned short decimal_point_pos; /* decimal-point position */
char sign; /* sign indicator: "-", " " */
unsigned char digits; /* number of digits returned (excluding NULL term) */
char digit_buf[1]; /* storage to digits string (including NULL terminator) */
} I10_DATA, *PI10_DATA;
/*
10-byte long double is a IEEE754 extended precision float
long double:
SEEEEEEEEEEEEEEE
1FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
double:
SEEEEEEEEEEEFFFFFFFFFFFFFFFFFFFF
FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
Where S=sign, E=exp, F=fractional part.
The long double exponent is biased by 16383 and the doubles is biased by 1023.
*/
/*
* struct to fool the idiot compiler into not generating floating point
* instructions when copying and pushing [long] double values
*/
typedef struct
{
unsigned char ldbl[10];
} LONGDOUBLE;
/*
"I10_OUTPUT" prototype
LONGDOUBLE arg1 = long double value (10 bytes)
long arg2 = number of desired digits
long arg3 = flag? (0)
PI10_DATA arg4 = pointer to result data
returns: 1 if ok, 0 if NAN, INFINITY ...
*/
typedef long (*PFN_I10_OUTPUT)(LONGDOUBLE, long, long, PI10_DATA);
int main(int argc, char* argv[])
{
HMODULE hMod = LoadLibrary( "msvcrt.dll");
PFN_I10_OUTPUT pfn = (PFN_I10_OUTPUT) GetProcAddress( hMod, "$I10_OUTPUT");
int num_digits = 7;
PI10_DATA buf = (PI10_STRUCT) HeapAlloc( GetProcessHeap(), 0,
sizeof(I10_DATA)+num_digits);
LONGDOUBLE ld;
double dblNum = -12.3456789;
_asm {
fld dblNum;
fstp TBYTE PTR [ld];
}
long res = pfn( ld, num_digits, 0, buf);
printf( "digits: %d, decimal point: %d, sign: '%c', digits: '%s'\n",
buf->digits, buf->decimal_point_pos, buf->sign, buf->digit_buf);
/* digits: 7, decimal point: 2, sign: '-', digits: '1234568' */
HeapFree( GetProcessHeap(), 0, buf);
FreeLibrary( hMod);
return 0;
}
--- snip sample code ---
If you need more prototypes keep asking ... though that float stuff is not
really my preferred domain :-)
Regards
--
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.
http://bugs.winehq.org/show_bug.cgi?id=2467
------- Additional Comments From hasen_a(a)gmx.de 2007-28-05 19:27 -------
How do you guys get battle.net to work at all? I've got wine-0.9.33 and I can't
connect with the current patch.
--
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.
http://bugs.winehq.org/show_bug.cgi?id=5439
------- Additional Comments From Hubmasterflex(a)hotmail.com 2007-28-05 19:17 -------
This problem has been ongoing for some time now. If you moved from one menu to
another, one of the menus permanently stayed on until Shareaza closed. It's been
improved somewhat some time ago; I forgot when. Nowadays, if you move 2 or 3
menus over, one stays on permanently. The overall problem has been ongoing since
the buffer overrun error was fixed in Shareaza. (Forgot when that happened, too)
--
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.
http://bugs.winehq.org/show_bug.cgi?id=4756
------- Additional Comments From lemsto(a)voila.fr 2007-28-05 18:54 -------
Button doesnt get ungrayed with .37, but using riched20.dll solved it. How can i
generate logs your asking for?
--
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.
http://bugs.winehq.org/show_bug.cgi?id=5413
vitaliy(a)kievinfo.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |LATER
------- Additional Comments From vitaliy(a)kievinfo.com 2007-28-05 18:40 -------
Technically it's not fixed. Wine still the problem. But I will close it as
"later" if anyone is interested in reopening it in the future.
--
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.
http://bugs.winehq.org/show_bug.cgi?id=7870
------- Additional Comments From saulius.krasuckas(a)elst.vtu.lt 2007-28-05 18:26 -------
Setup process finished here successfully, but
warning message box did appear for me, too.
BTW, Ben, is sound working on your linux box?
Now I remembered similar thing was happening to
me with the same symptoms when my RH8->FC6
upgraded box was starting-up without appropriate
ALSA kernel drivers support.
Plus I've tried installation on WinME just now.
It fails immediately with error msgbox about
"Insufficient privilegies to install this app."
and then some warning msgbox appears. The latter
contains readable text also. Sound system is
working on WinME.
Looks same as your issue, except the game's
error handler is probably not finding its string
resources.
But, well, sound system wasn't working in my WinXP
(XP has no drivers for my old ISA card), where
ArmA made no complaints and was ready to install.
May that be combined sound + privilegies issue
(maybe NtQuerySecurityObject related) ?
--
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.