| Summary: | Gnome Desktop crashes and restarts when select Cancel option for Mpeg Slideshow tool | ||
|---|---|---|---|
| Product: | [Applications] digikam | Reporter: | Hubert Furey <hubert.furey> |
| Component: | Plugin-Generic-VideoSlideshow | Assignee: | Digikam Developers <digikam-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | crash | CC: | caulier.gilles |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Ubuntu | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | 5.7.0 | |
| Sentry Crash Report: | |||
|
Description
Hubert Furey
2007-05-22 02:23:48 UTC
SVN commit 671143 by anaselli:
sigkill wrongly sent to application
BUG: 145771
M +3 -2 kimg2mpg.cpp
--- branches/extragear/kde3/libs/kipi-plugins/mpegencoder/kimg2mpg.cpp #671142:671143
@@ -703,8 +703,9 @@
connect(m_Proc, SIGNAL(receivedStderr(KProcess *,char*,int)),this,
SLOT(readStderr(KProcess*,char*,int)));
+ m_Img2mpgPidNum = -1;
bool result = m_Proc->start(KProcess::NotifyOnExit , KProcess::All);
-
+
if(!result)
{
QString str = i18n("Cannot start 'images2mpg' bash script : fork failed.");
@@ -998,7 +999,7 @@
{
m_Encoding = false;
- if (m_Proc)
+ if (m_Proc && m_Img2mpgPidNum > 0)
{
::kill(m_Img2mpgPidNum, SIGKILL);
}
digiKam has a new Video Slideshow tool based on QtAV and ffmpeg which do not have this problem. Gilles Caulier |