On 07.08.2008 16:30, Jan Kaláb wrote: > I made a little progress! Jabber account is finally added to > profile, but it crashes QuteCom. I use this code in > QtAddWengoAccount.cpp: > > UserProfile userProfile; > userProfile.setSipAccount(sipAccount, false); > userProfile.addIMAccount(jabberAccount); > UserProfileFileStorage userProfileStorage(userProfile); > userProfileStorage.save(sipAccount.getFullIdentity()); > _cUserProfileHandler.setCurrentUserProfile(sipAccount.getFullIdentity(), > sipAccount); > > It executes all this code, so sip and jabber accounts are created > and current sip account is used. But after about 3 seconds, it > crashes. But if you are fast enough, you can see the sip connected > and jabber trying to connect in profile bar above contact list. If > you start qutecom again, everything is fine, jabber and sip connects > and jabber roster is loaded. Just as it should be. > > I tried commenting out the last line setCurrentUserProfile() to avod > the crash and play with it a little. These are the results: > > 1. remove ~/.qutecom, start qutecom, create account > 2. Select Log on from menu and choose just created account > 3. Crash! > 4. Start qutecom again, everything is ok > > 1. remove ~/.qutecom, start qutecom, create account > 2. Close qutecom manually > 3. Start qutecom again > 4. Select Log on from menu and choose just created account > 5. Everything is ok > > I don't understand this behaviour... any idea what might cause the > crash? (And how to avoid it or fix it?)
We also have the same problem here! I don't think anybody can help with modified QuteCom-code. So the first step is to reproduce the problem in (native) QuteCom. Can you reproduce the problem? Here we can reproduce the problem but instead of crashing the client is just not able to connect. We also have to restart qutecom again and everything is ok then... We're tracing the problem but any help would be highly welcome! Greetings, - Darsha _______________________________________________ QuteCom-dev mailing list [email protected] http://lists.qutecom.org/mailman/listinfo/qutecom-dev
