cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-tracker mailing list Archives

[ curl-Bugs-2523113 ] Segmentation fault with Redhat 5.2

From: SourceForge.net <noreply_at_sourceforge.net>
Date: Tue, 20 Jan 2009 12:02:33 +0000

Bugs item #2523113, was opened at 2009-01-20 10:31
Message generated for change (Comment added) made by bagder
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=2523113&group_id=976

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: libcurl
Group: crash
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: olivier cloarec (cloarec)
Assigned to: Daniel Stenberg (bagder)
Summary: Segmentation fault with Redhat 5.2

Initial Comment:
- CURL version: 7.19.2 (same problem with version 7.13)

- OS: Redhat 5.2 (with Redhat 4, it was OK)

- Compiled with following commands (cross compiler used):
autoconf;./configure --with-random=/dev/urandom --without-libidn --without-ssl --host=i386-angie-linux-gnu;make

- Used library: libcurl.a

- Problem: Program receives a SIGSEGV signal caused by libcurl.

- Workaround:
In hostip.c, I replaced "#define USE_ALARM_TIMEOUT" with "#undef USE_ALARM_TIMEOUT".
The library doesn't crash anymore but I don't really know the potential consequences of this modification.

You will find here under the backtrace.

Regards,

Olivier.

#13 0x00af19c9 in exit () from /lib/libc.so.6
(gdb)
#14 0x0804e8ed in allsig ()
(gdb)
#15 <signal handler called>
(gdb)
#16 0x00b1ec81 in fwrite () from /lib/libc.so.6
(gdb)
#17 0x081d4e33 in showit (data=0xa10e3f4, type=CURLINFO_TEXT, ptr=0xa10e6d8 "name lookup timed out\n", size=22) at sendf.c:386
386 sendf.c: No such file or directory.
        in sendf.c
(gdb)
#18 0x081d4eab in Curl_debug (data=0xa10e3f4, type=CURLINFO_TEXT, ptr=0xa10e6d8 "name lookup timed out\n", size=22, conn=0x2) at sendf.c:429
429 in sendf.c
(gdb)
#19 0x081d4fb1 in Curl_failf (data=0xa10e3f4, fmt=0x823dd28 "name lookup timed out") at sendf.c:177
177 in sendf.c
(gdb)
#20 0x081d3963 in Curl_resolv (conn=0x1, hostname=0x0, port=-1260873736, entry=0xb4d897fc) at hostip.c:416
416 hostip.c: No such file or directory.
        in hostip.c
(gdb)

----------------------------------------------------------------------

>Comment By: Daniel Stenberg (bagder)
Date: 2009-01-20 13:02

Message:
Can you please show us exactly what program you use to get this problem?

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=2523113&group_id=976
Received on 2009-01-20

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET