Bug 218612 - crash and reboot upon rightclick "convert to PNG"
Summary: crash and reboot upon rightclick "convert to PNG"
Status: RESOLVED WORKSFORME
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 16.12.2
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-14 09:06 UTC by Unknown
Modified: 2018-04-15 16:05 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Unknown 2009-12-14 09:06:46 UTC
Version:           1.3 (using 4.3.1 (KDE 4.3.1) "release 6", openSUSE 11.2)
Compiler:          gcc
OS:                Linux (i686) release 2.6.31.5-0.1-default

Upon selecting 15 JPG images of about 3 MByte each, rightclicking and selecting action/convert to PNG, the computer started an immense harddisk activity (this is expected).
After about fifteen seconds the mouse cursor slowed down, so I closed the web browser and kmail open at that moment. 
After about a minute the mouse cursor could not click anything anymore, after about two minutes the mouse cursor froze in position.
About five minutes from selecting the action the screen went black and the machine spontaneously and without my demand executed a reboot.
Comment 1 Dario Andres 2009-12-17 21:41:16 UTC
- Did you manually installed this "Convert to PNG" service or it was installed by default ?
This entry would call an external process which is the one that fills up the memory and causes the freezed state. (this should be an issue unrelated to Dolphin, but it could be related depending how the filepath of the images are passed to this helper external process)
Regards
Comment 2 Unknown 2009-12-18 12:55:08 UTC
No, it is present in the fresh install of opensuse, at least since 11.1 and maybe before. It provides a context menu named action, in which appropiate actions can be chosen, for example "encrypt". On recognized Images there is a submenu "convert" which has options for PNG,JPG,GIF and TIFF. 
Other than that, I do not know what it calls, and do not really know how to find out. I have tried it with less files, namely one, and it works, it converts a file to the chosen image format.
Comment 3 Lee Olson 2010-03-30 06:01:43 UTC
When the "Actions > Convert To" menu is used it calls imagemagick convert, which utilizes a large amount of CPU at runtime. Running this on multiple images seems to launch multiple instances of convert utilizing a large amount of CPU (viewed with top). For example, when I ran convert on 17 files, the command covert was executed 6 times with CPU of 22%, 21%, 20% 20%, 19%, and 12% respectively.
Comment 4 Unknown 2010-03-30 13:19:43 UTC
I should then think that this is not the only possible problem we have with convert. I am not that into informatics, but maybe the files should be handled sequentially and not parallel, thus having only a reasonable amount of CPU consumption at any one time given?
Comment 5 Unknown 2010-09-01 10:40:41 UTC
This bug is still present in Opensuse11.3 / KDE 4.5.
It solely seems to stem from imagemagick being called parallely for all the files, eg. selecting 15 images opens 15 instances of imagemagick at the same time.
This slows the system enough to maybe crash it.
Comment 6 Jeroen van Meeuwen (Kolab Systems) 2012-08-24 16:22:25 UTC
Resetting assignee to default as per bug #305719
Comment 7 Hrvoje Senjan 2012-11-12 20:46:06 UTC
Stefan, i am unable to reproduce the problem with current master, does the bug still persists for you?
Comment 8 Frank Reininghaus 2013-04-23 15:47:31 UTC
Waiting for feedback requested in comment 7.
Comment 9 Julian Steinmann 2018-03-30 11:00:43 UTC
@Stefan, can you still reproduce this bug? If not, I'll close the report soon.
Comment 10 Julian Steinmann 2018-04-15 16:05:29 UTC
No response -> closing. Thanks for reporting this bug, please reopen the report if you can still reproduce this behavior with newer versions of Dolphin.