YCAMInterlab / ofxTimeline

lightweight timeline tools for openFrameworks
270 stars 140 forks source link

apps using ofxTimeline exit with poco exception on linux #74

Closed hvfrancesco closed 12 years ago

hvfrancesco commented 12 years ago

tested with ofxTimeline examples: on linux and windows at least, exiting app I always get a poco "cannot lock mutex" system exception that seems related to ofxTImeline zoom events (maybe?) this is an example bt

6 0x00000000004139fb in Poco::MutexImpl::lockImpl (this=0x8f4a78) at ../../../libs/poco/include/Poco/Mutex_POSIX.h:82

7 0x0000000000413b74 in Poco::FastMutex::lock (this=0x8f4a78) at ../../../libs/poco/include/Poco/Mutex.h:257

8 0x0000000000414088 in ScopedLock (this=0x7fffffffd980, mutex=...) at ../../../libs/poco/include/Poco/ScopedLock.h:59

9 0x000000000041bd1a in Poco::AbstractEvent<ofxTLZoomEventArgs, Poco::FIFOStrategy<ofxTLZoomEventArgs, Poco::AbstractDelegate, Poco::p_lessPoco::AbstractDelegate >, Poco::AbstractDelegate, Poco::FastMutex>::operator-= (this=0x8f4a08, aDelegate=...)

at ../../../libs/poco/include/Poco/AbstractEvent.h:195

10 0x00000000004593ce in ofRemoveListener<ofEvent, ofxTLZoomEventArgs, ofxTLElement> (event=..., listener=0xa28ad0,

listenerMethod=&virtual ofxTLElement::zoomStarted(ofxTLZoomEventArgs&)) at ../../../libs/openFrameworks/events/ofEventUtils.h:79

11 0x0000000000459554 in ofxTLRemoveZoomEvents (listener=0xa28ad0) at ../../../addons/ofxTimeline/src/ofxTLEvents.h:118

12 0x000000000045890c in ofxTLElement::disable (this=0xa28ad0) at ../../../addons/ofxTimeline/src/ofxTLElement.cpp:64

13 0x00000000004587fc in ~ofxTLElement (this=0xa28ad0, __in_chrg=) at ../../../addons/ofxTimeline/src/ofxTLElement.cpp:53

14 0x0000000000417908 in ~ofxTLPage (this=0xa26ad0, __in_chrg=) at ../../../addons/ofxTimeline/src/ofxTLPage.cpp:59

15 0x000000000042e97b in ~ofxTimeline (this=0xa254d0, __in_chrg=) at ../../../addons/ofxTimeline/src/ofxTimeline.cpp:72

16 0x0000000000415688 in ~testApp (this=0xa253c0, __in_chrg=) at src/testApp.h:6

17 0x000000000053c386 in std::tr1::_Sp_deleter::operator() (this=0x9f13e8, __p=0xa253c0) at /usr/include/c++/4.4/tr1/shared_ptr.h:97

18 0x000000000053c257 in std::tr1::_Sp_counted_base_impl<ofBaseApp*, std::tr1::_Sp_deleter, (__gnu_cxx::_Lock_policy)2>::_M_dispose (this=0x9f13d0)

at /usr/include/c++/4.4/tr1/shared_ptr.h:75

19 0x00000000004ba2fa in std::tr1::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::_M_release (this=0x9f13d0)

at /usr/include/c++/4.4/tr1_impl/boost_sp_counted_base.h:140

20 0x00000000004ba01f in ~__shared_count (this=0x8f8758, __in_chrg=) at /usr/include/c++/4.4/tr1/shared_ptr.h:153

21 0x000000000053b65e in ~__shared_ptr (this=0x8f8750, __in_chrg=) at /usr/include/c++/4.4/tr1/shared_ptr.h:358

22 0x000000000053b678 in ~shared_ptr (this=0x8f8750, __in_chrg=) at /usr/include/c++/4.4/tr1/shared_ptr.h:834

23 0x000000000053b692 in ~ofPtr (this=0x8f8750, __in_chrg=) at ../../../openFrameworks/types/ofTypes.h:103

24 0x00007ffff1be9262 in __run_exit_handlers (status=0) at exit.c:78

25 *__GI_exit (status=0) at exit.c:100

26 0x00000000004d1a3f in exitApp () at ../../../openFrameworks/events/ofEvents.cpp:67

hvfrancesco commented 12 years ago

I'm sorry:been investigating a bit more and I guess it was my fault messing with modification to openAl sound player that triggered this issue. sorry again.