c-smile / sciter-sdk

Sciter is an embeddable HTML/CSS/scripting engine
http://sciter.com
Other
2.11k stars 223 forks source link

Crash in sciter.exe (x64, WIndows 7) #123

Open X-C3LL opened 5 years ago

X-C3LL commented 5 years ago

Hi!

I found a small crash in sciter.exe (x64 binary downloaded from https://sciter.com/sdk/sciter-sdk.zip). I tried to debug it and generate a minimal file that triggers the issue:

Crash.html

<form>
<font>
<content>
<time name=""></tt>
</content>
<iframe src="x">A</iframe>

Faulting instruction:

000007fe`eb0fad7e ff5010          call    qword ptr [rax+10h] ds:00000000`03fc08e0=feeefeeefeeefeee

Registers:

0:000> r
rax=0000000003fc08d0 rbx=00000000002fd6d0 rcx=0000000003f2c830
rdx=0000000000000000 rsi=00000000002fd6b8 rdi=0000000003f2c830
rip=000007feeb0fad7e rsp=00000000002fd610 rbp=000000000883dc80
 r8=0000000000008000  r9=000000000000002c r10=0000000000430268
r11=00000000002fd0e8 r12=000000000883dc80 r13=00000000004e1a60
r14=0000000008901640 r15=00000000002fd710
iopl=0         nv up ei pl nz na po nc
cs=0033  ss=002b  ds=002b  es=002b  fs=0053  gs=002b             efl=00010206
sciter_7feeb0e0000+0x1ad7e:

It was tested in a Windows 7 (x64).

I hope this information can be helpful for you.

c-smile commented 5 years ago

Thanks, I've fixed it here. Will appear in the next build.