[jdev] Problem with Yahoo-Transport

Tim Fulcher - Clickatell tim.fulcher at clickatell.com
Wed Jun 22 09:42:09 CDT 2005


Hi All
 
I've been seating with this for a few days now. After finally succeeding
to complile both mu-conference 0.6.0 and yahoo-transport 2.3.2 I run
into a segfault problem on yahoo-transport. Looking into the problem I
noticed that, with the exception of the "component" call both mu and
yahoo's main.c are identical (well that shouldn't be a surprise!). The
error occurs when the g_main_loop_run procedure is called. But the
segfault does not manifest itself if I comment out the
jcr_main_new_stream proc.
 
Is this a common fault and if so how can it be fixed?
 
I have attached both logs:
 
mu-conference:
main.c:148 (main): Jabber Component Runtime -- 0.2.4 starting.

main.c:194 (main): Main loop starting.

jcr_main_stream_error.c:50 (jcr_main_new_stream): Server stream
connected.

jcr_deliver.c:51 (jcr_queue_deliver): packet delivery thread starting.

jcr_shutdown.c:43 (jcr_server_shutdown): Server shutting down

jcr_deliver.c:97 (jcr_queue_deliver): packet delivery thread exiting.

jcr_deliver.c:98 (jcr_queue_deliver): Last DvryQ Buffer=''

 

Yahoo-Transport:

main.c:148 (main): Jabber Component Runtime -- 0.2.4 starting.

yahoo.localhost: Yahoo! Transport v2.3.2-JCR [stable] starting.

jcr_base_connect.c:34 (jcr_socket_connect): Attempting connection to
127.0.0.1:5347

main.c:194 (main): Main loop starting.

jcr_base_connect.c:34 (jcr_socket_connect): Attempting connection to
127.0.0.1:5347

jcr_base_connect.c:81 (jcr_send_start_stream): Opening XML stream: sent
161 bytes

jcr_main_stream_error.c:50 (jcr_main_new_stream): Server stream
connected.

jcr_deliver.c:51 (jcr_queue_deliver): packet delivery thread starting.

jcr_deliver.c:92 (jcr_queue_deliver): wrote 1 packets of 63 bytes

jcr_elements.c:177 (jcr_read_data): Main Channel Error: rc=2

jcr_main_stream_error.c:56 (jcr_main_close_stream): Server stream error,
resetting

jcr_deliver.c:97 (jcr_queue_deliver): packet delivery thread exiting.

jcr_deliver.c:98 (jcr_queue_deliver): Last DvryQ Buffer=''

jcr_base_connect.c:34 (jcr_socket_connect): Attempting connection to
127.0.0.1:5347

jcr_base_connect.c:81 (jcr_send_start_stream): Opening XML stream: sent
161 bytes

jcr_main_stream_error.c:50 (jcr_main_new_stream): Server stream
connected.

jcr_deliver.c:51 (jcr_queue_deliver): packet delivery thread starting.

jcr_deliver.c:92 (jcr_queue_deliver): wrote 1 packets of 63 bytes

jcr_elements.c:177 (jcr_read_data): Main Channel Error: rc=2

jcr_main_stream_error.c:56 (jcr_main_close_stream): Server stream error,
resetting

jcr_deliver.c:97 (jcr_queue_deliver): packet delivery thread exiting.

jcr_deliver.c:98 (jcr_queue_deliver): Last DvryQ Buffer=''

 
TIA
 
Tim Fulcher



More information about the JDev mailing list