Author Topic: SOLVED: Thunderbird - SM email makes system trap in Warp 4.52 but ok in Arcaos5  (Read 7394 times)

Roderick Klein

  • Hero Member
  • *****
  • Posts: 725
  • Karma: +14/-0
    • View Profile
Re: Thunderbird - SM email makes system trap in Warp 4.52 but ok in Arcaos5
« Reply #15 on: January 19, 2025, 04:38:53 pm »
made all what suggested, no improve.
Seamonkey.exe opens the browser, if start composing a new message (FILE menu) it let me do it, but goes in system trap as I try to open the Mail & Newsgroup window (WINDOWS menu) see message in the attached picture.
Repeat, it has worked OK since time ago, unfortunately I ignore after which software/installation has stopped to work properly.
I feel something related to QT5 stuff introduced for Dooble installation, but however made same on ArcaOS and no issue there
Thank you

If ANY DLL is marked to load high. ONLY do this on ArcaOS installaitons with recent kernels.
If a program exists when loaded high (by exiting or crashing) the change it high it will take your MCP 4.52 system down.

Another fix in the ArcaOS kernel is that when DLL are loaded high the memory is actually released.

Note to run any QT 5 or QT 6 based browser (dooble). You NEED to load the webskit DLL in high memory. Otherwhise the lower shared kernel memory is exhausted to quickly.

Roderick

Dave Yeo

  • Hero Member
  • *****
  • Posts: 5335
  • Karma: +126/-1
    • View Profile
Re: Thunderbird - SM email makes system trap in Warp 4.52 but ok in Arcaos5
« Reply #16 on: January 19, 2025, 06:13:46 pm »
Hi Roderick, I've been marking the Mozilla DLL's to load high for years, didn't have problems on freshly booted systems, after a few days things would go south.

Dave Yeo

  • Hero Member
  • *****
  • Posts: 5335
  • Karma: +126/-1
    • View Profile
Re: Thunderbird - SM email makes system trap in Warp 4.52 but ok in Arcaos5
« Reply #17 on: January 19, 2025, 06:17:03 pm »
Mauro, what color depth is your system using? Try changing it. Eg if using 16 million colours, chamge to 64K or the opposite.
It's really weird that both SM and TB are crashing the kernel at the same point. Are they both i686 builds? If not you should try the i686 builds.

mauro

  • Sr. Member
  • ****
  • Posts: 433
  • Karma: +4/-0
    • View Profile
Re: Thunderbird - SM email makes system trap in Warp 4.52 but ok in Arcaos5
« Reply #18 on: January 19, 2025, 07:22:08 pm »
I've read your suggestions, first of all thank you for spending your time in focusing my issue.
Will now try to apply what suggested and let you know.

Roderick please need also to know how to turn all dll eventually high-loaded in a "standard" load status , ignoring which are them.

Dariusz, not understood what you're asking me to do: having both FF and TB installed and then what action...?

Dave Yeo

  • Hero Member
  • *****
  • Posts: 5335
  • Karma: +126/-1
    • View Profile
Re: Thunderbird - SM email makes system trap in Warp 4.52 but ok in Arcaos5
« Reply #19 on: January 19, 2025, 09:17:14 pm »
Mauro, to remove the high memory thing from the dll's, highmem --unmark *dll

Dariusz Piatkowski

  • Hero Member
  • *****
  • Posts: 1421
  • Karma: +28/-0
    • View Profile
Re: Thunderbird - SM email makes system trap in Warp 4.52 but ok in Arcaos5
« Reply #20 on: January 19, 2025, 09:42:29 pm »
mauro,

...Dariusz, not understood what you're asking me to do: having both FF and TB installed and then what action...?

OK, in your original post you stated:

...recently discovered that now the email client of Seamonkey -assuming same as Thunderbird-, cause a system trap when calling the "email client" window from Seamonkey (no problem if I start a new message compose)...

I interpret that to mean:

1) you are in web page (browsing) where there is an email link
2) you click on that link and expect that the email client window would pop up, thus allowing you to create an email
3) instead of this outcome you experience a trap/failure

Is that correct?

Subsequently in your post I was responding to you stated:

Quote
...I have installed Thunderbird 45.8 pentium4 to see what happens...

...and I was commenting on the fact that I have FF & TB here, which have been pretty solid for me, so I could certainly try to reproduce your scenario, and if I fail to, we could try to chase the DLLs down given that I am on CP2 release as opposed to AOS install.

mauro

  • Sr. Member
  • ****
  • Posts: 433
  • Karma: +4/-0
    • View Profile
Re: Thunderbird - SM email makes system trap in Warp 4.52 but ok in Arcaos5
« Reply #21 on: January 20, 2025, 08:37:27 am »
mauro,

Quote

I interpret that to mean:

1) you are in web page (browsing) where there is an email link
2) you click on that link and expect that the email client window would pop up, thus allowing you to create an email
3) instead of this outcome you experience a trap/failure

Is that correct?



ah, ok.  more exactly:
I'm in SM window browser, I browse the web, then if I want to start a new mail message I can do it (compose message window selected from FILE menu opens, I write the message and send it). But I cannot touch the item Mail & Messages from WINDOW menu, the one which opens the email folders pane, at that point OS2 traps.
« Last Edit: January 20, 2025, 10:36:25 am by mauro »

Dariusz Piatkowski

  • Hero Member
  • *****
  • Posts: 1421
  • Karma: +28/-0
    • View Profile
Re: Thunderbird - SM email makes system trap in Warp 4.52 but ok in Arcaos5
« Reply #22 on: January 20, 2025, 04:55:13 pm »
hi mauro,

ah, ok.  more exactly:
I'm in SM window browser, I browse the web, then if I want to start a new mail message I can do it (compose message window selected from FILE menu opens, I write the message and send it). But I cannot touch the item Mail & Messages from WINDOW menu, the one which opens the email folders pane, at that point OS2 traps.

OK, I understand now...so this is all within the SM application, which I do not have installed here.

When you mentioned that you installed FF I thought I could try to help/test with my FF & TB combo, unfortunately I do not think this is possible. Maybe I misunderstood one of the posts though..sorry about the noise.

mauro

  • Sr. Member
  • ****
  • Posts: 433
  • Karma: +4/-0
    • View Profile
Re: Thunderbird - SM email makes system trap in Warp 4.52 but ok in Arcaos5
« Reply #23 on: January 21, 2025, 01:36:23 pm »
just discovered it is a VirtualBox (Windows 11 hosted) issue!!
In fact, have cloned same virtual machine on a Linux Mint hosted Virtualbox, and seen SM email pane working with no issue at all.
Now : what is the difference?
All settings between the two virtual machines are identical, checked one by one in all sections.
The only difference is:
Windows 11  VirtualBox  is  7.1.4 r165100 (Qt6.5.3)
Linux Mint 22.1 Virtualbox is 7.0.16_Ubunbu r162802 (Qt5.15.13) .
The reason why it use to work well before, should refer to the time I upgraded the VirtulBox version in Windows. Also, cannot explain why all goes well in ArcaOS vm same Windows 11 Virtualbox.
Not easy for me finding a fix for this, unless succeed to downgrade VirtualBox in Windows.
Thank you
« Last Edit: January 21, 2025, 01:46:20 pm by mauro »

mauro

  • Sr. Member
  • ****
  • Posts: 433
  • Karma: +4/-0
    • View Profile
Re: Thunderbird - SM email makes system trap in Warp 4.52 but ok in Arcaos5
« Reply #24 on: January 21, 2025, 03:22:08 pm »
......, unless succeed to downgrade VirtualBox in Windows.
Thank you

no luck even downgrading Virtualbox x Windows, tried more than one downgrade: 7.0.22 , 7.0.16 , 6.1.50  with their extensions pack, the problem is still there

Steven Levine

  • Jr. Member
  • **
  • Posts: 65
  • Karma: +12/-0
    • View Profile
Re: Thunderbird - SM email makes system trap in Warp 4.52 but ok in Arcaos5
« Reply #25 on: January 22, 2025, 08:55:49 am »
Mauro,

I don't have any good idea about what you changed that allowed this trap to occur.  If you have a backup of the VM, you could try reapplying your recent changes until the trap returns.

The trap screen looks vaguely familiar but I've not yet located my work notes to verify this.  My current suspect is a floating point exception that is mishandled by IBM's 14.106 W4 kernel.  What happens is the kernel's trap 0x10 handler neglects to push a required parameter on the stack.  This causes the common fault handler to get confused and decide that the exception occurred when the kernel was running in v8086 mode, which is incorrect.  The result is the exception handler traps and the kernel panics with the 60000, 9084 panic id.

This defect has been corrected in the ArcaOS 14.201 W4 kernel.

mauro

  • Sr. Member
  • ****
  • Posts: 433
  • Karma: +4/-0
    • View Profile
Re: Thunderbird - SM email makes system trap in Warp 4.52 but ok in Arcaos5
« Reply #26 on: January 22, 2025, 10:44:35 am »
Hi Steven, as noted here above, I see that does not seem to be a specific problem of the VM OS2 kernel itself, it works fine in a Virtualbox Linux hosted, viceversa it goes KO at that time on a Virtualbox Windows hosted. Of course I also tried to work whit a restored version of a previous OS2 VM, but it behaves the same. And have gone back with older Windows Virtualbox releases as well: same behavior.  The issue could be caused by one of the Windows 11 update, which then affects OS2 VM but not ArcaOS VM.
Not really a serious situation, I've alternatives available not to stay learning IT engeneering which is away from my knoledges. It also may happen that the issue will disappears with future Windows 11 updates.
Thank you anyway

KO Myung-Hun

  • Jr. Member
  • **
  • Posts: 76
  • Karma: +11/-0
    • View Profile
Re: Thunderbird - SM email makes system trap in Warp 4.52 but ok in Arcaos5
« Reply #27 on: January 22, 2025, 11:28:35 am »
Hi/2.

Are you using OS2PCAT by Lars ? If not, I suggest to use it.

And if you are using PIIX4 as an ide controller, then try PIIX3.

mauro

  • Sr. Member
  • ****
  • Posts: 433
  • Karma: +4/-0
    • View Profile
SOLVED Thunderbird - SM email makes system trap in Warp 4.52 but ok in Arcaos5
« Reply #28 on: January 22, 2025, 02:31:03 pm »
Hi/2.

Are you using OS2PCAT by Lars ? If not, I suggest to use it.

And if you are using PIIX4 as an ide controller, then try PIIX3.

magic !  OS2PCAT4 was the care, so simple!
Thank you much

Lars

  • Hero Member
  • *****
  • Posts: 1417
  • Karma: +72/-0
    • View Profile
Yes, OS2PCAT.PSD fixes the exact error that Steven has described:
when the PSD loads, it changes the floating point exception handling to use the CPUs native exception handling (instead of invoking interrupt 13 via the old interrupt controller), replaces the original floating point exception handler (the handler for trap 0x10) with its own handler that subsequently pushes the missing parameter on the stack before invoking the original exception handler. That makes IBM's 14.106 W4 kernel happy (if a floating point exception occurs).
Just to be sure, it checks if the original exception handler is already pushing that additional parameter (the SMP kernels and obviously the latest AN W4 kernel already do that correctly) and skips pushing the additional parameter if it already works correctly.

In short: it's neither an error of your host OS nor of Virtualbox. It's all the W4 kernel's fault :-)

I was not aware that AN had fixed that directly in the W4 kernel for the later W4 kernels.

Lars
« Last Edit: January 25, 2025, 05:46:07 pm by Lars »