[krusader] [Bug 524076] New: After adding the same bookmark multiple times, only one instance is displayed and later Krusader ends abruptly

"Toni Asensi Esteve" <[email protected]>
Newsgroups gmane.comp.kde.devel.bugs
Message-ID <[email protected]/>
https://bugs.kde.org/show_bug.cgi?id=524076

            Bug ID: 524076
           Summary: After adding the same bookmark multiple times, only
                    one instance is displayed and later Krusader ends
                    abruptly
    Classification: Applications
           Product: krusader
      Version First Git
       Reported In:
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
  Target Milestone: ---

DESCRIPTION
The same bookmark can be added more than once but only one instance is
displayed afterwards. Also, a "heap-use-after-free" problem appears and
Krusader ends abruptly.

STEPS TO REPRODUCE
1. Add `-fsanitize=address` to the compiler flags of the CMake command, then
build Krusader. Execute Krusader.
2. Repeat this step in order to add the same bookmark multiple times: Press
Ctrl+B and press Return.
3. Press Ctrl+D. Notice that only one of the newly added items is displayed. 
4. Use the mouse to delete that bookmark.
5. See that Krusader ends abruptly. 

OBSERVED RESULT
Only one of the newly added items was displayed. Krusader crashed.

EXPECTED RESULT
All of the newly added items should be displayed. Krusader should not ended
abruptly.

SOFTWARE/OS VERSIONS
Operating System: Kubuntu 26.04
KDE Plasma Version: 6.6.6
KDE Frameworks Version: 6.24.0
Qt Version: 6.10.2

-- 
You are receiving this mail because:
You are watching all bug changes.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.