wxURL DefaultProxy Access violation

Maximilian Matthé Maxi.Matthe at web.de
Tue Sep 18 12:08:45 PDT 2007


Vadim Zeitlin schrieb:
> On Tue, 18 Sep 2007 19:45:50 +0200 Maximilian Matthé <Maxi.Matthe at web.de> wrote:
> 
> MM> I have a problem with wxURL::SetDefaultProxy. It works (I can use the 
> MM> proxy and I can send requests to it), but when I exit the application, I 
> MM> get an access violation in the file free.c. The call stack comes from 
> MM> GSocket::~GSocket GSocket.cpp line 198
> 
>  What is the value of "this" here? Can you look at it under debugger, does
> it look correct?
> 
>  Regards,
> VZ
> 
  The value of this is 0x012d92a8 seems to be correct, all member data 
seems to be correct too:

m_ok	true	bool
m_fd	4294967295	unsigned int
m_local	0x00000000 {m_addr=??? m_len=??? m_family=??? ...}	_GAddress *
m_peer	0x012d9330 {m_addr=0x012d9380 m_len=16 m_family=GSOCK_INET ...} 
_GAddress *
m_error	GSOCK_NOERROR	GSocketError
m_non_blocking	false	bool
m_server	false	bool
m_stream	true	bool
m_establishing	false	bool
m_reusable	false	bool
m_timeout	{tv_sec=600 tv_usec=0 }	timeval
m_detected	8	int
m_cbacks	0x012d92d0	void [4](GSocket *, GSocketEvent, char *
m_data	0x012d92e0	char * [4]
m_msgnumber	1025	int

I have found out another thing: If I dont use SetDefaultProxy but 
SetProxy on the instance of wxURL, no accvio occurs.

Greetings






More information about the wx-users mailing list