- From: Michael Tuexen <Michael.Tuexen AT micmac.franken.de>
- To: discussion AT sctp.de
- Subject: Re: [SCTP-Discussion] echo_server crashes after association restart
- Date: Tue Sep 11 17:10:01 2001
- List-id: SCTP Discussions <discussion.sctp.de>
Dear Pavel,
thank you for the detailed report. I'm currently on a
business trip. I'll be back on friday and will look into
it. Maybe Andreas will find the bug earlier. It will be
fixed in pre15.
Best regards
Michael
Pavel Richtr wrote:
>
>
Hi folks,
>
>
I've been testing echo_server & echo tool and came
>
across following problem:
>
>
I've made just one modification to echo_server - my
>
echo_server doesn't send
>
back data it receives.
>
>
I started echo server on "A" and then echo_tool on "Z"
>
with the -d param
>
supplying an ip address of "A" endpoint. echo_server
>
reported 'Communication
>
up' and reception of data sent by echo_tool. Then I
>
killed echo_tool
>
and restarted it. echo_server reported 'Restart'. Then
>
I killed echo_tool
>
again and waited till echo_server reported
>
'Communication lost'.
>
>
Now becomes the crucial moment - when I start
>
echo_tool again, echo_server
>
crashes (core dump). Sometimes it happens as soon as
>
the second association
>
is about to be established, sometimes it happens later
>
but allways when either
>
new association is about to be established or existing
>
association is being
>
closed.
>
>
It happens only if association restarts occur. When I
>
start heartbeats
>
in the echo_server it seems to crash even more
>
frequently. When I'm testing
>
original echo_server that sends back received data
>
crashes never occur.
>
>
here is what I see:
>
>
[root@pc122 programs]# ./echo_server -s 1.1.1.122 -V
>
1 : Communication up (1 paths)
>
1 : Communication up (1 In-Streams, 17
>
Out-Streams)
>
1 : Data arrived (512 bytes on stream 0,
>
ordered)
>
1 : Restart
>
1 : Data arrived (512 bytes on stream 0,
>
ordered)
>
1 : Restart
>
1 : Data arrived (512 bytes on stream 0,
>
ordered)
>
1 : Communication lost (status 2)
>
sctp_receiveUnsent: not yet implemented.
>
sctp_receiveUnacked: not yet implemented.
>
2 : Communication up (1 paths)
>
2 : Communication up (1 In-Streams, 17
>
Out-Streams)
>
2 : Data arrived (512 bytes on stream 0,
>
ordered)
>
2 : Restart
>
2 : Data arrived (512 bytes on stream 0,
>
ordered)
>
2 : Communication lost (status 2)
>
sctp_receiveUnsent: not yet implemented.
>
sctp_receiveUnacked: not yet implemented.
>
Segmentation fault (core dumped)
>
>
anyone has any idea what may be wrong?
>
>
cheers,
>
Pavel
>
>
__________________________________________________
>
Do You Yahoo!?
>
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
>
http://im.yahoo.com
>
_______________________________________________
>
discussion mailing list
>
discussion AT sctp.de
>
http://www.sctp.de/mailman/listinfo/discussion
Archive powered by MHonArc 2.6.19+.