https://bugs.kde.org/show_bug.cgi?id=496512
Bug ID: 496512 Summary: crash on creating symbolic link from symbolic link to *.svgz Classification: Applications Product: gwenview Version: 23.08.5 Platform: Ubuntu OS: Linux Status: REPORTED Severity: crash Priority: NOR Component: general Assignee: gwenview-bugs-n...@kde.org Reporter: private_l...@yahoo.com Target Milestone: --- SUMMARY Creating a symbolic link to svgz in secondary folder from existing symbolic link to svgz crashes gwenview STEPS TO REPRODUCE 1. following file-system setup: a: ~/pics/cat1/image.svgz b: /tmp/folder-XYZ/image.svgz -> /home/user/pics/cat1/image.svgz c: ~/pics/cat2/image.svgz -> /home/user/pics/cat1/image.svgz d: ~/pics/summary/cat2/ -> /home/user/pics/cat2 e: ~/pics/cat3/ f: ~/pics/summary/cat3/ -> /home/user/pics/cat3 2. open b: directly in a fresh gwenview process (e.g. navigate to it with gwenview 1 and select the "open new window" command to launch fresh gwenview 2 - this process will crash) 3. open the symbolic link to the image in d: (e.g. Ctrl+O) 4. this step is a little blurry in my memory - I closed the single image-view by ESC and fiddeled with the sort order to make it sort by date, as it always starts with some random order (so cat2 actually contains around 300 links to other pictures, mostly jpg though). Thereby the selected image moved off screen and I pressed ENTER, to open it again and ESC to focus it in the list/to scroll to it. I definitely didn't show any other picture in single picture view. 5. drag and drop the picture-link to f: a context menu appears 6. select either link or copy OBSERVED RESULT gwenview crashed EXPECTED RESULT new symbolic link is created in f: and ultimately in e: SOFTWARE/OS VERSIONS Operating System: Kubuntu 24.04 KDE Plasma Version: 5.27.11 KDE Frameworks Version: 5.115.0 Qt Version: 5.15.13 Kernel Version: 6.8.0-48-generic (64-bit) Graphics Platform: X11 Processors: 8 × Intel® Core™ i7-4700MQ CPU @ 2.40GHz Memory: 15.5 GiB of RAM Graphics Processor: Mesa Intel® HD Graphics 4600 Manufacturer: Micro-Star International Co., Ltd. Product Name: GE70 2OC\2OD\2OE System Version: REV:1.0 ADDITIONAL INFORMATION I've never seen this with other picture formats ... jpg, gif, png, it is something wrong specifically with svgz - gzip-compressed scalable vector graphics. STACKTRACE [Current thread is 1 (Thread 0x7cd0994242c0 (LWP 918703))] (gdb) bt #0 __pthread_kill_implementation (no_tid=0, signo=11, threadid=<optimized out>) at ./nptl/pthread_kill.c:44 #1 __pthread_kill_internal (signo=11, threadid=<optimized out>) at ./nptl/pthread_kill.c:78 #2 __GI___pthread_kill (threadid=<optimized out>, signo=signo@entry=11) at ./nptl/pthread_kill.c:89 #3 0x00007cd09e84526e in __GI_raise (sig=11) at ../sysdeps/posix/raise.c:26 #4 0x00007cd09e7126bf in KCrash::defaultCrashHandler (sig=11) at ./src/kcrash.cpp:631 #5 <signal handler called> #6 std::__atomic_base<int>::operator++ (this=0x48490d0000000a1a) at /usr/include/c++/13/bits/atomic_base.h:401 #7 QAtomicOps<int>::ref<int> (_q_value=<Fehler beim Lesen der Variable: Cannot access memory at address 0x48490d0000000a1a>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qatomic_cxx11.h:283 #8 QBasicAtomicInteger<int>::ref (this=0x48490d0000000a1a) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qbasicatomic.h:118 #9 QSharedDataPointer<KFileItemPrivate>::QSharedDataPointer (o=..., this=0x7ffdfd7982e0) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qshareddata.h:96 #10 KFileItem::KFileItem (this=this@entry=0x7ffdfd7982e0) at /usr/src/kio-5.115.0-0ubuntu6/src/core/kfileitem.cpp:604 #11 0x00007cd0a15f7b99 in Gwenview::DocumentView::dragThumbnailLoaded (this=<optimized out>, item=..., pix=...) at /usr/src/gwenview-4:23.08.5-0ubuntu5/lib/documentview/documentview.cpp:1183 #12 0x00007cd09f312e16 in QtPrivate::QSlotObjectBase::call (a=0x7ffdfd798430, r=0x5a27497bcbc0, this=0x5a2751832980) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398 #13 doActivate<false> (sender=0x7cd094013e10, signal_index=25, argv=0x7ffdfd798430) at kernel/qobject.cpp:3925 #14 0x00007cd09f30b697 in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7cd0a16b9ae0 <Gwenview::ThumbnailProvider::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffdfd798430) at kernel/qobject.cpp:3985 #15 0x00007cd0a15c3d9d in Gwenview::ThumbnailProvider::thumbnailLoaded (this=<optimized out>, _t1=..., _t2=..., _t3=..., _t4=<optimized out>) at /usr/src/gwenview-4:23.08.5-0ubuntu5/obj-x86_64-linux-gnu/lib/gwenviewlib_autogen/6D5CK4GEXA/moc_thumbnailprovider.cpp:208 #16 0x00007cd0a16341a4 in Gwenview::ThumbnailProvider::slotGotPreview (pixmap=..., item=..., this=0x7cd094013e10) at /usr/src/gwenview-4:23.08.5-0ubuntu5/lib/thumbnailprovider/thumbnailprovider.cpp:553 #17 Gwenview::ThumbnailProvider::slotGotPreview (this=0x7cd094013e10, item=..., pixmap=...) at /usr/src/gwenview-4:23.08.5-0ubuntu5/lib/thumbnailprovider/thumbnailprovider.cpp:545 #18 0x00007cd09f312dbf in doActivate<false> (sender=0x5a275302f630, signal_index=25, argv=0x7ffdfd798580) at kernel/qobject.cpp:3937 #19 0x00007cd09f30b697 in QMetaObject::activate (sender=sender@entry=0x5a275302f630, m=m@entry=0x7cd0a11feb40 <KIO::PreviewJob::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffdfd798580) at kernel/qobject.cpp:3985 #20 0x00007cd0a114b73d in KIO::PreviewJob::gotPreview (this=this@entry=0x5a275302f630, _t1=..., _t2=...) at /usr/src/kio-5.115.0-0ubuntu6/obj-x86_64-linux-gnu/src/widgets/KF5KIOWidgets_autogen/include/moc_previewjob.cpp:182 #21 0x00007cd0a114ff4c in KIO::PreviewJobPrivate::emitPreview (this=this@entry=0x5a275302edc0, thumb=...) at /usr/src/kio-5.115.0-0ubuntu6/src/widgets/previewjob.cpp:1020 #22 0x00007cd0a11510c8 in KIO::PreviewJobPrivate::slotThumbData (this=0x5a275302edc0, job=<optimized out>, data=...) at /usr/src/kio-5.115.0-0ubuntu6/src/widgets/previewjob.cpp:1005 #23 0x00007cd09f312e16 in QtPrivate::QSlotObjectBase::call (a=0x7ffdfd798870, r=0x5a275302f630, this=0x5a274c322100) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398 #24 doActivate<false> (sender=0x5a27532139e0, signal_index=25, argv=0x7ffdfd798870) at kernel/qobject.cpp:3925 #25 0x00007cd09f30b697 in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7cd0a104a000 <KIO::TransferJob::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffdfd798870) at kernel/qobject.cpp:3985 #26 0x00007cd0a0f89745 in KIO::TransferJob::data (this=<optimized out>, _t1=<optimized out>, _t2=...) at /usr/src/kio-5.115.0-0ubuntu6/obj-x86_64-linux-gnu/src/core/KF5KIOCore_autogen/include/moc_transferjob.cpp:296 #27 0x00007cd09f312e16 in QtPrivate::QSlotObjectBase::call (a=0x7ffdfd798970, r=0x5a27532139e0, this=0x5a27508c7320) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398 #28 doActivate<false> (sender=0x5a274f7a1570, signal_index=3, argv=0x7ffdfd798970) at kernel/qobject.cpp:3925 #29 0x00007cd09f30b697 in QMetaObject::activate (sender=sender@entry=0x5a274f7a1570, m=m@entry=0x7cd0a1048ba0 <KIO::SlaveInterface::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffdfd798970) at kernel/qobject.cpp:3985 #30 0x00007cd0a0f5af19 in KIO::SlaveInterface::data (this=this@entry=0x5a274f7a1570, _t1=...) at /usr/src/kio-5.115.0-0ubuntu6/obj-x86_64-linux-gnu/src/core/KF5KIOCore_autogen/include/moc_slaveinterface.cpp:439 #31 0x00007cd0a0f5d4d8 in KIO::SlaveInterface::dispatch (this=0x5a274f7a1570, _cmd=<optimized out>, rawdata=...) at /usr/src/kio-5.115.0-0ubuntu6/src/core/slaveinterface.cpp:137 #32 0x00007cd0a0f5b86b in KIO::SlaveInterface::dispatch (this=0x5a274f7a1570) at /usr/src/kio-5.115.0-0ubuntu6/src/core/slaveinterface.cpp:78 #33 0x00007cd0a0f60b11 in KIO::Slave::gotInput (this=0x5a274f7a1570) at /usr/src/kio-5.115.0-0ubuntu6/src/core/slave.cpp:354 #34 0x00007cd09f312e16 in QtPrivate::QSlotObjectBase::call (a=0x7ffdfd798be0, r=0x5a274f7a1570, this=0x5a2749819820) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398 #35 doActivate<false> (sender=0x5a274c1a9e10, signal_index=3, argv=0x7ffdfd798be0) at kernel/qobject.cpp:3925 #36 0x00007cd09f306343 in QObject::event (this=0x5a274c1a9e10, e=0x5a27531fa570) at kernel/qobject.cpp:1347 #37 0x00007cd09ff6bd45 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x5a274c1a9e10, e=0x5a27531fa570) at kernel/qapplication.cpp:3640 #38 0x00007cd09f2d8118 in QCoreApplication::notifyInternal2 (receiver=0x5a274c1a9e10, event=0x5a27531fa570) at kernel/qcoreapplication.cpp:1064 #39 0x00007cd09f2d8332 in QCoreApplication::sendEvent (receiver=<optimized out>, event=<optimized out>) at kernel/qcoreapplication.cpp:1462 #40 0x00007cd09f2db94b in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x5a27494ef280) at kernel/qcoreapplication.cpp:1821 #41 0x00007cd09f2dbebd in QCoreApplication::sendPostedEvents (receiver=<optimized out>, event_type=<optimized out>) at kernel/qcoreapplication.cpp:1680 #42 0x00007cd09f335c0f in postEventSourceDispatch (s=0x5a27495d5660) at kernel/qeventdispatcher_glib.cpp:277 #43 0x00007cd09d0885b5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #44 0x00007cd09d0e7717 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #45 0x00007cd09d087a53 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #46 0x00007cd09f335279 in QEventDispatcherGlib::processEvents (this=0x5a27495e9e70, flags=...) at kernel/qeventdispatcher_glib.cpp:423 #47 0x00007cd09f2d6a7b in QEventLoop::exec (this=this@entry=0x7ffdfd799010, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69 #48 0x00007cd09f2df3e8 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121 #49 0x00007cd09f738ecd in QGuiApplication::exec () at kernel/qguiapplication.cpp:1863 #50 0x00007cd09ff6bcb9 in QApplication::exec () at kernel/qapplication.cpp:2832 #51 0x00005a2748328e59 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/gwenview-4:23.08.5-0ubuntu5/app/main.cpp:213 (gdb) -- You are receiving this mail because: You are watching all bug changes.