[Bug 35747] Crash on contactPtr->id() and contactPtr is not 0

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Apr 7 13:41:27 CEST 2011


https://bugs.freedesktop.org/show_bug.cgi?id=35747

--- Comment #3 from Olli Salli <ollisal at gmail.com> 2011-04-07 04:41:27 PDT ---
(In reply to comment #2)
> I dont get valgrind working.
> 
> simple test is, 
> 
> Tp::ConnectionPtr connection = streamedMediachannel->connection();
> Tp::ContactManagerPtr contactManager = connection->contactManager();
> Tp::PendingContacts* pc = contactManager->contactsForIdentifiers(
> QStringList()<< mContactIdView->text()  );

You waited for the PendingContacts to finish, and checked that it was
successful at this point, right?

> pc->contacts().first()->id();

That aside, this is not a standalone case reproducing the issue. If you want us
to Valgrind the issue for you, you must post code compilable and runnable
stand-alone. Numerous applications incorporating the above or equivalent
sequence of calls to the ones mentioned above (but correctly waiting for the
PendingContacts to finish successfully) exist, with no reports of ill behavior.
Therefore, you must post a *full, runnable test application reproducing the
problem*, or get Valgrind working for yourself so you can run your current
application in it.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.



More information about the telepathy-bugs mailing list