cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: NI_WITHSCOPEID (was Re: Debugging test cases) (fwd)

From: Joe Halpin <j.p.h_at_comcast.net>
Date: Mon, 29 Mar 2004 10:06:43 -0600

Daniel Stenberg wrote:
> On Mon, 29 Mar 2004, Joe Halpin wrote:
>
>
>>On Solaris 9 I get "rc = invalid ai_flags".
>>
>>On Solaris 8 (SPARC) I get no output, but a return code of 3. This is a
>>fairly old version that's missing a lot of patches though.
>
>
> But what if you create the socket with AF_INET6 instead of plain AF_INET? Do
> they still return error?
>
Sorry I meant to try that. I get the same response and a core file with
an unsuable stack trace:

solaris$ gcc ip6test.c -lsocket -lnsl
solaris$ a.out
rc = invalid ai_flags
Segmentation Fault(coredump)
solaris$ gdb a.out core
GNU gdb 6.0
Copyright 2003 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-pc-solaris2.9"...
(no debugging symbols found)...
Core was generated by `a.out'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/lib/libsocket.so.1...(no debugging symbols
found)...
done.
Loaded symbols for /usr/lib/libsocket.so.1
Reading symbols from /usr/lib/libnsl.so.1...(no debugging symbols found)...
done.
Loaded symbols for /usr/lib/libnsl.so.1
Reading symbols from /usr/lib/libc.so.1...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/libc.so.1
Reading symbols from /usr/lib/libdl.so.1...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/libdl.so.1
Reading symbols from /usr/lib/libmp.so.2...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/libmp.so.2
0x00000000 in ?? ()
(gdb) bt
#0 0x00000000 in ?? ()
(gdb) q

Joe
Received on 2004-03-29