Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Trivial
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
Description
If I play something in the GUI (Scratchpad/Play button or Play pop-up
menu item), and then quit the program normally (logout - close), a
Segmentation Fault occurs: ./bin/gLiveSupport_devenv.sh using
configuration file:
/home/fgerlits/livesupport/products/gLiveSupport/etc/gLiveSupport.xml
using config file '/home/fgerlits/livesupport/products/gLiveSupport/et
c/gLiveSupport.xml' gLiveSupport:
./../../usr/include/boost-1_31/boost/shared_ptr.hpp:254: T*
boost::shared_ptr<T>::operator->() const [with T =
LiveSupport::Core::SessionId]: Assertion `px != 0' failed.
./bin/gLiveSupport_devenv.sh: line 71: 6998 Aborted
$gLiveSupport_exe -c $config_file make: *** [run] Error 134 $
This seems to be relating to playback, not the Scratchpad window,
because the same thing happens when I try to play from the Live Mode
window.
menu item), and then quit the program normally (logout - close), a
Segmentation Fault occurs: ./bin/gLiveSupport_devenv.sh using
configuration file:
/home/fgerlits/livesupport/products/gLiveSupport/etc/gLiveSupport.xml
using config file '/home/fgerlits/livesupport/products/gLiveSupport/et
c/gLiveSupport.xml' gLiveSupport:
./../../usr/include/boost-1_31/boost/shared_ptr.hpp:254: T*
boost::shared_ptr<T>::operator->() const [with T =
LiveSupport::Core::SessionId]: Assertion `px != 0' failed.
./bin/gLiveSupport_devenv.sh: line 71: 6998 Aborted
$gLiveSupport_exe -c $config_file make: *** [run] Error 134 $
This seems to be relating to playback, not the Scratchpad window,
because the same thing happens when I try to play from the Live Mode
window.
could not reproduce it under Mandrake 10.0.
does this happen when you log in through the HTML UI, or the GUI
application?
The GUI, of course. "HTML UI" is the default category when reporting
an issue, and I forgot to change it to "bug".
Sorry, stupid error of mine: GLiveSupport::stopCueAudio() was called
_after_ GLiveSupport::logout(). StopCueAudio() tries to call
storage->releaseAudioClip(), which needs a sessionId argument, but the
GLiveSupport object's sessionId was already disposed of by the
logout() method.