cmm/browser/webview: try to load http://youtube.com/ causes "Too many redirects." and "Error: unsupported processor instruction" #22

Open
opened 2024-03-09 19:45:55 +01:00 by Sweetbread · 4 comments
Owner

If I write a link to a heavy page like "http://youtube.com" in the WebView address bar and press Enter, it opens a dozen of Download Managers which download something unknown??? After they complete downloading something, I also get a "Too many redirects." notification message - and many of "Error: unsupported processor instruction", which alone is a sign that there's something wrong in WebView source code. Please take a look


floppy121

If I write a link to a heavy page like "http://youtube.com" in the WebView address bar and press Enter, it opens a dozen of Download Managers which download something unknown??? After they complete downloading something, I also get a "Too many redirects." notification message - and many of "Error: unsupported processor instruction", which alone is a sign that there's something wrong in WebView source code. Please take a look --- *floppy121*
Sweetbread added the
Kind
Bug
Priority
Low
labels 2024-03-09 19:45:55 +01:00
Sweetbread added the
Category/Applications
label 2024-03-10 20:55:19 +01:00

Please assign it to me.

Please assign it to me.
Author
Owner

Please assign it to me.

You are not a contributor, that's why you are not in list to assign

> Please assign it to me. You are not a contributor, that's why you are not in list to assign

I did not have the "Error: unsupported processor instruction", but I have these other errors instead:

https://pasteboard.co/1WgxmVqUqQeY.png
https://pasteboard.co/h1FtlngaIVGL.png

As you can see, WebView tries to request a lot files, and then we get various errors. The"requested %i MB" one is related to some kind of Canvas draw buffer, "SearchCAP" is related to finding more free blocks in the file system, and "SOCKET_notify" looks like callback from SOCKET to thread that crashed?

Since youtube.com is redirected to https://www.youtube.com, the request goes through the proxy. If you make the same request through the proxy in a browser, you get very strange result too.

https://pasteboard.co/pTFKfYr6gar3.png

I'll try to figure out exactly what files are being requested.

I wonder if there are better ways to debug beyond the debug-board and the debugger. The debugger is hard to use because I cannot set a breakpoint at functions or at C-- source code level; I was wondering if there is a C-- equivalent to C's asm instruction where I can just put a hlt where I want a breakpoint? Also, what does the _tools do in the root?

I did not have the "Error: unsupported processor instruction", but I have these other errors instead: https://pasteboard.co/1WgxmVqUqQeY.png https://pasteboard.co/h1FtlngaIVGL.png As you can see, WebView tries to request a lot files, and then we get various errors. The"requested %i MB" one is related to some kind of Canvas draw buffer, "SearchCAP" is related to finding more free blocks in the file system, and "SOCKET_notify" looks like callback from SOCKET to thread that crashed? Since youtube.com is redirected to https://www.youtube.com, the request goes through the proxy. If you make the same request through the proxy in a browser, you get very strange result too. https://pasteboard.co/pTFKfYr6gar3.png I'll try to figure out exactly what files are being requested. I wonder if there are better ways to debug beyond the debug-board and the debugger. The debugger is hard to use because I cannot set a breakpoint at functions or at C-- source code level; I was wondering if there is a C-- equivalent to C's asm instruction where I can just put a `hlt` where I want a breakpoint? Also, what does the `_tools` do in the root?
C-- overview: http://kolibri-n.org/inf/hll/hll C-- dev process: https://habr.com/en/companies/kolibrios/articles/303582/ C-- documentation: https://www.c--sphinx.narod.ru/c--doc.htm
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: KolibriOS/kolibrios#22
No description provided.