[dolphin] [Bug 480629] New: Crash when entering folder with this one file in it while thumbnails are enabled

Nate Graham bugzilla_noreply at kde.org
Wed Jan 31 21:11:56 GMT 2024


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

            Bug ID: 480629
           Summary: Crash when entering folder with this one file in it
                    while thumbnails are enabled
    Classification: Applications
           Product: dolphin
           Version: 24.01.95
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: dolphin-bugs-null at kde.org
          Reporter: nate at kde.org
                CC: kfm-devel at kde.org
  Target Milestone: ---

Everything KDE from git master on Plasma 6 Wayland built against Qt 6.6.0 on
top of Fedora 39 with Qt 6.6.0


STEPS TO REPRODUCE
1. mkdir -p ~/test/test/
2. Download https://small.fileditchnew.ch/s3/ETSIJYmUtwshXLNMEJCe.tar.gz and
un-archive the content into ~/test/test/
3. Launch Dolphin  with it rooted at your home folder
4. Navigate to ~/test/test/ by clicking on the "test" folder twice
5. If previews aren't turned on, turn them on with F12


OBSERVED RESULT
100% reproducible crash for me in fetchIndexedToARGB32PM():

#0  fetchIndexedToARGB32PM<(QPixelLayout::BPP)3>
    (buffer=buffer at entry=0x7fffc49f17d0, src=0x1b42858 '\376' <repeats 70
times>, "\370\301\321\322\322\322\330", '\322' <repeats 13 times>,
"\310A;C\316", '\322' <repeats 14 times>, "\321", '\322' <repeats 17 times>,
"\321\321\322\322\322\322\321\322\322\322\322\322\322\322\321;\226\331\321",
'\322' <repeats 23 times>,
"\330\321\322\322\322\322\322\322\321\322\322\321\321\322\322\322\322\322\322آ3\305\322\322\322\322\322\322\322",
<incomplete sequence \322>..., index=index at entry=0, count=count at entry=396,
clut=clut at entry=0x0)
    at
/usr/src/debug/qt6-qtbase-6.6.0-6.fc39.x86_64/src/gui/painting/qpixellayout.cpp:758
#1  0x00007ffff57901dc in
fetchTransformedBilinear_simple_scale_helper<(TextureBlendType)4>
    (b=b at entry=0x7fffc49fc9c0, end=end at entry=0x7fffc49fcd34, image=<optimized
out>, fx=@0x7fffc49f58f8: 25682, fdx=fdx at entry=116902, fy=<optimized out>)
    at
/usr/src/debug/qt6-qtbase-6.6.0-6.fc39.x86_64/src/gui/painting/qdrawhelper.cpp:2076
#2  0x00007ffff57b3249 in fetchTransformedBilinear<(TextureBlendType)4,
(QPixelLayout::BPP)0>
    (buffer=0x7fffc49fc9c0, data=<optimized out>, y=<optimized out>,
x=<optimized out>, length=221)
    at
/usr/src/debug/qt6-qtbase-6.6.0-6.fc39.x86_64/src/gui/painting/qdrawhelper.cpp:2341
#3  0x00007ffff57bea54 in BlendSrcGeneric::fetch
    (fetchDest=false, len=<optimized out>, y=<optimized out>, x=0,
this=0x7fffc49fa9a0)
    at
/usr/src/debug/qt6-qtbase-6.6.0-6.fc39.x86_64/src/gui/painting/qdrawhelper.cpp:4041
#4  handleSpans<BlendSrcGeneric>(int, QT_FT_Span_ const*, QSpanData const*,
Operator const&)::{lambda(int, int)#1}::operator()(int, int) const
    (__closure=0x7fffffffaad0, cStart=<optimized out>, cEnd=<optimized out>)
    at
/usr/src/debug/qt6-qtbase-6.6.0-6.fc39.x86_64/src/gui/painting/qdrawhelper.cpp:3993
#5  0x00007ffff57becb9 in handleSpans<BlendSrcGeneric>(int, QT_FT_Span_ const*,
QSpanData const*, Operator const&)::{lambda()#1}::operator()() const
(__closure=0x12b8cf8)
    at
/usr/src/debug/qt6-qtbase-6.6.0-6.fc39.x86_64/src/gui/painting/qdrawhelper.cpp:4015
#6  QRunnable::QGenericRunnable::Helper<handleSpans<BlendSrcGeneric>(int,
QT_FT_Span_ const*, QSpanData const*, Operator
const&)::{lambda()#1}>::impl(QRunnable::QGenericRunnable::HelperBase::Op,
QRunnable::QGenericRunnable::HelperBase*, void*) (op=<optimized out>,
that=0x12b8cf0, arg=<optimized out>)
    at
/usr/src/debug/qt6-qtbase-6.6.0-6.fc39.x86_64/redhat-linux-build/include/QtCore/../../../src/corelib/thread/qrunnable.h:73
#7  0x00007ffff4b299f7 in QThreadPoolThread::run (this=0x8af8f0)
    at
/usr/src/debug/qt6-qtbase-6.6.0-6.fc39.x86_64/src/corelib/thread/qthreadpool.cpp:66
#8  0x00007ffff4b2465e in operator() (__closure=<optimized out>)
    at
/usr/src/debug/qt6-qtbase-6.6.0-6.fc39.x86_64/src/corelib/thread/qthread_unix.cpp:324
#9  (anonymous
namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> >
    (t=<optimized out>)
    at
/usr/src/debug/qt6-qtbase-6.6.0-6.fc39.x86_64/src/corelib/thread/qthread_unix.cpp:260
#10 QThreadPrivate::start (arg=0x8af8f0)
    at
/usr/src/debug/qt6-qtbase-6.6.0-6.fc39.x86_64/src/corelib/thread/qthread_unix.cpp:283
#11 0x00007ffff42ac897 in start_thread (arg=<optimized out>) at
pthread_create.c:444
#12 0x00007ffff43336fc in clone3 () at
../sysdeps/unix/sysv/linux/x86_64/clone3.S:78


ADDITIONAL INFORMATION
Took a while, but I managed to localize the problem to only one specific file.
I have not been able to reproduce it with any other files.

Only reproduces in Dolphin. Does not reproduce with previews turned on in the
open/save dialogs or Plasma Folder View.

Uploading the file to fileditch.coim seems to have fixed it so that it no
longer causes the problem anymore. If you download
https://small.fileditchnew.ch/s3/cMEZcuoFGSImABwdHLbN.odp and then try to
reproduce the issue with that, it will work fine.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the kfm-devel mailing list