roytam1 / basilisk55

Other
20 stars 5 forks source link

[Hang, BUG] Serpent frequently hangs on youtube, etc sites (on WinXP x86). Need debug build with PDB files #48

Open IDA-RE-things opened 6 months ago

IDA-RE-things commented 6 months ago

My installation of Basilisk Serpent frequently hangs on youtube, etc sites (may be js-heavy loaded sites) (my machine is WinXP x86 Intel Core i3, if this important) How to reproduce on my machine: Open several youtube pages (4-5 for ex.) in background from start page. After some time (sufficient to load pages), User interface still dont response. ProcessExplorer shows high CPU usage for one thread of basilisk.exe process. "mozjs.dll" at the top of stack of user-mode code.(not counting kernel-mode). Only kill of task helps. I have updated to 2024.02.03 -- same behaviour. Browsing, Hang, killing task, Reopening, ... Browsing, Hang,... Loop. It is my usual actions now, as several month :crazy:

To developer: Can you create debug version of Basilisk Serpent with PDB files, so I wll try to examine whats happened ?

roytam1 commented 3 months ago

Which of Serpent you're referring to? I can only able to provide PDB of latest build.

IDA-RE-things commented 3 months ago

It was with January builds, and all previous builds, so its build-independent issue. Dont know if it was fixed, I have not installed updates after that (after january). Yes, please provide the PDB files for current build(s), and I will see its behaviour, And if it will occured again, will watch it. Also it will help in exploring of slow loading of bunch of tabs on startup (opened sites from previous session). (its another problem)

roytam1 commented 3 months ago

here you go. SP55: https://o.rthost.win/basilisk/basilisk55-win32-git-20240615-b8bfd21cf-xpmod.pdb.7z SP52: https://o.rthost.win/basilisk/basilisk52-g4.8.win32-git-20240615-3219d2d-uxp-d835b252d7-xpmod.pdb.7z

IDA-RE-things commented 3 months ago

UPD: the problem still here.. I tryed use build basilisk52-g4.8.win32-git-20240615. After I opened 2 tabs in background from main youtube page, by clicking its, the browser switched to some loop, and added 2 tabs, with status "loading", and nothing else.. I see in ProcessExplorer the callstacks. its xul.dll, and then mozjs.dll After some minutes, its "unhanged" (un-freezed) .. But after I switched to this youtube tabs, it hangs again. In such case I want to download source code for both DLL's and watch which functions do it. Is the source code matches repository here ? (because repository called basilisk55, but I use basilisk52)

Also I have question: Can we somehow turn off all JavaScript execution on all inactive tabs (may be afer some time, after page loading) ? I use NoScript extension for Serpent. May be it interferes with it, I dont know.

roytam1 commented 3 months ago

Is the source code matches repository here ?

https://github.com/roytam1/UXP/tree/custom