Bug 30769 - Mageia 8 freezes upon minimizing/maximizing window from bottom desktop panel while Oracle VirtualBox Manager is open with one VirtualBox running or will freeze while web browsing with Firefox
Summary: Mageia 8 freezes upon minimizing/maximizing window from bottom desktop panel ...
Status: RESOLVED OLD
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 8
Hardware: x86_64 Linux
Priority: Normal major
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-08-24 18:53 CEST by Edward
Modified: 2023-06-05 21:34 CEST (History)
4 users (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments

Description Edward 2022-08-24 18:53:36 CEST
Description of problem:

mga8 has been freezing (no response to any input) if a window is repeatedly minimized and maximized from the bottom Xfce panel, by clicking the wintow title;s window button

Please see https://forums.mageia.org/en/viewtopic.php?f=7&t=14698 for detailed information. Except for an update from me, there are no replies to the thread, as of this submission.

I now suspect it is an issue with the Xfce panel or perhaps the Window Button plugin (which does not have its own separate package).

Version-Release number of selected component (if applicable):

4.16.1-1.1

How reproducible:

(from Forum post) 

After repeatedly clicking the VBox Manager tab on the bottom Xfce panel, the host became unresponsive again after several clicks. When this occurs, the bottom Xfce panel becomes grayed out. The only way to get the system back is to manually power it off, as is, then power it back on.

In being able to repeat this, I was clicking the actual running VBox window button instead.

Once this occurs, the entire desktop is unresponsive, cam move mouse, but no response to anything that is selected with it. Pressing the PRT SCN button on the keyboard, will launch the screenshot utility, but nothing in its window is responsive either.
Comment 1 Edward 2022-08-24 21:35:33 CEST
Was able to replicate with the LXQt desktop, so this is not an Xfce issue. 

Please note that I installed an Nvidia GT-710 video card in the open PCI-E x1 slot (the PC came with two x1 slots) and Linux would not boot, apparent IRQ conflict.


 ~]$ inxi -F
System:
  Host: upstairs Kernel: 5.15.58-desktop-2.mga8 x86_64 bits: 64 
  Desktop: Xfce 4.16.0 Distro: Mageia 8 mga8 
Machine:
  Type: Desktop System: Hewlett-Packard product: CQ5826 v: N/A 
  serial: <superuser required> 
  Mobo: FOXCONN model: 2AB7 v: 1.00 serial: <superuser required> 
  BIOS: American Megatrends v: 6.09 date: 05/04/2011 
CPU:
  Info: Dual Core model: AMD Athlon II X2 260 bits: 64 type: MCP 
  L2 cache: 2 MiB 
  Speed: 800 MHz min/max: 800/3200 MHz Core speeds (MHz): 1: 800 2: 800 
Graphics:
  Device-1: AMD RS780L [Radeon 3000] driver: radeon v: kernel 
  Display: x11 server: Mageia X.org 1.20.14 driver: ati,radeon,v4l 
  resolution: 1680x1050~60Hz 
  OpenGL: 
  renderer: AMD RS780 (DRM 2.50.0 / 5.15.58-desktop-2.mga8 LLVM 11.0.1) 
  v: 3.3 Mesa 21.3.8 
Audio:
  Device-1: AMD SBx00 Azalia driver: snd_hda_intel 
  Sound Server: ALSA v: k5.15.58-desktop-2.mga8 
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
  driver: r8169 
  IF: enp2s0 state: up speed: 1000 Mbps duplex: full mac: <removed> 
Drives:
  Local Storage: total: 465.76 GiB used: 106.54 GiB (22.9%) 
  ID-1: /dev/sda vendor: Western Digital model: WD5000AAKX-603CA0 
  size: 465.76 GiB 
Partition:
  ID-1: / size: 49.2 GiB used: 7.5 GiB (15.2%) fs: ext4 dev: /dev/sda1 
  ID-2: /home size: 403.94 GiB used: 99.04 GiB (24.5%) fs: ext4 
  dev: /dev/sda6 
Swap:
  ID-1: swap-1 type: partition size: 4 GiB used: 0 KiB (0.0%) dev: /dev/sda5 
Sensors:
  System Temperatures: cpu: 32.1 C mobo: N/A 
  Fan Speeds (RPM): N/A 
Info:
  Processes: 179 Uptime: 4m Memory: 7.53 GiB used: 1.13 GiB (15.0%) 
  Shell: Bash inxi: 3.2.01

Source RPM: xfce4-panel-4.16.1-1.1.mga8.src.rpm => (none)
Summary: xfce4 - Mageia 8 freezes upon minimizing/maximizing window from bottom Xfce panel => Mageia 8 freezes upon minimizing/maximizing window from bottom Xfce panel

Edward 2022-08-24 21:36:08 CEST

Summary: Mageia 8 freezes upon minimizing/maximizing window from bottom Xfce panel => Mageia 8 freezes upon minimizing/maximizing window from bottom desktop panel

Comment 2 Edward 2022-08-24 22:59:52 CEST
Additional info:

Mageia 8 only freezes like this when it's running Oracle VirtualBox Manager with one VirtualBox running.

I have yet to replicate this not running VirtualBox.

Summary: Mageia 8 freezes upon minimizing/maximizing window from bottom desktop panel => Mageia 8 freezes upon minimizing/maximizing window from bottom desktop panel while Oracle VirtualBox Manager is open with one VirtualBox running

Comment 3 Edward 2022-08-25 01:33:20 CEST
The interface will also occasionally freeze while web browsing using Firefox. I would click a link on a web page, then the interface freezes again.

Summary: Mageia 8 freezes upon minimizing/maximizing window from bottom desktop panel while Oracle VirtualBox Manager is open with one VirtualBox running => Mageia 8 freezes upon minimizing/maximizing window from bottom desktop panel while Oracle VirtualBox Manager is open with one VirtualBox running or will freeze while web browsing with Firefox

Comment 4 Edward 2022-08-25 20:55:11 CEST
New freeze:

Had Audacious playing music, but minimized. Launched VirtualBox Manager, selected a VirtualBox, Audacious window button disappeared from Xfce panel, mga8 froze again.
Comment 5 Morgan Leijström 2022-08-25 21:25:40 CEST
Is is completely frozen, i.e not reacting to
§ ctrl-alt-bkspc,bkspc
§ ctrl-alt-del,del
§ press power button for 2 seconds (usually >1s make system shut down, but >4s cuts power directly per mainboard hardware function)

---

Can you boot into memory test, and run memory test over night, using all CPU cores?

That found the problem for me a couple years ago - I had a core that during that test occasionally experienced "memory fault", but not the other cores...

CC: (none) => fri

Comment 6 Dave Hodgins 2022-08-25 21:59:07 CEST
Also check to see if alt+ctrl+f2 will get to a text login where you can
login as root and check the output of the dmesg command.

CC: (none) => davidwhodgins

Comment 7 Edward 2022-08-25 22:00:55 CEST
(In reply to Morgan Leijström from comment #5)
> Is is completely frozen, i.e not reacting to
> § ctrl-alt-bkspc,bkspc
> § ctrl-alt-del,del
> § press power button for 2 seconds (usually >1s make system shut down, but
> >4s cuts power directly per mainboard hardware function)
> 
> ---
> 
> Can you boot into memory test, and run memory test over night, using all CPU
> cores?
> 
> That found the problem for me a couple years ago - I had a core that during
> that test occasionally experienced "memory fault", but not the other cores...

I have been pressing the power button to power down and get the system back.

I have since reinstalled x11-driver-video-ati, but it probably will not make a difference.

CTL-ALT-BKSP, CLT-ALT-DEL, nothing. PRT SCN works - launches screenshot utility, but its GUI non-responsive. Mouse works. I can click anything on the screen, with no response.

The RAM is fairly new (2020) and had been tested a while back, showing no errors. I don't think the test took more than a couple of hours and AFAIK, it was a complete test. I can certainly run it again. IIRC, it is DDR3 SDRAM, two sticks, each with 4 Gb on them (motherboard accepts no more than 8Gb).
Comment 8 Edward 2022-08-25 22:02:00 CEST
(In reply to Dave Hodgins from comment #6)
> Also check to see if alt+ctrl+f2 will get to a text login where you can
> login as root and check the output of the dmesg command.

Did that yesterday. Was able to get to the terminal, dmesg didn't show any obvious errors, nor did Xorg.0.log.
Comment 9 Morgan Leijström 2022-08-25 22:08:00 CEST
(In reply to Edward from comment #7)
> (In reply to Morgan Leijström from comment #5)
> I have been pressing the power button to power down and get the system back.

The interesting thing i asked about is if the system powers down after a short press, or you need to hold it until power cuts.


> The RAM is fairly new (2020) and had been tested a while back, showing no
> errors.

I also had new ram, but the memory tester also detect other problems in the data paths, such as connectors, and in my case it found a bad CPU core.


Anyway, your comment 8, terminal working, is what we can proceed on.
Comment 10 Edward 2022-08-25 23:21:27 CEST
(In reply to Morgan Leijström from comment #9)
> (In reply to Edward from comment #7)
> > (In reply to Morgan Leijström from comment #5)
> > I have been pressing the power button to power down and get the system back.
> 
> The interesting thing i asked about is if the system powers down after a
> short press, or you need to hold it until power cuts.
> 
> 
> > The RAM is fairly new (2020) and had been tested a while back, showing no
> > errors.
> 
> I also had new ram, but the memory tester also detect other problems in the
> data paths, such as connectors, and in my case it found a bad CPU core.

I have the memory testing now, completed 1 pass already, no errors.

I have been holding in the power button to power it down. On occasion, probably if I'm not holding it in long enough, it will reboot instead
Comment 11 Edward 2022-08-26 01:18:47 CEST
(In reply to Morgan Leijström from comment #5)

> Can you boot into memory test, and run memory test over night, using all CPU
> cores?
> 
> That found the problem for me a couple years ago - I had a core that during
> that test occasionally experienced "memory fault", but not the other cores...

The system is BIOS, no UEFI. The last available memtest86 image for a BIOS system with Linux, is a release under version 4. I did not see anything on the screens where it allowed me to test specifying the number of cores, the default was 1. It went through two complete passes, each had 9 or 10 different tests, took over two hours total and it reported no errors.
Comment 12 Lewis Smith 2022-08-26 20:54:39 CEST
From comment 0:
> if a window is repeatedly minimized and maximized
From comment 2:
> only freezes like this when it's running Oracle VirtualBox Manager
> with one VirtualBox running
It looks as if (the Firefox issue apart) you have to do specific things to create the fault, so it is not 'critical' in the sense of not allowing any vital but normal system use.

Severity: critical => major

Comment 13 Edward 2022-09-08 00:31:31 CEST
VirtualBox 6.1.38 also freezing the Mageia 8 UI. Minimized the VBox window, ONCE, to access something on the host and that was enough to freeze the UI.

As to Firefox freezing the UI, separately, I believe is related to a local television channel web site, it has too many videos on it. I was able to replicate the freeze multiple times via the same web site with 6.1.36.
Comment 14 Edward 2022-09-11 16:12:44 CEST
Would like to confirm this is expected, when removing via urpme --auto-orphans:


 ~]$ sudo urpme --auto-orphans
To satisfy dependencies, the following 4 packages will be removed (157MB):
  
(orphan packages)
  kernel-desktop-5.15.58-2.mga8-1-1.mga8.x86_64
  kernel-desktop-5.15.62-1.mga8-1-1.mga8.x86_64
  virtualbox-kernel-5.15.58-desktop-2.mga8-6.1.36-1.4.mga8.x86_64
  virtualbox-kernel-5.15.62-desktop-1.mga8-6.1.38-1.2.mga8.x86_64
Remove 4 packages? (y/N) y
removing kernel-desktop-5.15.58-2.mga8-1-1.mga8.x86_64 kernel-desktop-5.15.62-1.mga8-1-1.mga8.x86_64 virtualbox-kernel-5.15.58-desktop-2.mga8-6.1.36-1.4.mga8.x86_64 virtualbox-kernel-5.15.62-desktop-1.mga8-6.1.38-1.2.mga8.x86_64

-------- Uninstall Beginning --------
Module:  virtualbox
Version: 6.1.38-1.2.mga8
Kernel:  5.15.62-desktop-1.mga8 (x86_64)
-------------------------------------

Status: Before uninstall, this module version was ACTIVE on this kernel.

vboxdrv.ko.xz:
 - Uninstallation
   - Deleting from: /lib/modules/5.15.62-desktop-1.mga8/dkms-binary/3rdparty/vbox/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.

vboxnetflt.ko.xz:
 - Uninstallation
   - Deleting from: /lib/modules/5.15.62-desktop-1.mga8/dkms-binary/3rdparty/vbox/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.

vboxnetadp.ko.xz:
 - Uninstallation
   - Deleting from: /lib/modules/5.15.62-desktop-1.mga8/dkms-binary/3rdparty/vbox/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.
depmod.........

DKMS: uninstall Completed.
removing package virtualbox-kernel-5.15.62-desktop-1.mga8-6.1.38-1.2.mga8.x86_64
      1/4: removing virtualbox-kernel-5.15.62-desktop-1.mga8-6.1.38-1.2.mga8.x86_64
                                 ###########################################################################

-------- Uninstall Beginning --------
Module:  virtualbox
Version: 6.1.36-1.mga8
Kernel:  5.15.58-desktop-2.mga8 (x86_64)
-------------------------------------

Status: Before uninstall, this module version was ACTIVE on this kernel.

vboxdrv.ko.xz:
 - Uninstallation
   - Deleting from: /lib/modules/5.15.58-desktop-2.mga8/dkms-binary/3rdparty/vbox/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.


vboxnetflt.ko.xz:
 - Uninstallation
   - Deleting from: /lib/modules/5.15.58-desktop-2.mga8/dkms-binary/3rdparty/vbox/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.


vboxnetadp.ko.xz:
 - Uninstallation
   - Deleting from: /lib/modules/5.15.58-desktop-2.mga8/dkms-binary/3rdparty/vbox/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.

depmod.........

DKMS: uninstall Completed.
removing package virtualbox-kernel-5.15.58-desktop-2.mga8-6.1.36-1.4.mga8.x86_64
      2/4: removing virtualbox-kernel-5.15.58-desktop-2.mga8-6.1.36-1.4.mga8.x86_64
                                 ###########################################################################
removing package kernel-desktop-5.15.58-2.mga8-1-1.mga8.x86_64
      3/4: removing kernel-desktop-5.15.58-2.mga8-1-1.mga8.x86_64
                                 ###########################################################################
removing package kernel-desktop-5.15.62-1.mga8-1-1.mga8.x86_64
      4/4: removing kernel-desktop-5.15.62-1.mga8-1-1.mga8.x86_64
                                 ###########################################################################
Comment 15 Edward 2022-09-11 16:14:23 CEST
(In reply to Morgan Leijström from comment #9)
> (In reply to Edward from comment #7)
> > (In reply to Morgan Leijström from comment #5)
> > I have been pressing the power button to power down and get the system back.
> 
> The interesting thing i asked about is if the system powers down after a
> short press, or you need to hold it until power cuts.
> 
> 
> > The RAM is fairly new (2020) and had been tested a while back, showing no
> > errors.
> 
> I also had new ram, but the memory tester also detect other problems in the
> data paths, such as connectors, and in my case it found a bad CPU core.
> 
> 
> Anyway, your comment 8, terminal working, is what we can proceed on.

There was one very early instance, where I did not hold in the power button long enough and with that, it rebooted without powering down.
Comment 16 Edward 2022-10-13 03:22:18 CEST
Just had another Firefox freeze, however, was not running VirtualBox. It was on the host (Mageia 8).

Also had Chromium running at the same time, which did not freeze.
Comment 17 Dave Hodgins 2022-10-13 04:47:30 CEST
See if any of the steps in https://support.mozilla.org/en-US/kb/firefox-hangs-or-not-responding work.
Comment 18 Edward 2022-10-21 01:54:29 CEST
(In reply to Dave Hodgins from comment #17)
> See if any of the steps in
> https://support.mozilla.org/en-US/kb/firefox-hangs-or-not-responding work.

The easiest appeared to be the deletion of the places.sqlite file, which recreates itself and restores the bookmarks upon the next launch.

It was fine for only a few days, then it froze again.
Comment 19 Edward 2022-10-25 17:42:25 CEST
I have since deleted all of the non-Mageia VirtualBoxes *and so far*, the system has been stable, no mga8 freezes and Firefox has also behaved. All of the remaining VirtualBoxes are Cauldron, except for one on mga8.

But I don't understand how using a different Linux OS in a VirtualBox could cause this to occur.
Comment 20 Dave Hodgins 2022-10-27 04:48:13 CEST
Only thing I can think of is a hardware problem such as a bad spot on a
disk drive that one or more of those vb guests were triggering. Either that
a bug in vb triggered by one or more of those guests that Mageia doesn't
trigger.
Comment 21 Edward 2022-10-27 11:18:40 CEST
At this point in time, I think an HDD problem can be ruled out. I just ran GSmartControl and performed a Short self-test on the drive. It reported no errors. The last Extended self-test was run only 520 lifetime hours ago and that also reported no errors. I also installed a Mageia 8 VBox just a few days ago, I would guess that it would have saved that to the HDD using space where the deleted VBoxes were previously saved.
Comment 22 Edward 2022-10-31 19:18:15 CET
I would like to further update this report, as an unrelated issue (without a bug report) has apparently been resolved by using a different desktop environment (DE) on the host than what I had been using, which was Xfce.

I will be using this other DE and running each VirtualBox, to see if mga8 still freezes up while performing the same actions that caused the freezes.
Comment 23 Edward 2022-11-01 16:58:11 CET
mg8 froze using the other desktop (LXDE) as the host, so I now believe the problem is an incompatibility between the kernel and VirtualBox kernel modules.
Comment 24 Lewis Smith 2022-11-08 11:06:02 CET
I agree that a disc fault is extremely unlikely, especially as you have run the SMART self-tests. I recently saw a bad disc where, after running the long self-test, Gsmartcontrol on starting immediately warned of imminent failure, panick!

CC'ing Thomas because of your latest suspicion above. For his view.

CC: (none) => lewyssmith, tmb

Comment 25 Lewis Smith 2023-06-04 21:44:05 CEST
Edward
Is this still an issue?
Having perused the entire bug, I was confused about exactly what is freezing:
- without any virtual machines, a normal system? M8?
- with virtual machines:
-- something on the host system? or the entire host system? M8?
-- something on the guest system? or the entire guest VM?  M8 or M9?
Comment 26 Edward 2023-06-04 22:44:52 CEST
Technically, no. 

I no longer use VirtualBox due to various issues. Plus, I'm using KDE exclusively now.
Comment 27 Lewis Smith 2023-06-05 21:34:31 CEST
Thanks for that.

Status: NEW => RESOLVED
Resolution: (none) => OLD


Note You need to log in before you can comment on or make changes to this bug.