- From: Coene Lode <Lode.Coene AT siemens.atea.be>
- To: "SCTP Discussion (E-mail)" <discussion AT sctp.de>
- Subject: [SCTP-Discussion] Is the timer_list initialised?
- Date: Mon Apr 2 18:56:01 2001
- List-id: SCTP Discussions <discussion.sctp.de>
Folks,
I've tried to make the SCTP_eventloop work in my code and now i get
everytime a Segementation fault. After firing up GDB, I found out that is
was located in the sctp_eventloop, during function call to
get_msecs_to_nexttimer, DLL_IsListEmpty.
Input to DLL_IsListEmpty is (0x00) which then leads to the segement fault.
This looks like a uninitialised pointer(it should point to NULL or at least
one element should be in the list because it makes a check not to the
pointer but to pointer->head(which in the present situation is clearly "A
bridge too far", even when the pointer itself was NULL))
BTW is 0x00 equivalent to NULL or it that dependent on OS representation.
I noticed that there was also a init_timer_list functions, but that as far
as I can see , not a single line of code in SCTP does call that function to
initialise the timer_list.
So my question is:
- did I forget something in my code for initialising (looked in the examples
didn't bring up anything this far)?
- might there be a error in the SCTP lib?
Help is always gratefully accepted. Thanks in advance.
yours sincerly,
Lode
Siemens Atea ICN D CS D
Software Development
Atealaan 34
B-2200 Herentals Belgium
Tel +32-14-25-2081 / Fax +32-14-25-3212
E-mail:
lode.coene AT siemens.atea.be
- [SCTP-Discussion] Is the timer_list initialised?, Coene Lode, 04/02/2001
Archive powered by MHonArc 2.6.19+.