Like I've already written: I've added a lot of try{ catches now to find
any place where boost_thread_resource_errors happen, because I had
several events until now, that ended in this crash!Here is an interesting output (got with grep "boost" > crash.txt) => It seems like a IMContact had not been valid after a contactHasmoved event?!? Perhaps I should log more details... Here is my log: Cheers, Pirmin Am Dienstag, den 27.03.2007, 11:17 +0200 schrieb Aurélien Gâteau: > Pirmin Walthert wrote: > > Hi > > > > You were talking about pointers that are garbage because of wrong code. > > => Couldn't it be possible, that sometimes pointers are valid, as long > > as passed, but in the meantime (before the boost-binding is executed) > > the corresponding objects are already destroyed? Think of a > > "userStateChanged" event (if this exists) when somebody goes offline => > > While one thread wants to remove this contact from the contactlist, > > another thread could be deleting this object. => Are there no such > > "doubled-bindings" that could lead to exactly this situation? > > This is definitely possible, but in the case Lukas reported, it is > strange because the parameters are uuid, passed as std::string by value, > so they should not get corrupted even if the object they refer to has > been deleted. > > Aurélien >
(debug) 18:36:46 PhApiIMPresence::PhApiIMPresence(IMAccount&, PhApiWrapper&): boost connection=1 (debug) 21:31:38 void IMContact::setPresenceState(EnumPresenceState::PresenceState): possible crash boost::thread_resource_error (debug) 21:31:38 void ContactList::contactChangedEventHandler(Contact&): boost::thread_resource_error catched (debug) 21:33:15 void IMContact::setPresenceState(EnumPresenceState::PresenceState): possible crash boost::thread_resource_error (debug) 21:33:15 void IMContact::setPresenceState(EnumPresenceState::PresenceState): possible crash boost::thread_resource_error (debug) 21:35:47 void IMContact::setPresenceState(EnumPresenceState::PresenceState): possible crash boost::thread_resource_error (debug) 21:40:25 void IMContact::setPresenceState(EnumPresenceState::PresenceState): possible crash boost::thread_resource_error (debug) 21:42:07 void IMContact::setPresenceState(EnumPresenceState::PresenceState): possible crash boost::thread_resource_error (debug) 21:53:02 void IMContact::setPresenceState(EnumPresenceState::PresenceState): possible crash boost::thread_resource_error (debug) 21:54:26 void IMContact::setPresenceState(EnumPresenceState::PresenceState): possible crash boost::thread_resource_error (debug) 21:54:57 void IMContact::setPresenceState(EnumPresenceState::PresenceState): possible crash boost::thread_resource_error (debug) 21:57:37 void IMContact::setPresenceState(EnumPresenceState::PresenceState): possible crash boost::thread_resource_error (debug) 22:02:46 void IMContact::setPresenceState(EnumPresenceState::PresenceState): possible crash boost::thread_resource_error (debug) 22:10:09 void IMContact::setPresenceState(EnumPresenceState::PresenceState): possible crash boost::thread_resource_error (debug) 22:10:09 void IMContact::setPresenceState(EnumPresenceState::PresenceState): possible crash boost::thread_resource_error (debug) 22:20:30 void IMContact::setPresenceState(EnumPresenceState::PresenceState): possible crash boost::thread_resource_error (debug) 22:20:58 void IMContact::setPresenceState(EnumPresenceState::PresenceState): possible crash boost::thread_resource_error (debug) 22:20:58 void IMContact::setPresenceState(EnumPresenceState::PresenceState): possible crash boost::thread_resource_error (debug) 22:22:52 void IMContact::setPresenceState(EnumPresenceState::PresenceState): possible crash boost::thread_resource_error (debug) 22:32:32 void IMContact::setPresenceState(EnumPresenceState::PresenceState): possible crash boost::thread_resource_error (debug) 22:32:36 void IMContact::setPresenceState(EnumPresenceState::PresenceState): possible crash boost::thread_resource_error (debug) 22:33:40 void IMContact::setPresenceState(EnumPresenceState::PresenceState): possible crash boost::thread_resource_error (debug) 22:41:50 void IMContact::setPresenceState(EnumPresenceState::PresenceState): possible crash boost::thread_resource_error (debug) 22:46:26 void IMContact::setPresenceState(EnumPresenceState::PresenceState): possible crash boost::thread_resource_error (debug) 22:46:34 void IMContact::setPresenceState(EnumPresenceState::PresenceState): possible crash boost::thread_resource_error (debug) 22:47:16 void IMContact::setPresenceState(EnumPresenceState::PresenceState): possible crash boost::thread_resource_error (debug) 22:47:16 void IMContact::setPresenceState(EnumPresenceState::PresenceState): possible crash boost::thread_resource_error (debug) 22:50:14 void IMContact::setPresenceState(EnumPresenceState::PresenceState): possible crash boost::thread_resource_error (debug) 22:50:14 void IMContact::setPresenceState(EnumPresenceState::PresenceState): possible crash boost::thread_resource_error (debug) 22:52:22 void IMContact::setPresenceState(EnumPresenceState::PresenceState): possible crash boost::thread_resource_error (debug) 22:52:22 void IMContact::setPresenceState(EnumPresenceState::PresenceState): possible crash boost::thread_resource_error (debug) 22:52:30 void IMContact::setPresenceState(EnumPresenceState::PresenceState): possible crash boost::thread_resource_error (debug) 22:52:48 void IMContact::setPresenceState(EnumPresenceState::PresenceState): possible crash boost::thread_resource_error (debug) 22:52:50 void IMContact::setPresenceState(EnumPresenceState::PresenceState): possible crash boost::thread_resource_error (debug) 22:54:58 void IMContact::setPresenceState(EnumPresenceState::PresenceState): possible crash boost::thread_resource_error (debug) 22:55:38 void IMContact::setPresenceState(EnumPresenceState::PresenceState): possible crash boost::thread_resource_error (debug) 22:55:44 void IMContact::setPresenceState(EnumPresenceState::PresenceState): possible crash boost::thread_resource_error (debug) 22:58:32 void IMContact::setPresenceState(EnumPresenceState::PresenceState): possible crash boost::thread_resource_error (debug) 22:59:26 void IMContact::setPresenceState(EnumPresenceState::PresenceState): possible crash boost::thread_resource_error (debug) 23:00:10 void IMContact::setPresenceState(EnumPresenceState::PresenceState): possible crash boost::thread_resource_error (debug) 23:00:18 void IMContact::setPresenceState(EnumPresenceState::PresenceState): possible crash boost::thread_resource_error (debug) 23:00:56 void IMContact::setPresenceState(EnumPresenceState::PresenceState): possible crash boost::thread_resource_error (debug) 23:01:58 void IMContact::setPresenceState(EnumPresenceState::PresenceState): possible crash boost::thread_resource_error (debug) 23:04:06 void IMContact::setPresenceState(EnumPresenceState::PresenceState): possible crash boost::thread_resource_error (debug) 23:05:08 void IMContact::setPresenceState(EnumPresenceState::PresenceState): possible crash boost::thread_resource_error (debug) 23:08:14 void IMContact::setPresenceState(EnumPresenceState::PresenceState): possible crash boost::thread_resource_error (debug) 23:08:50 void IMContact::setPresenceState(EnumPresenceState::PresenceState): possible crash boost::thread_resource_error (debug) 23:10:32 void IMContact::setPresenceState(EnumPresenceState::PresenceState): possible crash boost::thread_resource_error (debug) 23:10:34 void IMContact::setPresenceState(EnumPresenceState::PresenceState): possible crash boost::thread_resource_error (debug) 23:10:46 void IMContact::setPresenceState(EnumPresenceState::PresenceState): possible crash boost::thread_resource_error (debug) 23:15:00 void IMContact::setPresenceState(EnumPresenceState::PresenceState): possible crash boost::thread_resource_error (debug) 23:15:22 void IMContact::setPresenceState(EnumPresenceState::PresenceState): possible crash boost::thread_resource_error (debug) 23:17:16 void IMContact::setPresenceState(EnumPresenceState::PresenceState): possible crash boost::thread_resource_error (debug) 23:18:34 void IMContact::setPresenceState(EnumPresenceState::PresenceState): possible crash boost::thread_resource_error (debug) 23:18:42 void IMContact::setPresenceState(EnumPresenceState::PresenceState): possible crash boost::thread_resource_error (debug) 23:19:52 void IMContact::setPresenceState(EnumPresenceState::PresenceState): possible crash boost::thread_resource_error (debug) 23:21:08 void IMContact::setPresenceState(EnumPresenceState::PresenceState): possible crash boost::thread_resource_error (debug) 23:22:16 void IMContact::setPresenceState(EnumPresenceState::PresenceState): possible crash boost::thread_resource_error (debug) 23:24:26 void IMContact::setPresenceState(EnumPresenceState::PresenceState): possible crash boost::thread_resource_error (debug) 23:28:05 void IMContact::setPresenceState(EnumPresenceState::PresenceState): possible crash boost::thread_resource_error (debug) 23:28:41 void IMContact::setPresenceState(EnumPresenceState::PresenceState): possible crash boost::thread_resource_error (debug) 23:31:03 void IMContact::setPresenceState(EnumPresenceState::PresenceState): possible crash boost::thread_resource_error (debug) 23:32:23 void IMContact::setPresenceState(EnumPresenceState::PresenceState): possible crash boost::thread_resource_error (debug) 23:32:45 void IMContact::setPresenceState(EnumPresenceState::PresenceState): possible crash boost::thread_resource_error (debug) 23:34:17 void IMContact::setPresenceState(EnumPresenceState::PresenceState): possible crash boost::thread_resource_error (debug) 23:39:15 void IMContact::setPresenceState(EnumPresenceState::PresenceState): possible crash boost::thread_resource_error (debug) 23:40:13 void IMContact::setPresenceState(EnumPresenceState::PresenceState): possible crash boost::thread_resource_error (debug) 23:41:29 void IMContact::setPresenceState(EnumPresenceState::PresenceState): possible crash boost::thread_resource_error (debug) 23:51:59 void IMContact::setPresenceState(EnumPresenceState::PresenceState): possible crash boost::thread_resource_error (debug) 23:53:05 void IMContact::setPresenceState(EnumPresenceState::PresenceState): possible crash boost::thread_resource_error (debug) 23:54:33 void IMContact::setPresenceState(EnumPresenceState::PresenceState): possible crash boost::thread_resource_error (debug) 23:54:33 void IMContact::setPresenceState(EnumPresenceState::PresenceState): possible crash boost::thread_resource_error (debug) 23:56:31 void IMContact::setPresenceState(EnumPresenceState::PresenceState): possible crash boost::thread_resource_error (debug) 00:00:35 void IMContact::setPresenceState(EnumPresenceState::PresenceState): possible crash boost::thread_resource_error (debug) 00:02:09 void IMContact::setPresenceState(EnumPresenceState::PresenceState): possible crash boost::thread_resource_error (debug) 00:06:23 void IMContact::setPresenceState(EnumPresenceState::PresenceState): possible crash boost::thread_resource_error (debug) 00:11:27 void IMContact::setPresenceState(EnumPresenceState::PresenceState): possible crash boost::thread_resource_error (debug) 00:22:12 void IMContact::setPresenceState(EnumPresenceState::PresenceState): possible crash boost::thread_resource_error (debug) 00:22:13 void IMContact::setPresenceState(EnumPresenceState::PresenceState): possible crash boost::thread_resource_error
_______________________________________________ Wengophone-devel mailing list [email protected] http://dev.openwengo.com/mailman/listinfo/wengophone-devel
