cURL / Mailing Lists / curl-users / Single Mail

curl-users

core dump when running with Purify tool

From: hari r <hari.edu_at_gmail.com>
Date: Mon, 13 Dec 2010 12:36:50 +0530

Hi Curl-users,

I am using Curl library (libcurl.so.4) interface for Http get request,
sending HTTP request to HPOCMP server but client application is giving core
dump when i run by using purify tool .

With out Purify, client application running fine and not giving any code
dump.

Kindly share/suggest how to solve this issue and below is the purify output,

*Purify output:*

**** Purify instrumented ./curl_Linux (pid 1161 at Mon Dec 13 06:29:45
2010)
  * Purify 7.0.0.0-008 070813 Linux (32-bit) (C) Copyright IBM Corporation.
1992, 2007 All Rights Reserved.
  * For contact information type: "purify -help"
  * For TTY output, use the option "-windows=no"
  * Command-line: ./curl_Linux
  * Options settings: -g++=yes -purify -force-rebuild=no -best-effort \
    -cache-dir=/Products/VASGW/cbs_qa/hari_CBS1016/curlT_11292010/cache \
    -always-use-cache-dir -locking=no -threads=yes -max-threads=40 \
    -purify-home=/var/rational/releases/purify.i386_linux2.7.0.0.0-008 \
    -gcc3_path=/usr/bin/g++ \
    -cache-dir=/Products/VASGW/cbs_qa/hari_CBS1016/curlT_11292010/cache \
    -hw_cap=yes -language=english -rtslave-pid=1163
  * License successfully checked out.
  * Command-line: ./curl_Linux
Assertion failed: file "tramp/x86_checks.c", line 877

**** Purify instrumented ./curl_Linux (pid 1161) ****
Assertion failed: file "tramp/x86_checks.c", line 877

  * This is occurring while in thread 1161:
        curl_maprintf [libcurl.so.4]
        create_hostcache_id [libcurl.so.4]
        Curl_resolv [libcurl.so.4]
        Curl_resolv_timeout [libcurl.so.4]
        Curl_connect [libcurl.so.4]
        Curl_do_perform [libcurl.so.4]

**** Purify instrumented ./curl_Linux (pid 1161) ****
COR: Fatal core dump:
  * This is occurring while in thread 1161:
        _p1079static [rtlib.o]
        curl_maprintf [libcurl.so.4]
        create_hostcache_id [libcurl.so.4]
        Curl_resolv [libcurl.so.4]
        Curl_resolv_timeout [libcurl.so.4]
        Curl_connect [libcurl.so.4]
  * Received signal 4 (SIGILL - Illegal instruction)
  * Handler function: SIG_DFL
  * Faulting instruction address = 0x489
  * Signal mask: (SIGINT | SIGILL | SIGTRAP | SIGABRT | SIGBUS | \
    SIGKILL | SIGUSR2 | SIGALRM | SIGTERM | SIGCONT | SIGSTOP | SIGSTP | \
    SIGTTOU | SIGURG | SIGXFSZ | SIGPROF | SIGPWR | SIGUNUSED | \
    SIGReserved34 | SIGReserved35 | SIGReserved36 | SIGReserved38 | \
    SIGReserved44 | SIGReserved45 | SIGReserved47 | SIGReserved49 | \
    SIGReserved52 | SIGReserved55 | SIGReserved57 | SIGReserved59 | \
    SIGReserved61 | SIGReserved63)
  * Pending signals:

**** Purify instrumented ./curl_Linux (pid 1161) ****

Thanks and Regards,
Hari.edu

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-12-13