Bug 197551 - [patch] Applications that use kio_thumbnail crash kdeinit on OS X
Summary: [patch] Applications that use kio_thumbnail crash kdeinit on OS X
Status: RESOLVED WORKSFORME
Alias: None
Product: kio
Classification: Frameworks and Libraries
Component: thumbnail (show other bugs)
Version: unspecified
Platform: Compiled Sources macOS
: NOR crash
Target Milestone: ---
Assignee: Malte Starostik
URL:
Keywords: investigated, triaged
: 163675 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-06-22 22:14 UTC by Todor Gyumyushev
Modified: 2018-10-21 05:08 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
fix the kio_thumbnail to work correctly (980 bytes, patch)
2009-06-22 22:25 UTC, Todor Gyumyushev
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Todor Gyumyushev 2009-06-22 22:14:44 UTC
Version:            (using KDE 4.2.4)
Compiler:          gcc version 4.0.1 (Apple Inc. build 5490) 
OS:                OS X
Installed from:    Compiled From Sources

When trying to use preview in konqueror or dolphin , after successfully starting kio_thumbnail, the kdeinit4 process crash and no thumnail preview are created. This happens also on tooltips.

Application Specific Information:
*** single-threaded process forked ***

Thread 0 Crashed:
0   libSystem.B.dylib             	0x9048ee42 __kill + 10
1   libSystem.B.dylib             	0x9050123a raise + 26
2   libSystem.B.dylib             	0x9050d679 abort + 73
3   com.apple.HIServices          	0x029ea0c4 _RegisterApplication + 2447
4   com.apple.HIServices          	0x029e970a GetCurrentProcess + 50
5   QtGui                         	0x015650b7 qt_init(QApplicationPrivate*, int) + 1047
6   QtGui                         	0x015cfd6d QApplicationPrivate::construct() + 77
7   QtGui                         	0x015cff6b QApplication::QApplication(int&, char**, bool, int) + 107
8   libkdeui.5.dylib              	0x00fee764 KApplication::KApplication(bool) + 68
9   kio_thumbnail.so              	0x053955ae kdemain + 510 (thumbnail.cpp:119)
10                                	0x000095fe launch(int, char const*, char const*, char const*, int, char const*, bool, char const*, bool, char const*) + 4558
11                                	0x0000ae48 handle_launcher_request(int) + 1272
12                                	0x0000b5e2 handle_requests(int) + 930
13                                	0x0000ba59 main + 953
14                                	0x00006b36 start + 54
-------------

In the log there is:
Jun 22 23:11:14 macmini [0x0-0x13013].kdeinit4[0]: The process has forked and you cannot use this CoreFoundation functionality safely. You MUST exec().
Jun 22 23:11:14 macmini [0x0-0x13013].kdeinit4[0]: Break on __THE_PROCESS_HAS_FORKED_AND_YOU_CANNOT_USE_THIS_COREFOUNDATION_FUNCTIONALITY___YOU_MUST_EXEC__() to debug.
....
Jun 22 23:11:20 macmini [0x0-0x22022].konqueror[11232]: konqueror(11232)/kio (Slave) KIO::Slave::timeout: slave is slow... pid= 11648  t= 6
Jun 22 23:11:22 macmini [0x0-0x22022].konqueror[11232]: konqueror(11232)/kio (Slave) KIO::Slave::timeout: slave failed to connect to application pid= 11648  protocol= "thumbnail"
Jun 22 23:11:22 macmini [0x0-0x22022].konqueror[11232]: konqueror(11232)/kio (Slave) KIO::Slave::timeout: slave is slow... pid= 11648  t= 8
Jun 22 23:11:23 macmini ReportCrash[11649]: Formulating crash report for process kdeinit4[11648]
---------------
Comment 1 Todor Gyumyushev 2009-06-22 22:25:08 UTC
Created attachment 34752 [details]
fix the kio_thumbnail to work correctly
Comment 2 FiNeX 2010-08-16 12:07:12 UTC
Has this patch been applied? Is the bug reproducible using more recent KDE version?
Comment 3 Christoph Feck 2010-08-28 21:25:44 UTC
*** Bug 163675 has been marked as a duplicate of this bug. ***
Comment 4 Andrew Crouthamel 2018-09-20 21:49:42 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Andrew Crouthamel 2018-10-21 05:08:14 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!