Opened 18 years ago

Closed 18 years ago

#10693 closed defect (fixed)

BUG: irssi-0.8.10 hangs when looking up irc server

Reported by: gjyuieavuigzs@… Owned by: mij@…
Priority: High Milestone:
Component: ports Version: 1.3.2
Keywords: irssi Cc: jmpalacios (Juan Manuel Palacios), yeled@…
Port:

Description

Detailed here: http://forums.macrumors.com/showthread.php?t=229450 (I didn't create the thread or post in it)

I start irssi up it displays "Looking up some.ircserver.org" but never connects. I can ping the server and connect with BitchX but irssi refuses to do anything. Darwinports version 1.320 with irssi 0.8.10 (20051211 1015) on an iBook G4 10.4.7.

I just upgraded darwinports from 1.2 or 1.21 (can't remember which) but it also hung in the older version of darwinports. It used to work fine (for many months) so I think it might be a screwup in one of its dependecies. I have recently updated glib2 and switched to darwinports perl from the default os x perl.

Change History (8)

comment:1 Changed 18 years ago by gjyuieavuigzs@…

I figured it out, the problem is with glib2 @2.12.2_0. I deactivated glib2 @2.12.2_0 and went back to glib2 @2.12.0_1 and everything works fine. There must be a screwup somewhere between 2.12.0_1 and 2.12.2

comment:2 Changed 18 years ago by markd@…

Summary: irssi hangs when looking up irc serverBUG: irssi-0.8.10 hangs when looking up irc server

comment:3 Changed 18 years ago by julian@…

Ok, I think I know what's causing this problem:

There's a patch called 'patch-glib\_\_gmain.c' coming with the port, but it seems the patching isn't applied when building the current version of glib2.

comment:4 Changed 18 years ago by julian@…

Adding the line

patchfiles      patch-glib__gmain.c patch-glib-2.0.pc.in patch-glib__gutils.c

to the portfile fixed this one for me.

comment:5 Changed 18 years ago by jmpalacios (Juan Manuel Palacios)

Cc: mij@… added
Priority: BlockerImportant
severity: Crash/data lossSerious

http://i.am.politicallydisturbed.com/drupal/node/6
http://bugzilla.gnome.org/show_bug.cgi?id=302672
http://bugs.irssi.org/?do=details&id=234

In r19247 (which for some reason trac refuses to show) mij@ removed the patches ("This built and everything seemed to work fine without the patches, so please let me know if you run into any problems."), but according to the previous links at least patch-glib__gmain.c still seems to be needed to get things working smoothly on Tiger, at least for irssi (don't know what the status of glib & poll() & Panther is, but I can test if needed -- I'm figuring this patch can be applied through a darwin 8 platform statement).

Instead of fixing it myself I'll Cc Jim for him to take a look, he surely knows more about this stuff than any of us (Jim: I wanted to assing this ticket to you, but couldn't find a suitable trac account; did you create one? if not, could you please?)

-jmpp

comment:6 Changed 18 years ago by mij@…

I'll take a look at it tonight (hopefully), but since I don't use irssi I'm not sure I'll be of much help. I can't find the commit message for the commit you referenced, but I'll take your word for it :) Also, I have no problem with adding (either by myself or by anyone else) the patch back if it's needed.

Juan, I do have a trac account... it should be mij@… (I'm logged into it right now).

comment:7 Changed 18 years ago by jmpalacios (Juan Manuel Palacios)

Cc: jmpp@… yeled@… added; mij@… removed
Owner: changed from yeled@… to mij@…

I am running on Panther and I don't think the problem manifests on that platform, since the poll() issue doesn't exist there, so I don't think I can be of much help either. Someone with Tiger should try building glib2 with the patch-glib__gmain.c patch applied and try rebuilding irssi off the resulting test lib, to confirm the issue is fixed. I'll try what I can on Panther, though (upgrading glib2 to the latest release with and without the patch), as I believe the potential fix should be contained in a darwin 8 platform block if indeed the issue is Tiger specific.

-jmpp

PS: Jim, thanks for the clarification, I must have missed your account for some reason. I'm reassigning the ticket to you now ;-)

comment:8 Changed 18 years ago by mij@…

Resolution: fixed
Status: newclosed

This should now be fixed. I don't have any way to test on anything other than Tiger, so I just readded the patchfiles instead of making them platform specific. If anyone can reliably confirm that it only happens on Tiger, I'll wrap it in a platform block so the patches only get applied there.

Note: See TracTickets for help on using tickets.