[Bug 30563] WinBuilder v082: Error "Invalid floating point operation." occuring when running application.

wine-bugs at winehq.org wine-bugs at winehq.org
Wed May 2 09:34:00 CDT 2012


http://bugs.winehq.org/show_bug.cgi?id=30563

--- Comment #8 from Anastasius Focht <focht at gmx.net> 2012-05-02 09:34:00 CDT ---
Hello,

for reference some debugging information.

--- snip ---
Wine-dbg>bt
Backtrace:
=>0 0x7d0947b1 num_set_val+0x12(v=0x8fc190, d=1335966126433.000000)
[/home/focht/projects/wine/wine-git/dlls/jscript/jscript.h:416] in jscript
(0x008fbf50)
  1 0x7d0977a3 Date_getTime+0xb4(ctx=0x357dad8, jsthis=0x8fc03c, flags=0x1,
dp=0x8fc044, retv=0x8fc190, ei=0x8fc2d0)
[/home/focht/projects/wine/wine-git/dlls/jscript/date.c:1064] in jscript
(0x008fbf90)
  2 0x7d09dc2f invoke_prop_func+0x139(This=0x37fa700, jsthis=0x37fa700,
prop=0x37fa7b0, flags=0x1, dp=0x8fc1a0, retv=0x8fc190, ei=0x8fc2d0,
caller=(nil)) [/home/focht/projects/wine/wine-git/dlls/jscript/dispex.c:400] in
jscript (0x008fc080)
  3 0x7d09ff06 jsdisp_call+0xd6(disp=0x37fa700, id=0x2, flags=0x1, dp=0x8fc1a0,
retv=0x8fc190, ei=0x8fc2d0)
[/home/focht/projects/wine/wine-git/dlls/jscript/dispex.c:1065] in jscript
(0x008fc0d0)
  4 0x7d0a00c2 disp_call+0xbf(ctx=0x357dad8, disp=0x37fa700, id=0x2, flags=0x1,
dp=0x8fc1a0, retv=0x8fc190, ei=0x8fc2d0)
[/home/focht/projects/wine/wine-git/dlls/jscript/dispex.c:1098] in jscript
(0x008fc160)
  5 0x7d0a3c58 interp_call_member+0x159(ctx=0x37e1d80)
[/home/focht/projects/wine/wine-git/dlls/jscript/engine.c:1050] in jscript
(0x008fc1d0)
  6 0x7d0a7ed3 enter_bytecode+0x10d(ctx=0x357dad8, code=0x3598c70,
func=0x3598c94, ei=0x8fc2d0, ret=0x8fc278)
[/home/focht/projects/wine/wine-git/dlls/jscript/engine.c:2570] in jscript
(0x008fc230)
  7 0x7d0a828b exec_source+0x1ef(ctx=0x37e1d80, code=0x3598c70, func=0x3598c94,
from_eval=0, ei=0x8fc2d0, retv=(nil))
[/home/focht/projects/wine/wine-git/dlls/jscript/engine.c:2647] in jscript
(0x008fc2a0)
  8 0x7d0afa8c exec_global_code+0xbf(This=0x3541248, code=0x3598c70)
[/home/focht/projects/wine/wine-git/dlls/jscript/jscript.c:112] in jscript
(0x008fc320)
...
  11 0x7d45b20f parse_extern_script+0x169(script_host=0x3598870,
src="http://www.statcounter.com/counter/counter_xhtml.js")
[/home/focht/projects/wine/wine-git/dlls/mshtml/script.c:673] in mshtml
(0x008fc4a0)
  12 0x7d45b3c2 parse_script_elem+0xcb(script_host=0x3598870,
nsscript=0x3599e60)
[/home/focht/projects/wine/wine-git/dlls/mshtml/script.c:712] in mshtml
(0x008fc4f0)
  13 0x7d45ba00 doc_insert_script+0x127(window=0x1954340, nsscript=0x3599e60)
[/home/focht/projects/wine/wine-git/dlls/mshtml/script.c:831] in mshtml
(0x008fc540)
  14 0x7d425717 run_insert_script+0x1b2(doc=0x357bb88, script_iface=0x3599e60,
parser_iface=0x354b360)
[/home/focht/projects/wine/wine-git/dlls/mshtml/mutation.c:318] in mshtml
(0x008fc5a0)
  15 0x7d425b2f nsRunnable_Run+0x39(iface=0x354d390)
[/home/focht/projects/wine/wine-git/dlls/mshtml/mutation.c:404] in mshtml
(0x008fc5d0)
  16 0x69f9f115 in xul (+0x35f114) (0x008fc650)
  17 0x7d426414
nsDocumentObserver_AttemptToExecuteScript+0x11c(iface=0x357bcc4,
aContent=0x3599e20, aParser=0x354b360, aBlock="")
[/home/focht/projects/wine/wine-git/dlls/mshtml/mutation.c:650] in mshtml
(0x008fc6a0)
  18 0x69fb7aac in xul (+0x377aab) (0x0354b3d8)
  19 0x6af62ca4 in xul (+0x1322ca3) (0x6af62c28)
  20 0x6a28700c in xul (+0x64700b) (0x6a287048)
  21 0x8910245c (0x891cec83)
...
--- snip ---

Relevant disassembly:

--- snip ---
7D29479F     55              PUSH EBP
7D2947A0     89E5            MOV EBP,ESP
7D2947A2     83EC 10         SUB ESP,10
7D2947A5     8B45 0C         MOV EAX,DWORD PTR SS:[EBP+0C]
7D2947A8     8945 F8         MOV DWORD PTR SS:[EBP-8],EAX
7D2947AB     8B45 10         MOV EAX,DWORD PTR SS:[EBP+10]
7D2947AE     8945 FC         MOV DWORD PTR SS:[EBP-4],EAX
7D2947B1     DD45 F8         FLD QWORD PTR SS:[EBP-8]
7D2947B4     D97D F6         FSTCW WORD PTR SS:[EBP-0A]
7D2947B7     0FB745 F6       MOVZX EAX,WORD PTR SS:[EBP-0A]
7D2947BB     B4 0C           MOV AH,0C                  ; truncate
7D2947BD     66:8945 F4      MOV WORD PTR SS:[EBP-0C],AX
7D2947C1     D96D F4         FLDCW WORD PTR SS:[EBP-0C] ; new CW = 0x0C72
7D2947C4     DB5D F0         FISTP DWORD PTR SS:[EBP-10]
7D2947C7     D96D F6         FLDCW WORD PTR SS:[EBP-0A] ; old CW = 0x1372
7D2947CA     8B45 F0         MOV EAX,DWORD PTR SS:[EBP-10]
7D2947CD     8945 F0         MOV DWORD PTR SS:[EBP-10],EAX
...
--- snip ---

FPU register context when the exception is triggered (restore of old CW
0x1372):

--- snip ---
ST0 valid 1.3359666621630000000e+12
ST1 empty 0.0
ST2 empty 0.0
ST3 empty 0.0
ST4 empty 1.0000000000000000000
ST5 empty 0.0
ST6 empty 0.0
ST7 empty 2447031.0000000000000
               3 2 1 0      E S P U O Z D I
FST 0D8A  Cond 1 0 0 0  Err 1 0 1 0 0 0 0 1 (EQ)
FCW 0C72  Prec ZERO,24  Mask    1 1 0 0 1 0
Last cmnd 0023:7D2947C4 jscript.7D2947C4 
--- snip ---

Regards

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
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