The problem is that isActive() was changed to wait on the process exiting. When v0.3.3.1
authordivya <divya.subramanian@sasken.com>
Wed, 19 Jan 2011 07:00:07 +0000 (12:30 +0530)
committerdivya <divya.subramanian@sasken.com>
Wed, 19 Jan 2011 07:00:07 +0000 (12:30 +0530)
commit32fcaf2740dc91475c67b6ddc92c3d65548d34e3
tree1b2d76d99448579642b4f7abe06390fb781c6e7d
parent40436962212b931b4abc2f730cf85047a7ac23ec
The problem is that isActive() was changed to wait on the process exiting. When
the process exits, the member variable referring to the process was getting set
to 0 in the function PluginProcess::processFinished, but when the code in
PluginProcess::isActive after the m_currentProcess->waitForFinished(1000) was
executed, that variable was not checked against NULL value.

This bug can be reproduced with any service by disabling connectivity during
upload.

Changed back PluginProcess::isActive to return immediately with true or false,
depending on whether the plugin is running or not.
debian/changelog
libwebupload/src/pluginprocess.cpp
webupload-engine/src/uploadprocess.cpp