Running nullclient on Windows

Victor Lin victorhlin at gmail.com
Sun Jun 20 18:44:28 EDT 2010


Hello,

I'm trying to run nullclient in MSVC. I managed to get libpurple and
nullclient compiled, and it runs. Unfortunately once I select a
protocol and enter username/pw it just hangs in the mainloop. I'm
using wpurple_g_io_channel_win32_new_socket to create the socket, so
it's not that. If it's any help, I recompiled giowin32.c with
debugging output and it's attached.
-------------- next part --------------
g_io_channel_win32_new_socket: sockfd:312
g_io_win32_create_watch: fd:312 condition:0x19 handle:0xc4
select_thread 0x11dc: start fd:312 data_avail:0xc4 data_avail_noticed:0xcc
select_thread 0x11dc: calling select() for IN ERR
libpurple initialized.
        0: AIM
        1: ICQ
Select the protocol [0-1]: 0
Username: asdf
Password:
g_io_win32_prepare: for thread 0x11dc buffer_condition:0
  watch->pollfd.events:0x19 watch->pollfd.revents:0 channel->revents:0
g_io_win32_prepare: for thread 0x11dc, setting data_avail_noticed
g_io_win32_prepare: thread 0x11dc, there.
g_io_win32_check: for thread 0x11dc buffer_condition:0
  watch->pollfd.events:0x19 watch->pollfd.revents:0 channel->revents:0
g_io_win32_check: thread 0x11dc, resetting data_avail
g_io_win32_check: thread 0x11dc, there.
g_io_win32_finalize: channel with thread 0x11dc
select_thread 0x11dc: got error, setting data_avail
g_io_channel_win32_new_socket: sockfd:312
g_io_win32_create_watch: fd:312 condition:0x19 handle:0x1e4
thread 0x11dc: freeing channel, fd: 312
select_thread 0xedc: start fd:312 data_avail:0x1e4 data_avail_noticed:0x1ec
g_io_win32_prepare: for thread 0xedc buffer_condition:0
  watch->pollfd.events:0x19 watch->pollfd.revents:0 channel->revents:0
g_io_win32_prepare: for thread 0xedc, setting data_avail_noticed
g_io_win32_prepare: thread 0xedc, there.
g_io_win32_check: for thread 0xedc buffer_condition:0
  watch->pollfd.events:0x19 watch->pollfd.revents:0 channel->revents:0
g_io_win32_check: thread 0xedc, resetting data_avail
g_io_win32_check: thread 0xedc, there.
select_thread 0xedc: calling select() for IN ERR
g_io_win32_finalize: channel with thread 0xedc
select_thread 0xedc: got error, setting data_avail
thread 0xedc: freeing channel, fd: 312


More information about the Support mailing list