Page 1 of 1

MXPI with text in search field crashes upon changing tabs

Posted: Thu Nov 14, 2024 3:06 am
by Eadwine Rose
Start it, put something in the search field, then change tab to the "Enabled Repos" tab or another, poof.

Did a bit more testing.. looks like this only happens when you are in the Popular Applications tab. Moving to another tab, then entering text and changing tabs doesn't make it crash. Also, if you leave the text in starting from another tab than the default, then you can freely move through all the tabs. Going back into the PA tab, clear the search, put a new one in, change tab, poof.


The output:

Code: Select all

$ mx-packageinstaller
mx-packageinstaller version: 24.11.04
+++ void MainWindow::setProgressDialog() +++
+++ void MainWindow::setup() +++
apt-get update --print-uris | grep -m1 -qE '/mx/testrepo/dists/bookworm/test/'
+++ void MainWindow::loadPmFiles() +++
+++ void MainWindow::refreshPopularApps() +++
+++ QMap<QString, PackageInfo> MainWindow::listInstalled() +++
LANG=C dpkg-query -W -f='${db:Status-Abbrev} ${Package} ${Version} ${binary:Synopsis}\n'
+++ void MainWindow::displayPopularApps() const +++
apt-config shell APTOPT APT::Install-Recommends/b
"APTOPT='false'"
+++ void MainWindow::displayPackages() +++
+++ void MainWindow::displayFlatpaks(bool) +++
+++ void MainWindow::listFlatpakRemotes() const +++
flatpak remote-list --system | cut -f1
+++ QStringList MainWindow::listFlatpaks(const QString&, const QString&) const +++
flatpak remote-ls --system flathub --arch=x86_64 --columns=ver,ref,installed-size 2>/dev/null
flatpak list --system 2>/dev/null --app --columns=ref
flatpak list --system 2>/dev/null --runtime --columns=ref
+++ void MainWindow::listSizeInstalledFP() +++
flatpak list --system --columns app,size
+++ void MainWindow::tabWidget_currentChanged(int) +++
Segmentation fault

Code: Select all

Snapshot created on: 20241110_0922
System:
  Kernel: 6.1.0-27-amd64 [6.1.115-1] arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.1.0-27-amd64 root=UUID=<filter> ro quiet
  Desktop: Xfce v: 4.18.1 tk: Gtk v: 3.24.36 info: xfce4-panel wm: xfwm v: 4.18.0 vt: 7
    dm: LightDM v: 1.26.0 Distro: MX-23.4_x64 Libretto July 31  2023 base: Debian GNU/Linux 12
    (bookworm)
Machine:
  Type: Desktop Mobo: ASUSTeK model: TUF B450-PLUS GAMING v: Rev X.0x serial: <superuser required>
    UEFI: American Megatrends v: 1607 date: 06/17/2019
Battery:
  Device-1: hidpp_battery_0 model: Logitech MX Ergo Multi-Device Trackball serial: <filter>
    charge: 55% (should be ignored) rechargeable: yes status: discharging
CPU:
  Info: model: AMD Ryzen 7 2700 bits: 64 type: MT MCP arch: Zen+ gen: 2 level: v3 note: check
    built: 2018-21 process: GF 12nm family: 0x17 (23) model-id: 8 stepping: 2 microcode: 0x800820D
  Topology: cpus: 1x cores: 8 tpc: 2 threads: 16 smt: enabled cache: L1: 768 KiB
    desc: d-8x32 KiB; i-8x64 KiB L2: 4 MiB desc: 8x512 KiB L3: 16 MiB desc: 2x8 MiB
  Speed (MHz): avg: 1542 high: 1550 min/max: 1550/3200 boost: enabled scaling:
    driver: acpi-cpufreq governor: ondemand cores: 1: 1446 2: 1550 3: 1550 4: 1547 5: 1550 6: 1550
    7: 1547 8: 1546 9: 1550 10: 1547 11: 1550 12: 1549 13: 1550 14: 1550 15: 1550 16: 1550
    bogomips: 102209
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
  Vulnerabilities:
  Type: gather_data_sampling status: Not affected
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data status: Not affected
  Type: reg_file_data_sampling status: Not affected
  Type: retbleed mitigation: untrained return thunk; SMT vulnerable
  Type: spec_rstack_overflow mitigation: safe RET
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2 mitigation: Retpolines; IBPB: conditional; STIBP: disabled; RSB filling;
    PBRSB-eIBRS: Not affected; BHI: Not affected
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Conexant Systems CX23887/8 PCIe Broadcast Audio and Video Decoder with 3D Comb
    vendor: Hauppauge works driver: cx23885 v: 0.0.4 pcie: gen: 1 speed: 2.5 GT/s lanes: 1
    bus-ID: 07:00.0 chip-ID: 14f1:8880 class-ID: 0400
  Device-2: NVIDIA GP107 [GeForce GTX 1050 Ti] vendor: ASUSTeK driver: nvidia v: 535.183.01
    non-free: 530.xx+ status: current (as of 2023-03) arch: Pascal code: GP10x process: TSMC 16nm
    built: 2016-21 pcie: gen: 2 speed: 5 GT/s lanes: 16 link-max: gen: 3 speed: 8 GT/s
    bus-ID: 08:00.0 chip-ID: 10de:1c82 class-ID: 0300
  Device-3: Logitech QuickCam E 3500 type: USB driver: snd-usb-audio,uvcvideo bus-ID: 1-7:3
    chip-ID: 046d:09a4 class-ID: 0102 serial: <filter>
  Display: x11 server: X.Org v: 1.21.1.7 compositor: xfwm v: 4.18.0 driver: X: loaded: nvidia
    gpu: cx23885,nvidia display-ID: :0.0 screens: 1
  Screen-1: 0 s-res: 3840x1080 s-dpi: 96 s-size: 1016x286mm (40.00x11.26")
    s-diag: 1055mm (41.55")
  Monitor-1: DVI-D-0 pos: right res: 1920x1080 hz: 60 dpi: 102 size: 477x268mm (18.78x10.55")
    diag: 547mm (21.54") modes: N/A
  Monitor-2: HDMI-0 pos: primary,left res: 1920x1080 hz: 60 dpi: 92
    size: 531x299mm (20.91x11.77") diag: 609mm (23.99") modes: N/A
  API: OpenGL v: 4.6.0 NVIDIA 535.183.01 renderer: NVIDIA GeForce GTX 1050 Ti/PCIe/SSE2
    direct-render: Yes
Audio:
  Device-1: Conexant Systems CX23887/8 PCIe Broadcast Audio and Video Decoder with 3D Comb
    vendor: Hauppauge works driver: cx23885 v: 0.0.4 bus-ID: 1-7:3 chip-ID: 046d:09a4 pcie: gen: 1
    class-ID: 0102 serial: <filter> speed: 2.5 GT/s lanes: 1 bus-ID: 07:00.0 chip-ID: 14f1:8880
    class-ID: 0400
  Device-2: NVIDIA GP107GL High Definition Audio vendor: ASUSTeK driver: snd_hda_intel v: kernel
    pcie: gen: 3 speed: 8 GT/s lanes: 16 bus-ID: 08:00.1 chip-ID: 10de:0fb9 class-ID: 0403
  Device-3: AMD Family 17h HD Audio vendor: ASUSTeK driver: snd_hda_intel v: kernel pcie: gen: 3
    speed: 8 GT/s lanes: 16 bus-ID: 0a:00.3 chip-ID: 1022:1457 class-ID: 0403
  Device-4: Logitech QuickCam E 3500 type: USB driver: snd-usb-audio,uvcvideo
  API: ALSA v: k6.1.0-27-amd64 status: kernel-api tools: alsamixer,amixer
  Server-1: PipeWire v: 1.0.0 status: active with: 1: pipewire-pulse status: active
    2: wireplumber status: active 3: pipewire-alsa type: plugin 4: pw-jack type: plugin
    tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: ASUSTeK PRIME B450M-A
    driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: f000 bus-ID: 03:00.0
    chip-ID: 10ec:8168 class-ID: 0200
  IF: eth0 state: up speed: 1000 Mbps duplex: full mac: <filter>
  Device-2: Ralink MT7601U Wireless Adapter type: USB driver: mt7601u bus-ID: 1-1:2
    chip-ID: 148f:7601 class-ID: 0000 serial: <filter>
  IF: wlan0 state: down mac: <filter>
Bluetooth:
  Device-1: Cambridge Silicon Radio Bluetooth Dongle (HCI mode) type: USB driver: btusb v: 0.8
    bus-ID: 1-8:4 chip-ID: 0a12:0001 class-ID: e001
  Report: hciconfig ID: hci0 rfk-id: 0 state: up address: <filter> bt-v: 2.1 lmp-v: 4.0
    sub-v: 22bb hci-v: 4.0 rev: 22bb
  Info: acl-mtu: 310:10 sco-mtu: 64:8 link-policy: rswitch hold sniff park
    link-mode: peripheral accept service-classes: rendering, capturing, object transfer, audio,
    telephony
Drives:
  Local Storage: total: 1.82 TiB used: 333.59 GiB (17.9%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/sda maj-min: 8:0 vendor: Samsung model: SSD 870 EVO 500GB size: 465.76 GiB
    block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s type: SSD serial: <filter> rev: 2B6Q
    temp: 21.0 C scheme: GPT
  ID-2: /dev/sdb maj-min: 8:16 vendor: Samsung model: SSD 870 EVO 500GB size: 465.76 GiB
    block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s type: SSD serial: <filter> rev: 2B6Q
    temp: 21.0 C scheme: GPT
  ID-3: /dev/sdc maj-min: 8:32 vendor: Samsung model: SSD 870 EVO 500GB size: 465.76 GiB
    block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s type: SSD serial: <filter> rev: 2B6Q
    temp: 21.0 C scheme: GPT
  ID-4: /dev/sdd maj-min: 8:48 vendor: Samsung model: SSD 870 EVO 500GB size: 465.76 GiB
    block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s type: SSD serial: <filter> rev: 2B6Q
    temp: 29.0 C scheme: GPT
Partition:
  ID-1: / raw-size: 78.12 GiB size: 76.35 GiB (97.73%) used: 22.28 GiB (29.2%) fs: ext4
    dev: /dev/sdd2 maj-min: 8:50
  ID-2: /boot/efi raw-size: 523 MiB size: 521.9 MiB (99.80%) used: 288 KiB (0.1%) fs: vfat
    dev: /dev/sdd1 maj-min: 8:49
  ID-3: /home raw-size: 379.31 GiB size: 372.29 GiB (98.15%) used: 147.53 GiB (39.6%) fs: ext4
    dev: /dev/sdd4 maj-min: 8:52
Swap:
  Kernel: swappiness: 15 (default 60) cache-pressure: 100 (default)
  ID-1: swap-1 type: partition size: 7.81 GiB used: 0 KiB (0.0%) priority: -2 dev: /dev/sdd3
    maj-min: 8:51
Sensors:
  System Temperatures: cpu: 32.5 C mobo: 26.0 C gpu: nvidia temp: 33 C
  Fan Speeds (RPM): cpu: 702 fan-2: 629 fan-3: 0 fan-4: 578 fan-6: 0 gpu: nvidia fan: 24%
  Power: 12v: N/A 5v: N/A 3.3v: 3.36 vbat: 3.25
Repos:
  Packages: pm: dpkg pkgs: 2606 libs: 1369 tools: apt,apt-get,aptitude,nala,synaptic pm: rpm
    pkgs: 0 pm: flatpak pkgs: 0
  No active apt repos in: /etc/apt/sources.list
  No active apt repos in: /etc/apt/sources.list.d/brave-browser-release.list
  Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list
    1: deb http://deb.debian.org/debian/ bookworm-updates non-free-firmware non-free contrib main
  Active apt repos in: /etc/apt/sources.list.d/debian.list
    1: deb http://deb.debian.org/debian/ bookworm main contrib non-free non-free-firmware
    2: deb http://security.debian.org/debian-security/ bookworm-security main contrib non-free non-free-firmware
  Active apt repos in: /etc/apt/sources.list.d/google-chrome.list
    1: deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main
  Active apt repos in: /etc/apt/sources.list.d/megasync.list
    1: deb [signed-by=/usr/share/keyrings/meganz-archive-keyring.gpg] https://mega.nz/linux/repo/Debian_12/ ./
  Active apt repos in: /etc/apt/sources.list.d/mx.list
    1: deb https://mxrepo.com/mx/repo/ bookworm main non-free
  Active apt repos in: /etc/apt/sources.list.d/slack.list
    1: deb https://packagecloud.io/slacktechnologies/slack/debian/ jessie main
  Active apt repos in: /etc/apt/sources.list.d/spotify.list
    1: deb http://repository.spotify.com/ stable non-free
Info:
  Processes: 374 Uptime: 35m wakeups: 3 Memory: 31.28 GiB used: 5.29 GiB (16.9%) Init: SysVinit
  v: 3.06 runlevel: 5 default: graphical tool: systemctl Compilers: gcc: 12.2.0 alt: 12
  Client: shell wrapper v: 5.2.15-release inxi: 3.3.26
Boot Mode: UEFI

Re: MXPI with text in search field crashes upon changing tabs

Posted: Thu Nov 14, 2024 3:21 am
by artytux
Also if you are in Enabled tab do a search then goto Popular Apps empty the search box enter new search then change tabs, will get that crash too.

Popular Apps tab never seems to find anything when I search that why I'd prefer to not use Popular Apps tab, Enabled tab does good.

Re: MXPI with text in search field crashes upon changing tabs

Posted: Thu Nov 14, 2024 3:38 am
by m_pav
-- EDIT -- - forgot to include both packages

I just checked and I am not getting the crash.
I see there is an update in the repos for MXPI
Checking the version I have installed I get v24.11 for mxpackageinstaller vs the repos v24.11.04
and
Checking the version I have installed I get v24.11.02 for mxpackageinstaller-pkglist vs the repos v24.11.04

What version are y'all at to come across this bug?

Re: MXPI with text in search field crashes upon changing tabs

Posted: Thu Nov 14, 2024 3:48 am
by artytux
MX Package Installer
Version: 24.11.04

Re: MXPI with text in search field crashes upon changing tabs

Posted: Thu Nov 14, 2024 3:49 am
by Eadwine Rose
I have

24.11.04 mx-packageinstaller
24.11.04mx23 mx-packageinstaller-pkglist


Repo and installed version are the same. Both got updated. History:

Code: Select all

2024-11-14  08:36:12  upgrade  mx-packageinstaller            amd64  24.11.01                         24.11.04
2024-11-13  08:25:05  upgrade  mx-packageinstaller-pkglist    all    24.11.03mx23                     24.11.04mx23

Re: MXPI with text in search field crashes upon changing tabs

Posted: Thu Nov 14, 2024 3:59 am
by artytux
checked and it is

24.11.04 mx-packageinstaller
24.11.04mx23 mx-packageinstaller-pkglist

Up to date

Re: MXPI with text in search field crashes upon changing tabs

Posted: Thu Nov 14, 2024 4:13 am
by m_pav
Just tested by upgrading mxpackageinstaller only and we have the culprit, crashed as you both described.

Re: MXPI with text in search field crashes upon changing tabs

Posted: Thu Nov 14, 2024 5:28 am
by Eadwine Rose
artytux wrote: Thu Nov 14, 2024 3:21 am Also if you are in Enabled tab do a search then goto Popular Apps empty the search box enter new search then change tabs, will get that crash too.

Popular Apps tab never seems to find anything when I search that why I'd prefer to not use Popular Apps tab, Enabled tab does good.
Popular tab only finds what it is it. It needs to be the first tab to avoid people installing single packages when things in popular sort everything out for you. Especially the new folk will then first run into that.

Re: MXPI with text in search field crashes upon changing tabs

Posted: Thu Nov 14, 2024 5:36 am
by artytux
Aah thanks for the info, we were all new folk once and needed guardrails, Eh I know I did and sometimes nowadays . . .

Re: MXPI with text in search field crashes upon changing tabs

Posted: Thu Nov 14, 2024 5:58 am
by Eadwine Rose
No worries.. been at this since 2015ish and still need them ;)

Re: MXPI with text in search field crashes upon changing tabs

Posted: Thu Nov 14, 2024 8:27 am
by Adrian
Oh, well. I broke something, I will fix it today or tomorrow.

Re: MXPI with text in search field crashes upon changing tabs

Posted: Thu Nov 14, 2024 8:41 am
by Adrian
I think I got it, if you want to test a bit more before it comes from the regular updates:
mx-packageinstaller (24.11.05) -> https://build.opensuse.org/projects/hom ... 2/binaries

Re: MXPI with text in search field crashes upon changing tabs

Posted: Thu Nov 14, 2024 1:40 pm
by Eadwine Rose
Just got the update. I cannot crash it anymore following my usual behavior with it. Thanks :)

Re: MXPI with text in search field crashes upon changing tabs

Posted: Thu Nov 14, 2024 2:34 pm
by Jerry3904
Nice bug response, @Adrian

:popcorn:

Re: MXPI with text in search field crashes upon changing tabs

Posted: Thu Nov 14, 2024 4:13 pm
by Adrian
Jerry3904 wrote: Thu Nov 14, 2024 2:34 pm Nice bug response, @Adrian

:popcorn:
Thanks, 14 min. from the time I saw the message to the time the fixed build was done -- before I had my coffee... :needcoffee:
I guess it's easier to fix things when you broke them... wish people would report the bugs like Eadwine :)

Re: MXPI with text in search field crashes upon changing tabs

Posted: Thu Nov 14, 2024 4:28 pm
by Eadwine Rose
Aww thanks :happy:


I like to be thorough. Must have edited that post like 5 or 6 times adding stuff hehe.

You're the best for fixing it so quick! :number1:

Re: MXPI with text in search field crashes upon changing tabs

Posted: Thu Nov 14, 2024 5:42 pm
by m_pav
Eadwine Rose wrote: Thu Nov 14, 2024 4:28 pm
I like to be thorough. Must have edited that post like 5 or 6 times adding stuff hehe.
So I'm not the only one who does that then. Sometimes things sound better in my head than they appear in a posted response, and I forget people can't always see what I'm seeing :alien:

Re: MXPI with text in search field crashes upon changing tabs

Posted: Thu Nov 14, 2024 6:24 pm
by aika
Adrian wrote: Thu Nov 14, 2024 8:41 am I think I got it, if you want to test a bit more before it comes from the regular updates:
mx-packageinstaller (24.11.05) -> https://build.opensuse.org/projects/hom ... 2/binaries

Code: Select all

apt policy mx-packageinstaller
mx-packageinstaller:
  Installiert:           24.11.05
...
I also had this error and can confirm that mx-packageinstaller version 24.11.05 of Debian11 now runs smoothly.

Thanks to Adrian

Re: MXPI with text in search field crashes upon changing tabs

Posted: Thu Nov 14, 2024 7:07 pm
by Adrian
mx-packageinstaller (24.11.06) coming shortly, I blame it on the lack of coffee.

https://build.opensuse.org/projects/hom ... 2/binaries

This fixes installation issues from other tabs than Popular.