Author Topic: Firefox 45.9 XUL.DLL error  (Read 30549 times)

Dave Yeo

  • Hero Member
  • *****
  • Posts: 4787
  • Karma: +99/-1
    • View Profile
Re: Firefox 45.9 XUL.DLL error
« Reply #30 on: March 17, 2019, 02:49:18 am »
It's an OOM (out of memory) trap. Notice the CPU instructions,
Code: [Select]
15753F5D  INT 3                        (cc)
15753F5E >NOP                          (90)

Mozilla put in a breakpoint (INT 3) for certain out of memory scenarios.
Hmm, actually, this is different from the usual OOM handler, this is a watchdog thread that'll issue a breakpoint if the browser hangs during shutdown. Seems that it still might be a memory leak or such. You might still have a file, ShutdownDuration.json or ShutdownDuration.json.tmp in your profile with info about what actually happened.
My guess is that video playback stopped due to out of memory condition and the browser hung during shutdown for similar reason and the watchdog thread killed it.

BTW, you should install the debug packages for NSPR4, libc and libcx

OS4User

  • Sr. Member
  • ****
  • Posts: 406
  • Karma: +10/-0
    • View Profile
Re: Firefox 45.9 XUL.DLL error
« Reply #31 on: March 17, 2019, 07:05:53 am »
I spoke too soon Dave.  I had a trap, but it did not crash FF.  It just would not play any more youtube video until I closed it and restarted it.  I attached the trap.  It was the XUL.DLL  This was with the OS/2 kernel with the FFPentium.

Now to see if the OS/4 kernel crashes with the FFSandybridge.

Dave,

I see this trap  from time to time on my comp. It is described in  https://github.com/bitwiseworks/mozilla-os2/issues/243

David Graser

  • Hero Member
  • *****
  • Posts: 870
  • Karma: +84/-0
    • View Profile
Re: Firefox 45.9 XUL.DLL error
« Reply #32 on: March 17, 2019, 10:39:23 am »
I must say that all the 49.5.0 FF versions are all pretty stable.  After OS2User asked me to watch CPU loads while watching videos, I can definitely state that the OS/4 kernel does a much better job when playing video.  I am now back to the OS/4 partition and will stay there  to see what kind of trap if any I can produce with the OS/4 kernel, the FFSandyBridge, and the AVX dlls.  It has yet to trap, but that is what I said about the other until it finally trapped.  I am finally enjoying using the internet under ArcaOS.  Only have to go to Windows to watch Netflix or Amazon Prime Video.

There is one thing I have noticed about FF.  When watching video, the sound cannot be controlled except by the operating system volume controller.  The sound volume cannot be adjusted on the video itself.
« Last Edit: March 17, 2019, 12:23:48 pm by David Graser »

David Graser

  • Hero Member
  • *****
  • Posts: 870
  • Karma: +84/-0
    • View Profile
Re: Firefox 45.9 XUL.DLL error
« Reply #33 on: March 17, 2019, 12:53:53 pm »
While using my OS/2 partition and FFPentium, I had one more trap which this time closed the browser.  Have attached the trap.

David Graser

  • Hero Member
  • *****
  • Posts: 870
  • Karma: +84/-0
    • View Profile
Re: Firefox 45.9 XUL.DLL error
« Reply #34 on: March 26, 2019, 04:37:39 am »
While using the OS/2 kernel, the FFPentium 45.9.0, and noAVX libs, I had a strange trap.

Dave Yeo

  • Hero Member
  • *****
  • Posts: 4787
  • Karma: +99/-1
    • View Profile
Re: Firefox 45.9 XUL.DLL error
« Reply #35 on: March 26, 2019, 04:51:16 am »
It's much the same as usual, pldhashtable and fonts.

Wayne A. Smith

  • Newbie
  • *
  • Posts: 23
  • Karma: +0/-0
    • View Profile
Re: Firefox 45.9 XUL.DLL error
« Reply #36 on: February 10, 2023, 08:15:00 pm »
Though this is an old thread I'm using it since it addresses the same situation I have.

I have both Firefox 45.9.0 and Seamonkey 2.42.9esr running fine on my ThinkPad T-540p. I'm running FF under @unixroot; FF is also installed on a separate partition and directory.  Likewise, SM is installed on a separate partition and directory.

The data for <xul.dll>  is:
@unixroot
29,398,067 05/21/18
Programs\firefox
37,270,233 03/21/20
Telecomm\seamonkey
41,620,640 08/17/19

Despite the discrepancies all three programs open fine.


However, on my desktop I can't get any of them to run.  (Both the ThinkPad and Desktop are at the ArcaOS 5.0.7 level)  The data for <xul.dll> on it is:
@unixroot
29,398,067 05/21/18
Programs\firefox
37,270,233 03/21/20
Programs\seamonkey
39,651,277 03/20/20
Telecomm\firefox
41,023,852 11/11/20
Telecomm\seamonkey
41,741,025 06/12/22

Entering <-safe-mode> in the Parameters didn't help.

The applicable <popuplog.os2> entries are:

01-21-2023  18:34:29  SYS3175  PID 0098  TID 0001  Slot 0020
O:\TELECOMM\SEAMONKEY\SEAMONKEY.EXE
c0000005
0ae9a9cb
P1=00000001  P2=00000002  P3=XXXXXXXX  P4=XXXXXXXX 
EAX=00000000  EBX=11664c90  ECX=0c9ce020  EDX=00000000
ESI=11664bf8  EDI=00000000 
DS=0053  DSACC=d0f3  DSLIM=5fffffff 
ES=0053  ESACC=d0f3  ESLIM=5fffffff 
FS=150b  FSACC=00f3  FSLIM=00000030
GS=0000  GSACC=****  GSLIM=********
CS:EIP=005b:0fc6cf1b  CSACC=d0df  CSLIM=5fffffff
SS:ESP=0053:001eff64  SSACC=d0f3  SSLIM=5fffffff
EBP=001eff70  FLG=00010297

PSPRINT.DRV 0001:0001a9cb

------------------------------------------------------------

02-08-2023  15:21:23  SYS3175  PID 0089  TID 0001  Slot 000c
J:\@UNIXROOT\USR\LIB\FIREFOX-45.9.0\FIREFOX.EXE
c0000005
0ba407c7
P1=00000001  P2=00000002  P3=XXXXXXXX  P4=XXXXXXXX 
EAX=00000000  EBX=10d7e384  ECX=0e430aa8  EDX=00000000
ESI=10d7e2f4  EDI=00000000 
DS=0053  DSACC=d0f3  DSLIM=5fffffff 
ES=0053  ESACC=d0f3  ESLIM=5fffffff 
FS=150b  FSACC=00f3  FSLIM=00000030
GS=0000  GSACC=****  GSLIM=********
CS:EIP=005b:104dc427  CSACC=d0df  CSLIM=5fffffff
SS:ESP=0053:0012ff5c  SSACC=d0f3  SSLIM=5fffffff
EBP=0012ff68  FLG=00010293

PSPRINT.DRV 0002:000107c7

------------------------------------------------------------

02-08-2023  19:20:30  SYS3175  PID 0104  TID 0001  Slot 00dc
O:\TELECOMM\FIREFOX\FIREFOX.EXE
c0000005
0ba407c7
P1=00000001  P2=00000002  P3=XXXXXXXX  P4=XXXXXXXX 
EAX=00000000  EBX=10c75550  ECX=0bcbe9f0  EDX=00000000
ESI=10c754c0  EDI=00000000 
DS=0053  DSACC=d0f3  DSLIM=5fffffff 
ES=0053  ESACC=d0f3  ESLIM=5fffffff 
FS=150b  FSACC=00f3  FSLIM=00000030
GS=0000  GSACC=****  GSLIM=********
CS:EIP=005b:0ed54cbb  CSACC=d0df  CSLIM=5fffffff
SS:ESP=0053:0013ff64  SSACC=d0f3  SSLIM=5fffffff
EBP=0013ff70  FLG=00010293

PSPRINT.DRV 0002:000107c7

I'm fairly certain I have all the dependencies installed.  The last ones I noted in the RPM Requirements for the <@unixroot> install I attempted to install through <yum install> and te following was the output:

yum install libgcc1 libstdc++6

[J:\]yum install libgcc1 libstdc++6
Setting up Install Process
Package libgcc1-4.9.2.1-3.oc00.pentium4 is obsoleted by libgcc-9.2.0-5.oc00.i686
 which is already installed
Package libstdc++6-4.9.2.1-3.oc00.pentium4 is obsoleted by libstdc++-9.2.0-5.oc0
0.i686 which is already installed
Nothing to do

I searched the boot drive and <psprint.drv> was installed in both <OS2\dll\psprint> and <sys\install\prndrv\pmdd_6> and are identical, both being 827,719 and dated 08/20/18.  Printers on the Desktop are:
a Dot Matrix installed on LPT1,
a HP DeskJet installed on USB,
the PMPDF generator, and
a Postscript printer configured for LPT2.
Right now I have no recollection why I installed the last one.  I probably can delete it if this might be the cause.

Any ideas?

Dave Yeo

  • Hero Member
  • *****
  • Posts: 4787
  • Karma: +99/-1
    • View Profile
Re: Firefox 45.9 XUL.DLL error
« Reply #37 on: February 10, 2023, 10:47:21 pm »
That's a new one to me. Have you tried a new profile? --ProfileManager in the Parameters. Also whether it crashes before the profile manager comes up.
Have you installed any printers in FF/SM? If so perhaps try remming out psprint.drv, try starting FF/SM and remove all printer entries. Then unrem psprint.drv and see if they still crash.
Another possibility might be something wrong with your ini files, have they been cleaned lately?

Wayne A. Smith

  • Newbie
  • *
  • Posts: 23
  • Karma: +0/-0
    • View Profile
Re: Firefox 45.9 XUL.DLL error
« Reply #38 on: February 11, 2023, 01:00:48 am »
Inserting
-ProfileManager
in the Parameters still causes a crash and throws out the same "Couldn't load XUL.DLL (OS2 error 87)" error.

I may have installed some printers in FF 38.8.0 but not 45.9.0 or Seamonkey since I could never get them to run.  In fact I don't recall any menu for printer installation under any of them.

I see no reference to <psprint.drv> in the <config.sys>.  I did try to rename it, to see if this helped, but failed since it said it was being used by another application.  Accordingly I deleted the printer object for the PS Printer I had created - since I probably had created it erroneously thinking PMPDF may have required it, or for creating files for Distiller - and rebooted.  Still the same problem.

As far as my INI files I have only relied on IFX examining and cleaning them.  I did, long, long ago, purchase a license for UniTools and have it installed on the desktop.  Do you think I should give this a whirl?

Dave Yeo

  • Hero Member
  • *****
  • Posts: 4787
  • Karma: +99/-1
    • View Profile
Re: Firefox 45.9 XUL.DLL error
« Reply #39 on: February 11, 2023, 01:20:59 am »
Well, if it is crashing before displaying the profile manager, that's a sign that it has nothing to do with your profile and the problem is deeper.
To remove something that is open, do unlock psprint.drv. The unlock comand will load the file into memory so you can move it out of the way and then reboot.
Wouldn't hurt to clean your ini files, I like checkini, https://hobbes.nmsu.edu/download/pub/os2/util/config/WPTools_3-3.zip. Back up your desktop first by right clicking the desktop and choosing restart, then click archive desktop.
You could also try reinstalling cups, yum reinstall cups, IIRC, or use ANPM, right click on cups and choose reinstall. Probably won't help but easy to do.
BTW, error 87 is "ERROR_INVALID_PARAMETER"
Try seamonkey -help and see if it runs long enough to leave a vio window displaying the help, might need the window list to find it.
Also try running seamonkey 2>&1 | tee seamonkey.log and see if anything appears in seamonkey.log, best on a cmd line in the SeaMonkey directory.
Otherwise, am out of ideas, have to think on it.
« Last Edit: February 11, 2023, 01:22:51 am by Dave Yeo »

Wayne A. Smith

  • Newbie
  • *
  • Posts: 23
  • Karma: +0/-0
    • View Profile
Re: Firefox 45.9 XUL.DLL error
« Reply #40 on: February 11, 2023, 06:39:04 pm »
OK, will give these a try today, or at east some of them between other commitments.  I'll try your recommendation of using WPTools before UniMaint; I suffered a Senior Moment yesterday when I dubbed UniMaint as UniTools.

I did last night before retiring to bed boot the desktop into Linux and used DFSee to create an image backup of 5.0.7.  Possible messing up these INI efforts then won't be dangerous.

The residing of PMPRINT.DRV in the INI files may well be the problem; the old creation of the PS Printer Object likely inserted it.  I do not presently perceive any danger in removing it as I don't conceive any need for it; the only potentially-associated application would seem to be PMPDF and it doesn't seem to use or need it.

I'll report later.  Thanks for all your effort.

Dave Yeo

  • Hero Member
  • *****
  • Posts: 4787
  • Karma: +99/-1
    • View Profile
Re: Firefox 45.9 XUL.DLL error
« Reply #41 on: February 11, 2023, 06:58:36 pm »
If those don't help, I guess we'll have to try to check for broken DLL's in the dependencies.
Another test would be to try the screensavers Cairo clock, with the date turned on, as that would test the fontconfig and such and whether they're broken. Desktop properties is where you find the screensaver settings.

Alex Taylor

  • Sr. Member
  • ****
  • Posts: 387
  • Karma: +5/-0
    • View Profile
Re: Firefox 45.9 XUL.DLL error
« Reply #42 on: February 11, 2023, 07:56:44 pm »
Since the exception is happening in the PSPRINT driver, I suggest you delete all PM printers (or at least all of those using PSPRINT). If that fixes it, you can then reinstall printer(s) one by one and make sure Firefox still runs.

(By delete, I mean fully delete the printer queue and the driver instance, which you can do using PM Printer Manager, or the old FaxWorks PRNDRV.EXE.)

Dave Yeo

  • Hero Member
  • *****
  • Posts: 4787
  • Karma: +99/-1
    • View Profile
Re: Firefox 45.9 XUL.DLL error
« Reply #43 on: February 12, 2023, 04:24:50 am »
I found an issue where Lewis mentioned the same problem, https://github.com/bitwiseworks/mozilla-os2/issues/255 which was from importing a PPD into psprint.drv, which as he put it, wrecked havoc with the native print system. Also confirms that F 45.9 tries to initialize the printing system upon program load
So follow Alex's advice to remove all printers

Wayne A. Smith

  • Newbie
  • *
  • Posts: 23
  • Karma: +0/-0
    • View Profile
Re: Firefox 45.9 XUL.DLL error
« Reply #44 on: February 13, 2023, 12:06:51 am »
SUCCESS!!!  I now have FF 45.9.0 and SM 2.42.9 opeating on the Desktop.

I ran <check.ini> yesterday and, while it seemed to report FF w/out an ID - though this could have referred to 38.8.0 installed w/ ArcaOS 5.0.0 - the log didn't show anything.  (It seemed it was doing something w/ the INI files since the Archive operation was activated during the process - I having it set to automatically archive for any change greater than 2.5% and every 15 days - but neither FF or SM still functioned afterward.  (However since I was interrupted in following the whole process by attending to a church member who was here fixing a faulty circuit breaker, I may have missed something.)

Before trying a clean w/ UniMaint, I today moved PSPRINT.DRV to another partition, and then rebooted.  On running both FF and SM the Profile Manager window for each opened and I created them.  I then instructed them to open and they did what they were supposed to do.

I've noted the intervening three messages and will print them for future reference and possible future use.  I had last week deleted the PS Printer Object I had created but this didn't help.  Since FF and SM now are operating I haven't endeavored to pursue the printer delete suggestion; I'm not sure it would have had any effect since the printers consist of:  a dot matrix connected to LPT1; an HP DeskJet w/ a USB connection; and the PMPDF generator.  (I also do have the PMFax driver installed but this doesn't seem to cause a problem.  (It's a shame configuration of PMFax w/ new hardware is so difficult since it was a fine answering machine, I now having to use an application under XP on a different computer for this purpose.))

The situation was definitely strange since on this ThinkPad T-540p PSPRINT.DRV continues to reside in <os2\dill\psprint\> and it never stopped FF or SM from opening.  I suppose it must have been that PS Printer Object I created long ago that inserted something weird in the INI files.

Thanks Much to all for their help.