[ ayttm-Bugs-819032 ] sig-pipe not being caught (tunneling jabber)

"SourceForge.net" <[email protected]>
Newsgroups gmane.network.instant-messaging.ayttm.user
Message-ID <[email protected]>
Bugs item #819032, was opened at 2003-10-07 06:40
Message generated for change (Comment added) made by colinleroy
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=550744&aid=819032&group_id=77614

Category: None
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Wes Hardaker (hardaker)
Assigned to: Nobody/Anonymous (nobody)
Summary: sig-pipe not being caught (tunneling jabber)

Initial Comment:
I'm tunneling jabber through ssh (since you don't 
support ssl, unless I missed it somewhere), and if 
the ssh tunnel dies for some reason then ayttm dies 
due to a sig-pipe.  gdb trace below: 
 
Program received signal SIGPIPE, Broken pipe. 
[Switching to Thread 1079845152 (LWP 14127)] 
0xffffe002 in ?? () 
(gdb) 
(gdb) where 
#0  0xffffe002 in ?? () 
#1  0x40897358 in JABBER_SendChatRoomMessage 
(JConn=0x81f90f0, 
    room_name=0x81f8fe8 " \214\037\b\002", 
    message=0xffffffe0 <Address 0xffffffe0 out of 
bounds>, 
    nick=0xffffffe0 <Address 0xffffffe0 out of 
bounds>) at libEBjabber.c:301 
#2  0x40895618 in eb_jabber_send_chat_room_message 
(room=0x7d, 
    message=0xffffffe0 <Address 0xffffffe0 out of 
bounds>) at jabber.c:632 
#3  0x0807cbae in send_cr_message () 
#4  0x0807d1c3 in cr_key_press () 
#5  0x4024ec26 in gtk_marshal_BOOL__POINTER () from 
/usr/lib/libgtk-1.2.so.0 
#6  0x40287015 in gtk_signal_remove_emission_hook () 
from /usr/lib/libgtk-1.2.so.0 
#7  0x4028616d in gtk_signal_set_funcs () from 
/usr/lib/libgtk-1.2.so.0 
#8  0x40283ab2 in gtk_signal_emit () from 
/usr/lib/libgtk-1.2.so.0 
#9  0x402c4e4a in gtk_widget_event () from 
/usr/lib/libgtk-1.2.so.0 
#10 0x402ce902 in gtk_window_set_default_size () from 
/usr/lib/libgtk-1.2.so.0 
#11 0x4024ec26 in gtk_marshal_BOOL__POINTER () from 
/usr/lib/libgtk-1.2.so.0 
#12 0x402861b2 in gtk_signal_set_funcs () from 
/usr/lib/libgtk-1.2.so.0 
#13 0x40283ab2 in gtk_signal_emit () from 
/usr/lib/libgtk-1.2.so.0 
#14 0x402c4e4a in gtk_widget_event () from 
/usr/lib/libgtk-1.2.so.0 
#15 0x4024eb5d in gtk_propagate_event () from 
/usr/lib/libgtk-1.2.so.0 
#16 0x4024d7f4 in gtk_main_do_event () from 
/usr/lib/libgtk-1.2.so.0 
#17 0x4030df15 in gdk_wm_protocols_filter () from 
/usr/lib/libgdk-1.2.so.0 
#18 0x403429ae in g_get_current_time () from 
/usr/lib/libglib-1.2.so.0 
#19 0x40342e89 in g_get_current_time () from 
/usr/lib/libglib-1.2.so.0 
#20 0x40343124 in g_main_run () from 
/usr/lib/libglib-1.2.so.0 
---Type <return> to continue, or q <return> to 
quit--- 
#21 0x4024d27f in gtk_main () from 
/usr/lib/libgtk-1.2.so.0 
#22 0x0805aa72 in main () 
#23 0x420156a4 in __libc_start_main () from 
/lib/tls/libc.so.6 
( 

----------------------------------------------------------------------

>Comment By: Colin Leroy (colinleroy)
Date: 2004-05-18 20:56

Message:
Logged In: YES 
user_id=460566

probably fixed - won't die, at least.

----------------------------------------------------------------------

Comment By: Colin Leroy (colinleroy)
Date: 2003-10-08 09:32

Message:
Logged In: YES 
user_id=460566

will try to fix it. Meanwhile, CVS version handles SSL Jabber :)

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=550744&aid=819032&group_id=77614


-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.