Opened at 2007-01-07T10:15:01Z
Last modified at 2007-02-18T20:38:29Z
#233 closed defect (worksforme)
Cannot connect to localhost on solaris
Reported by: | Kena | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Jabber | Version: | 1.0.3 |
Keywords: | Cc: | ||
IRC client+version: | Client-independent | Operating System: | Other |
OS version/distro: | Solaris 9 |
Description
With both 1.0.3 and new-jabber I have the following issue: when attempting to connect to the jabber server running on localhost, Bitlbee stays stuck on "Connecting..."
When using truss (eq. strace on linux) I can see the sequence of events:
socket (success) connect (success) _pollsys (waiting forever)
Interesting facts:
1) When trying to connect to a remote host, everything is fine.
2) when running through a debugger I could make it work using the following sequence of events:
- breakpoint on proxy_connect
- run -D -n -v
- "account on" in &bitlbee
- breakpoint is reached, single-step (s) from this point
- after single stepping for a while the debugger steps into glib(or libevent) to poll after the socket was connected.
At this point bitlbee hangs as initially described. But then:
- type "account off" in irc
- type "account on" again
- single-step again from proxy_connect
When the single stepping reaches the glib/libevent poll loop, then the connections goes on and eventually succeeds.
Without using a debugger, no amount of "account off"/"account on" cycles make the connection succeed.