"medlife.ro" causes Pale Moon to crash

Users and developers helping users with generic and technical Pale Moon issues on all operating systems.

Moderator: trava90

Forum rules
This board is for technical/general usage questions and troubleshooting for the Pale Moon browser only.
Technical issues and questions not related to the Pale Moon browser should be posted in other boards!
Please keep off-topic and general discussion out of this board, thank you!
User avatar
tellu-white
Lunatic
Lunatic
Posts: 364
Joined: 2022-03-08, 22:02
Location: Arad, Romania

"medlife.ro" causes Pale Moon to crash

Post by tellu-white » 2026-07-17, 18:16

https://www.medlife.ro/ causes Pale Moon to crash:
01.png
I found the JavaScript file that's causing the problem. Its URL is https://www.medlife.ro/modules/custom/medlife_chatbot/js/chatbot.js?ti9r7q

Code: Select all

(function ($, Drupal, drupalSettings) {

  Drupal.behaviors.chatbotIntegration = {
    attach: function (context, settings) {
      // Check if the chatbot initialization settings are available.
      const elements = once('body-chat-bot', 'body', context);
      elements.forEach(function (element) {
        var $context = $(element);
        window.addEventListener("load", function (e) {
          setTimeout(function (){
            Drupal.ajax({url: '/chatbot'}).execute();
          },1000)
          $(document).on( "ajaxComplete", function( event, request, settings ) {
            if($.active == 1){
              $('body').removeClass('loading');
            }
          });
        })

        var $logoutBtn = $('.top-spacer-account .navbar .dropdown-menu .dropdown-item');
        $logoutBtn.on('click', function() {
          document.cookie = "chatbotVisible=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;";
          document.cookie = "druidConversationToken=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;";
          document.cookie = "druidWebChatIsOpened=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;";

          localStorage.removeItem('userToken');
          localStorage.removeItem('userTokenExpiration');
          sessionStorage.removeItem('userToken');
          sessionStorage.removeItem('userTokenExpiration');

          if (drupalSettings && drupalSettings.medlife_chatbot && drupalSettings.medlife_chatbot.queryParams) {
            for (const key in drupalSettings.medlife_chatbot.queryParams) {
              if (drupalSettings.medlife_chatbot.queryParams.hasOwnProperty(key)) {
                drupalSettings.medlife_chatbot.queryParams[key] = '';
              }
            }
          }
        });

      })
    }
  };

})(jQuery, Drupal, drupalSettings);

The first line of code in this file is:

Code: Select all

(function ($, Drupal, drupalSettings) {
and the last line of code is:

Code: Select all

})(jQuery, Drupal, drupalSettings);
02.png
If I use the add-on "Intercept & Modify HTTP Response" and replace the character "$" in the first line of code with the string "jQuery"

Code: Select all

[`/medlife.ro/`, `/.*chatbot\.js.*/`, [`/(function.*)\$(.*\n)/`, `$1jQuery$2`]]
then Pale Moon no longer crashes:
03.png
04.png
05.png
It's interesting that Firefox doesn't crash, even though the "chatbot.js" JavaScript file it uses is identical to the one used by Pale Moon:
06.png
You do not have the required permissions to view the files attached to this post.
Telu (with a single L) was the name of the dog of one of my grandparents - when I was just a little boy.
He was a white dog of large size and very friendly.

User avatar
andyprough
Forum staff
Forum staff
Posts: 1662
Joined: 2020-05-31, 04:33

Re: "medlife.ro" causes Pale Moon to crash

Post by andyprough » 2026-07-17, 19:27

It's a very busy site with a lot of animation, but it isn't causing Pale Moon any trouble for me right now. I'm using the latest uBlock from UCyborg and eMatrix. I don't get any errors or warnings in the Error Console when visiting that site. I do not have hardware acceleration enabled right now - maybe try disabling that and see if it makes a difference?

User avatar
tellu-white
Lunatic
Lunatic
Posts: 364
Joined: 2022-03-08, 22:02
Location: Arad, Romania

Re: "medlife.ro" causes Pale Moon to crash

Post by tellu-white » 2026-07-17, 20:07

andyprough wrote:
2026-07-17, 19:27
It's a very busy site with a lot of animation, but it isn't causing Pale Moon any trouble for me right now. I'm using the latest uBlock from UCyborg and eMatrix. I don't get any errors or warnings in the Error Console when visiting that site. I do not have hardware acceleration enabled right now - maybe try disabling that and see if it makes a difference?
My operating system is Windows 7 (32-bit), so I used Pale Moon 34.3.1 Portable (32-bit ), freshly installed, to run the tests.

If I disable the filter in "Intercept & Modify HTTP Response" add-on, Pale Moon crashes again.
07.png
When I reactivate the filter in "Intercept & Modify HTTP Response" add-on, Pale Moon no longer crashes.
08.png
Pale Moon crashed again with hardware acceleration disabled.

I don't use uBlock and eMatrix.
You do not have the required permissions to view the files attached to this post.
Telu (with a single L) was the name of the dog of one of my grandparents - when I was just a little boy.
He was a white dog of large size and very friendly.

User avatar
andyprough
Forum staff
Forum staff
Posts: 1662
Joined: 2020-05-31, 04:33

Re: "medlife.ro" causes Pale Moon to crash

Post by andyprough » 2026-07-17, 20:57

tellu-white wrote:
2026-07-17, 20:07
I don't use uBlock and eMatrix.
You may want to try at least uBlock on a site like this, as its filter lists will block a lot of bad behaving domains. Other than that, without me getting any error messages or warnings in the Error Console, I would have a difficult time trying to diagnose anything with this site.

User avatar
UCyborg
Board Warrior
Board Warrior
Posts: 1147
Joined: 2019-01-10, 09:37
Location: Slovenia

Re: "medlife.ro" causes Pale Moon to crash

Post by UCyborg » 2026-07-17, 21:59

I don't have 32-bit Windows 7 installation around to try, but at least 32-bit PM didn't crash on my usual Win10 installation, fresh browser profile.

Maybe the crash log entry from Event Viewer would give some clue.
The Merovingian wrote:Choice is an illusion, created between those with power, and those without.

User avatar
tellu-white
Lunatic
Lunatic
Posts: 364
Joined: 2022-03-08, 22:02
Location: Arad, Romania

Re: "medlife.ro" causes Pale Moon to crash

Post by tellu-white » 2026-07-18, 12:48

UCyborg wrote:
2026-07-17, 21:59
Maybe the crash log entry from Event Viewer would give some clue.
Below is the crash log from Event Viewer after the installed Pale Moon instance (default profile) crashed.

Note: The filter in the add-on "Intercept & Modify HTTP Response" was disabled (anyway, it wasn't working today, so I had to modify it - see below).

Event Viewer - Crash Log:

Code: Select all

Log Name:      Application
Source:        Application Error
Date:          7/18/2026 15:06:31
Event ID:      1000
Task Category: (100)
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      Computer_Name
Description:
Faulting application name: palemoon.exe, version: 6.9.0.9669, time stamp: 0x6a39836e
Faulting module name: gkmedias.dll, version: 6.9.0.9669, time stamp: 0x6a398375
Exception code: 0xc0000005
Fault offset: 0x0062d5de
Faulting process id: 0x13c4
Faulting application start time: 0x01dd16adc3a1a9f3
Faulting application path: C:\Program Files\Pale Moon\palemoon.exe
Faulting module path: C:\Program Files\Pale Moon\gkmedias.dll
Report Id: 1c8c189a-82a1-11f1-803d-001bfc66c349
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Application Error" />
    <EventID Qualifiers="0">1000</EventID>
    <Level>2</Level>
    <Task>100</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2026-07-18T12:06:31.000000000Z" />
    <EventRecordID>7506</EventRecordID>
    <Channel>Application</Channel>
    <Computer>Computer_Name</Computer>
    <Security />
  </System>
  <EventData>
    <Data>palemoon.exe</Data>
    <Data>6.9.0.9669</Data>
    <Data>6a39836e</Data>
    <Data>gkmedias.dll</Data>
    <Data>6.9.0.9669</Data>
    <Data>6a398375</Data>
    <Data>c0000005</Data>
    <Data>0062d5de</Data>
    <Data>13c4</Data>
    <Data>01dd16adc3a1a9f3</Data>
    <Data>C:\Program Files\Pale Moon\palemoon.exe</Data>
    <Data>C:\Program Files\Pale Moon\gkmedias.dll</Data>
    <Data>1c8c189a-82a1-11f1-803d-001bfc66c349</Data>
  </EventData>
</Event>
Screenshots:
01.png
02.png
03.png
**********

The new (working) filter for the add-on "Intercept & Modify HTTP Response" (removes content of all "medlife.ro -> chatbot" files):

Code: Select all

[`/medlife.ro/`, `/.*chatbot.*/`, [`/.*/g`, ``]]
*******************

Edit:
Exception code 0xc0000005 is an Access Violation error that occurs when a program tries to access a memory location it is not allowed to use, often leading to application crashes or system instability. Common causes include corrupted system files, faulty RAM, or incompatible software.
04.png
Facts:

1. Pale Moon crashes even when using the newly installed Portable version.

2. I haven't experienced Pale Moon crashing on other websites.

3. The crash does not occur in Firefox.

4. By using the "Intercept & Modify HTTP Response" add-on with the filter posted above (the last one), Pale Moon no longer crashes.

*******************

Edit 02:

I noticed something interesting that might help identify the cause of the Pale Moon crash: before the message "Pale Moon web browser stopped working" appears, the page https://www.medlife.ro/ goes darker for a second (then returns to normal, before the message is displayed). This does not happen when the filter in add-on "Intercept & Modify HTTP Response" is enabled (which prevents Pale Moon from crashing).
05.png
You do not have the required permissions to view the files attached to this post.
Telu (with a single L) was the name of the dog of one of my grandparents - when I was just a little boy.
He was a white dog of large size and very friendly.

User avatar
UCyborg
Board Warrior
Board Warrior
Posts: 1147
Joined: 2019-01-10, 09:37
Location: Slovenia

Re: "medlife.ro" causes Pale Moon to crash

Post by UCyborg » 2026-07-18, 17:11

The only thing I can tell is that the function at this offset is called by SkBitmap::setPixels which is in turn called by SkWriter32::writeToStream and on my system at least, these codepaths are hit only if I disable hardware acceleration.
The Merovingian wrote:Choice is an illusion, created between those with power, and those without.

User avatar
tellu-white
Lunatic
Lunatic
Posts: 364
Joined: 2022-03-08, 22:02
Location: Arad, Romania

Re: "medlife.ro" causes Pale Moon to crash

Post by tellu-white » 2026-07-18, 17:54

I've done some more testing, and it seems that the last filter I posted doesn't work in all scenarios. For example, if I close a "medlife.ro" page and then open another "medlife.ro" page, Pale Moon crashes sometimes (not always). For this reason, I tested a new approach: I created a filter that removes the word "drupal" from the contents of all files with "host = medlife.ro". So far, I haven't been able to cause Pale Moon to crash with this new filter:

Code: Select all

[`/medlife.ro/`, `/.*/`, [`/drupal/gi`, ``]]
Telu (with a single L) was the name of the dog of one of my grandparents - when I was just a little boy.
He was a white dog of large size and very friendly.

User avatar
tellu-white
Lunatic
Lunatic
Posts: 364
Joined: 2022-03-08, 22:02
Location: Arad, Romania

Re: "medlife.ro" causes Pale Moon to crash

Post by tellu-white » 2026-07-18, 20:42

Since I added the filter which removes the word "drupal" from all files with "host = medlife.ro", Pale Moon has never crashed again (even though I've performed extensive testing on multiple "medlife.ro" pages).

Drawback: Using this filter removes the functionalities implemented on "medlife.ro" pages using Drupal.
Telu (with a single L) was the name of the dog of one of my grandparents - when I was just a little boy.
He was a white dog of large size and very friendly.

User avatar
Night Wing
Knows the dark side
Knows the dark side
Posts: 6056
Joined: 2011-10-03, 10:19
Location: Piney Woods of Southeast Texas, USA

Re: "medlife.ro" causes Pale Moon to crash

Post by Night Wing » 2026-07-18, 20:45

The only two extensions I use in 64 bit linux (GTK3) Pale Moon 34.3.1 are uBlock Origin 1.16.6.1 and Zoom Label (1.3). The linux distro I am using to type this post is 64 bit MX Linux 25.2 (Infinity) Xfce.

In UBO, I am using the default "stock" settings. I do not tinker with the settings in UBO. And I do not have hardware acceleration enabled in Pale Moon. With that said, I have no problems with the Medlife website.

I even surfed around on the site trying to get Pale Moon to crash. No freezing, no crashing, no nothing. Below is my screenshot.
You do not have the required permissions to view the files attached to this post.
MX Linux 25.2 (Infinity) Xfce w/Pale Moon, Waterfox, Firefox
Linux Debian 13.6 (Trixie) Xfce w/Pale Moon, Waterfox, Firefox

User avatar
back2themoon
Knows the dark side
Knows the dark side
Posts: 3313
Joined: 2012-08-19, 20:32

Re: "medlife.ro" causes Pale Moon to crash

Post by back2themoon » 2026-07-18, 20:55

No crash here, even on vanilla Pale Moon Portable.

User avatar
UCyborg
Board Warrior
Board Warrior
Posts: 1147
Joined: 2019-01-10, 09:37
Location: Slovenia

Re: "medlife.ro" causes Pale Moon to crash

Post by UCyborg » 2026-07-19, 07:33

I reproduced the crash on 64-bit Win8.1. Both 32-bit and 64-bit SSE2 builds crash on different offset:

Code: Select all

Faulting application name: palemoon.exe, version: 6.9.0.9669, time stamp: 0x6a39836e
Faulting module name: gkmedias.dll, version: 6.9.0.9669, time stamp: 0x6a398375
Exception code: 0xc0000005
Fault offset: 0x0062d5f6
Faulting process id: 0xf7c
Faulting application start time: 0x01dd174d7cd97a15
Faulting application path: C:\Program Files (x86)\Pale Moon\palemoon.exe
Faulting module path: C:\Program Files (x86)\Pale Moon\gkmedias.dll
Report Id: c15b93d4-8340-11f1-8256-000c299cf0f3
Faulting package full name: 
Faulting package-relative application ID:

Code: Select all

Faulting application name: palemoon.exe, version: 6.9.0.9669, time stamp: 0x6a39836e
Faulting module name: gkmedias.dll, version: 6.9.0.9669, time stamp: 0x6a398375
Exception code: 0xc0000005
Fault offset: 0x0062d619
Faulting process id: 0x9ac
Faulting application start time: 0x01dd174e69728a0e
Faulting application path: C:\Program Files (x86)\Pale Moon\palemoon.exe
Faulting module path: C:\Program Files (x86)\Pale Moon\gkmedias.dll
Report Id: d5815baa-8341-11f1-8256-000c299cf0f3
Faulting package full name: 
Faulting package-relative application ID:

Code: Select all

Faulting application name: palemoon.exe, version: 6.9.0.9671, time stamp: 0x6a3bc8cd
Faulting module name: gkmedias.dll, version: 6.9.0.9671, time stamp: 0x6a3bc8ee
Exception code: 0xc0000005
Fault offset: 0x000000000077176b
Faulting process id: 0x690
Faulting application start time: 0x01dd174f32d153ab
Faulting application path: C:\Program Files\Pale Moon\palemoon.exe
Faulting module path: C:\Program Files\Pale Moon\gkmedias.dll
Report Id: 7d57d36b-8342-11f1-8256-000c299cf0f3
Faulting package full name: 
Faulting package-relative application ID:

Code: Select all

Faulting application name: palemoon.exe, version: 6.9.0.9671, time stamp: 0x6a3bc8cd
Faulting module name: gkmedias.dll, version: 6.9.0.9671, time stamp: 0x6a3bc8ee
Exception code: 0xc0000005
Fault offset: 0x0000000000771770
Faulting process id: 0x570
Faulting application start time: 0x01dd174f5a5d6e89
Faulting application path: C:\Program Files\Pale Moon\palemoon.exe
Faulting module path: C:\Program Files\Pale Moon\gkmedias.dll
Report Id: bca9a738-8342-11f1-8256-000c299cf0f3
Faulting package full name: 
Faulting package-relative application ID:
This whole thing reminds me of heap corruption bugs in Interstate '76.
The Merovingian wrote:Choice is an illusion, created between those with power, and those without.

User avatar
UCyborg
Board Warrior
Board Warrior
Posts: 1147
Joined: 2019-01-10, 09:37
Location: Slovenia

Re: "medlife.ro" causes Pale Moon to crash

Post by UCyborg » 2026-07-19, 12:39

Replacing that $ with jQuery in chatbot.js just breaks that function, preventing it from calling jQuery. If the goal would be to disable chatbot, blocking its JavaScript files - chatbot.js and chatbot-init.js - would would have been more efficient.

jQuery is imported through one of those files with random characters in their names. Usually, jQuery is then accessible via both "jQuery" and "$" in global namespace, but some other code of theirs apparently sets "$" to undefined.

Their chatbot init function's first parameter is named $ and receives jQuery function, so its code then can't reference jQuery, though it could if $ remained defined in global namespace.

I was curious if anything would change if newer Windows version was reported to the browser.
Windows 8.1 x64-2026-07-19-14-31-42.png
Apparently not. But still, in any case, enabled hardware acceleration bypasses the problematic codepaths.
You do not have the required permissions to view the files attached to this post.
The Merovingian wrote:Choice is an illusion, created between those with power, and those without.

User avatar
tellu-white
Lunatic
Lunatic
Posts: 364
Joined: 2022-03-08, 22:02
Location: Arad, Romania

Re: "medlife.ro" causes Pale Moon to crash

Post by tellu-white » 2026-07-19, 14:46

UCyborg wrote:
2026-07-19, 12:39
Replacing that $ with jQuery in chatbot.js just breaks that function, preventing it from calling jQuery. If the goal would be to disable chatbot, blocking its JavaScript files - chatbot.js and chatbot-init.js - would would have been more efficient.
Using the add-on "Intercept & Modify HTTP Response", I tried several options, including:

• I replaced "$" with "jQuery" in "chatbot.js" file
• I deleted the content of "chatbot-init.js" and "chatbot.js" files

None of these options worked without Pale Moon crashing from time to time (not always).

Without any workaround, Pale Moon crashes every time I open a "medlife.ro" page.


**********

Today I tested your suggestion to block requests for "chatbot-init.js" and "chatbot.js" files, using "WebRequest.onBeforeRequest".

"block_medlife_chatbot_requests.uc.js" file:

Code: Select all

Components.utils.import("resource://gre/modules/WebRequest.jsm");
Components.utils.import("resource://gre/modules/MatchPattern.jsm");

function block_medlife_chatbot_requests(request){
	try{
		if( (request.url.includes("chatbot-init.js")) || (request.url.includes("chatbot.js")) ){
			return { cancel: true };
		}
		
	} catch(err){
		console.log('ERROR in "block_medlife_chatbot_requests" : ', err.message);
	}
}

var patternRequest_block_medlife_chatbot_requests = new MatchPattern("https://www.medlife.ro/*");
WebRequest.onBeforeRequest.addListener(block_medlife_chatbot_requests, { urls: patternRequest_block_medlife_chatbot_requests }, ["blocking"]);

"userChrome.css" file:

Code: Select all

/* First line of userChrome.css must be this: */
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");

hbox#fullscr-toggler {
    -moz-binding: url(data:text/plain;charset=utf-8;base64,PD94bWwgdmVyc2lvbj0iMS4wIj8+CjwhLS0gQ29weXJpZ2h0IChjKSAyMDE3IEhhZ2dhaSBOdWNoaQpBdmFpbGFibGUgZm9yIHVzZSB1bmRlciB0aGUgTUlUIExpY2Vuc2U6Cmh0dHBzOi8vb3BlbnNvdXJjZS5vcmcvbGljZW5zZXMvTUlUCiAtLT4KCjwhLS0gUnVuIHVzZXJDaHJvbWUuanMvdXNlckNocm9tZS54dWwgYW5kIC51Yy5qcy8udWMueHVsLy5jc3MgZmlsZXMgIC0tPgo8YmluZGluZ3MgeG1sbnM9Imh0dHA6Ly93d3cubW96aWxsYS5vcmcveGJsIj4KICAgIDxiaW5kaW5nIGlkPSJqcyI+CiAgICAgICAgPGltcGxlbWVudGF0aW9uPgogICAgICAgICAgICA8Y29uc3RydWN0b3I+PCFbQ0RBVEFbCiAgICAgICAgICAgICAgICBpZih3aW5kb3cudXNlckNocm9tZUpzTW9kKSByZXR1cm47CiAgICAgICAgICAgICAgICB3aW5kb3cudXNlckNocm9tZUpzTW9kID0gdHJ1ZTsKCiAgICAgICAgICAgICAgICB2YXIgY2hyb21lRmlsZXMgPSBGaWxlVXRpbHMuZ2V0RGlyKCJVQ2hybSIsIFtdKS5kaXJlY3RvcnlFbnRyaWVzOwogICAgICAgICAgICAgICAgdmFyIHh1bEZpbGVzID0gW107CiAgICAgICAgICAgICAgICB2YXIgc3NzID0gQ2NbJ0Btb3ppbGxhLm9yZy9jb250ZW50L3N0eWxlLXNoZWV0LXNlcnZpY2U7MSddLmdldFNlcnZpY2UoQ2kubnNJU3R5bGVTaGVldFNlcnZpY2UpOwoKICAgICAgICAgICAgICAgIHdoaWxlKGNocm9tZUZpbGVzLmhhc01vcmVFbGVtZW50cygpKSB7CiAgICAgICAgICAgICAgICAgICAgdmFyIGZpbGUgPSBjaHJvbWVGaWxlcy5nZXROZXh0KCkuUXVlcnlJbnRlcmZhY2UoQ2kubnNJRmlsZSk7CiAgICAgICAgICAgICAgICAgICAgdmFyIGZpbGVVUkkgPSBTZXJ2aWNlcy5pby5uZXdGaWxlVVJJKGZpbGUpOwoKICAgICAgICAgICAgICAgICAgICBpZihmaWxlLmlzRmlsZSgpKSB7CiAgICAgICAgICAgICAgICAgICAgICAgIHR5cGUgPSAibm9uZSI7CiAgICAgICAgICAgICAgICAgICAgICAgIGlmKC8oXnVzZXJDaHJvbWV8LnVjKS5qcyQvaS50ZXN0KGZpbGUubGVhZk5hbWUpKSB7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICB0eXBlID0gInVzZXJjaHJvbWUvanMiOwogICAgICAgICAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICAgICAgICAgIGVsc2UgaWYoLyhedXNlckNocm9tZXwudWMpLnh1bCQvaS50ZXN0KGZpbGUubGVhZk5hbWUpKSB7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICB0eXBlID0gInVzZXJjaHJvbWUveHVsIjsKICAgICAgICAgICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgICAgICAgICBlbHNlIGlmKC8uYXMuY3NzJC9pLnRlc3QoZmlsZS5sZWFmTmFtZSkpIHsKICAgICAgICAgICAgICAgICAgICAgICAgICAgIHR5cGUgPSAiYWdlbnRzaGVldCI7CiAgICAgICAgICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgICAgICAgICAgICAgZWxzZSBpZigvXig/ISh1c2VyQ2hyb21lfHVzZXJDb250ZW50KS5jc3MkKS4rLmNzcyQvaS50ZXN0KGZpbGUubGVhZk5hbWUpKSB7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICB0eXBlID0gInVzZXJzaGVldCI7CiAgICAgICAgICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgICAgICAgICAgICAgaWYodHlwZSAhPSAibm9uZSIpIHsKICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNvbnNvbGUubG9nKCItLS0tLS0tLS0tXCAiICsgZmlsZS5sZWFmTmFtZSArICIgKCIgKyB0eXBlICsgIikiKTsKICAgICAgICAgICAgICAgICAgICAgICAgICAgIHRyeSB7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaWYodHlwZSA9PSAidXNlcmNocm9tZS9qcyIpIHsKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgU2VydmljZXMuc2NyaXB0bG9hZGVyLmxvYWRTdWJTY3JpcHRXaXRoT3B0aW9ucyhmaWxlVVJJLnNwZWMsIHt0YXJnZXQ6IHdpbmRvdywgaWdub3JlQ2FjaGU6IHRydWV9KTsKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgZWxzZSBpZih0eXBlID09ICJ1c2VyY2hyb21lL3h1bCIpIHsKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgeHVsRmlsZXMucHVzaChmaWxlVVJJLnNwZWMpOwogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBlbHNlIGlmKHR5cGUgPT0gImFnZW50c2hlZXQiKSB7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlmKCFzc3Muc2hlZXRSZWdpc3RlcmVkKGZpbGVVUkksIHNzcy5BR0VOVF9TSEVFVCkpCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBzc3MubG9hZEFuZFJlZ2lzdGVyU2hlZXQoZmlsZVVSSSwgc3NzLkFHRU5UX1NIRUVUKTsKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgZWxzZSBpZih0eXBlID09ICJ1c2Vyc2hlZXQiKSB7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlmKCFzc3Muc2hlZXRSZWdpc3RlcmVkKGZpbGVVUkksIHNzcy5VU0VSX1NIRUVUKSkKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHNzcy5sb2FkQW5kUmVnaXN0ZXJTaGVldChmaWxlVVJJLCBzc3MuVVNFUl9TSEVFVCk7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgICAgICAgICAgICAgfSBjYXRjaChlKSB7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgY29uc29sZS5sb2coIiMjIyMjIyMjIyMgRVJST1I6ICIgKyBlICsgIiBhdCAiICsgZS5saW5lTnVtYmVyICsgIjoiICsgZS5jb2x1bW5OdW1iZXIpOwogICAgICAgICAgICAgICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgICAgICAgICAgICAgY29uc29sZS5sb2coIi0tLS0tLS0tLS0vICIgKyBmaWxlLmxlYWZOYW1lKTsKICAgICAgICAgICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgICAgIH0KCiAgICAgICAgICAgICAgICBzZXRUaW1lb3V0KGZ1bmN0aW9uIGxvYWRYVUwoKSB7CiAgICAgICAgICAgICAgICAgICAgaWYoeHVsRmlsZXMubGVuZ3RoID4gMCkgewogICAgICAgICAgICAgICAgICAgICAgICBkb2N1bWVudC5sb2FkT3ZlcmxheSh4dWxGaWxlcy5zaGlmdCgpLCBudWxsKTsKICAgICAgICAgICAgICAgICAgICAgICAgc2V0VGltZW91dChsb2FkWFVMLCA1KTsKICAgICAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICB9LCAwKTsKICAgICAgICAgICAgXV0+PC9jb25zdHJ1Y3Rvcj4KICAgICAgICA8L2ltcGxlbWVudGF0aW9uPgogICAgPC9iaW5kaW5nPgo8L2JpbmRpbmdzPg==);
}

Even with this approach, Pale Moon still crashed from time to time (not always):
01.png
02.png
03.png
04.png
05.png
06.png
07.png
08.png
09.png

**********

The only solution that always worked (after extensive testing) was the one where I used a filter to remove the word "drupal" in all files with "host = medlife.ro".
You do not have the required permissions to view the files attached to this post.
Telu (with a single L) was the name of the dog of one of my grandparents - when I was just a little boy.
He was a white dog of large size and very friendly.

User avatar
UCyborg
Board Warrior
Board Warrior
Posts: 1147
Joined: 2019-01-10, 09:37
Location: Slovenia

Re: "medlife.ro" causes Pale Moon to crash

Post by UCyborg » 2026-07-19, 16:46

OK, Windows version and browser bitness was a smoke screen, it crashes on Win10 too. Disabled hardware acceleration is the factor.

I can't get it to crash either with HW accel enabled OR chatbot*.js scripts blocked though (using uBO for the latter).
The Merovingian wrote:Choice is an illusion, created between those with power, and those without.

User avatar
tellu-white
Lunatic
Lunatic
Posts: 364
Joined: 2022-03-08, 22:02
Location: Arad, Romania

Re: "medlife.ro" causes Pale Moon to crash

Post by tellu-white » 2026-07-19, 18:02

UCyborg wrote:
2026-07-19, 16:46
I can't get it to crash either with HW accel enabled OR chatbot*.js scripts blocked though (using uBO for the latter).
In my case, it doesn't matter whether Hardware Acceleration is enabled or disabled; Pale Moon crashes in both cases when I open "medlife.ro" pages.

Also, as you can see from my previous post, Pale Moon crashes even if requests for "chatbot-init.js" and "chatbot.js" files are blocked using "WebRequest.onBeforeRequest" (you can see that the requests are really blocked in the screenshots showing blank pages - meaning no response - after clicking the "Go to the address in the Location Bar" arrow in the URL bar).

This is what the pages look like when requests for "chatbot-init.js" and "chatbot.js" are not blocked:
10.png
11.png

Note: I took the screenshots above while using the filter that removes the word "drupal" from all files with "host = medlife.ro" (using the add-on "Intercept & Modify HTTP Response") - the only solution that always works for me.
You do not have the required permissions to view the files attached to this post.
Telu (with a single L) was the name of the dog of one of my grandparents - when I was just a little boy.
He was a white dog of large size and very friendly.

User avatar
Moonchild
Project founder
Project founder
Posts: 39718
Joined: 2011-08-28, 17:27
Location: Sweden

Re: "medlife.ro" causes Pale Moon to crash

Post by Moonchild » 2026-07-20, 10:36

See if removing "skia" from the azure canvas backend pref helps for you. Seems it doesn't like your setup, and direct2d is apparently not usable so itd fall back to skia.
"Sales hates anything that can't be turned into a confident sentence." - anonymous warehouse worker
"Why debate someone you fundamentally don't trust?" - Dario Amodei
"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
tellu-white
Lunatic
Lunatic
Posts: 364
Joined: 2022-03-08, 22:02
Location: Arad, Romania

Re: "medlife.ro" causes Pale Moon to crash

Post by tellu-white » 2026-07-20, 14:45

Moonchild wrote:
2026-07-20, 10:36
See if removing "skia" from the azure canvas backend pref helps for you. Seems it doesn't like your setup, and direct2d is apparently not usable so itd fall back to skia.
It seems that this approach does not solve the problem either:
01.png
02.png
03.png
You do not have the required permissions to view the files attached to this post.
Telu (with a single L) was the name of the dog of one of my grandparents - when I was just a little boy.
He was a white dog of large size and very friendly.

User avatar
Moonchild
Project founder
Project founder
Posts: 39718
Joined: 2011-08-28, 17:27
Location: Sweden

Re: "medlife.ro" causes Pale Moon to crash

Post by Moonchild » 2026-07-20, 15:14

Did you restart the browser after changing the pref?
"Sales hates anything that can't be turned into a confident sentence." - anonymous warehouse worker
"Why debate someone you fundamentally don't trust?" - Dario Amodei
"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
UCyborg
Board Warrior
Board Warrior
Posts: 1147
Joined: 2019-01-10, 09:37
Location: Slovenia

Re: "medlife.ro" causes Pale Moon to crash

Post by UCyborg » 2026-07-20, 16:53

Oh yeah, that helps on my end. Kinda doesn't surprise me, Skia being the bad news.
The Merovingian wrote:Choice is an illusion, created between those with power, and those without.