An ecore loop based libpurple client...

"Marco Trevisan (Treviño)" mail at 3v1n0.net
Tue Apr 14 19:24:18 EDT 2009


Marco Trevisan (Treviño) wrote:
> However during those days I've also fixed any other bug and now the
> client (look at the attachment!) seems to work without any segmentation
> fault, abort or any other error, however my connection troubles aren't
> over yet. :/

I performed new tests after upgrading to ecore svn r39932 (which
implemented the FD EBADF handling by Andre Dieb that fixes the
fd-related aborts) but after some time (it can vary from few seconds to
many minutes) that my client is connected to the prpl-msn protocol (I
used the HTTP method) I get a crash due to a SIGPIPE exception.

It always happens after this request (could this be due to purple more
than ecore?):

(23:15:33) soap: POST //abservice/SharingService.asmx HTTP/1.1
SOAPAction: http://www.msn.com/webservices/AddressBook/FindMembership
Content-Type:text/xml; charset=utf-8
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)
Accept: */*
Host: omega.contacts.msn.com
Content-Length: 2366
Connection: Keep-Alive
Cache-Control: no-cache

<soap:Envelope
xmlns:soap='http://schemas.xmlsoap.org/soap/envelope/'><soap:Header
xmlns:soap='http://schemas.xmlsoap.org/soap/envelope/'><ABApplicationHeader
xmlns='http://www.msn.com/webservices/AddressBook'><ApplicationId
xmlns='http://www.msn.com/webservices/AddressBook'>This-Is-An-App-ID</ApplicationId><IsMigration
xmlns='http://www.msn.com/webservices/AddressBook'>false</IsMigration><PartnerScenario
xmlns='http://www.msn.com/webservices/AddressBook'>MessengerPendingList</PartnerScenario><CacheKey>This-Is-A-Base64-Encoded-Cache-Key</CacheKey></ABApplicationHeader><ABAuthHeader
xmlns='http://www.msn.com/webservices/AddressBook'><ManagedGroupRequest
xmlns='http://www.msn.com/webservices/AddressBook'>false</ManagedGroupRequest><TicketToken>This-Is-A-Base64-Encoded-Ticket-Token</TicketToken></ABAuthHeader></soap:Header><soap:Body
xmlns:soap='http://schemas.xmlsoap.org/soap/envelope/'><FindMembership
xmlns='http://www.msn.com/webservices/AddressBook'><serviceFilter
xmlns='http://www.msn.com/webservices/AddressBook'><Types
xmlns='http://www.msn.com/webservices/AddressBook'><ServiceType
xmlns='http://www.msn.com/webservices/AddressBook'>Messenger</ServiceType><ServiceType
xmlns='http://www.msn.com/webservices/AddressBook'>Invitation</ServiceType><ServiceType
xmlns='http://www.msn.com/webservices/AddressBook'>SocialNetwork</ServiceType><ServiceType
xmlns='http://www.msn.com/webservices/AddressBook'>Space</ServiceType><ServiceType
xmlns='http://www.msn.com/webservices/AddressBook'>Profile</ServiceType></Types></serviceFilter></FindMembership></soap:Body></soap:Envelope>
(23:15:33) gnutls: send failed: Error in the push function.

Program received signal SIGPIPE, Broken pipe.
[Switching to Thread -1214285024 (LWP 30051)]
0xffffe410 in __kernel_vsyscall ()

I hope you could help me in fixing this.

-- 
Treviño's World - Life and Linux
http://www.3v1n0.net/




More information about the Devel mailing list