cURL / Mailing Lists / curl-users / Single Mail

curl-users

curl return code 139 = Core Dump

From: Dustin Boswell <boswell_at_caltech.edu>
Date: Wed, 11 Jul 2001 14:53:06 -0700 (PDT)

139 is a segmentation violation I think. And I've isolated
the options that cause it:

[boswell_at_work]$ /usr/local/bin/curl --dump-header
./curl-temp/@32687.2-cookie.txt --stderr "./curl-temp/@32687.4.log"
--output ./curl-temp/@32687.3.html --write-out 'http_code=%{http_code};\n'
--verbose --url 'http://www.pixi.com'
http_code=200;
Segmentation fault (core dumped)
[boswell_at_work]$

whereas if you take out the --verbose

[boswell_at_work]$ /usr/local/bin/curl --dump-header
./curl-temp/@32687.2-cookie.txt --stderr "./curl-temp/@32687.4.log"
--output ./curl-temp/@32687.3.html --write-out 'http_code=%{http_code};\n'
--url 'http://www.pixi.com'
http_code=200;
[boswell_at_work]$

or take out the --write-out

[boswell_at_work]$ /usr/local/bin/curl --dump-header
./curl-temp/@32687.2-cookie.txt --stderr "./curl-temp/@32687.4.log"
--output ./curl-temp/@32687.3.html --verbose --url 'http://www.pixi.com'
[boswell_at_work]$

then it works.
I am running Redhat 6.2

[boswell_at_work]$ uname -a
Linux work.my-machine.com 2.2.16-3smp #1 SMP Mon Jun 19 19:00:35 EDT
2000 i686 unknown
[boswell_at_work]$

Would the core file help anyone?
Let me know what I can do.

-Dustin
Received on 2001-07-11