Bug#501918: [Ekg2-users] Bug#501918: Rozłączenie po pierwszym połączeniu z GG

2008-10-11 Thread Jakub Zawadzki
On Sat, Oct 11, 2008 at 04:16:34PM +0100, Marcin Owsiany wrote:
> Robię tak:
>  rm -rf .ekg2
>  ekg2
>  session --add gg:N
>  session password
>  PASS
>  session auto_connect 1
>  save
>  connect
>  
> A ekg2 na to:
> 
> 15:34:58 ::: (gg:1923297) Connecting to server
> 15:34:59 ::: (gg:1923297) Connected
> 15:34:59 ::: (gg:1923297) Server disconnected

Powinno juz byc okej.



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#501918: Rozłączenie po pierwszym połączeniu z GG

2008-10-11 Thread Marcin Owsiany
Package: ekg2
Version: 20081009+2105-1

Robię tak:
 rm -rf .ekg2
 ekg2
 session --add gg:N
 session password
 PASS
 session auto_connect 1
 save
 connect
 
A ekg2 na to:

15:34:58 ::: (gg:1923297) Connecting to server
15:34:59 ::: (gg:1923297) Connected
15:34:59 ::: (gg:1923297) Server disconnected

Co ciekawe kiedy parę sekund później jeszcze raz wpiszę "connect", to się nie
rozłącza. Po kolejnych disconnect/connect już też się nie rozłącza, aż do
wyłączenia programu.

Kiedy zrobię quit, odpalę ekg2 jeszcze raz, to znowu zaraz po pierwszym
połączeniu (i tylko wtedy) się rozłącza. Jest to w 100% powtarzalne dopóki nie
zapodam kogoś do userlisty.

debug:

15:34:58 ** gg_login(0xbfd4afbc: [uin=1923297, async=1, ...]); 
15:34:58 ** gg_resolve_pthread(0x81446a8, 0x8144734, "appmsg.gadu-gadu.pl"); 
15:34:58 // gg_resolve_pthread() 0x8173550 
15:34:58 ** gg_watch_fd(0x81446a8); 
15:34:58 // gg_watch_fd() GG_STATE_RESOLVING 
15:34:58 // gg_watch_fd() resolved, connecting to 91.197.13.211:80 
15:34:58 ** gg_connect(91.197.13.211, 80, 1); 
15:34:58 // gg_connect() connect() in progress 
15:34:58 ** gg_event_free(0x8145070); 
15:34:58 watch_free() REMOVED WATCH, watches removed this loop: 1 oldwatch: 
0x8144778 
15:34:58 ekg_loop() Removed 1 watches this loop, let's cleanup calling: 
list_cleanup() ... 
15:34:58 ** gg_watch_fd(0x81446a8); 
15:34:58 // gg_watch_fd() GG_STATE_CONNECTING_HUB 
15:34:58 // gg_watch_fd() connected to hub, sending query 
15:34:58 => -BEGIN-HTTP-QUERY- 
15:34:58 GET 
/appsvc/appmsg2.asp?fmnumber=1923297&version=6%2c+1%2c+0%2c+158&lastmsg=0 
HTTP/1.0 
15:34:58 Host: appmsg.gadu-gadu.pl 
15:34:58 User-Agent: Mozilla/4.7 [en] (Win98; I) 
15:34:58 Pragma: no-cache 
15:34:58 
15:34:58 
15:34:58 => -END-HTTP-QUERY- 
15:34:58 ** gg_event_free(0x8146610); 
15:34:58 watch_free() REMOVED WATCH, watches removed this loop: 1 oldwatch: 
0x8146578 
15:34:58 ekg_loop() Removed 1 watches this loop, let's cleanup calling: 
list_cleanup() ... 
15:34:58 ** gg_watch_fd(0x81446a8); 
15:34:58 // gg_watch_fd() GG_STATE_READING_DATA 
15:34:58 // gg_watch_fd() received http header (HTTP/1.0 200 OK) 
15:34:58 // gg_watch_fd() received http data (0 91.197.13.39:8074 91.197.13.39) 
15:34:58 ** gg_connect(91.197.13.39, 8074, 1); 
15:34:58 // gg_connect() connect() in progress 
15:34:58 ** gg_event_free(0x8146b58); 
15:34:58 watch_free() REMOVED WATCH, watches removed this loop: 1 oldwatch: 
0x8147868 
15:34:58 ekg_loop() Removed 1 watches this loop, let's cleanup calling: 
list_cleanup() ... 
15:34:59 ** gg_watch_fd(0x81446a8); 
15:34:59 // gg_watch_fd() GG_STATE_CONNECTING_GG 
15:34:59 // gg_watch_fd() connected 
15:34:59 ** gg_event_free(0x80c1298); 
15:34:59 watch_free() REMOVED WATCH, watches removed this loop: 1 oldwatch: 
0x8147b20 
15:34:59 ekg_loop() Removed 1 watches this loop, let's cleanup calling: 
list_cleanup() ... 
15:34:59 ** gg_watch_fd(0x81446a8); 
15:34:59 // gg_watch_fd() GG_STATE_READING_KEY 
15:34:59 ** gg_recv_packet(0x81446a8); 
15:34:59 // gg_recv_packet() header recv(9,0xbfd4a754,8) = 8 
15:34:59 // gg_recv_packet() body recv(9,0x8185040,4) = 4 
15:34:59 // gg_recv_packet(01) 01 00 00 00 04 00 00 00 c9 ea 19 40 
15:34:59 // gg_watch_fd() challenge 4109ae9c --> hash 550d2981 
15:34:59 // gg_watch_fd() gg_dcc_ip = 0.0.0.0 
15:34:59 // gg_watch_fd() sending GG_LOGIN60 packet
15:34:59 ** gg_send_packet(0x81446a8, 0x15, ...)
15:34:59 // gg_send_packet(0x15) 15 00 00 00 1f 00 00 00 e1 58 1d 00 85 01 29 
d5 01 00 00 00 24 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 14 be
15:34:59 ** gg_event_free(0x8164810);
15:34:59 ** gg_watch_fd(0x81446a8);
15:34:59 // gg_watch_fd() GG_STATE_READING_REPLY
15:34:59 ** gg_recv_packet(0x81446a8);
15:34:59 // gg_recv_packet() header recv(9,0xbfd4a754,8) = 8
15:34:59 // gg_recv_packet() body recv(9,0x8177838,1) = 1
15:34:59 // gg_recv_packet(03) 03 00 00 00 01 00 00 00 1f
15:34:59 // gg_watch_fd() login succeded
15:34:59 ** gg_notify(0x81446a8, (nil), 0);
15:34:59 ** gg_send_packet(0x81446a8, 0x12, ...)
15:34:59 // gg_send_packet(0x12) 12 00 00 00 00 00 00 00
15:34:59 ** gg_change_status(0x81446a8, 2);
15:34:59 ** gg_send_packet(0x81446a8, 0x02, ...)
15:34:59 // gg_send_packet(0x02) 02 00 00 00 04 00 00 00 02 00 00 00
15:34:59 ** gg_event_free(0x814a0f8);
15:34:59 ** gg_watch_fd(0x81446a8);
15:34:59 // gg_watch_fd() GG_STATE_CONNECTED
15:34:59 ** gg_watch_fd_connected(0x81446a8, 0x8146100);
15:34:59 ** gg_recv_packet(0x81446a8);
15:34:59 // gg_recv_packet() header recv(9,0xbfd4a754,8) = 8
15:34:59 // gg_recv_packet(0b) 0b 00 00 00 00 00 00 00
15:34:59 // gg_watch_fd_connected() received disconnection warning
15:34:59 ** gg_logoff(0x81446a8);
15:34:59 ** gg_event_free(0x8146100);
15:34:59 watch_free() REMOVED WATCH, watches removed this loop: 1 oldwatch: 
0x80c2e18
15:34:59 ekg_loop() Removed 1 watches this loop, let's cleanup calling: 
list_cleanup() ...

[po chwili: connect]

15:43:01 ** gg_login(0xbfd4afbc: [uin=1923297, async=1, ...]); 
15:43