Summary: | SMB4K Crash saving bookmarks | ||
---|---|---|---|
Product: | [Applications] Smb4k | Reporter: | Karl Mulder <kammulder> |
Component: | general | Assignee: | Alexander Reinholdt <alexander.reinholdt> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | kammulder, robota |
Priority: | NOR | Keywords: | drkonqi |
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Kubuntu | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/network/smb4k/-/commit/5d43e3e8adb545651325dff7b77b5dee992a1a9f | Version Fixed In: | |
Sentry Crash Report: | |||
Attachments: |
attachment-3982966-0.html
New crash information added by DrKonqi attachment-3989848-0.html New crash information added by DrKonqi |
Description
Karl Mulder
2023-07-21 15:18:35 UTC
Today, a co-worker tried using the Edit Bookmarks option and upon saving, he also had a crash. After the crash the only entry in the bookmarks.xml file, was the one entry that he had "changed". All of the other bookmarks were gone. My bookmark file has more than 80 entries. Thank you for reporting this issue and please excuse my late response. Right now my time is limited to work on Smb4K and follow the bug tracker. I will try to reproduce the bug and come up with a fix. Meanwhile, if possible, could you please try the latest version (3.2.1) of Smb4K and check if the problem is present there as well? To avoid data loss (I am very sorry for the data loss that happened to your co-worker!), please back up the file ~/.local/share/smb4k/bookmarks.xml before doing the tests. (In reply to Alexander Reinholdt from comment #2) > Thank you for reporting this issue and please excuse my late response. Right > now my time is limited to work on Smb4K and follow the bug tracker. > > I will try to reproduce the bug and come up with a fix. Meanwhile, if > possible, could you please try the latest version (3.2.1) of Smb4K and check > if the problem is present there as well? To avoid data loss (I am very sorry > for the data loss that happened to your co-worker!), please back up the file > ~/.local/share/smb4k/bookmarks.xml before doing the tests. You can download the latest version from here (it also includes WS Discovery Support): https://software.opensuse.org//download.html?project=home%3Aareinholdt&package=smb4k Created attachment 160564 [details] attachment-3982966-0.html Alexander, Thank you very much contacting me. I am a system administrator for Northern Michigan University and fully understand having more work than hours in a day. I will try getting the new version and testing with that. I had delayed updating my kubuntu release, because of the issues of how the bookmarks display in the the 3.1.90 version of smb4k. It will be interesting to see if 3.2.1 fixes that issue as well. Thanks again On Thu, Jul 27, 2023 at 8:40 AM Alexander Reinholdt < bugzilla_noreply@kde.org> wrote: > https://bugs.kde.org/show_bug.cgi?id=472467 > > --- Comment #3 from Alexander Reinholdt <alexander.reinholdt@kdemail.net> > --- > (In reply to Alexander Reinholdt from comment #2) > > Thank you for reporting this issue and please excuse my late response. > Right > > now my time is limited to work on Smb4K and follow the bug tracker. > > > > I will try to reproduce the bug and come up with a fix. Meanwhile, if > > possible, could you please try the latest version (3.2.1) of Smb4K and > check > > if the problem is present there as well? To avoid data loss (I am very > sorry > > for the data loss that happened to your co-worker!), please back up the > file > > ~/.local/share/smb4k/bookmarks.xml before doing the tests. > > You can download the latest version from here (it also includes WS > Discovery > Support): > > https://software.opensuse.org//download.html?project=home%3Aareinholdt&package=smb4k > > -- > You are receiving this mail because: > You reported the bug. Created attachment 160566 [details]
New crash information added by DrKonqi
smb4k (3.2.1) using Qt 5.15.8
I installed the new 3.2.1 version of smb4k, and it still crashes. I used the directions on the software.opensuse.org areinholdt project page to install the XUbunutu 23.04 version. Install went well, but still crashes.
-- Backtrace (Reduced):
#4 0x00007fd630965ef4 in QAction::menu() const () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#5 0x00007fd6311544bd in KActionMenu::removeAction(QAction*) () at /lib/x86_64-linux-gnu/libKF5WidgetsAddons.so.5
[...]
#8 0x00007fd63173d9f9 in Smb4KBookmarkHandler::bookmarkRemoved(QSharedPointer<Smb4KBookmark> const&) () at /lib/x86_64-linux-gnu/libsmb4kcore.so
#9 0x00007fd63174490a in Smb4KBookmarkHandler::removeBookmark(QSharedPointer<Smb4KBookmark> const&) () at /lib/x86_64-linux-gnu/libsmb4kcore.so
#10 0x00007fd63174509a in Smb4KBookmarkHandler::addBookmarks(QList<QSharedPointer<Smb4KBookmark> > const&, bool) () at /lib/x86_64-linux-gnu/libsmb4kcore.so
Created attachment 160567 [details] attachment-3989848-0.html Alexander, I used the software repository from your link. I selected Ubuntu and chose the *Add repository and install manually *option. Install went fine, but when i repeated the test it crashed again. I did go through the kde crash reporter again. Process i went through 1. clicked Bookmarks 2. clicked Edit Bookmarks 3. highlighted a bookmark item 4. changed the Category field 5. Scrolled down the tree view 6. selected another bookmark item and again changed the Category 7. scrolled down the tree view, and changed a third Category field 8. Clicked OK 9. crashed Before the crash the bookmark file contained 465 lines, after 129 lines. ( and yes i did backups ;-) I just reopened the smb4k app, went into Bookmarks, Edit, and clicked OK without modification. No crash. I will reboot my system and try again, after a full os reboot. On Thu, Jul 27, 2023 at 8:40 AM Alexander Reinholdt < bugzilla_noreply@kde.org> wrote: > https://bugs.kde.org/show_bug.cgi?id=472467 > > --- Comment #3 from Alexander Reinholdt <alexander.reinholdt@kdemail.net> > --- > (In reply to Alexander Reinholdt from comment #2) > > Thank you for reporting this issue and please excuse my late response. > Right > > now my time is limited to work on Smb4K and follow the bug tracker. > > > > I will try to reproduce the bug and come up with a fix. Meanwhile, if > > possible, could you please try the latest version (3.2.1) of Smb4K and > check > > if the problem is present there as well? To avoid data loss (I am very > sorry > > for the data loss that happened to your co-worker!), please back up the > file > > ~/.local/share/smb4k/bookmarks.xml before doing the tests. > > You can download the latest version from here (it also includes WS > Discovery > Support): > > https://software.opensuse.org//download.html?project=home%3Aareinholdt&package=smb4k > > -- > You are receiving this mail because: > You reported the bug. I found the place where the crash happens. It's in the bookmark menu. At the moment I am investigating why it happens. I hope I can come up with a fix soon. Git commit 5d43e3e8adb545651325dff7b77b5dee992a1a9f by Alexander Reinholdt. Committed on 28/07/2023 at 07:06. Pushed by areinholdt into branch '3.2'. Fix crash in the bookmark menu and remove unnecessary/dysfunctional code. M +1 -89 smb4k/smb4kbookmarkmenu.cpp M +0 -15 smb4k/smb4kbookmarkmenu.h https://invent.kde.org/network/smb4k/-/commit/5d43e3e8adb545651325dff7b77b5dee992a1a9f Created attachment 162129 [details]
New crash information added by DrKonqi
smb4k (3.1.90) using Qt 5.15.8
Bookmarks -> Edit Bookmarks -> Select Bookmark -> Change Category to "Backup" -> Application crashes
-- Backtrace (Reduced):
#4 0x00007eff2bd65ef4 in QAction::menu() const () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#5 0x00007eff2c5284bd in KActionMenu::removeAction(QAction*) () from /lib/x86_64-linux-gnu/libKF5WidgetsAddons.so.5
[...]
#8 0x00007eff2cb10479 in Smb4KBookmarkHandler::bookmarkRemoved(QSharedPointer<Smb4KBookmark> const&) () from /lib/x86_64-linux-gnu/libsmb4kcore.so
#9 0x00007eff2cb1700a in Smb4KBookmarkHandler::removeBookmark(QSharedPointer<Smb4KBookmark> const&) () from /lib/x86_64-linux-gnu/libsmb4kcore.so
#10 0x00007eff2cb17527 in Smb4KBookmarkHandler::addBookmarks(QList<QSharedPointer<Smb4KBookmark> > const&, bool) () from /lib/x86_64-linux-gnu/libsmb4kcore.so
|