Libcurl (was Re: [Announce] GnuPG 1.4.1 released)

Carlo Luciano Bianco clbianco at tiscalinet.it
Tue Mar 22 13:15:15 CET 2005


Il /22 mar 2005/, *Neil Williams* ha scritto:

> On Tuesday 22 March 2005 9:46 am, Carlo Luciano Bianco wrote:
>> Program received signal SIGSEGV, Segmentation fault.
>> 0x77c16137 in strdup () from C:\WINDOWS\system32\msvcrt.dll
> 
> To find out what caused that fault, use the bt command: backtrace.

Thanks, Nail. As I told, I am quite new to this sort of things. Here is the 
result:

--------------------------------------------------------------------------
[...]
(gdb) bt
#0  0x77c16137 in strdup () from C:\WINDOWS\system32\msvcrt.dll
#1  0x003d52e0 in ?? ()
#2  0x0022f088 in ?? ()
#3  0x69f51e6d in libcurl!curl_slist_free_all () from 
c:\programmi\mingw\bin\libcurl.dll
--------------------------------------------------------------------------
 
> It happened in strdup() so that's usually because the string you are
> trying to copy (or copy to) is not accessible - maybe not properly
> initialised. The fault is not necessarily in the file identified above,
> it just showed up there. Use up and down commands after getting the
> backtrace to inspect the calls that lead to the segmentation fault.

The above four are all the frames I get.

>> (gdb) continue
>> Continuing.
> 
> You can't usually continue after a segmentation fault - or if you try
> you won't get predictable behaviour.

Good to know for the next time, thanks again! ;-)

-- 
| Carlo Luciano Bianco | ICQ UIN: 109517158                              |
|______________________| Home page: <http://clbianco.altervista.org/>    |
|GPG DSA/ElG 1024/4096:|_________________________________________________|
|KeyID:0x5324A0DA - Fingerprint:8B00C61034120506111B143DEDBF71B45324A0DA |




More information about the Gnupg-users mailing list