https://bugs.kde.org/show_bug.cgi?id=516575

            Bug ID: 516575
           Summary: Dolphin crashing when accessing an MTP device with a
                    large number of files during preview generation
    Classification: Applications
           Product: dolphin
      Version First 25.12.2
       Reported In:
          Platform: Neon
                OS: Linux
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
  Target Milestone: ---

Created attachment 189990
  --> https://bugs.kde.org/attachment.cgi?id=189990&action=edit
backtrace of the crash

When accessing an MTP (Media Transfer Protocol) device such as a phone (Google
Pixel 5) in my case under KDE Neon, Dolphin will crash whenever there is a
folder with a large amount of files such as pictures or videos that it needs to
create file previews for.


STEPS TO REPRODUCE
1. Open MTP device in Dolphin
2. Open a folder on said device with a few thousand image/video files
3. After some time it will crash

OBSERVED RESULT
A crash with the following message in the terminal: 
ASSERT: “(!QFileInfo(m_tempName).isDir() && QFileInfo(m_tempName).isFile()) ||
QFileInfo(m_tempName).isSymLink()” in file
/workspace/build/src/gui/filepreviewjob.cpp, line 69
KCrash: Application ‘dolphin’ crashing… crashRecursionCounter = 2
fish: Job 1, ‘dolphin’ terminated by signal SIGABRT (Abort)

EXPECTED RESULT
Being able to browse the files normally.

SOFTWARE/OS VERSIONS
Operating System: KDE neon User Edition
KDE Plasma Version: 6.6.0
KDE Frameworks Version: 6.23.0
Qt Version: 6.10.2
Kernel Version: 6.17.0-14-generic (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 PRO 5850U with Radeon Graphics
Memory: 32 GiB of RAM (29.2 GiB usable)
Graphics Processor: AMD Radeon Graphics


ADDITIONAL INFORMATION
A workaround to prevent it from crashing is going to Dolphin Settings, Preview
and disabling previews completely (all file types, or the ones you will find on
the device only).

Backtrace attached below.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to