Problem with solving captcha using slide captcha

radiaku
Posts: 5
Joined: Sat Feb 09, 2019 6:15 am

Problem with solving captcha using slide captcha

Post by radiaku »

What I use :

Code: Select all

 
-Windows information : windows 7 pro 64bits, etc. But I build the program for 32bits apps.
-Delphi 10.3 community edition, 32bits. 
- MDI browser vcl and simpe browser. ( not changing the code at all )
Problem:
Just browsing aliexpress.com for 20x times in fast speed and got the captcha, When I tried to solving the captcha. Its just crash.

check the video here:

Here the error:
Problem signature:
Problem Event Name: APPCRASH
Application Name: MDIBrowser.exe
Application Version: 1.0.0.0
Application Timestamp: 5f215755
Fault Module Name: libcef.dll
Fault Module Version: 83.5.0.0
Fault Module Timestamp: 5ee3e671
Exception Code: 80000003
Exception Offset: 02bedc73
OS Version: 6.1.7601.2.1.0.256.1
Locale ID: 1033
Additional Information 1: 0a9e
Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
Additional Information 3: 0a9e
Additional Information 4: 0a9e372d3b4ad19135b953a78882e789

Read our privacy statement online:
http://go.microsoft.com/fwlink/?linkid= ... cid=0x0409

If the online privacy statement is not available, please read our privacy statement offline:
C:\Windows\system32\en-US\erofflps.txt
My question is how to tracing this error? I dont have any clues for low level debugging.
User avatar
salvadordf
Posts: 3070
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: Problem with solving captcha using slide captcha

Post by salvadordf »

This post has instructions for debugging these kind of errors :
viewtopic.php?f=10&t=1050
radiaku
Posts: 5
Joined: Sat Feb 09, 2019 6:15 am

Re: Problem with solving captcha using slide captcha

Post by radiaku »

Okay let me try it first. but I just only have visual studio. is that enough or any tutorial debugging with visual studio?

Out of topic, I tried solving the captcha using briskbard browser, its just work flawlessly :D
User avatar
salvadordf
Posts: 3070
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: Problem with solving captcha using slide captcha

Post by salvadordf »

radiaku wrote: Wed Jul 29, 2020 2:02 pm Okay let me try it first. but I just only have visual studio. is that enough or any tutorial debugging with visual studio?
I've never tried to get the call stack with Visual Studio but I guess you can.
Installing WinDbg is fast and it doesn't take much disk space anyway.
radiaku wrote: Wed Jul 29, 2020 2:02 pm Out of topic, I tried solving the captcha using briskbard browser, its just work flawlessly :D
I'm glad to hear that! :D

Have you tried running that demo inside Delphi to see if the call stack originates in Delphi code ?
Are you using new request contexts for each child form?
radiaku
Posts: 5
Joined: Sat Feb 09, 2019 6:15 am

Re: Problem with solving captcha using slide captcha

Post by radiaku »

salvadordf wrote: Wed Jul 29, 2020 2:14 pm
I've never tried to get the call stack with Visual Studio but I guess you can.
Installing WinDbg is fast and it doesn't take much disk space anyway.
As far I know windows sdk is large space more than 3 giga ( I use ssd 128, that a lot space for me ).
salvadordf wrote: Wed Jul 29, 2020 2:14 pm I'm glad to hear that! :D

Have you tried running that demo inside Delphi to see if the call stack originates in Delphi code ?
Are you using new request contexts for each child form?
I run it inside delphi rio 10.3 . But its just crashing like that. But cause briskbard browser running fine than there is something that missing, but I dont know what, btw I using CEF4Delphi-83.0.4103.106, and cef_binary_83.5.0+gbf03589+chromium-83.0.4103.106_windows32
User avatar
salvadordf
Posts: 3070
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: Problem with solving captcha using slide captcha

Post by salvadordf »

radiaku wrote: Wed Jul 29, 2020 2:25 pm As far I know windows sdk is large space more than 3 giga ( I use ssd 128, that a lot space for me ).
The Windows SDK installer allows you to select which components it will download and install.
Select the debug tools only and it will only use a few MB.

The CEF debug symbols on the other hand are huge when you decompress them (about 2GB).
radiaku wrote: Wed Jul 29, 2020 2:25 pm I run it inside delphi rio 10.3 . But its just crashing like that. But cause briskbard browser running fine than there is something that missing, but I dont know what, btw I using CEF4Delphi-83.0.4103.106, and cef_binary_83.5.0+gbf03589+chromium-83.0.4103.106_windows32
Right now I'm busy but I'll try to reproduce this error when I have some free time.
radiaku
Posts: 5
Joined: Sat Feb 09, 2019 6:15 am

Re: Problem with solving captcha using slide captcha

Post by radiaku »

salvadordf wrote: Wed Jul 29, 2020 3:10 pm
The Windows SDK installer allows you to select which components it will download and install.
Select the debug tools only and it will only use a few MB.

The CEF debug symbols on the other hand are huge when you decompress them (about 2GB).
I already done it with your ways , sir. and still got error.

I record it, in case I messed up with process debugging.
Check the video is here: https://youtu.be/sSPreTg-9XQ ( but I change it using simple browser, cause its easier to settings for debugging.) I got nothing on call stack, No clues avaible
salvadordf wrote: Wed Jul 29, 2020 3:10 pm Right now I'm busy but I'll try to reproduce this error when I have some free time.

Thanks you , I really appreciate it. Your base code is really helping me to change to delphi and freepascal. ( C# programmer is here ). Cheers.
User avatar
salvadordf
Posts: 3070
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: Problem with solving captcha using slide captcha

Post by salvadordf »

I tried the latest CEF4Delphi version with CEF 84.3.7 on several pages with the "slide to verify" control and I couldn't make it crash. :shock:

I browsed their products for 15 minutes and I tried to login several times on aliexpress.com. They show you a "slide to verify" captcha in the 4th or 5th attempt and it didn't crash when I moved it to the right.

I also tried this page with identical results :
https://passport.aliexpress.com/ac/h5/p ... me=aebuyer

I used several demos : MDIBrowser, SimpleBrowser2 and MiniBrowser.

Please, download the latest CEF4Delphi version from GitHub and try it. If you still get a crash please share the URL.

PS : I used Windows 10 (64 bits) but I compiled the demos in 32 bits with Delphi 10.4 + Patch 3
User avatar
salvadordf
Posts: 3070
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: Problem with solving captcha using slide captcha

Post by salvadordf »

I forgot to add several things you can try :
  • If you have installed an IME keyboard in your system then try disabling it or uninstalling it during the tests.
  • If you think some other programs in your system may affect the tests try disabling or uninstalling them. For example : antivirus.
  • Try to do the tests in a different PC with a fully updated Windows 10 operating system.
radiaku
Posts: 5
Joined: Sat Feb 09, 2019 6:15 am

Re: Problem with solving captcha using slide captcha

Post by radiaku »

salvadordf wrote: Wed Jul 29, 2020 8:38 pm I tried the latest CEF4Delphi version with CEF 84.3.7 on several pages with the "slide to verify" control and I couldn't make it crash. :shock:

I browsed their products for 15 minutes and I tried to login several times on aliexpress.com. They show you a "slide to verify" captcha in the 4th or 5th attempt and it didn't crash when I moved it to the right.

I also tried this page with identical results :
https://passport.aliexpress.com/ac/h5/p ... me=aebuyer

I used several demos : MDIBrowser, SimpleBrowser2 and MiniBrowser.

Please, download the latest CEF4Delphi version from GitHub and try it. If you still get a crash please share the URL.

PS : I used Windows 10 (64 bits) but I compiled the demos in 32 bits with Delphi 10.4 + Patch 3
confirmed, no crash after update CEF 84.3.7 ( master version ) github. I dont know why, but 83 is messed up. Btw, is briskbard 2.0 based on 8.4?
Post Reply