At least I can say "that" issue is not present here with Version: 24.12
(Type something in searchbox and change tab(s) .. all fine )
mx-packageinstaller - Segmentation fault [Solved]
- Kermit the Frog
- Posts: 626
- Joined: Mon Jul 08, 2024 8:52 am
Re: mx-packageinstaller - Segmentation fault
Ok, now I got a three crashes in a row like this:
Open MXPI, paste VeraCrypt into search, click through all other tabs (Enabled Repos, MX Test Repo, Debian Backports, Flatpaks).
Click on the first tab (Popular Applications), click the checkmark, then click Install...and its gone.
Open MXPI, paste VeraCrypt into search, click through all other tabs (Enabled Repos, MX Test Repo, Debian Backports, Flatpaks).
Click on the first tab (Popular Applications), click the checkmark, then click Install...and its gone.
Re: mx-packageinstaller - Segmentation fault
Confirmed. That sequence segfaults here as well.
Code: Select all
$ mx-packageinstaller
mx-packageinstaller version: 24.11.06
+++ 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) +++
+++ void MainWindow::setCurrentTree() +++
+++ bool MainWindow::buildPackageLists(bool) +++
+++ void MainWindow::clearUi() +++
+++ bool MainWindow::downloadPackageList(bool) +++
+++ bool MainWindow::readPackageList(bool) +++
+++ void MainWindow::displayPackages() +++
+++ QHash<QString, VersionNumber> MainWindow::listInstalledVersions() +++
LANG=C apt-get --dry-run autoremove | grep -Po '^Remv \K[^ ]+'
"libebur128-1\nlibgpod4\nlibprotobuf32\nlinux-headers-6.1.0-26-common\nlinux-headers-6.1.0-27-amd64\nlinux-headers-6.1.0-27-common\nlinux-image-6.1.0-27-amd64\nsqlite3"
+++ void MainWindow::filterChanged(const QString&) +++
+++ void MainWindow::updateInterface() const +++
+++ void MainWindow::tabWidget_currentChanged(int) +++
+++ void MainWindow::setCurrentTree() +++
+++ void MainWindow::setCurrentTree() +++
+++ void MainWindow::displayWarning(const QString&) +++
+++ bool MainWindow::buildPackageLists(bool) +++
+++ void MainWindow::clearUi() +++
+++ bool MainWindow::downloadPackageList(bool) +++
apt-get update --print-uris | tac | grep -m1 -oP 'https?://.*/mx/testrepo/dists/(?=bookworm/test/)'
apt-get update --print-uris | tac | grep -m1 -oE 'https?://.*/mx/repo/dists/bookworm/main/' | sed -e 's:/mx/repo/dists/bookworm/main/:/mx/testrepo/dists/:' | grep -oE 'https?://.*/mx/testrepo/dists/'
"http://it.mxrepo.com/mx/testrepo/dists/"
... downloading: "http://it.mxrepo.com/mx/testrepo/dists/bookworm/test/binary-amd64/Packages.gz"
gunzip -f /tmp/mx-packageinstaller-PQGGKe/mxPackages.gz
+++ bool MainWindow::readPackageList(bool) +++
+++ void MainWindow::displayPackages() +++
+++ QHash<QString, VersionNumber> MainWindow::listInstalledVersions() +++
LANG=C apt-get --dry-run autoremove | grep -Po '^Remv \K[^ ]+'
"libebur128-1\nlibgpod4\nlibprotobuf32\nlinux-headers-6.1.0-26-common\nlinux-headers-6.1.0-27-amd64\nlinux-headers-6.1.0-27-common\nlinux-image-6.1.0-27-amd64\nsqlite3"
+++ void MainWindow::filterChanged(const QString&) +++
+++ void MainWindow::updateInterface() const +++
+++ void MainWindow::tabWidget_currentChanged(int) +++
+++ void MainWindow::setCurrentTree() +++
+++ void MainWindow::setCurrentTree() +++
+++ void MainWindow::displayWarning(const QString&) +++
+++ bool MainWindow::buildPackageLists(bool) +++
+++ void MainWindow::clearUi() +++
+++ bool MainWindow::downloadPackageList(bool) +++
... downloading: "http://deb.debian.org/debian/dists/bookworm-backports/main/binary-amd64/Packages.xz"
unxz -f /tmp/mx-packageinstaller-PQGGKe/mainPackages.xz
... downloading: "http://deb.debian.org/debian/dists/bookworm-backports/contrib/binary-amd64/Packages.xz"
unxz -f /tmp/mx-packageinstaller-PQGGKe/contribPackages.xz
... downloading: "http://deb.debian.org/debian/dists/bookworm-backports/non-free/binary-amd64/Packages.xz"
unxz -f /tmp/mx-packageinstaller-PQGGKe/non-freePackages.xz
+++ bool MainWindow::readPackageList(bool) +++
+++ void MainWindow::displayPackages() +++
+++ QHash<QString, VersionNumber> MainWindow::listInstalledVersions() +++
LANG=C apt-get --dry-run autoremove | grep -Po '^Remv \K[^ ]+'
"libebur128-1\nlibgpod4\nlibprotobuf32\nlinux-headers-6.1.0-26-common\nlinux-headers-6.1.0-27-amd64\nlinux-headers-6.1.0-27-common\nlinux-image-6.1.0-27-amd64\nsqlite3"
+++ void MainWindow::filterChanged(const QString&) +++
+++ void MainWindow::updateInterface() const +++
+++ void MainWindow::tabWidget_currentChanged(int) +++
+++ void MainWindow::setCurrentTree() +++
+++ void MainWindow::setCurrentTree() +++
+++ void MainWindow::pushInstall_clicked() +++
+++ void MainWindow::tabWidget_currentChanged(int) +++
+++ void MainWindow::setCurrentTree() +++
Segmentation fault
HP Pavillion TP01, AMD Ryzen 3 5300G (quad core), Crucial 500GB SSD, Toshiba 6TB 7200rpm
Dell Inspiron 15, AMD Ryzen 7 2700u (quad core). Sabrent 500GB nvme, Seagate 1TB
Dell Inspiron 15, AMD Ryzen 7 2700u (quad core). Sabrent 500GB nvme, Seagate 1TB
Re: mx-packageinstaller - Segmentation fault
OK, that was what I meant with "pattern", so like clicking between tabs and search box involved.User0x55 wrote: Mon Dec 30, 2024 11:43 amNo, it only happens when clicking on a tab or a button, so far.
Today I typed filez (for Filezilla) in the searchbox and clicked through the tabs to see what is available.
When I clicked on the install button the GUI vanished and I got the messages I posted above.
The problem looks like viewtopic.php?t=82679, but I cannot reproduce it with exact steps.
Any other e.g unusual kernel log or other log entries.
E.g I needed on Ryzen 7, 7735HS to add pcie_aspm=off to stop filling up with massive log entries the logs.
But I have no nvidia stuff involved.
Would it make a difference to have the bookwom (Debian 12) build running instead the one which was build on bullseye (Debian 11), available on the build server:
OBS: mx-packageinstaller
e.g this build:
https://download.opensuse.org/repositor ... _amd64.deb
I guess problably no difference, but who knows what this may have triggered on libQt5Widgets.so to crash:
Code: Select all
segfault at 8 ip 0000749256eaa8d6 sp 00007ffef74cd140 error 4 in libQt5Widgets.so.5.15.8
Re: mx-packageinstaller - Segmentation fault
Ahh now we have a reproducible pattern:User0x55 wrote: Mon Dec 30, 2024 12:21 pm Ok, now I got a three crashes in a row like this:
Open MXPI, paste VeraCrypt into search, click through all other tabs (Enabled Repos, MX Test Repo, Debian Backports, Flatpaks).
Click on the first tab (Popular Applications), click the checkmark, then click Install...and its gone.
Search first with a pattern on PopApps. Click at least on one other tab.
Click back on Pop.apps tab, an do not refresh just tick the existing search result on in install.
And it crashs.
OK, seem the result of an outdated, displayed cached list, so a tries to run something not available anymore with the cached tree.
Removing the search pattern an let the result tree rebuild again would allow to install.
Re: mx-packageinstaller - Segmentation fault
So as far as I understand it is just a GUI problem and nothing to worry about?
I guess I just have to wait for an update then?
I guess I just have to wait for an update then?
Re: mx-packageinstaller - Segmentation fault [Solved]
Yes, within that area there have been a couple of adjustments, to make user experience nicer,User0x55 wrote: Mon Dec 30, 2024 2:30 pm So as far as I understand it is just a GUI problem and nothing to worry about?
I guess I just have to wait for an update then?
i.e. not wait to long by caching all lists from different tabs and also search results.
Which in this case may have triggered an overlooked cleaning of the cashed list.
so I guess, some detective work to spot to culprit within the code may be involved.
Re: mx-packageinstaller - Segmentation fault
Great, thanks a lot for your help!!
I will set this to solved then.
I will set this to solved then.
- dolphin_oracle
- Developer
- Posts: 22276
- Joined: Sun Dec 16, 2007 12:17 pm
Re: mx-packageinstaller - Segmentation fault
I'm doing an update to mx-packageinstaller, but it does not address this issue. I'll have to wait for devs to come back from vacation.
thanks for the detailed report!
thanks for the detailed report!
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.