- From: Thomas Dreibholz <dreibh AT exp-math.uni-essen.de>
- To: "Elangovan, Sumathi " <Sumathi.Elangovan AT thalesgroup.com>
- Cc: discussion AT sctp.de
- Subject: [SCTP-Discussion] Re: New release Testing!!!
- Date: Wed Oct 22 13:07:01 2003
- List-id: SCTP Discussions <discussion.sctp.de>
- Organization: University of Essen, Institute for Experimental Mathematics
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Am Mittwoch, 22. Oktober 2003 12:02 schrieb Elangovan, Sumathi:
>
I am not getting a compiler problem............its the running of both my
>
client(sending end) and server(receiving end)..
>
the client is able to establish the association.....but when it comes to
>
sending some data....it gives a "segmentation fault" at ext_sendmsg.......I
>
can see from ext_socket folder within socketapi file.....the type of
>
ext_sendmsg and ext_recvmsg is changed
I do not understand what you mean with "type of ext_sendmsg ... changed". The
parameters and its types have never changed; they are still
size_t ext_sendmsg(int s, const struct msghdr* msg, int flags); and
ssize_t ext_recvmsg(int s, struct msghdr* msg, int flags);
Do you have your program compiled with "-O0 -g"? If not, recompile and try
again. Also make sure that core files are generated ("ulimit -c unlimited").
Then, start "gdb" and load program and core file. Send us the stack trace
("bt" command). This will help to locate where the problem is.
If you run under Linux, also install the memory Debugger Valgrind
(
http://developer.kde.org/~sewardj/). Execute your programs with "valgrind
<Your program> <Your parameters>". Valgrind will look for things like access
to uninitialized variables and freed memory, memory leaks etc..
Best regards
- --
=======================================================================
Dipl.-Inform. Thomas Dreibholz
University of Essen, Room ES210
Inst. for Experimental Mathematics Ellernstraße 29
Computer Networking Technology Group D-45326 Essen/Germany
- -----------------------------------------------------------------------
E-Mail:
dreibh AT exp-math.uni-essen.de
Homepage:
http://www.exp-math.uni-essen.de/~dreibh
=======================================================================
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
iD8DBQE/lmPj32BbsHYPLWURAqvBAJ43N9O/IrB2kqEnuAfG890HD5vWBACaAsOY
XfRsn/Ql84l4wpe/GR9Z+sk=
=l+J+
-----END PGP SIGNATURE-----
Archive powered by MHonArc 2.6.19+.