Basilisk remains active after exit (Linux) Topic is solved

Board for discussions around the Basilisk web browser.

Moderator: Basilisk-Dev

User avatar
fatboy
Astronaut
Astronaut
Posts: 556
Joined: 2017-12-19, 08:03
Location: Canada

Basilisk remains active after exit (Linux)

Unread post by fatboy » 2023-01-31, 23:08

Good Day,

I have Basilisk installed via the tarball extraction method on two different Linux computers. Both are Debian based, mxlinux and Antix Linux. The issue below happens on both machines.

I first noticed this issue when I was using the photonic theme, I would quit Basilisk and noticed that it kept running in the background and refused to launch. Another issue I had was, after you install an addon that requires a browser restart, you click restart and nothing happens. Again, due to basilisk running in the background. It could also be that basilisk takes "long" to terminate, after 5 min of waiting one can relaunch basilisk after closing it.

The error console shows no errors?

EDIT: This issue also seems true for Pale Moon. Must be the latest update which introduced a regression

Thanks
Systemd Free - MX Linux, Antix Linux & Artix Linux

User avatar
moonbat
Knows the dark side
Knows the dark side
Posts: 4942
Joined: 2015-12-09, 15:45
Contact:

Re: Basilisk remains active after exit (Linux)

Unread post by moonbat » 2023-01-31, 23:46

fatboy wrote:
2023-01-31, 23:08
Must be the latest update which introduced a regression
No regression as far as Pale Moon is concerned, it quits just fine.
"One hosts to look them up, one DNS to find them and in the darkness BIND them."

Image
Linux Mint 21 Xfce x64 on HP i5-5200 laptop, 12 GB RAM.
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX

User avatar
fatboy
Astronaut
Astronaut
Posts: 556
Joined: 2017-12-19, 08:03
Location: Canada

Re: Basilisk remains active after exit (Linux)

Unread post by fatboy » 2023-01-31, 23:54

I want to upload a screenshot, but I can't. http code error
Systemd Free - MX Linux, Antix Linux & Artix Linux

User avatar
Mæstro
Lunatic
Lunatic
Posts: 463
Joined: 2019-08-13, 00:30
Location: Casumia

Re: Basilisk remains active after exit (Linux)

Unread post by Mæstro » 2023-01-31, 23:56

Try uploading to Cockfile or Catbox.
Browser: Pale Moon (Pusser’s repository for Debian)
Operating System: Linux Mint Debian Edition 4 (amd64)
※Receiving Debian 10 LTS security upgrades
Hardware: HP Pavilion DV6-7010 (1400 MHz, 6 GB)
Formerly user TheRealMaestro: æsc is the best letter.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35474
Joined: 2011-08-28, 17:27
Location: Motala, SE
Contact:

Re: Basilisk remains active after exit (Linux)

Unread post by Moonchild » 2023-02-01, 00:21

Off-topic:
fatboy wrote:
2023-01-31, 23:54
I want to upload a screenshot, but I can't. http code error
Sorry about that. Should be fixed now. too tight checks on user posting ;P
As for not shutting down... I believe basilisk also uses the process watchdog which will crash itself after like a minute if the process refuses to close. That should(?) also be active on Linux, allowing you to restart it without having to manually kill it.
It's possible an extension is preventing proper shutdown too; see if any of the ones you are using could be the issue?
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

User avatar
Basilisk-Dev
Lunatic
Lunatic
Posts: 316
Joined: 2022-03-23, 16:41
Location: Chamber of Secrets
Contact:

Re: Basilisk remains active after exit (Linux)

Unread post by Basilisk-Dev » 2023-02-01, 03:49

I was able to replicate this once with the current Basilisk release on Fedora 37. In the instance in which I was able to replicate it I had multiple sites open including YouTube, the Pale Moon Forum, eBay, the Pale Moon repo, Reddit, and GitHub. I had about 30 tabs open. Sadly I didn't think to take a list of the sites I had open when I did it, but looking at my browser history for today those are all of the sites I visited today.

I had to manually kill the basilisk process.

I haven't been able to replicate this again, I tried a clean profile, I tried running my profile in safe mode, and I tried running in my regular profile with all of my extensions enabled.
Basilisk Project Owner

viewtopic.php?f=61&p=230756

User avatar
fatboy
Astronaut
Astronaut
Posts: 556
Joined: 2017-12-19, 08:03
Location: Canada

Re: Basilisk remains active after exit (Linux)

Unread post by fatboy » 2023-02-01, 16:06

Here is the message I am getting
pmquit.jpg
EDIT: So it seems that the restart issue happens within the first minute of quitting. Like Moonchild said with the process terminating after a minute. However, this still creates an issue when one needs to restart the browser after a new addon has been installed.
Or when you change theme and need to restart (Pale Moon seems fine when I need to restart after theme change, but Basilisk still has this running process issue).

EDIT: When switching from the default Basilisk theme to Photonic, the browser restarts, but switching from photonic to default is where the browser refuses to restart and I have to wait for the background service to kill itself before launching Basilisk again
Systemd Free - MX Linux, Antix Linux & Artix Linux

User avatar
Wastelander
Apollo supporter
Apollo supporter
Posts: 34
Joined: 2022-12-28, 15:19

Re: Basilisk remains active after exit (Linux)

Unread post by Wastelander » 2023-02-09, 09:19

I experience the same issue, but only when I change the theme to Photonic, switching back to default resolves the hang.
No systemd - Joborun Linux

User avatar
Lootyhoof
Themeist
Themeist
Posts: 1568
Joined: 2012-02-09, 23:35
Location: United Kingdom

Re: Basilisk remains active after exit (Linux)

Unread post by Lootyhoof » 2023-02-10, 16:50

Seems to be a regression specific to 2023.01.26, but I'm not entirely sure why since Pale Moon isn't affected. Odd..

User avatar
BobbyW
Hobby Astronomer
Hobby Astronomer
Posts: 16
Joined: 2017-02-27, 22:32

Re: Basilisk remains active after exit (Linux)

Unread post by BobbyW » 2023-02-15, 01:07

Lootyhoof wrote:
2023-02-10, 16:50
Seems to be a regression specific to 2023.01.26, but I'm not entirely sure why since Pale Moon isn't affected. Odd..
It's probably due to the simple fact that PM & Basilisk are now two completely independent ventures, whereas at one time they were linked under the same roof.....so there will probably be more differences as time goes on......as I see it Basilisk will most probably continue to be "Beta", & as long as it still works well & breathes, I have nothing to complain about here. Image

At this time I would like to thank Basilisk-Dev for rescuing Basilisk ImageImage, & making it the fine browser it is today.....hopefully for a long to come ImageImage

User avatar
Wastelander
Apollo supporter
Apollo supporter
Posts: 34
Joined: 2022-12-28, 15:19

Re: Basilisk remains active after exit (Linux)

Unread post by Wastelander » 2023-02-26, 23:34

Unfortunately, this affects PM 32 on Linux too. Fresh install, no other addon than Photonic theme.
No systemd - Joborun Linux

User avatar
Wastelander
Apollo supporter
Apollo supporter
Posts: 34
Joined: 2022-12-28, 15:19

Re: Basilisk remains active after exit (Linux)

Unread post by Wastelander » 2023-03-05, 19:09

I tried the browsers on Windows and Photonic does not have any issues, unfortunately it's something related to Linux.
No systemd - Joborun Linux

User avatar
EchedeyLR
Hobby Astronomer
Hobby Astronomer
Posts: 27
Joined: 2022-09-11, 17:54

Re: Basilisk remains active after exit (Linux)

Unread post by EchedeyLR » 2023-03-12, 18:19

It is surprising to me that by reading some interesting threads I see an issue I have been experiencing.

I am also experiencing it with the Photonic theme, but I am sure that is related after installing an extra recommended addon in the theme.

I am using Pale Moon in its latest version.

User avatar
Wastelander
Apollo supporter
Apollo supporter
Posts: 34
Joined: 2022-12-28, 15:19

Re: Basilisk remains active after exit (Linux)

Unread post by Wastelander » 2023-03-12, 22:26

EchedeyLR wrote:
2023-03-12, 18:19
I am sure that is related after installing an extra recommended addon in the theme.
Nice to see that this thread is still alive. Which addon are you referring to? I experience this issue on a clean profile, with no addon installed apart from Photonic theme.
No systemd - Joborun Linux

User avatar
EchedeyLR
Hobby Astronomer
Hobby Astronomer
Posts: 27
Joined: 2022-09-11, 17:54

Re: Basilisk remains active after exit (Linux)

Unread post by EchedeyLR » 2023-03-12, 23:54

I am unsure but Stylem could be causing the issue from my side.

However, something seems related to the Photonic theme here which I am using too. In another testing, it seemed that is just Photonic to be the one causing the issue itself.

User avatar
Lootyhoof
Themeist
Themeist
Posts: 1568
Joined: 2012-02-09, 23:35
Location: United Kingdom

Re: Basilisk remains active after exit (Linux)

Unread post by Lootyhoof » 2023-03-13, 08:25

As it doesn't seem to affect other themes (at least on the Pale Moon aspect) I can only assume this is because Photonic makes extensive use of SVG for images instead of e.g. PNG. I guess there has been a regression in UXP causing this.

I unfortunately haven't really had the time as of late to delve further into that, though.

User avatar
Wastelander
Apollo supporter
Apollo supporter
Posts: 34
Joined: 2022-12-28, 15:19

Re: Basilisk remains active after exit (Linux)

Unread post by Wastelander » 2023-03-13, 08:58

Hey @Lootyhoof nice to see you back, actually the issue also appears using ONLY Stylem without Photonic, don't know if this detail might help digging deeper into the issue.
No systemd - Joborun Linux

User avatar
FranklinDM
Add-ons Team
Add-ons Team
Posts: 575
Joined: 2017-01-14, 02:40
Location: Philippines
Contact:

Re: Basilisk remains active after exit (Linux)

Unread post by FranklinDM » 2023-04-13, 13:49

Lootyhoof wrote:
2023-02-10, 16:50
Seems to be a regression specific to 2023.01.26 ...
Aside from JXL, the only other image-related change in that release is Issue #2073 (UXP). I'm seeing messages about "potential" deadlocks with both Linux Pale Moon and Basilisk with the Photonic theme, and I'm suspecting that this may have been caused by either this or this. Still waiting for the build to complete for confirmation.

EDIT: That's not it. But there's definitely a deadlock happening.

User avatar
Wastelander
Apollo supporter
Apollo supporter
Posts: 34
Joined: 2022-12-28, 15:19

Re: Basilisk remains active after exit (Linux)

Unread post by Wastelander » 2023-04-13, 15:33

FranklinDM wrote:
2023-04-13, 13:49
That's not it. But there's definitely a deadlock happening.
The issue in fact affects any PM (and Basilisk) Linux release starting from 32.0.0. I wonder if there's any way to debug the deadlock since there is apparently no error in the console.
No systemd - Joborun Linux

User avatar
FranklinDM
Add-ons Team
Add-ons Team
Posts: 575
Joined: 2017-01-14, 02:40
Location: Philippines
Contact:

Re: Basilisk remains active after exit (Linux)

Unread post by FranklinDM » 2023-04-15, 07:29

FranklinDM wrote:
2023-04-13, 13:49
I'm suspecting that this may have been caused by either this or this.
On second thought, reverting both commits *seem* to fix the deadlock issue, at least on Pale Moon... Can someone try building Basilisk on Linux with both of those commits mentioned reverted?
Wastelander wrote:
2023-04-13, 15:33
I wonder if there's any way to debug the deadlock since there is apparently no error in the console.
Messages about deadlocks (AFAIK) appear only on debug builds, then thrown on the system console/terminal.

Locked