Modify

#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:

  1. breakpoint on proxy_connect
  2. run -D -n -v
  3. "account on" in &bitlbee
  4. breakpoint is reached, single-step (s) from this point
  5. 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:

  1. type "account off" in irc
  2. type "account on" again
  3. 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.

Attachments (0)

Change History (0)

Modify Ticket

Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.