This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Gwenview 5.0 crashing when entering folders with big files

Tags: None
(comma "," separated)
User avatar
matiasm
Registered Member
Posts
14
Karma
0
OS
Hello, I've recently upgraded Gwenview to 5.0.0pre in Archlinux and found some issues with thumbnails after the upgrade, however I solved them thanks to the help of the KDE and Arch communities!

However now gwenview is crashing when entering a folder with big xcf, png and tga files (some +15000px wide or +1.5GB). It used to work before the upgrade. It seems to be working ok with smaller files.
Also, it's not saving thumbnails after quiting, it has to recreate them each time its restarted, is that normal? I assume not since it has the option to delete or not the thumbs. This was already happening before the upgrade.

Anyways, here are some logs:
Code: Select all
[Working directory logs begin]
[mat@psyd2 ~]$ gwenview &
[1] 27745
[mat@psyd2 ~]$ Invalid pixmap specified.
QTimeLine::setDuration: cannot set duration <= 0
Invalid pixmap specified.
kf5.kservice.sycoca: Trying to open ksycoca from "/home/mat/.cache/ksycoca5"
Invalid pixmap specified.
QTimeLine::setDuration: cannot set duration <= 0
Shortcut for action  "rate_0" "Zero" set with QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead.
Shortcut for action  "rate_1" "⋆" set with QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead.
Shortcut for action  "rate_2" "⋆⋆" set with QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead.
Shortcut for action  "rate_3" "⋆⋆⋆" set with QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead.
Shortcut for action  "rate_4" "⋆⋆⋆⋆" set with QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead.
Shortcut for action  "rate_5" "⋆⋆⋆⋆⋆" set with QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead.
Could not create a temporary file.
Could not create a temporary file.
Could not generate thumbnail for file "file:///media/Graphicz/00-TecnoSoul/Rainbow/birthday card back.psd"
Could not create a temporary file.
[Working directory logs end]

Until here it seems to be working ok, it shows the thumbs despite the messages.

This are the logs of the big files folder:
Code: Select all
[Crashing directory logs begin]
Could not generate thumbnail for file "file:///media/Graphicz/00-iLLous/ad-Eternum-beta3.xcf"
Could not create a temporary file.
Could not generate thumbnail for file "file:///media/Graphicz/00-iLLous/cosmos-beta4.xcf"
libpng warning: iCCP: known incorrect sRGB profile
Could not create a temporary file.
Could not create a temporary file.
gwenview: Fatal IO error 9 (Bad file descriptor) on X server :0.
KCrash: Application 'gwenview' crashing...
KCrash: Attempting to start /usr/lib/drkonqi from kdeinit
sock_file=/run/user/1000/kdeinit5__0
[1]+  Exit 1                  gwenview
[Crashing directory logs end]

Again, despite the "Could not generate thumbnail for file" message the thumbs works for those named files, the crashing seems to happen with other files (there are some tga files also).
I'm monitoring free memory since gwenview uses more than 5gb during the thumbnail creation, but even though the RAM seems to fill up, the swap is not getting used even to 20% of it's size at the time of crashing.
any hints??
thanks in advance!!
User avatar
matiasm
Registered Member
Posts
14
Karma
0
OS
I add a crash report:
Code: Select all
Application: Gwenview (gwenview), signal: Segmentation fault
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fbe8c885840 (LWP 21257))]

Thread 3 (Thread 0x7fbe7523f700 (LWP 21258)):
#0  0x00007fbe87bd744d in poll () from /usr/lib/libc.so.6
#1  0x00007fbe7fda29f2 in ?? () from /usr/lib/libxcb.so.1
#2  0x00007fbe7fda456f in xcb_wait_for_event () from /usr/lib/libxcb.so.1
#3  0x00007fbe772033f9 in ?? () from /usr/lib/qt/plugins/platforms/libqxcb.so
#4  0x00007fbe882535ee in ?? () from /usr/lib/libQt5Core.so.5
#5  0x00007fbe82cd7314 in start_thread () from /usr/lib/libpthread.so.0
#6  0x00007fbe87be024d in clone () from /usr/lib/libc.so.6

Thread 2 (Thread 0x7fbe6993c700 (LWP 21293)):
[KCrash Handler]
#5  0x00007fbe6d7e30dc in ?? () from /usr/lib/qt/plugins/imageformats/kimg_tga.so
#6  0x00007fbe6d7e363f in ?? () from /usr/lib/qt/plugins/imageformats/kimg_tga.so
#7  0x00007fbe88a06413 in ?? () from /usr/lib/libQt5Gui.so.5
#8  0x00007fbe88a06a1f in QImageReader::read(QImage*) () from /usr/lib/libQt5Gui.so.5
#9  0x00007fbe8c17aa1b in ?? () from /usr/lib/libgwenviewlib.so.5
#10 0x00007fbe8c17af2c in ?? () from /usr/lib/libgwenviewlib.so.5
#11 0x00007fbe882535ee in ?? () from /usr/lib/libQt5Core.so.5
#12 0x00007fbe82cd7314 in start_thread () from /usr/lib/libpthread.so.0
#13 0x00007fbe87be024d in clone () from /usr/lib/libc.so.6

Thread 1 (Thread 0x7fbe8c885840 (LWP 21257)):
#0  0x00007fbe827b15ca in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#1  0x00007fbe827b1c33 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007fbe827b1dac in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007fbe8849508c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#4  0x00007fbe8843b532 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#5  0x00007fbe88442f0c in QCoreApplication::exec() () from /usr/lib/libQt5Core.so.5
#6  0x000000000043e23d in main ()


Bookmarks



Who is online

Registered users: Bing [Bot], Evergrowing, Google [Bot], rblackwell