Core Dump Error

I am getting the below error in alert.log.Could anyone pls help me how to resolve it.
ORA-07445: exception encountered: core dump [pevm_BCSRWC()+636] [SIGSEGV] [Address not mapped to object] [0x000000000] [] []
Also i get this error also very frequently.
ORA-00600: internal error code, arguments: [kgh_heap_sizes:ds], [0xFFFFFFFF7AB90008], [], [], [], [], [], []
ORA-00600: internal error code, arguments: [17090], [], [], [], [], [], [], []
Pls help

ORA-07445: exception encountered: core dump [string] [string] [string] [string] [string] [string]
Cause: An OS exception occurred which should result in the creation of a core file. This is an internal error.
Action: Contact your customer support representative.

Similar Messages

  • Limit on number of functions per package? Segmentation core dump error

    Hi there!
    I noticed a strange phaenomenon. I have a package with a specific number of functions in it. Everytime I try to insert a new function further to the existing ones I get a "Segmentation core dump" error, no matter what function I try to insert..
    Any ideas?

    There are limits on procedural units size, you can check more in metalink note 62603.1 'PLS-123 Program too Large' - Size Limitations on PLSQL Packages although on the other hand then you had to get already mentioned PLS-123 Program too Large error and not core dump.
    It rather looks like bug...
    Gints Plivna
    http://www.gplivna.eu

  • Forms 11g frmcmp gives Aborted (core dumped) error while compiling pll

    Hello
    We've installed oracle forms 11.1.2 on our linux server and are now trying to recompile all form objects from our previous release (10g).
    All forms compile without much problems, but some pll's (not all) fail with the error: Aborted (core dumped).
    Is there any way to find out what might be happening? I don't seem to find any log about what is causing this problem.
    Any input or ideas are more then welcome.
    Regards
    Johan
    Edited by: vanvojo on Sep 12, 2012 10:57 PM

    I had the same problem on my development machine; I solved it by converting all pll files to pld files with the 10g reports compiler and convert them back to pll with the 11g reports compiler. I noticed that the problem is most likely to occur on libraries having a lot of other libraries attached which are not converted to 11g yet, so it also might be that you can solve the problem by changing the compile-order. But anyway the reports compiler solved this problem for me without ordering the compilation steps ;)
    cheers

  • Adalnctl.sh : segmentation fault core dumped error

    We are getting the following error:
    Executing service control script:
    /J51/app/applmgr/R11/fisjetcomn/admin/scripts/FISJET_fisdata/adalnctl.sh start
    Segmentation Fault - core dumped
    Check logfile /J51/app/applmgr/R11/fisjetcomn/admin/log/FISJET_fisdata/12051212.log for
    details
    Contents of LOG file:
    Setting service OracleTNSListener80APPS_FISJET_fisdata to mode 2
    Executing service control
    script:
    /J51/app/applmgr/R11/fisjetcomn/admin/scripts/FISJET_fisdata/adalnctl.sh start
    Timeout specified in context file: 100 second(s)
    Any idea what this could be?

    Hi user609345,
    Why a bug?? It looks like the listener program is coredumping.
    Check the listenername in $TNS_ADMIN/listener.ora and try to start the listener by hand using
    lsnrctl start <listener_name>
    Any idear what could have caused this issue? Cloned your environment or is this a new install?
    Thanks
    KAR
    Message was edited by:
    KAR_oracle

  • CC: Fatal error in iropt: Bus Error (core dumped)

    Hi,
    I am now using the following version of CC
    CC: Sun C++ 5.7 Patch 117830-07 2006/03/15
    however, sometimes(esp when I have another background process running), when I try to compile, I get the Error:
    CC: Fatal error in iropt: Bus Error (core dumped)
    Can anyone tell me the possible cause? Thank you very much.
    Current directory is /cchk026/home2/cefbuild/emds-ha-sol8-103/vap_pack/isvapconnect9
    The following is the cmd I use to compile:
    make -e release
    CC -O -mt -D_RWSTD_NO_TEST_AND_SET -D_RWSTD_SOLARIS_THREAD -DSYSTEM_NAME="\"Composer System\"" -DSYSTEM_COPYRIGHT="\"Cicada Corporation\"" -DSYSTEM_BUILD="\"103\"" -D__NUMBER_FIELD_ID__ -DNDEBUG -DDEBUG_TRACE -DDEBUG_LEVEL_FATAL -I/inc -DGEN_VAP_TIMESTAMP -I/cchk030/home/cefbuild/EMDS/liffeapi-9_0_4/include -I/cchk026/home2/cefbuild/emds-ha-sol8-103/cmpr/cmpris -DLIFFE_API_9 -I/cchk026/home2/cefbuild/emds-ha-sol8-103/cmpr/inc -I/cchk026/home2/cefbuild/emds-ha-sol8-103/rtl/inc -I/cchk026/home2/cefbuild/emds-ha-sol8-103/rtl/inc/dbapiv3 -I/cchk026/home2/cefbuild/emds-ha-sol8-103/ipcs/inc -c CISVapSetConnect.cpp -o CISVapSetConnect.o -KPIC
    CC: Fatal error in iropt: Bus Error (core dumped)
    *** Error code 1
    make: Fatal error: Command failed for target `CISVapSetConnect.o'
    Current working directory /cchk026/home2/cefbuild/emds-ha-sol8-103/vap_pack/isvapconnect9
    *** Error code 1
    make: Fatal error: Command failed for target `buildrelease'
    Current working directory /cchk026/home2/cefbuild/emds-ha-sol8-103/vap_pack/isvapconnect9
    *** Error code 1
    make: Fatal error: Command failed for target `build'
    *** Fail 'make -e build' for library 'isvapconnect9' at Tue May 9 10:10:09 2006

    "iropt" is a component of the compiler that optimizes code. A compiler crash is always a compiler bug. You have the current C++ front-end patch, but you should verify that you have the current back-end (common compiler) patch as well.
    If getting the current patches doesn't solve the problem, we would need a compileable test case that demonstrates the problem. If you have a service contract with Sun, you should submit a bug report via that channel.
    A possible workaround is to compile this module without optimization (remove the -O option).
    Side note: I see you are setting private macros associated with libCstd. We do not support modifying any macros starting with _RW. Those macros affect how the runtime library was built, and if you modify the macro settings, your code will not match the library. Possible results include failure to compile, failure to link, or unpredictable program behavior if the program does link.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Segment fault (Core dump)

    Hi
    when i run the following Pro*c file in Unix Environment im getting the SEGMENTATION FAULT(CORE DUMP) error. I used DBX to debug the code. I couldnt find out the proper reason for this error form the dbx output.
    This is the output i got from DBX.
    *signal SEGV (no mapping at the fault address) in _doprnt at 0xfb98736c*
    *0xfb98736c: _doprnt+0x2798:     stb     %o0, [%o1]*
    I did the showmemuse and show leaks, the output for this commands :
    (dbx) showmemuse
    Checking for memory use...
    Blocks in use report (blocks in use: 575 total size: 328086 bytes)
    Total % of Num of Avg Allocation call stack
    Size All Blocks Size
    ======= ==== ====== ====== =======================================
    134876 41% 30 4495 kpummapg < kghgex
    18098 5% 1 18098 lxldlbb < lxlinit < kpummpin < kpupin < sqgctx < sqgrct < sqlcmex < sqlcxt
    16552 5% 4 4138 kogmapg < kghgex
    16516 5% 4 4129 kogmapg < kogmasg
    12288 3% 6 2048 nlhtnsl < nlhthnew
    10350 3% 5 2070 calloc < nsbGetBFS
    9688 2% 1 9688 kouogini < kouoini < kpuinit0 < kpuinit < sqgctx < sqgrct < sqlcmex < sqlcxt
    8200 2% 1 8200 findbuf < doprnt < _fprintf < main
    8120 2% 4 2030 sqlrlc < sqlcopydfn
    8080 2% 1 8080 kpuinit0 < kpuinit < sqgctx < sqgrct < sqlcmex < sqlcxt < main
    7168 2% 1 7168 calloc < nsgbliuc < nsgblini < niotns < nigcall < osncon < kpuadef < upiini
    7168 2% 3 2389 lxldlod < lxdlobj
    5976 1% 4 1494 sqlrlc < sqlcopydfn
    4640 1% 1 4640 sqlrlc < sqldrl < sqlexp < sqlcmex < sqlcxt < get_pub_dates < main
    4640 1% 1 4640 sqlrlc < sqlbrl < sqlexp < sqlcmex < sqlcxt < get_pub_dates < main
    4128 1% 1 4128 calloc < nsgbliuc < nsgblini < niotns < nigcall < osncon < kpuadef < upiini
    4024 1% 1 4024 sqlrlc < sqlbrl < sqlexp < sqlcmex < sqlcxt < get_pub_dates < main
    3408 1% 1 3408 sqlrlc < sqldrl < sqlexp < sqlcmex < sqlcxt < get_pub_dates < main
    2452 <1% 8 306 calloc < nsmal
    2156 <1% 7 308 calloc < nlemfins
    (dbx) showleaks
    Checking for memory leaks...
    Actual leaks report (actual leaks: 1 total size: 30 bytes)
    Total Num of Leaked Allocation call stack
    Size Blocks Block
    Address
    ====== ====== ========== =======================================
    30 1 0x9c9c8 getOutFileName < main
    Possible leaks report (possible leaks: 0 total size: 0 bytes)
    i know its because of Pad pointer and something related to Pointer or array overflow. But i couldnt find out where exactly happening....
    Following is my Code, please help me to find out the error and what i need to change in my code:
    #ifndef ORA_PROC
    #include <stdio.h>
    #include <stdlib.h>
    #include <string.h>
    #include <time.h>
    #include <ctype.h>
    #include <math.h>
    #else
    typedef struct FILE FILE;
    #endif
    /*** Added by TCS Begins ***/
    char getOutFileName(char );
    char getEnvVar(char );
    void prepare_declare_oracle_cursors();
    void get_calendar_dates();
    void get_issues();
    void get_master_cusip_no();
    void get_run_date_finish();
    void get_payments();
    int get_pub_dates();
    void get_rights();
    void get_s_h_meetings();
    void get_special_codes();
    void get_agents();
    void get_currency();
    void get_payment_codes();
    void get_issue_codes();
    void get_standard_footnotes();
    void get_index_codes();
    void get_exchanges();
    void get_tax_codes();
    void get_tenders();
    int check_if_holiday(int );
    void sql_error(int , int , char *);
    void login_error();
    void no_pub_dates();
    void no_cal_dates();
    void no_finish_date();
    void save_payment_footnote(char , char [3],int , char );
    void save_issue_footnote(char );
    int print_footnotes();
    int print_foreign_tax();
    int get_partial_run_time();
    void save_rght_footnotes();
    int print_supplimental();
    int convert_tender_price(char *);
    void pad_s_h_meetings();
    int strip_out_codes(char *);
    char *getSqlLogonString();
    /**** TCS ADD Ends ****/
    EXEC SQL INCLUDE sqlca;
    EXEC SQL INCLUDE ddr_create_all_tapes.h;
    #define TRUE 1
    #define ORA_NOT_FOUND     ( sqlca.sqlcode == 1403 )
    /* The Definitions of SUCCESS and FAILURE were switched to test the
    idea that SUCCESS should be Zero and FAILURE should be Non-Zero
    #define SUCCESS 1
    #define FAILURE 0
    #define SUCCESS 0
    #define FAILURE -1
    #define SYSOK          0
    #define SYSERR          1
    #define DEBUGGING     0
    #define DEBUG_LEVEL     0
    /*     #define DEBUGGING     1
         #define DEBUG_LEVEL     2
    int          first_cal_date;
    int          footnote_count;
    int          foreign_count;
    int          last_cal_date;
    int          total_records;
    int          which_tape = 0;
    char          cusip_table_name[30];
    char          field_type_code;
    char          final_cusip_number[10];
    /**** char          footnote_text[300][300];
    char          foreign_text[60][100]; **** Commented by TCS as per the change request ****/
    /*** Added by TCS as per the change request ***/
    char          footnote_text[200][300];
    char          foreign_text[200][300];
    /*** TCS Add Ends ***/
    char          freq_type_code;
    char          init_cusip_number[10];
    char          rec_type_code;
    char          payment_where_clause[600];
    char          rights_where_clause[600];
    char          tenders_where_clause[600];
    char          s_h_meet_where_clause[600];
    char          last_run_time[18];
    char          supp_info_buffer[321];
    int          call_flag;
    int          tenders_flag;
    int          rights_flag;
    int          s_h_meet_flag;
    int          rght_foot_pos;
    double          hold_double;
    int          hold_int;
    char          hold_char[100];
    int i=0;
    FILE      *fp;
    FILE     pfp;          / this is used for a report file to correspond to
    the partial tape file */
    int main(int argc, char argv[]) / Modified by TCS */
         char          ddr_tape_name[100];
         char          ddr_partial_rpt[100];
         char          copyright_notice[100];
         long           file_position;
         char           *logname;
         /* READ IN PARAMETERS AND SET UP VARIABLES */
         memset (oracle_uid.arr, 0, sizeof(oracle_uid.arr));
    memset (oracle_pwd.arr, 0, sizeof(oracle_pwd.arr));
    strcpy (oracle_uid.arr, argv[1]);
    oracle_uid.len = strlen(oracle_uid.arr);
    strcpy (oracle_pwd.arr, argv[2]);
    oracle_pwd.len = strlen(oracle_pwd.arr);
    printf("Calling getSqlLogonString");
    logname = getSqlLogonString();
         which_tape = atoi(argv[1]);
         memset (last_run_time, 0, sizeof(last_run_time));
         if ( ( DEBUGGING ) && ( DEBUG_LEVEL > 1 ) )
         printf ("Oracle username: %s\n", oracle_uid.arr);
         printf ("Oracle password: %s\n", oracle_pwd.arr);
         printf ("Oracle username/password@database: %s\n", logname); /** Added by TCS **/
         printf ("Which Tape: %d\n", which_tape);
         hold_double = 0.0;
         hold_int = 0;
         memset (hold_char, ' ', sizeof(hold_char));
         EXEC SQL WHENEVER SQLERROR DO login_error();
    /*      EXEC SQL CONNECT :oracle_uid IDENTIFIED BY :oracle_pwd; */
         EXEC SQL CONNECT :logname ;
         printf ("Connected to ORACLE... \n");
         EXEC SQL WHENEVER SQLERROR continue;
         get_pub_dates();
         memset (ddr_tape_name, 0, sizeof(ddr_tape_name));
         memset (ddr_partial_rpt, 0, sizeof(ddr_partial_rpt));
         memset (cusip_table_name, 0, sizeof(cusip_table_name));
         memset (payment_where_clause, 0, sizeof(payment_where_clause));
         memset (rights_where_clause, 0, sizeof(rights_where_clause));
         memset (tenders_where_clause, 0, sizeof(tenders_where_clause));
         memset (s_h_meet_where_clause, 0, sizeof(s_h_meet_where_clause));
         /* SET UP VARIABLES BASED ON THE DIFFERENT FREQUENCY OF TAPE */
         switch (which_tape)
              case 0:
                   get_partial_run_time();
                   /*sprintf (ddr_tape_name,
                        "idb_tape$out:ddr_partial%1d.asc", p_count); ** Comented by TCS **/
                   sprintf (ddr_tape_name,"%s%1d.%s",getOutFileName("DDR_PARTIAL"),p_count,getEnvVar("DDR_PARTIAL_EXT_ASC")); /* Added by TCS */
                   strcpy (cusip_table_name,
                        "IDB.DDR_PARTIAL_TAPE_TABLE");
                   /*sprintf (ddr_partial_rpt,
                        "idb_tape$out:ddr_partial%1d.rpt", p_count); ** Commented by TCS **/
                   sprintf (ddr_partial_rpt,"%s%1d.%s",getOutFileName("DDR_PARTIAL"),p_count,getEnvVar("DDR_PARTIAL_EXT_RPT")); /* Added by TCS */
                   get_calendar_dates();
                   freq_type_code = '0';
                   sprintf (payment_where_clause,
    "AND PYMT_PUB_DATE IS NULL \
    AND ((PYMT_ADD_DATE_TIME >= TO_DATE('%15.15s', 'DD-MON-RR HH24:MI') \
    AND PYMT_ADD_DATE_TIME < TO_DATE('%15.15s', 'DD-MON-RR HH24:MI')) \
    OR (PYMT_UPD_DATE_TIME >= TO_DATE('%15.15s', 'DD-MON-RR HH24:MI') \
    AND PYMT_UPD_DATE_TIME < TO_DATE('%15.15s', 'DD-MON-RR HH24:MI')))",
    p_from.arr, p_to.arr, p_from.arr, p_to.arr);
                   sprintf (rights_where_clause,
    "AND RGHT_PUB_DATE IS NULL \
    AND ((RGHT_ADD_DATE_TIME >= TO_DATE('%15.15s', 'DD-MON-RR HH24:MI') \
    AND RGHT_ADD_DATE_TIME < TO_DATE('%15.15s', 'DD-MON-RR HH24:MI')) \
    OR (RGHT_UPD_DATE_TIME >= TO_DATE('%15.15s', 'DD-MON-RR HH24:MI') \
    AND RGHT_UPD_DATE_TIME < TO_DATE('%15.15s', 'DD-MON-RR HH24:MI')))",
    p_from.arr, p_to.arr, p_from.arr, p_to.arr);
                   sprintf (tenders_where_clause,
    "AND TNDR_PUB_DATE IS NULL \
    AND ((TNDR_ADD_DATE_TIME >= TO_DATE('%15.15s', 'DD-MON-RR HH24:MI') \
    AND TNDR_ADD_DATE_TIME < TO_DATE('%15.15s', 'DD-MON-RR HH24:MI')) \
    OR (TNDR_UPD_DATE_TIME >= TO_DATE('%15.15s', 'DD-MON-RR HH24:MI') \
    AND TNDR_UPD_DATE_TIME < TO_DATE('%15.15s', 'DD-MON-RR HH24:MI')))",
    p_from.arr, p_to.arr, p_from.arr, p_to.arr);
                   sprintf (s_h_meet_where_clause,
    "AND SMTG_PUB_DATE IS NULL \
    AND ((SMTG_ADD_DATE_TIME >= TO_DATE('%15.15s', 'DD-MON-RR HH24:MI') \
    AND SMTG_ADD_DATE_TIME < TO_DATE('%15.15s', 'DD-MON-RR HH24:MI')) \
    OR (SMTG_UPD_DATE_TIME >= TO_DATE('%15.15s', 'DD-MON-RR HH24:MI') \
    AND SMTG_UPD_DATE_TIME < TO_DATE('%15.15s', 'DD-MON-RR HH24:MI')))",
    p_from.arr, p_to.arr, p_from.arr, p_to.arr);
                   break;
              case 3:
    /*     PARTIAL 5     */
                   get_partial_run_time();
                   p_count = 5;
                   /**sprintf (ddr_tape_name,
                        "idb_tape$out:ddr_partial%1d.asc", p_count); ** Comented by TCS **/
                   sprintf (ddr_tape_name,"%s%1d.%s",getOutFileName("DDR_PARTIAL"),p_count,getEnvVar("DDR_PARTIAL_EXT_ASC")); /* Added by TCS */
    /* for testing only I am using seperate TABLE     */
                   /**strcpy (cusip_table_name,
                        "IDB.DDR_PARTIAL5_TAPE_TABLE"); ** Commented by TCS **/
                   strcpy (cusip_table_name,
                        "IDB.DDR_PARTIAL_TAPE_TABLE");
                   /*sprintf (ddr_partial_rpt,
                        "idb_tape$out:ddr_partial%1d.rpt", p_count); ** Commented by TCS **/
                   sprintf (ddr_tape_name,"%s%1d.%s",getOutFileName("DDR_PARTIAL"),p_count,getEnvVar("DDR_PARTIAL_EXT_RPT")); /* Added by TCS */
                   get_calendar_dates();
                   freq_type_code = '3';
                   sprintf (payment_where_clause,
    "AND ( (PYMT_ADD_DATE_TIME >= TO_DATE('%15.15s', 'DD-MON-RR HH24:MI')) \
    OR (PYMT_UPD_DATE_TIME >= TO_DATE('%15.15s', 'DD-MON-RR HH24:MI')))",
    p_to.arr, p_to.arr);
                   sprintf (rights_where_clause,
    "AND ((RGHT_ADD_DATE_TIME >= TO_DATE('%15.15s', 'DD-MON-RR HH24:MI')) \
    OR (RGHT_UPD_DATE_TIME >= TO_DATE('%15.15s', 'DD-MON-RR HH24:MI')))",
    p_to.arr, p_to.arr);
                   sprintf (tenders_where_clause,
    "AND ((TNDR_ADD_DATE_TIME >= TO_DATE('%15.15s', 'DD-MON-RR HH24:MI')) \
    OR (TNDR_UPD_DATE_TIME >= TO_DATE('%15.15s', 'DD-MON-RR HH24:MI')))",
    p_to.arr, p_to.arr);
                   sprintf (s_h_meet_where_clause,
    "AND ((SMTG_ADD_DATE_TIME >= TO_DATE('%15.15s', 'DD-MON-RR HH24:MI')) \
    OR (SMTG_UPD_DATE_TIME >= TO_DATE('%15.15s', 'DD-MON-RR HH24:MI')))",
    p_to.arr, p_to.arr);
                   break;
              case 1:
                   /**strcpy (ddr_tape_name,
                        "idb_tape$out:ddr_daily_tape.asc"); ** Commented by TCS **/
                   sprintf (ddr_tape_name,"%s",getOutFileName("DDR_DAILY_TAPE_ASC")); /* Added by TCS */
                   strcpy (cusip_table_name,
                        "IDB.DDR_DAILY_TAPE_TABLE");
                   get_calendar_dates();
                   freq_type_code = '1';
                   sprintf (payment_where_clause, "AND (PYMT_PUB_DATE \
    = TO_DATE('%s','DD-MON-RR') OR PYMT_PUB_DATE IS NULL)", pub_to_date.arr);
                   sprintf (rights_where_clause, "AND (RGHT_PUB_DATE \
    = TO_DATE('%s','DD-MON-RR') OR RGHT_PUB_DATE IS NULL)", pub_to_date.arr);
                   sprintf (tenders_where_clause, "AND (TNDR_PUB_DATE \
    = TO_DATE('%s','DD-MON-RR') OR TNDR_PUB_DATE IS NULL)", pub_to_date.arr);
                   sprintf (s_h_meet_where_clause, "AND (SMTG_PUB_DATE \
    = TO_DATE('%s','DD-MON-RR') OR SMTG_PUB_DATE IS NULL)", pub_to_date.arr);
                   break;
              case 5:
                   /*strcpy (ddr_tape_name,
                        "idb_tape$out:ddr_weekly_tape.asc"); ** Commented by TCS **/
                   sprintf (ddr_tape_name, "%s",getOutFileName("DDR_WEEKLY_TAPE_ASC")); /* Added by TCS */
                   strcpy (cusip_table_name,
                        "IDB.DDR_WEEKLY_TAPE_TABLE");
                   get_calendar_dates();
                   freq_type_code = '2';
                   sprintf (payment_where_clause, "AND (PYMT_PUB_DATE \
    BETWEEN to_date('%s','DD-MON-RR') AND to_date('%s','DD-MON-RR') OR PYMT_PUB_DATE IS NULL)",
    pub_from_date.arr, pub_to_date.arr);
                   sprintf (rights_where_clause, "AND (RGHT_PUB_DATE \
    BETWEEN to_date('%s','DD-MON-RR') AND to_date('%s','DD-MON-RR') OR RGHT_PUB_DATE IS NULL)",
    pub_from_date.arr, pub_to_date.arr);
                   sprintf (tenders_where_clause, "AND (TNDR_PUB_DATE \
    BETWEEN to_date('%s','DD-MON-RR') AND to_date('%s','DD-MON-RR') OR TNDR_PUB_DATE IS NULL)",
    pub_from_date.arr, pub_to_date.arr);
                   /* ram - 6/28/95 - reverted back to original criteria: */
                   /* include on weekly tape based on pub-date, regardless of */
                   /* whether in calendar or not */
                   sprintf (s_h_meet_where_clause, "AND (SMTG_PUB_DATE \
    BETWEEN to_date('%s','DD-MON-RR') AND to_date('%s','DD-MON-RR') OR SMTG_PUB_DATE IS NULL)",
    pub_from_date.arr, pub_to_date.arr);
                   break;
              case 12:
                   /* ram - 7/13/95          */
                   /* changed monthly "6" to "12" */
                   /*strcpy (ddr_tape_name,
                        "idb_tape$out:ddr_monthly_tape.asc"); ** Commented by TCS **/
                   sprintf (ddr_tape_name, "%s", getOutFileName("DDR_MONTHLY_TAPE_ASC")); /* Added by TCS */
                   strcpy (cusip_table_name,
                        "IDB.DDR_MONTHLY_TAPE_TABLE");
                   freq_type_code = '3';
                   sprintf (payment_where_clause, "AND (PYMT_PUB_DATE \
    BETWEEN to_date('%s','DD-MON-RR') AND to_date('%s','DD-MON-RR') OR PYMT_PUB_DATE IS NULL)",
    pub_from_date.arr, pub_to_date.arr);
                   sprintf (rights_where_clause, "AND (RGHT_PUB_DATE \
    BETWEEN to_date('%s','DD-MON-RR') AND to_date('%s','DD-MON-RR') OR RGHT_PUB_DATE IS NULL)",
    pub_from_date.arr, pub_to_date.arr);
                   sprintf (tenders_where_clause, "AND (TNDR_PUB_DATE \
    BETWEEN to_date('%s','DD-MON-RR') AND to_date('%s','DD-MON-RR') OR TNDR_PUB_DATE IS NULL)",
    pub_from_date.arr, pub_to_date.arr);
                   break;
              case 8:
                   /*strcpy (ddr_tape_name,
                        "idb_tape$out:ddr_quarterly_tape.asc");** Commented by TCS **/
                   sprintf (ddr_tape_name,"%s",getOutFileName("DDR_QUARTERLY_TAPE_ASC")); /* Added by TCS */
                   strcpy (cusip_table_name,
                        "IDB.DDR_QUARTERLY_TAPE_TABLE");
                   freq_type_code = '3';
                   sprintf (payment_where_clause, "AND (PYMT_PUB_DATE \
    BETWEEN to_date('%s','DD-MON-RR') AND to_date('%s','DD-MON-RR') OR PYMT_PUB_DATE IS NULL)",
    pub_from_date.arr, pub_to_date.arr);
                   sprintf (rights_where_clause, "AND (RGHT_PUB_DATE \
    BETWEEN to_date('%s','DD-MON-RR') AND to_date('%s','DD-MON-RR') OR RGHT_PUB_DATE IS NULL)",
    pub_from_date.arr, pub_to_date.arr);
                   sprintf (tenders_where_clause, "AND (A.TNDR_TENDER_DATE \
    = TO_DATE('%s','DD-MON-RR'))", pub_to_date.arr);               break;
              case 9:
                   /*strcpy (ddr_tape_name,
                        "idb_tape$out:ddr_annual_tape.asc"); ** Comented by TCS **/
                   sprintf (ddr_tape_name,"%s", getOutFileName("DDR_ANNUAL_TAPE_ASC")); /* Added by TCS */
                   strcpy (cusip_table_name,
                        "IDB.DDR_ANNUAL_TAPE_TABLE");
                   freq_type_code = '4';
                   sprintf (payment_where_clause, "AND (PYMT_PUB_DATE \
    BETWEEN to_date('%s','DD-MON-RR') AND to_date('%s','DD-MON-RR') \
    OR PYMT_PUB_DATE = TO_DATE('29-OCT-1929','DD-MON-YYYY'))",
    pub_from_date.arr, pub_to_date.arr);
                   sprintf (rights_where_clause, "AND (RGHT_PUB_DATE \
    BETWEEN to_date('%s','DD-MON-RR') AND to_date('%s','DD-MON-RR') OR RGHT_PUB_DATE IS NULL)",
    pub_from_date.arr, pub_to_date.arr);
                   sprintf (tenders_where_clause, "AND (A.TNDR_TENDER_DATE \
    = TO_DATE('%s','DD-MON-RR'))", pub_to_date.arr);               break;
              case 15:
                   /*strcpy (ddr_tape_name,
                        "idb_tape$out:ddr_general_tape.asc"); ** Commented by TCS **/
                   sprintf (ddr_tape_name,"%s", getOutFileName("DDR_GENERAL_TAPE_ASC")); /* Added by TCS */
                   strcpy (cusip_table_name,
                        "IDB.DDR_GENERAL_TAPE_TABLE");
                   freq_type_code = '3';
                   sprintf (payment_where_clause, "AND (PYMT_PUB_DATE \
    BETWEEN to_date('%s','DD-MON-RR') AND to_date('%s','DD-MON-RR') OR PYMT_PUB_DATE IS NULL)",
    pub_from_date.arr, pub_to_date.arr);
                   sprintf (rights_where_clause, "AND (RGHT_PUB_DATE \
    BETWEEN to_date('%s','DD-MON-RR') AND to_date('%s','DD-MON-RR') OR RGHT_PUB_DATE IS NULL)",
    pub_from_date.arr, pub_to_date.arr);
                   sprintf (tenders_where_clause, "AND (A.TNDR_TENDER_DATE \
    = TO_DATE('%s','DD-MON-RR'))", pub_to_date.arr);               break;
              default:
                   exit (printf ("Invalid tape option: %d\n", which_tape)); /*** %s changed by TCS to %d ***/
                   break;
         if ((fp = fopen(ddr_tape_name, "w+")) == NULL)
              exit (printf ("Unable to open asc <%s> file for write access\n",
                   ddr_tape_name));
    /*     GR. Partial 5
         if (which_tape == 0 || which_tape == 3 )
              if ((pfp = fopen(ddr_partial_rpt, "w+")) == NULL)
                   exit (printf ("Unable to open asc <%s> file \
    for write access\n", ddr_partial_rpt));
         /* WRITE THE HEADER RECORD ON THE TAPE */
         memset (copyright_notice, 0, sizeof(copyright_notice));
         sprintf (copyright_notice, "COPYRIGHT (c) %.4s STANDARD & POOR'S \
    CORPORATION. ALL RIGHTS RESERVED", year.arr);
         fprintf (fp, "%-80.80sDIVIDEND%8d%17.17s ",
    copyright_notice, control_date, run_date_start.arr);
         file_position = ftell(fp);
         fprintf (fp, "\n");
         total_records = 0;
         /* GET THE SPECIAL CATEGORY RECORDS */
         get_special_codes();
         /* SELECT FROM THE DRIVER TABLE TO GET ALL THE OTHER RECORDS */
         get_master_cusip_no();
         printf("After get_master_cusip_no()");
         get_run_date_finish();
         printf("After get_run_date_finish()");
         if ( DEBUGGING )
              printf ("initial cusip = %s\n", init_cusip_number);
              printf ("final cusip = %s\n", final_cusip_number);
              printf ("record type is %c\n", rec_type_code);
         /* WRITE THE TRAILER RECORD */
         fprintf (fp, "%8d%-17.17s%07d%-9.9s1%-9.9s%c\n", control_date,
    run_date_finish.arr, total_records, init_cusip_number , final_cusip_number,
    rec_type_code);
         /* re-wind and add to the header record ... */
         rewind(fp);
         fseek(fp, file_position - 33, 0);
         fprintf (fp, "%07d%-9.9s1%-9.9s%c", total_records, init_cusip_number,
    final_cusip_number, rec_type_code);
         fclose(fp);
    /*     GR Partial 5
         if (which_tape == 0 || which_tape == 3 )
              fclose(pfp);
         printf ("\nDONE: %07d%-9.9s1%-9.9s%c\n", total_records, init_cusip_number,
    final_cusip_number, rec_type_code);
    return (0); /*** Added by TCS ***/
    void prepare_declare_oracle_cursors() /* Modified by TCS */
         /* We'll us dynamic sql to get the appropriate where clause but use */
         /* a bind variable for the master cusip number. So we prepare and */
         /* declare get_issues, get_payments, get_tenders, get rights, and */
         /* get_s_h_meetings cursors only once, outside the driving loop. */
         EXEC SQL BEGIN DECLARE SECTION;
              /**** TCS Comment begins as per the change request ****
              VARCHAR          sql_stmt1[1500];*/     /* issues */
              /*VARCHAR          sql_stmt2[3000];     *//* payments */
              /*VARCHAR          sql_stmt3[500];          *//* tenders */
              /*VARCHAR          sql_stmt4[500];          *//* rights */
              /*VARCHAR          sql_stmt5[500];          *//* s_h_meetings */
              /**** TCS Add begins as per the change request ****/
              VARCHAR          sql_stmt1[2000];     /* issues */
              VARCHAR          sql_stmt2[4000];     /* payments */
              VARCHAR          sql_stmt3[1000];     /* tenders */
              VARCHAR          sql_stmt4[1000];     /* rights */
              VARCHAR          sql_stmt5[1000];     /* s_h_meetings */
              /**** TCS Add ends ****/
         EXEC SQL END DECLARE SECTION;
         /* prepare and declare the get_issues cursor */
         memset (sql_stmt1.arr, 0, sizeof(sql_stmt1.arr));
         sprintf (sql_stmt1.arr, "SELECT \
    A.ISSU_PAR_VALUE, \
    DECODE (A.ISSU_MARKET_SYMBOL||A.ISSU_NASDAQ,'OTCY','NASD', A.ISSU_MARKET_SYMBOL), \
    A.ISSU_C_RATE, A.ISSU_C_FREQ, A.ISSU_C_NEW_AMOUNT, A.ISSU_C_NEW_Q1, \
    A.ISSU_C_NEW_Q2, A.ISSU_C_NEW_Q3, A.ISSU_C_OLD_AMOUNT, A.ISSU_C_OLD_Q1, \
    A.ISSU_C_OLD_Q2, A.ISSU_C_OLD_Q3, A.ISSU_CURRENCY, \
    A.ISSU_UPD_HIS, A.ISSU_COMMENT, A.TAX_EXEMPT_FLAG,\
    B.SEC_TYPE_CODE, B.ACQ_BY_IND, B.ACQ_ISSUER_NO, \
    rtrim(substr(B.ACQ_ISSUER_DESCR,1,30)), \
    B.INDEX_CODE, B.TRFR_AGT_CODE, B.NY_AGT_CODE, B.TICKER_SYMBOL, \
    B.TICKER_SYMBOL2, \
    rtrim(substr(C.ISSR_DDR_ISSUER_DESCR,1,60)), \
    rtrim(substr(E.ISSUE_DESCR,1,30)), \
    rtrim(substr(D.ISSUER_DESCR1,1,30)), \
    F.TRFR_DAYS \
    FROM IDB.DDR_ISSUES A, IDB.DDR_ISSUES_2 B, IDB.DDR_ISSUERS C, \
    BLIS.CUSIP_ISSUERS D, BLIS.CUSIP_ISSUES E, IDB.DDR_TRANSFER F \
    WHERE A.ISSU_CUSIP_NO = :master_cusip_no \
    AND A.ISSU_CUSIP_NO = B.ISSU_CUSIP_NO(+) \
    AND SUBSTR(A.ISSU_CUSIP_NO, 1, 6) = C.ISSR_ISSUER_NO(+) \
    AND SUBSTR(A.ISSU_CUSIP_NO, 1, 6) = D.ISSUER_NO \
    AND A.ISSU_CUSIP_NO = E.CUSIP_NO \
    AND A.ISSU_TRANSFER_CODE = F.TRFR_TR_CD(+) ");
         sql_stmt1.len = strlen(sql_stmt1.arr);
         EXEC SQL PREPARE ISSUES FROM :sql_stmt1;
         if (sqlca.sqlcode)
              sql_error (SYSERR, sqlca.sqlcode,
                   "Error in preparing ISSUES");
         EXEC SQL DECLARE ISSUES_C CURSOR FOR ISSUES;
         if (sqlca.sqlcode)
              sql_error (SYSERR, sqlca.sqlcode,
                   "Error in declaring ISSUES");
         /* now the get_payments cursor */
         memset (sql_stmt2.arr, 0, sizeof(sql_stmt2.arr));
         sprintf (sql_stmt2.arr, "SELECT \
    a.PYMT_RP_DIV, \
    a.PYMT_RP_DEC, \
    a.PYMT_RP_EXD, \
    a.PYMT_RP_REC, \
    a.PYMT_RP_PAY, \
    a.PYMT_RP_DUE, \
    a.PYMT_RP_TAX, \
    a.PYMT_RP_ANN, \
    a.PYMT_PRP_DIV, \
    a.PYMT_PRP_DEC, \
    a.PYMT_PRP_EXD, \
    a.PYMT_PRP_REC, \
    a.PYMT_PRP_PAY, \
    a.PYMT_PRP_DUE, \
    a.PYMT_PRP_TAX, \
    a.PYMT_PRP_ANN, \
    NVL(a.PYMT_SEQ_NO,0), \
    TO_CHAR(a.PYMT_DECLARED, 'YYMMDD'), \
    TO_CHAR(a.PYMT_EX_DATE, 'YYMMDD'), \
    TO_CHAR(a.PYMT_STK_REC, 'YYMMDD'), \
    TO_CHAR(a.PYMT_TRANSFER_DATE, 'YYMMDD'), \
    TO_CHAR(a.PYMT_PAYABLE, 'YYMMDD'), \
    a.PYMT_CODES, \
    NVL(a.PYMT_CASH_DIVD,0.0), \
    NVL(b.ORDINARY_INCOME,0.0), \
    NVL(b.CAP_GAINS,0.0), \
    NVL(b.SHORT_TM_CAP_GAINS,0.0), \
    NVL(b.LONG_TM_CAP_GAINS,0.0), \
    NVL(b.RETURN_OF_CAPITAL,0.0), \
    b.STK_DIVD_IND, \
    NVL(a.PYMT_STK_DIVD,0), \
    b.FRAC_IN_CASH_STK_IND, \
    NVL(b.FRAC_IN_CASH_PRICE,0.0), \
    NVL(a.PYMT_SPLIT_NEW,0), \
    NVL(a.PYMT_SPLIT_OLD,0), \
    TO_CHAR(a.PYMT_DB_DATE, 'YYMMDD'), \
    NVL(b.ARREARS_PAID,0.0), \
    NVL(b.ARREARS_DUE,0.0), \
    b.SPINOFF_IND, \
    b.SPINOFF_ISSUE_NO, \
    b.SPINOFF_ISSUER_DESCR, \
    b.SPINOFF_ISSUE_DESCR, \
    NVL(b.TAX_CODE,0), \
    NVL(b.TAX_CODE_2,0), \
    NVL(b.OLD_SEQ_NO,0), \
    b.ORDINARY_INCOME_CODE, \
    b.CAP_GAINS_CODE, \
    b.SHORT_TM_CAP_GAINS_CODE, \
    b.LONG_TM_CAP_GAINS_CODE, \
    b.RETURN_OF_CAPITAL_CODE, \
    TO_CHAR(b.CALL_DATE, 'YYMMDD'), \
    NVL(b.CALL_PRICE,0.0), \
    b.CALL_PRICE_CURRENCY, \
    b.CALL_AGT_NO, \
    b.ACCRUED_DIVD_IND, \
    TO_CHAR(a.PYMT_DB_DATE, 'YYMMDD'), \
    a.PYMT_DB_TEXT, \
    a.PYMT_DVD_TEXT, \
    a.PYMT_YEAR, \
    TO_CHAR(a.PYMT_STK_REC, 'fmMon dd'), \
    TO_CHAR(a.PYMT_DB_DATE, 'fmMon dd'), \
    b.NY_CALL_AGT_NO, \
    NVL(b.FOREIGN_TAX_RATE, 0.0), \
    NVL(b.NET_RATE, 0.0), \
    NVL(b.FEE, 0.0), \
    NVL(b.COMMISSION, 0.0), \
    a.PYMT_CASH_DIVD_FNS, \
    a.PYMT_STK_DIVD_FNS, \
    a.PYMT_DECLARED_FNS, \
    a.PYMT_EX_DATE_FNS, \
    a.PYMT_STK_REC_FNS, \
    a.PYMT_PAYABLE_FNS, \
    a.PYMT_SPLIT_FNS, \
    NVL (TO_NUMBER (TO_CHAR(a.PYMT_PUB_DATE, 'YYYYMMDD')), 0), \
    NVL (TO_NUMBER (TO_CHAR(a.PYMT_TRANSFER_DATE, 'YYYYMMDD')), 0), \
    NVL (TO_NUMBER (TO_CHAR(a.PYMT_STK_REC, 'YYYYMMDD')), 0), \
    NVL (TO_NUMBER (TO_CHAR(a.PYMT_DB_DATE, 'YYYYMMDD')), 0) \
    FROM IDB.DDR_PAYMENTS A, IDB.DDR_PAYMENTS_2 B \
    WHERE A.PYMT_CUSIP_NO = :master_cusip_no \
    AND A.PYMT_CUSIP_NO = B.PYMT_CUSIP_NO (+) \
    AND A.PYMT_SEQ_NO = B.PYMT_SEQ_NO (+) \
    AND NVL(INSTR(A.PYMT_CODES,'CO'),0) NOT IN (1,3,5,7,9,11) ");
         strcat (sql_stmt2.arr, payment_where_clause);
         sql_stmt2.len = strlen(sql_stmt2.arr);
         EXEC SQL PREPARE PAYMENTS FROM :sql_stmt2;
         if (sqlca.sqlcode)
              sql_error (SYSERR, sqlca.sqlcode,
                   "Error in preparing PAYMENTS");
         EXEC SQL DECLARE PAYMENTS_C CURSOR FOR PAYMENTS;
         if (sqlca.sqlcode)
              sql_error (SYSERR, sqlca.sqlcode,
                   "Error in declaring PAYMENTS");
         /* now the get_tenders cursor */
         memset (sql_stmt3.arr, 0, sizeof(sql_stmt3.arr));
    /* FXL ADD SUBSTR to tndr_price_qual: substr(A.TNDR_PRICE_QUAL,1,14), 3/23/99,
    to to_number 3/29/99 */
         sprintf (sql_stmt3.arr, "SELECT \
    B.TNDR_AGT_NO, \
    B.NY_AGT_NO, \
    TO_CHAR(A.TNDR_TENDER_DATE, 'YYMMDD'), \
    A.TNDR_PRICE, \
    to_number(A.TNDR_PRICE_QUAL), \
    A.TNDR_TE_SIZE, \
    TNDR_TE_TEXT_1 \
    FROM IDB.DDR_TENDERS A, IDB.DDR_TENDERS_2 B \
    WHERE TNDR_CUSIP_NO = :master_cusip_no \
    AND TNDR_CUSIP_NO = TNDR_ISSUE_NO(+) \
    AND A.TNDR_TENDER_DATE = B.TNDR_TENDER_DATE(+) ");
         strcat (sql_stmt3.arr, tenders_where_clause);
         sql_stmt3.len = strlen(sql_stmt3.arr);
         EXEC SQL PREPARE TENDERS FROM :sql_stmt3;
         if (sqlca.sqlcode)
              sql_error (SYSERR, sqlca.sqlcode,
                   "Error in preparing TENDERS");
         EXEC SQL DECLARE TENDERS_C CURSOR FOR TENDERS;
         if (sqlca.sqlcode)
              sql_error (SYSERR, sqlca.sqlcode,
                   "Error in declaring TENDERS");
         /* now the get_rights cursor */
         memset (sql_stmt4.arr, 0, sizeof(sql_stmt4.arr));
    /* ADD TO_CHAR(A.RGHT_DB_DATE, 'YYMMDD') */
         sprintf (sql_stmt4.arr, "SELECT \
    B.NO_RIGHTS_ISSUED, \
    B.SHS_REQ_FOR_PURCH, \
    B.RGHTS_REQUIRED, \
    B.QTY_SHS_PURCHASED, \
    B.TYPE_SHS_ELIGIBLE, \
    B.NEW_SHS_CUSIP_NO, \
    B.NEW_CO_ISSUER_DESCR, \
    TO_CHAR(A.RGHT_RECORD, 'YYMMDD'), \
    TO_CHAR(A.RGHT_EX_DATE, 'YYMMDD'), \
    TO_CHAR(B.NYC_RECORD_DATE, 'YYMMDD'), \
    TO_CHAR(A.RGHT_EXPIRE, 'YYMMDD'), \
    TO_CHAR(A.RGHT_DB_DATE, 'YYMMDD'), \
    A.RGHT_PRICE, \
    NVL(A.RGHT_RECORD_FNS,' '), \
    NVL(A.RGHT_EXPIRE_FNS,' '), \
    NVL(A.RGHT_EX_DATE_FNS,' '), \
    NVL(A.RGHT_PRICE_FNS,' '), \
    NVL(A.RGHT_BASIS_FNS,' '), \
    A.RGHT_FOOTNOTE, \
    B.US_INELIGIBILITY_IND, \
    B.RGHT_TRFR_IND \
    FROM IDB.DDR_RIGHTS A, IDB.DDR_RIGHTS_2 B \
    WHERE RGHT_CUSIP_NO = :master_cusip_no \
    AND RGHT_CUSIP_NO = RGHT_ISSUE_NO(+) \
    AND A.RGHT_RECORD = B.RGHT_RECORD_DATE(+) ");
         strcat (sql_stmt4.arr, rights_where_clause);
         sql_stmt4.len = strlen(sql_stmt4.arr);
         EXEC SQL PREPARE RIGHTS FROM :sql_stmt4;
         if (sqlca.sqlcode)
              sql_error (SYSERR, sqlca.sqlcode,
                   "Error in preparing RIGHTS");
         EXEC SQL DECLARE RIGHTS_C CURSOR FOR RIGHTS;
         if (sqlca.sqlcode)
              sql_error (SYSERR, sqlca.sqlcode,
                   "Error in declaring RIGHTS");
         /* ram - added logic on 7/18/95 */
         /* for the standard footnotes cursor */
         EXEC SQL DECLARE STANDARD_FOOTNOTES_C CURSOR
         FOR
         SELECT SFTN_S_F_TEXT, SFTN_S_F_TYPE
         FROM IDB.DDR_STANDARD_FOOTNOTES
         WHERE SFTN_S_F_TYPE = :standard_footnote_type;
         if (sqlca.sqlcode)
              sql_error (SYSERR, sqlca.sqlcode,
                   "Error in declaring STANDARD_FOOTNOTES");
         /* now the issue footnotes cursor */
         EXEC SQL DECLARE ISSUE_FOOTNOTES_C CURSOR
         FOR
         SELECT FTNT_F_TEXT, FTNT_F_TYPE
         FROM IDB.DDR_FOOTNOTES
         WHERE FTNT_CUSIP_NO = :master_cusip_no
         AND FTNT_SYMBOL = :footnote_symbol
         AND FTNT_YEAR IS NULL;
         if (sqlca.sqlcode)
              sql_error (SYSERR, sqlca.sqlcode,
                   "Error in declaring ISSUE_FOOTNOTES");
         /* now the payment footnotes cursor */
         EXEC SQL DECLARE PAYMENT_FOOTNOTES_C CURSOR
         FOR
         SELECT FTNT_F_TEXT, FTNT_F_TYPE
         FROM IDB.DDR_FOOTNOTES
         WHERE FTNT_CUSIP_NO = :master_cusip_no
         AND FTNT_SYMBOL = :footnote_symbol
         AND FTNT_YEAR = :footnote_year;
         if (sqlca.sqlcode)
              sql_error (SYSERR, sqlca.sqlcode,
                   "Error in declaring PAYMENT_FOOTNOTES");
         /* now the get_s_h_meetings cursor */
         /* ONLY for certain tape types. */
    /*     GR PARTial 5
         if (which_tape == 0 || which_tape == 3 || which_tape == 1 || which_tape == 5)
              memset (sql_stmt5.arr, 0, sizeof(sql_stmt5.arr));
              /* ram - 6/15/95 - changed ORigunal to smtg */
              /* TO_CHAR(ORIGINAL_REC_DATE, 'YYMMDD'), \ */
              sprintf (sql_stmt5.arr, "SELECT \
    TO_CHAR(SMTG_MTG_DATE, 'YYMMDD'), \
    TO_CHAR(SMTG_REC_DATE, 'YYMMDD'), \
    SMTG_FOOTNOTE \
    FROM IDB.DDR_S_H_MEETINGS \
    WHERE SMTG_CUSIP_NO = :master_cusip_no ");
              strcat (sql_stmt5.arr, s_h_meet_where_clause);
              sql_stmt5.len = strlen(sql_stmt5.arr);
              EXEC SQL PREPARE S_H_MEET FROM :sql_stmt5;
              if (sqlca.sqlcode)
                   sql_error (SYSERR, sqlca.sqlcode,
                        "Error in preparing S_H_MEET");
              EXEC SQL DECLARE S_H_MEET_C CURSOR FOR S_H_MEET;
              if (sqlca.sqlcode)
                   sql_error (SYSERR, sqlca.sqlcode,
                        "Error in declaring S_H_MEET");
         } /* end of if (which_tape == 0 || which_tape == 1 || which_tape == 5) */
    /* replaced get_calendar_dates function with use of PLSQL - ram - 5/24/95 */
    void get_calendar_dates() /* Modified by TCS */
         /* put first and last calendar dates into global ints */
         /* first_cal_date and last_cal_date (YYYYMMDD) using */
         /* ddr package function get_business_days. */
         /* The package object ddr is owned by idb, so I'll */
         /* specify this, just in case accounts other than idb */
         /* run this code. (EXECUTE priviledge is granted to */
         /* "idb_user" role.) */
    EXEC SQL BEGIN DECLARE SECTION;
              int          cal_start;
              int          cal_end;
              int          return_val;
    EXEC SQL END DECLARE SECTION;
         /* initialize destination globals */

    You actually need to run it with "check -access"; memuse and leaks won't help with the crash, which happens because of illegal memory access. Hopefully, "check -access" will help you to locate the bad guy, but that's not panacea either.
    To be precise:
    - start dbx
    $ dbx <your app>
    - issue
    (dbx) check -access
    (dbx) run
    and wait for dbx to stop and report suspicious memory access.

  • Spatial query results in core dump

    Following query leads to a core dump error. I only can get the first 45 rows.
    ksedmp: internal or fatal error
    ORA-07445: exception encountered: core dump [ACCESS_VIOLATION] [_kokekd2m+43] [PC:0x13A71A3] [ADDR:0x65CECD14] [UNABLE_TO_READ] []
    SELECT geom.link_id, geom.link
    FROM state
    JOIN link ON state.state_id=link.state_id
    JOIN geom ON link.link_id=geom.link_id
    WHERE MDSYS.SDO_FILTER(link, MDSYS.SDO_GEOMETRY(2003, 8307, NULL, MDSYS.SDO_ELEM_INFO_ARRAY(1, 1003, 3), MDSYS.SDO_ORDINATE_ARRAY(-118, 36, -114, 40)), 'querytype=WINDOW') = 'TRUE'
    AND state.class=1
    If i change the select clause to:
    SELECT count(geom.link_id) ...
    it works fine.
    Does anyone has similar experience?

    Hi,
    I'm not sure this is exactly relevant but there used to be a bug (certainly in 9i) wherby if you had a SDO_GEOMETRY column in a result set (or subquery) that was being subjected to a sort operation and there were more than a certain figure (32K rings a bell although I could be wrong on that) of rows then it would die. The sort wasn't necessarily a "user" sort - it could be being performed by the database to speed up a join or group by.
    Which version of the DB are you using?
    If you just try this :
    SELECT geom.link_id
    FROM state
    JOIN link ON state.state_id=link.state_id
    JOIN geom ON link.link_id=geom.link_id
    WHERE MDSYS.SDO_FILTER(link, MDSYS.SDO_GEOMETRY(2003, 8307, NULL, MDSYS.SDO_ELEM_INFO_ARRAY(1, 1003, 3), MDSYS.SDO_ORDINATE_ARRAY(-118, 36, -114, 40)), 'querytype=WINDOW') = 'TRUE'
    AND state.class=1
    i.e just remove the geometry column from the results set, does this work?
    If it does than you may need to wrap this (working) query up as a subselect and join back to your original table to get the geometry "back" if you need it.....
    Steve

  • XFree86 core dump

    Deal all:
    I use solaris x86 10/01, Tri3d 64 dx graphic card.
    And kdmconfig works well, CDE is ok.
    Because of third-party free software, I will try to
    use www.xfree86.org (XFree86).
    After installed (sh Xinstall.sh), following the instructions,
    tring to select graphic card, then.......
    Solaris show "Segment core dump" error message.
    What's wrong ??
    Somebody told me using the Solaris XFree86 Video Drivers and Porting Kit,
    but third-party software does not recognize.
    Help!!

    Hi,
    I have S3 Trio 3D /2X, Solaris 8 x86, x86 Poring Kit and XFREE86 version 4.1.0,
    It is working well with CDE....You might check wheter your card is supported by XFree86 and x86 porting kit from sun
    Regards
    Yuki

  • Capturing Baseband Core Dump

    Hello
    I been using iPhone since the 2G. I just received my new unit which I purchased from Apple store M'sia, iPhone 5s.
    I never once encounter "Capturing Baseband Core Dump" error until my current unit. Im wondering if this is normal or something related to my hardware or my unit is defect?
    The time this error come when Im trying to switch from wifi to celular via Settings. The display is hang, only showing white bright color. I hope to get possibe answer regarding this matters.
    Should I ask for replacement?
    What should I need to do?
    Thanks~

    Thanks for the prompt reply guys!
    Btw, is there any option to closed when tread is done?
    Thanks again~

  • F60DESM core dumps on execution

    I am using Developer 6.0 on HP-UX 11.00.
    While trying to run f60desm i am getting core dump error
    Assertion failed: status == ClipboardSuccess, file uicl.c, line 985
    Abort(coredump)
    Executables relevant to Reports and Graphics are working with out core dumping.
    The same problem exist even after applying patch set 7.
    Have anybody out there faced this sort of problem ?
    I tried with everything it is not working.
    Oracle support is not keen to provide sol.
    Can anyone show some light on this ?
    Could you suggest some work around for this problem ?
    Thanks in advance.
    Awaiting your reply.
    Regds
    Bala

    I am using Developer 6.0 on HP-UX 11.00.
    While trying to run f60desm i am getting core dump error
    Assertion failed: status == ClipboardSuccess, file uicl.c, line 985
    Abort(coredump)
    Executables relevant to Reports and Graphics are working with out core dumping.
    The same problem exist even after applying patch set 7.
    Have anybody out there faced this sort of problem ?
    I tried with everything it is not working.
    Oracle support is not keen to provide sol.
    Can anyone show some light on this ?
    Could you suggest some work around for this problem ?
    Thanks in advance.
    Awaiting your reply.
    Regds
    Bala

  • LINK 시에 CORE DUMP가 생길 경우(TMP 공간의 부족 현상)

    제품 : PRECOMPILERS
    작성날짜 : 1999-04-09
    'Ld:Fatal error: Segmentation fault - core dump'와 같은
    error가 relink작업이나 precompile을 수행중에 나타나는
    경우가 있다.
    이 경우에는 다음과 같은 조치를 해 주어야 한다.
    * 작업을 수행하기 위해서 /tmp의 여유공간이 최소한
    50Mb이상이 되도록 해주어야 한다.
    * 만약 50Mb를 확보할수 없으면 oracle owner가 쓰기
    권한이 있는 directory를 확보하여 TMPDIR환경변수로
    만들어 준다.
    아래에 예를 들겠다.
    1. 먼저 df명력어로 file system의 여유 공간을 확인한다.
    명령어는 각 기계별과 다음과 같다.
    df (for SunOS, AIX,SGI, OSF, DGUX)
    df -k (for Solaris, Unisys SVR4, ATT)
    bdf (for HPUX)
    df -v (for SCO)
    Solaris를 예로 들자면.
    $ df -k
    Filesystem kbytes used avail capacity Mounted on
    /dev/dsk/c0t3d0s0 72215 24030 40965 37% /
    /dev/dsk/c0t3d0s6 288391 167878 91683 65% /usr
    /proc 0 0 0 0% /proc
    fd 0 0 0 0% /dev/fd
    /dev/dsk/c0t3d0s4 384847 126243 220124 36% /opt
    /dev/dsk/c0t3d0s3 25533 20445 5088 81% /tmp
    /tmp 는 고작 5mb 가 남아 있고 /opt 는 220 mb 가 남아
    있는 것을 확인할수 있다.
    2. directory를 생성하고 oracle이 쓸수 있도록 다음과 같이
    조치한다.
    $ mkdir /opt/oratmp
    $ chown oracle /opt/oratmp
    3. 이 directory tmp 공간으로 사용한다.
    For Bourne or Korn shells:
    $ TMPDIR=/opt/oratmp; export TMPDIR
    For C Shell:
    $ setenv TMPDIR /opt/oratmp
    4. Relink작업이나 Link작업을 수행한다.

  • JDB crashes while lodading core dump or throws errors

    I'm having here RHEL 5.1 system and some core dumps generated by our 32 bit java application. This application uses JNI and for some reason (that I'm still trying to figure out) is crashing while executing JNI calls.
    I can load the core dumps inside gdb and even backtrace the native stack of the program and see the variables inside the shared library where it's crashing. But I need to take a closer look on the java stack and some of the variable values on the java side also.
    I did try to use JDB to do this like it's described in the Troubleshooting guide for Java 6 but for some unknown reason when I do try to attach JDB to the core dumps I either get some error thrown on the console or JDB crashes and produces a hs_err_pit*.log file. I have used this technique already few times and didn't had any problems with JDB. I'm wondering if it could be that the core dump files are too big - some of them are around 3 Gb. But one of them is ~600Mb and also is crashing. So is ti possible bug in JDB or I'm missing something. I'm posting the error and the one of the hs_err_pid files.
    Appreciate any help and ideas
    $ jdb -connect sun.jvm.hotspot.jdi.SACoreAttachingConnector:javaExecutable=/usr/java/jdk/bin/java,core=core.31919
    java.io.IOException
    at sun.jvm.hotspot.jdi.SACoreAttachingConnector.attach(SACoreAttachingConnector.java:123)
    at com.sun.tools.example.debug.tty.VMConnection.attachTarget(VMConnection.java:358)
    at com.sun.tools.example.debug.tty.VMConnection.open(VMConnection.java:168)
    at com.sun.tools.example.debug.tty.Env.init(Env.java:64)
    at com.sun.tools.example.debug.tty.TTY.main(TTY.java:1010)
    Caused by: java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at sun.jvm.hotspot.jdi.SACoreAttachingConnector.createVirtualMachine(SACoreAttachingConnector.java:80)
    at sun.jvm.hotspot.jdi.SACoreAttachingConnector.attach(SACoreAttachingConnector.java:108)
    ... 4 more
    Caused by: sun.jvm.hotspot.debugger.DebuggerException: Can't attach to the core file
    at sun.jvm.hotspot.debugger.linux.LinuxDebuggerLocal.attach0(Native Method)
    at sun.jvm.hotspot.debugger.linux.LinuxDebuggerLocal.attach(LinuxDebuggerLocal.java:258)
    at sun.jvm.hotspot.HotSpotAgent.attachDebugger(HotSpotAgent.java:625)
    at sun.jvm.hotspot.HotSpotAgent.setupDebuggerLinux(HotSpotAgent.java:611)
    at sun.jvm.hotspot.HotSpotAgent.setupDebugger(HotSpotAgent.java:322)
    at sun.jvm.hotspot.HotSpotAgent.go(HotSpotAgent.java:297)
    at sun.jvm.hotspot.HotSpotAgent.attach(HotSpotAgent.java:157)
    at sun.jvm.hotspot.jdi.VirtualMachineImpl.createVirtualMachineForCorefile(VirtualMachineImpl.java:190)
    ... 10 more
    Fatal error:
    Unable to attach to target VM.
    # An unexpected error has been detected by Java Runtime Environment:
    # SIGSEGV (0xb) at pc=0xafcfa6bd, pid=3653, tid=4160613264
    # Java VM: Java HotSpot(TM) Server VM (1.6.0_03-b05 mixed mode)
    # Problematic frame:
    # C [libsaproc.so+0x36bd]
    # If you would like to submit a bug report, please visit:
    # http://java.sun.com/webapps/bugreport/crash.jsp
    --------------- T H R E A D ---------------
    Current thread (0x08058000): JavaThread "main" [_thread_in_native, id=3654]
    siginfo:si_signo=11, si_errno=0, si_code=1, si_addr=0x00000151
    Registers:
    EAX=0xf7ffdabc, EBX=0xafcff25c, ECX=0xafd72d08, EDX=0x00000149
    ESP=0xf7fdc520, EBP=0xf7fdc538, ESI=0xafd72d08, EDI=0x08058000
    EIP=0xafcfa6bd, CR2=0x00000151, EFLAGS=0x00010206
    Top of Stack: (sp=0xf7fdc520)
    0xf7fdc520: 464c457f 00010101 000000a2 0000009c
    0xf7fdc530: 0000009f afcff25c f7fdc588 afcfb01a
    0xf7fdc540: afd67780 f7ffdabc 00200034 afcfaff4
    0xf7fdc550: 004a004b 00000000 00200034 0028000a
    0xf7fdc560: 004a004b afba13e0 00001110 afcff25c
    0xf7fdc570: afb8e2e8 08058000 f7fdc5a8 afcf93b3
    0xf7fdc580: 00000004 afcff25c f7fdc5a8 afcf9964
    0xf7fdc590: afd67780 f7ffdabc f7fdd72c 00000004
    Instructions: (pc=0xafcfa6bd)
    0xafcfa6ad: 8d 14 85 00 00 00 00 8b 41 24 8b 14 10 8b 45 0c
    0xafcfa6bd: 3b 42 08 72 08 8b 45 f8 89 45 f4 eb b1 8b 45 f8
    Stack: [0xf7f8e000,0xf7fdf000), sp=0xf7fdc520, free space=313k
    Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
    C [libsaproc.so+0x36bd]
    C [libsaproc.so+0x401a]
    C [libsaproc.so+0x2964] ps_pdread+0x1c
    C [libsaproc.so+0x4d3e]
    C [libsaproc.so+0x4ffd] Pgrab_core+0x281
    C [libsaproc.so+0x56c7] Java_sun_jvm_hotspot_debugger_linux_LinuxDebuggerLocal_attach0__Ljava_lang_String_2Ljava_lang_String_2+0x99
    j sun.jvm.hotspot.debugger.linux.LinuxDebuggerLocal.attach0(Ljava/lang/String;Ljava/lang/String;)V+0
    j sun.jvm.hotspot.debugger.linux.LinuxDebuggerLocal.attach(Ljava/lang/String;Ljava/lang/String;)V+29
    j sun.jvm.hotspot.HotSpotAgent.attachDebugger()V+43
    j sun.jvm.hotspot.HotSpotAgent.setupDebuggerLinux()V+122
    j sun.jvm.hotspot.HotSpotAgent.setupDebugger()V+95
    j sun.jvm.hotspot.HotSpotAgent.go()V+1
    j sun.jvm.hotspot.HotSpotAgent.attach(Ljava/lang/String;Ljava/lang/String;)V+56
    j sun.jvm.hotspot.jdi.VirtualMachineImpl.createVirtualMachineForCorefile(Lcom/sun/jdi/VirtualMachineManager;Ljava/lang/String;Ljava/lang/String;I)Lsun/jvm/hotspot/jdi/VirtualMachineImpl;+58
    v ~StubRoutines::call_stub
    V [libjvm.so+0x2c5ecd]
    V [libjvm.so+0x4523b8]
    V [libjvm.so+0x2c5d60]
    V [libjvm.so+0x49a08f]
    V [libjvm.so+0x49ca8c]
    V [libjvm.so+0x331e88]
    C [libjava.so+0x15224] Java_sun_reflect_NativeMethodAccessorImpl_invoke0+0x34
    j sun.reflect.NativeMethodAccessorImpl.invoke0(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+0
    j sun.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+87
    j sun.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+6
    j java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+161
    j sun.jvm.hotspot.jdi.SACoreAttachingConnector.createVirtualMachine(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/String;)Lcom/sun/jdi/VirtualMachine;+122
    j sun.jvm.hotspot.jdi.SACoreAttachingConnector.attach(Ljava/util/Map;)Lcom/sun/jdi/VirtualMachine;+90
    j com.sun.tools.example.debug.tty.VMConnection.attachTarget()Lcom/sun/jdi/VirtualMachine;+13
    j com.sun.tools.example.debug.tty.VMConnection.open()Lcom/sun/jdi/VirtualMachine;+33
    j com.sun.tools.example.debug.tty.Env.init(Ljava/lang/String;ZI)V+28
    j com.sun.tools.example.debug.tty.TTY.main([Ljava/lang/String;)V+1207
    v ~StubRoutines::call_stub
    V [libjvm.so+0x2c5ecd]
    V [libjvm.so+0x4523b8]
    V [libjvm.so+0x2c5d60]
    V [libjvm.so+0x2ef186]
    V [libjvm.so+0x2e082b]
    C [jdb+0x1af8] JavaMain+0x2c8
    C [libpthread.so.0+0x543b]
    Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
    j sun.jvm.hotspot.debugger.linux.LinuxDebuggerLocal.attach0(Ljava/lang/String;Ljava/lang/String;)V+0
    j sun.jvm.hotspot.debugger.linux.LinuxDebuggerLocal.attach(Ljava/lang/String;Ljava/lang/String;)V+29
    j sun.jvm.hotspot.HotSpotAgent.attachDebugger()V+43
    j sun.jvm.hotspot.HotSpotAgent.setupDebuggerLinux()V+122
    j sun.jvm.hotspot.HotSpotAgent.setupDebugger()V+95
    j sun.jvm.hotspot.HotSpotAgent.go()V+1
    j sun.jvm.hotspot.HotSpotAgent.attach(Ljava/lang/String;Ljava/lang/String;)V+56
    j sun.jvm.hotspot.jdi.VirtualMachineImpl.createVirtualMachineForCorefile(Lcom/sun/jdi/VirtualMachineManager;Ljava/lang/String;Ljava/lang/String;I)Lsun/jvm/hotspot/jdi/VirtualMachineImpl;+58
    v ~StubRoutines::call_stub
    j sun.reflect.NativeMethodAccessorImpl.invoke0(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+0
    j sun.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+87
    j sun.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+6
    j java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+161
    j sun.jvm.hotspot.jdi.SACoreAttachingConnector.createVirtualMachine(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/String;)Lcom/sun/jdi/VirtualMachine;+122
    j sun.jvm.hotspot.jdi.SACoreAttachingConnector.attach(Ljava/util/Map;)Lcom/sun/jdi/VirtualMachine;+90
    j com.sun.tools.example.debug.tty.VMConnection.attachTarget()Lcom/sun/jdi/VirtualMachine;+13
    j com.sun.tools.example.debug.tty.VMConnection.open()Lcom/sun/jdi/VirtualMachine;+33
    j com.sun.tools.example.debug.tty.Env.init(Ljava/lang/String;ZI)V+28
    j com.sun.tools.example.debug.tty.TTY.main([Ljava/lang/String;)V+1207
    v ~StubRoutines::call_stub
    --------------- P R O C E S S ---------------
    Java Threads: ( => current thread )
    0xafd08c00 JavaThread "Thread-1" daemon [_thread_blocked, id=3682]
    0x0819b000 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=3680]
    0x08199400 JavaThread "CompilerThread1" daemon [_thread_blocked, id=3679]
    0x08198000 JavaThread "CompilerThread0" daemon [_thread_blocked, id=3678]
    0x08196c00 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=3677]
    0x08183c00 JavaThread "Finalizer" daemon [_thread_blocked, id=3676]
    0x08183400 JavaThread "Reference Handler" daemon [_thread_blocked, id=3675]
    =>0x08058000 JavaThread "main" [_thread_in_native, id=3654]
    Other Threads:
    0x08180800 VMThread [id=3671]
    0x0819c800 WatcherThread [id=3681]
    VM state:not at safepoint (normal execution)
    VM Mutex/Monitor currently owned by a thread: None
    Heap
    PSYoungGen total 9280K, used 2718K [0xedca0000, 0xee6f0000, 0xf4e60000)
    eden space 8000K, 33% used [0xedca0000,0xedf47b40,0xee470000)
    from space 1280K, 0% used [0xee5b0000,0xee5b0000,0xee6f0000)
    to space 1280K, 0% used [0xee470000,0xee470000,0xee5b0000)
    PSOldGen total 84992K, used 0K [0xb4e60000, 0xba160000, 0xedca0000)
    object space 84992K, 0% used [0xb4e60000,0xb4e60000,0xba160000)
    PSPermGen total 16384K, used 3088K [0xb0e60000, 0xb1e60000, 0xb4e60000)
    object space 16384K, 18% used [0xb0e60000,0xb1164398,0xb1e60000)
    Dynamic libraries:
    00b31000-00b4a000 r-xp 00000000 fd:00 5932045 /lib/ld-2.5.so
    00b4a000-00b4b000 r-xp 00019000 fd:00 5932045 /lib/ld-2.5.so
    00b4b000-00b4c000 rwxp 0001a000 fd:00 5932045 /lib/ld-2.5.so
    00b4e000-00c88000 r-xp 00000000 fd:00 5932057 /lib/libc-2.5.so
    00c88000-00c8a000 r-xp 00139000 fd:00 5932057 /lib/libc-2.5.so
    00c8a000-00c8b000 rwxp 0013b000 fd:00 5932057 /lib/libc-2.5.so
    00c8b000-00c8e000 rwxp 00c8b000 00:00 0
    00c90000-00ca3000 r-xp 00000000 fd:00 5932059 /lib/libpthread-2.5.so
    00ca3000-00ca4000 r-xp 00012000 fd:00 5932059 /lib/libpthread-2.5.so
    00ca4000-00ca5000 rwxp 00013000 fd:00 5932059 /lib/libpthread-2.5.so
    00ca5000-00ca7000 rwxp 00ca5000 00:00 0
    00ca9000-00cab000 r-xp 00000000 fd:00 5932058 /lib/libdl-2.5.so
    00cab000-00cac000 r-xp 00001000 fd:00 5932058 /lib/libdl-2.5.so
    00cac000-00cad000 rwxp 00002000 fd:00 5932058 /lib/libdl-2.5.so
    00caf000-00cb6000 r-xp 00000000 fd:00 5932062 /lib/librt-2.5.so
    00cb6000-00cb7000 r-xp 00006000 fd:00 5932062 /lib/librt-2.5.so
    00cb7000-00cb8000 rwxp 00007000 fd:00 5932062 /lib/librt-2.5.so
    00d9b000-00dc0000 r-xp 00000000 fd:00 5932060 /lib/libm-2.5.so
    00dc0000-00dc1000 r-xp 00024000 fd:00 5932060 /lib/libm-2.5.so
    00dc1000-00dc2000 rwxp 00025000 fd:00 5932060 /lib/libm-2.5.so
    06000000-065a0000 r-xp 00000000 fd:00 16777229 /usr/java/jdk1.6.0_03/jre/lib/i386/server/libjvm.so
    065a0000-065db000 rwxp 005a0000 fd:00 16777229 /usr/java/jdk1.6.0_03/jre/lib/i386/server/libjvm.so
    065db000-069fc000 rwxp 065db000 00:00 0
    08048000-08052000 r-xp 00000000 fd:00 16810695 /usr/java/jdk1.6.0_03/bin/jdb
    08052000-08053000 rwxp 00009000 fd:00 16810695 /usr/java/jdk1.6.0_03/bin/jdb
    08053000-08289000 rwxp 08053000 00:00 0 [heap]
    afa00000-afa39000 rwxp afa00000 00:00 0
    afa39000-afb00000 ---p afa39000 00:00 0
    afb00000-afbf2000 rwxp afb00000 00:00 0
    afbf2000-afc00000 ---p afbf2000 00:00 0
    afcf7000-afcff000 r-xp 00000000 fd:00 16777232 /usr/java/jdk1.6.0_03/jre/lib/i386/libsaproc.so
    afcff000-afd00000 rwxp 00007000 fd:00 16777232 /usr/java/jdk1.6.0_03/jre/lib/i386/libsaproc.so
    afd00000-afe00000 rwxp afd00000 00:00 0
    afe60000-afe63000 ---p afe60000 00:00 0
    afe63000-afeb1000 rwxp afe63000 00:00 0
    afeb1000-afeb6000 r-xp 00000000 fd:00 5931062 /lib/libthread_db-1.0.so
    afeb6000-afeb7000 r-xp 00004000 fd:00 5931062 /lib/libthread_db-1.0.so
    afeb7000-afeb8000 rwxp 00005000 fd:00 5931062 /lib/libthread_db-1.0.so
    afecb000-afede000 r-xp 00000000 fd:00 16777249 /usr/java/jdk1.6.0_03/jre/lib/i386/libnet.so
    afede000-afedf000 rwxp 00013000 fd:00 16777249 /usr/java/jdk1.6.0_03/jre/lib/i386/libnet.so
    afedf000-afefe000 r-xs 00152000 fd:00 16810648 /usr/java/jdk1.6.0_03/lib/sa-jdi.jar
    afefe000-aff5b000 r-xs 00b3c000 fd:00 16811549 /usr/java/jdk1.6.0_03/lib/tools.jar
    aff5b000-aff5c000 ---p aff5b000 00:00 0
    aff5c000-affdc000 rwxp aff5c000 00:00 0
    affdc000-affdf000 ---p affdc000 00:00 0
    affdf000-b002d000 rwxp affdf000 00:00 0
    b002d000-b0030000 ---p b002d000 00:00 0
    b0030000-b00ae000 rwxp b0030000 00:00 0
    b00ae000-b00b1000 ---p b00ae000 00:00 0
    b00b1000-b012f000 rwxp b00b1000 00:00 0
    b012f000-b0132000 ---p b012f000 00:00 0
    b0132000-b0180000 rwxp b0132000 00:00 0
    b0180000-b0380000 r-xp 00000000 fd:00 15535906 /usr/lib/locale/locale-archive
    b0380000-b0383000 ---p b0380000 00:00 0
    b0383000-b03d1000 rwxp b0383000 00:00 0
    b03d1000-b03d4000 ---p b03d1000 00:00 0
    b03d4000-b0422000 rwxp b03d4000 00:00 0
    b0422000-b0423000 ---p b0422000 00:00 0
    b0423000-b04d3000 rwxp b0423000 00:00 0
    b04d3000-b064f000 r-xs 02c8f000 fd:00 16777319 /usr/java/jdk1.6.0_03/jre/lib/rt.jar
    b064f000-b0650000 ---p b064f000 00:00 0
    b0650000-b06d0000 rwxp b0650000 00:00 0
    b06d0000-b06d1000 ---p b06d0000 00:00 0
    b06d1000-b0751000 rwxp b06d1000 00:00 0
    b0751000-b0752000 ---p b0751000 00:00 0
    b0752000-b07d2000 rwxp b0752000 00:00 0
    b07d2000-b07d3000 ---p b07d2000 00:00 0
    b07d3000-b0853000 rwxp b07d3000 00:00 0
    b0853000-b0854000 ---p b0853000 00:00 0
    b0854000-b08d4000 rwxp b0854000 00:00 0
    b08d4000-b08d5000 ---p b08d4000 00:00 0
    b08d5000-b0955000 rwxp b08d5000 00:00 0
    b0955000-b0956000 ---p b0955000 00:00 0
    b0956000-b09d6000 rwxp b0956000 00:00 0
    b09d6000-b09d7000 ---p b09d6000 00:00 0
    b09d7000-b0a5f000 rwxp b09d7000 00:00 0
    b0a5f000-b0a77000 rwxp b0a5f000 00:00 0
    b0a77000-b0aa1000 rwxp b0a77000 00:00 0
    b0aa1000-b0c3f000 rwxp b0aa1000 00:00 0
    b0c3f000-b0c47000 rwxp b0c3f000 00:00 0
    b0c47000-b0c5f000 rwxp b0c47000 00:00 0
    b0c5f000-b0c89000 rwxp b0c5f000 00:00 0
    b0c89000-b0e26000 rwxp b0c89000 00:00 0
    b0e26000-b0e2c000 rwxp b0e26000 00:00 0
    b0e2c000-b0e5f000 rwxp b0e2c000 00:00 0
    b0e5f000-b1e60000 rwxp b0e5f000 00:00 0
    b1e60000-b4e60000 rwxp b1e60000 00:00 0
    b4e60000-ba160000 rwxp b4e60000 00:00 0
    ba160000-edca0000 rwxp ba160000 00:00 0
    edca0000-ee6f0000 rwxp edca0000 00:00 0
    ee6f0000-f4e60000 rwxp ee6f0000 00:00 0
    f4e63000-f4e6c000 rwxp f4e63000 00:00 0
    f4e6c000-f4f23000 rwxp f4e6c000 00:00 0
    f4f23000-f5163000 rwxp f4f23000 00:00 0
    f5163000-f7f23000 rwxp f5163000 00:00 0
    f7f23000-f7f32000 r-xp 00000000 fd:00 16777245 /usr/java/jdk1.6.0_03/jre/lib/i386/libzip.so
    f7f32000-f7f34000 rwxp 0000e000 fd:00 16777245 /usr/java/jdk1.6.0_03/jre/lib/i386/libzip.so
    f7f34000-f7f57000 r-xp 00000000 fd:00 16777241 /usr/java/jdk1.6.0_03/jre/lib/i386/libjava.so
    f7f57000-f7f59000 rwxp 00023000 fd:00 16777241 /usr/java/jdk1.6.0_03/jre/lib/i386/libjava.so
    f7f59000-f7f62000 r-xp 00000000 fd:00 5931048 /lib/libnss_files-2.5.so
    f7f62000-f7f63000 r-xp 00008000 fd:00 5931048 /lib/libnss_files-2.5.so
    f7f63000-f7f64000 rwxp 00009000 fd:00 5931048 /lib/libnss_files-2.5.so
    f7f64000-f7f77000 r-xp 00000000 fd:00 5931145 /lib/libnsl-2.5.so
    f7f77000-f7f78000 r-xp 00012000 fd:00 5931145 /lib/libnsl-2.5.so
    f7f78000-f7f79000 rwxp 00013000 fd:00 5931145 /lib/libnsl-2.5.so
    f7f79000-f7f7b000 rwxp f7f79000 00:00 0
    f7f82000-f7f8d000 r-xp 00000000 fd:00 16777240 /usr/java/jdk1.6.0_03/jre/lib/i386/libverify.so
    f7f8d000-f7f8e000 rwxp 0000b000 fd:00 16777240 /usr/java/jdk1.6.0_03/jre/lib/i386/libverify.so
    f7f8e000-f7f91000 ---p f7f8e000 00:00 0
    f7f91000-f7fe1000 rwxp f7f91000 00:00 0
    f7fe1000-f7fe8000 r-xp 00000000 fd:00 16777243 /usr/java/jdk1.6.0_03/jre/lib/i386/jli/libjli.so
    f7fe8000-f7fea000 rwxp 00006000 fd:00 16777243 /usr/java/jdk1.6.0_03/jre/lib/i386/jli/libjli.so
    f7fec000-f7ff4000 rwxs 00000000 fd:00 19562502 /tmp/hsperfdata_omnitrak/3653
    f7ff4000-f7ffa000 r-xp 00000000 fd:00 16777227 /usr/java/jdk1.6.0_03/jre/lib/i386/native_threads/libhpi.so
    f7ffa000-f7ffb000 rwxp 00006000 fd:00 16777227 /usr/java/jdk1.6.0_03/jre/lib/i386/native_threads/libhpi.so
    f7ffb000-f7ffc000 rwxp f7ffb000 00:00 0
    f7ffc000-f7ffd000 r-xp f7ffc000 00:00 0
    f7ffd000-f7ffe000 rwxp f7ffd000 00:00 0
    ff9fb000-ffa03000 rwxp ff9fb000 00:00 0 [stack]
    ffffe000-fffff000 r-xp ffffe000 00:00 0
    VM Arguments:
    jvm_args: -Dapplication.home=/usr/java/jdk1.6.0_03
    java_command: com.sun.tools.example.debug.tty.TTY -connect sun.jvm.hotspot.jdi.SACoreAttachingConnector:javaExecutable=/usr/java/jdk/bin/java,core=core.25602
    Launcher Type: SUN_STANDARD
    Environment Variables:
    PATH=/usr/java/jdk/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin
    LD_LIBRARY_PATH=/usr/java/jdk1.6.0_03/jre/lib/i386/server:/usr/java/jdk1.6.0_03/jre/lib/i386:/usr/java/jdk1.6.0_03/jre/../lib/i386
    SHELL=/bin/bash
    Signal Handlers:
    SIGSEGV: [libjvm.so+0x53c560], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
    SIGBUS: [libjvm.so+0x53c560], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
    SIGFPE: [libjvm.so+0x451a50], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
    SIGPIPE: [libjvm.so+0x451a50], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
    SIGILL: [libjvm.so+0x451a50], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
    SIGUSR1: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000
    SIGUSR2: [libjvm.so+0x453a80], sa_mask[0]=0x00000000, sa_flags=0x10000004
    SIGHUP: [libjvm.so+0x4534a0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
    SIGINT: [libjvm.so+0x4534a0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
    SIGQUIT: [libjvm.so+0x4534a0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
    SIGTERM: [libjvm.so+0x4534a0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
    SIGUSR2: [libjvm.so+0x453a80], sa_mask[0]=0x00000000, sa_flags=0x10000004
    --------------- S Y S T E M ---------------
    OS:Red Hat Enterprise Linux Client release 5.1 (Tikanga)
    uname:Linux 2.6.18-53.el5 #1 SMP Wed Oct 10 16:34:19 EDT 2007 x86_64
    libc:glibc 2.5 NPTL 2.5
    rlimit: STACK 10240k, CORE 0k, NPROC 53248, NOFILE 1024, AS infinity
    load average:0.07 0.22 0.42
    CPU:total 8 (4 cores per cpu, 1 threads per core) family 6 model 7 stepping 6, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3
    Memory: 4k page, physical 6113940k(245496k free), swap 2097144k(2097144k free)
    vm_info: Java HotSpot(TM) Server VM (1.6.0_03-b05) for linux-x86, built on Sep 24 2007 22:32:39 by "java_re" with gcc 3.2.1-7a (J2SE release)

    Thank you for your responds!
    I'm not trying at all to transfer the core to a different system. I'm debugging on the same linux red hat box where the cores where produced and I'm using the JDB version from the same JDK that was used to run the app.
    I'm wondering what makes you think that I'm possibly mixing core files?
    Here is the output that JDB generates when I define LIBSAPROC_DEBUG=1. This is the case when JDB crashes:
    $ jdb -connect sun.jvm.hotspot.jdi.SACoreAttachingConnector:javaExecutable=/usr/java/jdk/bin/java,core=core.23850
    libsaproc DEBUG: Note header with n_type = 1 and n_descsz = 144
    libsaproc DEBUG: got integer regset for lwp 24310
    libsaproc DEBUG: integer regset
    libsaproc DEBUG: eax = 0x0
    libsaproc DEBUG: ebx = 0x5d2a
    libsaproc DEBUG: ecx = 0x5ef6
    libsaproc DEBUG: edx = 0x6
    libsaproc DEBUG: esp = 0x324fd0e4
    libsaproc DEBUG: ebp = 0x324fd0e4
    libsaproc DEBUG: esi = 0x324fd19c
    libsaproc DEBUG: edi = 0x78eff4
    libsaproc DEBUG: eip = 0xffffe410
    libsaproc DEBUG: Note header with n_type = 3 and n_descsz = 124
    libsaproc DEBUG: Note header with n_type = 6 and n_descsz = 144
    libsaproc DEBUG: Note header with n_type = 2 and n_descsz = 108
    libsaproc DEBUG: Note header with n_type = 1189489535 and n_descsz = 512
    libsaproc DEBUG: Note header with n_type = 1 and n_descsz = 144
    libsaproc DEBUG: got integer regset for lwp 27070
    libsaproc DEBUG: integer regset
    libsaproc DEBUG: eax = 0xfffffe00
    libsaproc DEBUG: ebx = 0xa
    libsaproc DEBUG: ecx = 0x312edad8
    libsaproc DEBUG: edx = 0x33f4d1a4
    libsaproc DEBUG: esp = 0x312edac0
    libsaproc DEBUG: ebp = 0x312edac0
    libsaproc DEBUG: esi = 0x0
    libsaproc DEBUG: edi = 0x2000
    libsaproc DEBUG: eip = 0xffffe410
    libsaproc DEBUG: Note header with n_type = 2 and n_descsz = 108
    libsaproc DEBUG: Note header with n_type = 1189489535 and n_descsz = 512
    libsaproc DEBUG: Note header with n_type = 1 and n_descsz = 144
    libsaproc DEBUG: got integer regset for lwp 27063
    libsaproc DEBUG: integer regset
    libsaproc DEBUG: eax = 0xfffffe00
    libsaproc DEBUG: ebx = 0xa
    libsaproc DEBUG: ecx = 0x334fccd8
    libsaproc DEBUG: edx = 0x33f4d1a4
    libsaproc DEBUG: esp = 0x334fccc0
    libsaproc DEBUG: ebp = 0x334fccc0
    libsaproc DEBUG: esi = 0x0
    libsaproc DEBUG: edi = 0x2000
    libsaproc DEBUG: eip = 0xffffe410
    libsaproc DEBUG: Note header with n_type = 2 and n_descsz = 108
    libsaproc DEBUG: Note header with n_type = 1189489535 and n_descsz = 512
    libsaproc DEBUG: Note header with n_type = 1 and n_descsz = 144
    libsaproc DEBUG: got integer regset for lwp 1754
    libsaproc DEBUG: integer regset
    libsaproc DEBUG: eax = 0xfffffffc
    libsaproc DEBUG: ebx = 0x32baab38
    libsaproc DEBUG: ecx = 0x1
    libsaproc DEBUG: edx = 0x6ddd00
    libsaproc DEBUG: esp = 0x32baaaf0
    libsaproc DEBUG: ebp = 0x32baaaf0
    libsaproc DEBUG: esi = 0x1eed0
    libsaproc DEBUG: edi = 0x78eff4
    libsaproc DEBUG: eip = 0xffffe410
    libsaproc DEBUG: Note header with n_type = 2 and n_descsz = 108
    libsaproc DEBUG: Note header with n_type = 1189489535 and n_descsz = 512
    libsaproc DEBUG: Note header with n_type = 1 and n_descsz = 144
    libsaproc DEBUG: got integer regset for lwp 24325
    libsaproc DEBUG: integer regset
    libsaproc DEBUG: eax = 0xfffffffc
    libsaproc DEBUG: ebx = 0x834486c
    libsaproc DEBUG: ecx = 0x0
    libsaproc DEBUG: edx = 0x306bf
    libsaproc DEBUG: esp = 0x32bfdda8
    libsaproc DEBUG: ebp = 0x32bfdda8
    libsaproc DEBUG: esi = 0x0
    libsaproc DEBUG: edi = 0x306bf
    libsaproc DEBUG: eip = 0xffffe410
    libsaproc DEBUG: Note header with n_type = 2 and n_descsz = 108
    libsaproc DEBUG: Note header with n_type = 1189489535 and n_descsz = 512
    libsaproc DEBUG: Note header with n_type = 1 and n_descsz = 144
    libsaproc DEBUG: got integer regset for lwp 24319
    libsaproc DEBUG: integer regset
    libsaproc DEBUG: eax = 0xfffffffc
    libsaproc DEBUG: ebx = 0x831e8cc
    libsaproc DEBUG: ecx = 0x0
    libsaproc DEBUG: edx = 0x2d49f7
    libsaproc DEBUG: esp = 0x33259cb0
    libsaproc DEBUG: ebp = 0x33259cb0
    libsaproc DEBUG: esi = 0x33259cc4
    libsaproc DEBUG: edi = 0x2d49f7
    libsaproc DEBUG: eip = 0xffffe410
    libsaproc DEBUG: Note header with n_type = 2 and n_descsz = 108
    libsaproc DEBUG: Note header with n_type = 1189489535 and n_descsz = 512
    libsaproc DEBUG: Note header with n_type = 1 and n_descsz = 144
    libsaproc DEBUG: got integer regset for lwp 24318
    libsaproc DEBUG: integer regset
    libsaproc DEBUG: eax = 0xfffffffc
    libsaproc DEBUG: ebx = 0x83783a4
    libsaproc DEBUG: ecx = 0x0
    libsaproc DEBUG: edx = 0x38dd3
    libsaproc DEBUG: esp = 0x3330ab30
    libsaproc DEBUG: ebp = 0x3330ab30
    libsaproc DEBUG: esi = 0x3330ab44
    libsaproc DEBUG: edi = 0x38dd3
    libsaproc DEBUG: eip = 0xffffe410
    libsaproc DEBUG: Note header with n_type = 2 and n_descsz = 108
    libsaproc DEBUG: Note header with n_type = 1189489535 and n_descsz = 512
    libsaproc DEBUG: Note header with n_type = 1 and n_descsz = 144
    libsaproc DEBUG: got integer regset for lwp 24317
    libsaproc DEBUG: integer regset
    libsaproc DEBUG: eax = 0x1
    libsaproc DEBUG: ebx = 0x827bb60
    libsaproc DEBUG: ecx = 0x1
    libsaproc DEBUG: edx = 0x1
    libsaproc DEBUG: esp = 0x3335bb0c
    libsaproc DEBUG: ebp = 0x3335bb0c
    libsaproc DEBUG: esi = 0x3335bbb8
    libsaproc DEBUG: edi = 0x827bb60
    libsaproc DEBUG: eip = 0xffffe410
    libsaproc DEBUG: Note header with n_type = 2 and n_descsz = 108
    libsaproc DEBUG: Note header with n_type = 1189489535 and n_descsz = 512
    libsaproc DEBUG: Note header with n_type = 1 and n_descsz = 144
    libsaproc DEBUG: got integer regset for lwp 24316
    libsaproc DEBUG: integer regset
    libsaproc DEBUG: eax = 0xfffffffc
    libsaproc DEBUG: ebx = 0x8082d14
    libsaproc DEBUG: ecx = 0x0
    libsaproc DEBUG: edx = 0x1
    libsaproc DEBUG: esp = 0x33d5ca98
    libsaproc DEBUG: ebp = 0x33d5ca98
    libsaproc DEBUG: esi = 0x33d5caac
    libsaproc DEBUG: edi = 0x1
    libsaproc DEBUG: eip = 0xffffe410
    libsaproc DEBUG: Note header with n_type = 2 and n_descsz = 108
    libsaproc DEBUG: Note header with n_type = 1189489535 and n_descsz = 512
    libsaproc DEBUG: Note header with n_type = 1 and n_descsz = 144
    libsaproc DEBUG: got integer regset for lwp 24315
    libsaproc DEBUG: integer regset
    libsaproc DEBUG: eax = 0xfffffffc
    libsaproc DEBUG: ebx = 0x8378204
    libsaproc DEBUG: ecx = 0x0
    libsaproc DEBUG: edx = 0x1
    libsaproc DEBUG: esp = 0x334adac8
    libsaproc DEBUG: ebp = 0x334adac8
    libsaproc DEBUG: esi = 0x0
    libsaproc DEBUG: edi = 0x1
    libsaproc DEBUG: eip = 0xffffe410
    libsaproc DEBUG: Note header with n_type = 2 and n_descsz = 108
    libsaproc DEBUG: Note header with n_type = 1189489535 and n_descsz = 512
    libsaproc DEBUG: Note header with n_type = 1 and n_descsz = 144
    libsaproc DEBUG: got integer regset for lwp 24314
    libsaproc DEBUG: integer regset
    libsaproc DEBUG: eax = 0x19
    libsaproc DEBUG: ebx = 0x33f164cc
    libsaproc DEBUG: ecx = 0x9b
    libsaproc DEBUG: edx = 0x39f99940
    libsaproc DEBUG: esp = 0x320f9a14
    libsaproc DEBUG: ebp = 0x1e
    libsaproc DEBUG: esi = 0x2
    libsaproc DEBUG: edi = 0x39f975a0
    libsaproc DEBUG: eip = 0x33f0e054
    libsaproc DEBUG: Note header with n_type = 2 and n_descsz = 108
    libsaproc DEBUG: Note header with n_type = 1189489535 and n_descsz = 512
    libsaproc DEBUG: Note header with n_type = 1 and n_descsz = 144
    libsaproc DEBUG: got integer regset for lwp 24313
    libsaproc DEBUG: integer regset
    libsaproc DEBUG: eax = 0x39c534e0
    libsaproc DEBUG: ebx = 0x33f164cc
    libsaproc DEBUG: ecx = 0x321fabba
    libsaproc DEBUG: edx = 0x6
    libsaproc DEBUG: esp = 0x321faa70
    libsaproc DEBUG: ebp = 0x321faa7c
    libsaproc DEBUG: esi = 0x2
    libsaproc DEBUG: edi = 0x39c53478
    libsaproc DEBUG: eip = 0x33f1028e
    libsaproc DEBUG: Note header with n_type = 2 and n_descsz = 108
    libsaproc DEBUG: Note header with n_type = 1189489535 and n_descsz = 512
    libsaproc DEBUG: Note header with n_type = 1 and n_descsz = 144
    libsaproc DEBUG: got integer regset for lwp 24312
    libsaproc DEBUG: integer regset
    libsaproc DEBUG: eax = 0x29
    libsaproc DEBUG: ebx = 0x39bd4780
    libsaproc DEBUG: ecx = 0x1
    libsaproc DEBUG: edx = 0x2400d1a2
    libsaproc DEBUG: esp = 0x322fbc50
    libsaproc DEBUG: ebp = 0x322fbc7c
    libsaproc DEBUG: esi = 0x33f167a8
    libsaproc DEBUG: edi = 0xf9000607
    libsaproc DEBUG: eip = 0x33f0ef54
    libsaproc DEBUG: Note header with n_type = 2 and n_descsz = 108
    libsaproc DEBUG: Note header with n_type = 1189489535 and n_descsz = 512
    libsaproc DEBUG: Note header with n_type = 1 and n_descsz = 144
    libsaproc DEBUG: got integer regset for lwp 24311
    libsaproc DEBUG: integer regset
    libsaproc DEBUG: eax = 0xfffffffc
    libsaproc DEBUG: ebx = 0x827ac04
    libsaproc DEBUG: ecx = 0x0
    libsaproc DEBUG: edx = 0x137ee7
    libsaproc DEBUG: esp = 0x323fcd28
    libsaproc DEBUG: ebp = 0x323fcd28
    libsaproc DEBUG: esi = 0x0
    libsaproc DEBUG: edi = 0x137ee7
    libsaproc DEBUG: eip = 0xffffe410
    libsaproc DEBUG: Note header with n_type = 2 and n_descsz = 108
    libsaproc DEBUG: Note header with n_type = 1189489535 and n_descsz = 512
    libsaproc DEBUG: Note header with n_type = 1 and n_descsz = 144
    libsaproc DEBUG: got integer regset for lwp 24309
    libsaproc DEBUG: integer regset
    libsaproc DEBUG: eax = 0x6
    libsaproc DEBUG: ebx = 0x3a5c0970
    libsaproc DEBUG: ecx = 0x2
    libsaproc DEBUG: edx = 0xb
    libsaproc DEBUG: esp = 0x325febd0
    libsaproc DEBUG: ebp = 0x3a5c1cdc
    libsaproc DEBUG: esi = 0x6
    libsaproc DEBUG: edi = 0x4
    libsaproc DEBUG: eip = 0x33f0ef06
    libsaproc DEBUG: Note header with n_type = 2 and n_descsz = 108
    libsaproc DEBUG: Note header with n_type = 1189489535 and n_descsz = 512
    libsaproc DEBUG: Note header with n_type = 1 and n_descsz = 144
    libsaproc DEBUG: got integer regset for lwp 24308
    libsaproc DEBUG: integer regset
    libsaproc DEBUG: eax = 0x5
    libsaproc DEBUG: ebx = 0x3a98cb48
    libsaproc DEBUG: ecx = 0x2
    libsaproc DEBUG: edx = 0x9
    libsaproc DEBUG: esp = 0x32cfea50
    libsaproc DEBUG: ebp = 0x3a98dde8
    libsaproc DEBUG: esi = 0x5
    libsaproc DEBUG: edi = 0x5
    libsaproc DEBUG: eip = 0x33f0f084
    libsaproc DEBUG: Note header with n_type = 2 and n_descsz = 108
    libsaproc DEBUG: Note header with n_type = 1189489535 and n_descsz = 512
    libsaproc DEBUG: Note header with n_type = 1 and n_descsz = 144
    libsaproc DEBUG: got integer regset for lwp 24307
    libsaproc DEBUG: integer regset
    libsaproc DEBUG: eax = 0x8
    libsaproc DEBUG: ebx = 0x3a1fd104
    libsaproc DEBUG: ecx = 0x0
    libsaproc DEBUG: edx = 0x6
    libsaproc DEBUG: esp = 0x3345c984
    libsaproc DEBUG: ebp = 0x3345c984
    libsaproc DEBUG: esi = 0x29
    libsaproc DEBUG: edi = 0x0
    libsaproc DEBUG: eip = 0x33f0f210
    libsaproc DEBUG: Note header with n_type = 2 and n_descsz = 108
    libsaproc DEBUG: Note header with n_type = 1189489535 and n_descsz = 512
    libsaproc DEBUG: Note header with n_type = 1 and n_descsz = 144
    libsaproc DEBUG: got integer regset for lwp 24304
    libsaproc DEBUG: integer regset
    libsaproc DEBUG: eax = 0xfffffffc
    libsaproc DEBUG: ebx = 0x82ee0ac
    libsaproc DEBUG: ecx = 0x0
    libsaproc DEBUG: edx = 0x1
    libsaproc DEBUG: esp = 0x332aad90
    libsaproc DEBUG: ebp = 0x332aad90
    libsaproc DEBUG: esi = 0x332aada4
    libsaproc DEBUG: edi = 0x1
    libsaproc DEBUG: eip = 0xffffe410
    libsaproc DEBUG: Note header with n_type = 2 and n_descsz = 108
    libsaproc DEBUG: Note header with n_type = 1189489535 and n_descsz = 512
    libsaproc DEBUG: Note header with n_type = 1 and n_descsz = 144
    libsaproc DEBUG: got integer regset for lwp 24015
    libsaproc DEBUG: integer regset
    libsaproc DEBUG: eax = 0xfffffffc
    libsaproc DEBUG: ebx = 0x856427c
    libsaproc DEBUG: ecx = 0x0
    libsaproc DEBUG: edx = 0x1
    libsaproc DEBUG: esp = 0x33b5ca90
    libsaproc DEBUG: ebp = 0x33b5ca90
    libsaproc DEBUG: esi = 0x33b5caa4
    libsaproc DEBUG: edi = 0x1
    libsaproc DEBUG: eip = 0xffffe410
    libsaproc DEBUG: Note header with n_type = 2 and n_descsz = 108
    libsaproc DEBUG: Note header with n_type = 1189489535 and n_descsz = 512
    libsaproc DEBUG: Note header with n_type = 1 and n_descsz = 144
    libsaproc DEBUG: got integer regset for lwp 24014
    libsaproc DEBUG: integer regset
    libsaproc DEBUG: eax = 0xfffffffc
    libsaproc DEBUG: ebx = 0x818b8e4
    libsaproc DEBUG: ecx = 0x0
    libsaproc DEBUG: edx = 0x3
    libsaproc DEBUG: esp = 0x33bada98
    libsaproc DEBUG: ebp = 0x33bada98
    libsaproc DEBUG: esi = 0x0
    libsaproc DEBUG: edi = 0x3
    libsaproc DEBUG: eip = 0xffffe410
    libsaproc DEBUG: Note header with n_type = 2 and n_descsz = 108
    libsaproc DEBUG: Note header with n_type = 1189489535 and n_descsz = 512
    libsaproc DEBUG: Note header with n_type = 1 and n_descsz = 144
    libsaproc DEBUG: got integer regset for lwp 24013
    libsaproc DEBUG: integer regset
    libsaproc DEBUG: eax = 0xfffffe00
    libsaproc DEBUG: ebx = 0x5
    libsaproc DEBUG: ecx = 0x33bfedd0
    libsaproc DEBUG: edx = 0x33f4d1a4
    libsaproc DEBUG: esp = 0x33bfedb8
    libsaproc DEBUG: ebp = 0x33bfedb8
    libsaproc DEBUG: esi = 0x0
    libsaproc DEBUG: edi = 0x827e400
    libsaproc DEBUG: eip = 0xffffe410
    libsaproc DEBUG: Note header with n_type = 2 and n_descsz = 108
    libsaproc DEBUG: Note header with n_type = 1189489535 and n_descsz = 512
    libsaproc DEBUG: Note header with n_type = 1 and n_descsz = 144
    libsaproc DEBUG: got integer regset for lwp 24011
    libsaproc DEBUG: integer regset
    libsaproc DEBUG: eax = 0xfffffffc
    libsaproc DEBUG: ebx = 0x828951c
    libsaproc DEBUG: ecx = 0x0
    libsaproc DEBUG: edx = 0x1
    libsaproc DEBUG: esp = 0x33dadcd8
    libsaproc DEBUG: ebp = 0x33dadcd8
    libsaproc DEBUG: esi = 0x33dadcec
    libsaproc DEBUG: edi = 0x1
    libsaproc DEBUG: eip = 0xffffe410
    libsaproc DEBUG: Note header with n_type = 2 and n_descsz = 108
    libsaproc DEBUG: Note header with n_type = 1189489535 and n_descsz = 512
    libsaproc DEBUG: Note header with n_type = 1 and n_descsz = 144
    libsaproc DEBUG: got integer regset for lwp 24010
    libsaproc DEBUG: integer regset
    libsaproc DEBUG: eax = 0xfffffffc
    libsaproc DEBUG: ebx = 0x849caac
    libsaproc DEBUG: ecx = 0x0
    libsaproc DEBUG: edx = 0x1
    libsaproc DEBUG: esp = 0x33dfec68
    libsaproc DEBUG: ebp = 0x33dfec68
    libsaproc DEBUG: esi = 0x33dfec7c
    libsaproc DEBUG: edi = 0x1
    libsaproc DEBUG: eip = 0xffffe410
    libsaproc DEBUG: Note header with n_type = 2 and n_descsz = 108
    libsaproc DEBUG: Note header with n_type = 1189489535 and n_descsz = 512
    libsaproc DEBUG: Note header with n_type = 1 and n_descsz = 144
    libsaproc DEBUG: got integer regset for lwp 23868
    libsaproc DEBUG: integer regset
    libsaproc DEBUG: eax = 0xfffffffc
    libsaproc DEBUG: ebx = 0x80c213c
    libsaproc DEBUG: ecx = 0x0
    libsaproc DEBUG: edx = 0x1
    libsaproc DEBUG: esp = 0x34090f78
    libsaproc DEBUG: ebp = 0x34090f78
    libsaproc DEBUG: esi = 0x34090f8c
    libsaproc DEBUG: edi = 0x1
    libsaproc DEBUG: eip = 0xffffe410
    libsaproc DEBUG: Note header with n_type = 2 and n_descsz = 108
    libsaproc DEBUG: Note header with n_type = 1189489535 and n_descsz = 512
    libsaproc DEBUG: Note header with n_type = 1 and n_descsz = 144
    libsaproc DEBUG: got integer regset for lwp 23867
    libsaproc DEBUG: integer regset
    libsaproc DEBUG: eax = 0xfffffffc
    libsaproc DEBUG: ebx = 0x819e294
    libsaproc DEBUG: ecx = 0x0
    libsaproc DEBUG: edx = 0x1
    libsaproc DEBUG: esp = 0x340e2018
    libsaproc DEBUG: ebp = 0x340e2018
    libsaproc DEBUG: esi = 0x0
    libsaproc DEBUG: edi = 0x1
    libsaproc DEBUG: eip = 0xffffe410
    libsaproc DEBUG: Note header with n_type = 2 and n_descsz = 108
    libsaproc DEBUG: Note header with n_type = 1189489535 and n_descsz = 512
    libsaproc DEBUG: Note header with n_type = 1 and n_descsz = 144
    libsaproc DEBUG: got integer regset for lwp 23866
    libsaproc DEBUG: integer regset
    libsaproc DEBUG: eax = 0xfffffffc
    libsaproc DEBUG: ebx = 0x8199a5c
    libsaproc DEBUG: ecx = 0x0
    libsaproc DEBUG: edx = 0x434
    libsaproc DEBUG: esp = 0x34162e48
    libsaproc DEBUG: ebp = 0x34162e48
    libsaproc DEBUG: esi = 0x0
    libsaproc DEBUG: edi = 0x434
    libsaproc DEBUG: eip = 0xffffe410
    libsaproc DEBUG: Note header with n_type = 2 and n_descsz = 108
    libsaproc DEBUG: Note header with n_type = 1189489535 and n_descsz = 512
    libsaproc DEBUG: Note header with n_type = 1 and n_descsz = 144
    libsaproc DEBUG: got integer regset for lwp 23865
    libsaproc DEBUG: integer regset
    libsaproc DEBUG: eax = 0xfffffffc
    libsaproc DEBUG: ebx = 0x8199a5c
    libsaproc DEBUG: ecx = 0x0
    libsaproc DEBUG: edx = 0x432
    libsaproc DEBUG: esp = 0x341e3ec8
    libsaproc DEBUG: ebp = 0x341e3ec8
    libsaproc DEBUG: esi = 0x0
    libsaproc DEBUG: edi = 0x432
    libsaproc DEBUG: eip = 0xffffe410
    libsaproc DEBUG: Note header with n_type = 2 and n_descsz = 108
    libsaproc DEBUG: Note header with n_type = 1189489535 and n_descsz = 512
    libsaproc DEBUG: Note header with n_type = 1 and n_descsz = 144
    libsaproc DEBUG: got integer regset for lwp 23864
    libsaproc DEBUG: integer regset
    libsaproc DEBUG: eax = 0xfffffffc
    libsaproc DEBUG: ebx = 0x65e80a0
    libsaproc DEBUG: ecx = 0x0
    libsaproc DEBUG: edx = 0x0
    libsaproc DEBUG: esp = 0x34234fb0
    libsaproc DEBUG: ebp = 0x34234fb0
    libsaproc DEBUG: esi = 0x0
    libsaproc DEBUG: edi = 0xffc
    libsaproc DEBUG: eip = 0xffffe410
    libsaproc DEBUG: Note header with n_type = 2 and n_descsz = 108
    libsaproc DEBUG: Note header with n_type = 1189489535 and n_descsz = 512
    libsaproc DEBUG: Note header with n_type = 1 and n_descsz = 144
    libsaproc DEBUG: got integer regset for lwp 23863
    libsaproc DEBUG: integer regset
    libsaproc DEBUG: eax = 0xfffffffc
    libsaproc DEBUG: ebx = 0x818ba8c
    libsaproc DEBUG: ecx = 0x0
    libsaproc DEBUG: edx = 0x289
    libsaproc DEBUG: esp = 0x34485de0
    libsaproc DEBUG: ebp = 0x34485de0
    libsaproc DEBUG: esi = 0x0
    libsaproc DEBUG: edi = 0x289
    libsaproc DEBUG: eip = 0xffffe410
    libsaproc DEBUG: Note header with n_type = 2 and n_descsz = 108
    libsaproc DEBUG: Note header with n_type = 1189489535 and n_descsz = 512
    libsaproc DEBUG: Note header with n_type = 1 and n_descsz = 144
    libsaproc DEBUG: got integer regset for lwp 23862
    libsaproc DEBUG: integer regset
    libsaproc DEBUG: eax = 0xfffffffc
    libsaproc DEBUG: ebx = 0x81887d4
    libsaproc DEBUG: ecx = 0x0
    libsaproc DEBUG: edx = 0x2b3
    libsaproc DEBUG: esp = 0x344d6c90
    libsaproc DEBUG: ebp = 0x344d6c90
    libsaproc DEBUG: esi = 0x0
    libsaproc DEBUG: edi = 0x2b3
    libsaproc DEBUG: eip = 0xffffe410
    libsaproc DEBUG: Note header with n_type = 2 and n_descsz = 108
    libsaproc DEBUG: Note header with n_type = 1189489535 and n_descsz = 512
    libsaproc DEBUG: Note header with n_type = 1 and n_descsz = 144
    libsaproc DEBUG: got integer regset for lwp 23861
    libsaproc DEBUG: integer regset
    libsaproc DEBUG: eax = 0xfffffffc
    libsaproc DEBUG: ebx = 0x31e0548c
    libsaproc DEBUG: ecx = 0x0
    libsaproc DEBUG: edx = 0x3
    libsaproc DEBUG: esp = 0x345580d8
    libsaproc DEBUG: ebp = 0x345580d8
    libsaproc DEBUG: esi = 0x345580ec
    libsaproc DEBUG: edi = 0x3
    libsaproc DEBUG: eip = 0xffffe410
    libsaproc DEBUG: Note header with n_type = 2 and n_descsz = 108
    libsaproc DEBUG: Note header with n_type = 1189489535 and n_descsz = 512
    libsaproc DEBUG: Note header with n_type = 1 and n_descsz = 144
    libsaproc DEBUG: got integer regset for lwp 23860
    libsaproc DEBUG: integer regset
    libsaproc DEBUG: eax = 0xfffffffc
    libsaproc DEBUG: ebx = 0x8096674
    libsaproc DEBUG: ecx = 0x0
    libsaproc DEBUG: edx = 0x161e9b
    libsaproc DEBUG: esp = 0x34784f68
    libsaproc DEBUG: ebp = 0x34784f68
    libsaproc DEBUG: esi = 0x0
    libsaproc DEBUG: edi = 0x161e9b
    libsaproc DEBUG: eip = 0xffffe410
    libsaproc DEBUG: Note header with n_type = 2 and n_descsz = 108
    libsaproc DEBUG: Note header with n_type = 1189489535 and n_descsz = 512
    libsaproc DEBUG: Note header with n_type = 1 and n_descsz = 144
    libsaproc DEBUG: got integer regset for lwp 23859
    libsaproc DEBUG: integer regset
    libsaproc DEBUG: eax = 0xfffffffc
    libsaproc DEBUG: ebx = 0x8096674
    libsaproc DEBUG: ecx = 0x0
    libsaproc DEBUG: edx = 0x161e9a
    libsaproc DEBUG: esp = 0x34805fe8
    libsaproc DEBUG: ebp = 0x34805fe8
    libsaproc DEBUG: esi = 0x0
    libsaproc DEBUG: edi = 0x161e9a
    libsaproc DEBUG: eip = 0xffffe410
    libsaproc DEBUG: Note header with n_type = 2 and n_descsz = 108
    libsaproc DEBUG: Note header with n_type = 1189489535 and n_descsz = 512
    libsaproc DEBUG: Note header with n_type = 1 and n_descsz = 144
    libsaproc DEBUG: got integer regset for lwp 23858
    libsaproc DEBUG: integer regset
    libsaproc DEBUG: eax = 0xfffffffc
    libsaproc DEBUG: ebx = 0x8096674
    libsaproc DEBUG: ecx = 0x0
    libsaproc DEBUG: edx = 0x161e9c
    libsaproc DEBUG: esp = 0x34886e68
    libsaproc DEBUG: ebp = 0x34886e68
    libsaproc DEBUG: esi = 0x0
    libsaproc DEBUG: edi = 0x161e9c
    libsaproc DEBUG: eip = 0xffffe410
    libsaproc DEBUG: Note header with n_type = 2 and n_descsz = 108
    libsaproc DEBUG: Note header with n_type = 1189489535 and n_descsz = 512
    libsaproc DEBUG: Note header with n_type = 1 and n_descsz = 144
    libsaproc DEBUG: got integer regset for lwp 23857
    libsaproc DEBUG: integer regset
    libsaproc DEBUG: eax = 0xfffffffc
    libsaproc DEBUG: ebx = 0x8096674
    libsaproc DEBUG: ecx = 0x0
    libsaproc DEBUG: edx = 0x161e99
    libsaproc DEBUG: esp = 0x34907ee8
    libsaproc DEBUG: ebp = 0x34907ee8
    libsaproc DEBUG: esi = 0x0
    libsaproc DEBUG: edi = 0x161e99
    libsaproc DEBUG: eip = 0xffffe410
    libsaproc DEBUG: Note header with n_type = 2 and n_descsz = 108
    libsaproc DEBUG: Note header with n_type = 1189489535 and n_descsz = 512
    libsaproc DEBUG: Note header with n_type = 1 and n_descsz = 144
    libsaproc DEBUG: got integer regset for lwp 23856
    libsaproc DEBUG: integer regset
    libsaproc DEBUG: eax = 0xfffffffc
    libsaproc DEBUG: ebx = 0x8096674
    libsaproc DEBUG: ecx = 0x0
    libsaproc DEBUG: edx = 0x161e98
    libsaproc DEBUG: esp = 0x34989168
    libsaproc DEBUG: ebp = 0x34989168
    libsaproc DEBUG: esi = 0x0
    libsaproc DEBUG: edi = 0x161e98
    libsaproc DEBUG: eip = 0xffffe410
    libsaproc DEBUG: Note header with n_type = 2 and n_descsz = 108
    libsaproc DEBUG: Note header with n_type = 1189489535 and n_descsz = 512
    libsaproc DEBUG: Note header with n_type = 1 and n_descsz = 144
    libsaproc DEBUG: got integer regset for lwp 23855
    libsaproc DEBUG: integer regset
    libsaproc DEBUG: eax = 0xfffffffc
    libsaproc DEBUG: ebx = 0x8096674
    libsaproc DEBUG: ecx = 0x0
    libsaproc DEBUG: edx = 0x161e97
    libsaproc DEBUG: esp = 0x34a0a1e8
    libsaproc DEBUG: ebp = 0x34a0a1e8
    libsaproc DEBUG: esi = 0x0
    libsaproc DEBUG: edi = 0x161e97
    libsaproc DEBUG: eip = 0xffffe410
    libsaproc DEBUG: Note header with n_type = 2 and n_descsz = 108
    libsaproc DEBUG: Note header with n_type = 1189489535 and n_descsz = 512
    libsaproc DEBUG: Note header with n_type = 1 and n_descsz = 144
    libsaproc DEBUG: got integer regset for lwp 23854
    libsaproc DEBUG: integer regset
    libsaproc DEBUG: eax = 0xfffffffc
    libsaproc DEBUG: ebx = 0x8096674
    libsaproc DEBUG: ecx = 0x0
    libsaproc DEBUG: edx = 0x161e96
    libsaproc DEBUG: esp = 0x34a8b068
    libsaproc DEBUG: ebp = 0x34a8b068
    libsaproc DEBUG: esi = 0x0
    libsaproc DEBUG: edi = 0x161e96
    libsaproc DEBUG: eip = 0xffffe410
    libsaproc DEBUG: Note header with n_type = 2 and n_descsz = 108
    libsaproc DEBUG: Note header with n_type = 1189489535 and n_descsz = 512
    libsaproc DEBUG: Note header with n_type = 1 and n_descsz = 144
    libsaproc DEBUG: got integer regset for lwp 23853
    libsaproc DEBUG: integer regset
    libsaproc DEBUG: eax = 0xfffffffc
    libsaproc DEBUG: ebx = 0x8096674
    libsaproc DEBUG: ecx = 0x0
    libsaproc DEBUG: edx = 0x161e95
    libsaproc DEBUG: esp = 0x34b0c0e8
    libsaproc DEBUG: ebp = 0x34b0c0e8
    libsaproc DEBUG: esi = 0x0
    libsaproc DEBUG: edi = 0x161e95
    libsaproc DEBUG: eip = 0xffffe410
    libsaproc DEBUG: Note header with n_type = 2 and n_descsz = 108
    libsaproc DEBUG: Note header with n_type = 1189489535 and n_descsz = 512
    libsaproc DEBUG: Note header with n_type = 1 and n_descsz = 144
    libsaproc DEBUG: got integer regset for lwp 23852
    libsaproc DEBUG: integer regset
    libsaproc DEBUG: eax = 0xfffffffc
    libsaproc DEBUG: ebx = 0x33e5e19c
    libsaproc DEBUG: ecx = 0x0
    libsaproc DEBUG: edx = 0x1
    libsaproc DEBUG: esp = 0xf7fde228
    libsaproc DEBUG: ebp = 0xf7fde228
    libsaproc DEBUG: esi = 0x0
    libsaproc DEBUG: edi = 0x1
    libsaproc DEBUG: eip = 0xffffe410
    libsaproc DEBUG: Note header with n_type = 2 and n_descsz = 108
    libsaproc DEBUG: Note header with n_type = 1189489535 and n_descsz = 512
    libsaproc DEBUG: Note header with n_type = 1 and n_descsz = 144
    libsaproc DEBUG: got integer regset for lwp 23850
    libsaproc DEBUG: integer regset
    libsaproc DEBUG: eax = 0xfffffffc
    libsaproc DEBUG: ebx = 0xf7fdebd8
    libsaproc DEBUG: ecx = 0x0
    libsaproc DEBUG: edx = 0x5d2c
    libsaproc DEBUG: esp = 0xffb93630
    libsaproc DEBUG: ebp = 0xffb93630
    libsaproc DEBUG: esi = 0x0
    libsaproc DEBUG: edi = 0x7a8ff4
    libsaproc DEBUG: eip = 0xffffe410
    libsaproc DEBUG: Note header with n_type = 2 and n_descsz = 108
    libsaproc DEBUG: Note header with n_type = 1189489535 and n_descsz = 512
    libsaproc DEBUG: ELF interpreter /lib/ld-linux.so.2
    libsaproc DEBUG: address of _DYNAMIC is 0x8052548
    libsaproc DEBUG: ---- sorted virtual address map ----
    libsaproc DEBUG: base = 0x64f000 size = 4096
    libsaproc DEBUG: base = 0x650000 size = 4096
    libsaproc DEBUG: base = 0x78d000 size = 8192
    libsaproc DEBUG: base = 0x78f000 size = 4096
    libsaproc DEBUG: base = 0x790000 size = 12288
    libsaproc DEBUG: base = 0x7a8000 size = 4096
    libsaproc DEBUG: base = 0x7a9000 size = 4096
    libsaproc DEBUG: base = 0x7aa000 size = 8192
    libsaproc DEBUG: base = 0x7b0000 size = 4096
    libsaproc DEBUG: base = 0x7b1000 size = 4096
    libsaproc DEBUG: base = 0x879000 size = 4096
    libsaproc DEBUG: base = 0x87a000 size = 4096
    libsaproc DEBUG: base = 0x884000 size = 4096
    libsaproc DEBUG: base = 0x885000 size = 4096
    libsaproc DEBUG: base = 0xc37000 size = 16384
    libsaproc DEBUG: base = 0xc3b000 size = 4096
    libsaproc DEBUG: base = 0xc3c000 size = 24576
    libsaproc DEBUG: base = 0xd38000 size = 4096
    libsaproc DEBUG: base = 0x6000000 size = 5898240
    libsaproc DEBUG: base = 0x65a0000 size = 241664
    libsaproc DEBUG: base = 0x65db000 size = 4329472
    libsaproc DEBUG: base = 0x8048000 size = 38100
    libsaproc DEBUG: base = 0x8052000 size = 4096
    libsaproc DEBUG: base = 0x8053000 size = 14032896
    libsaproc DEBUG: base = 0x30f00000 size = 1007616
    libsaproc DEBUG: base = 0x31100000 size = 1048576
    libsaproc DEBUG: base = 0x312a0000 size = 12288
    libsaproc DEBUG: base = 0x312a3000 size = 319488
    libsaproc DEBUG: base = 0x3133a000 size = 16384
    libsaproc DEBUG: base = 0x31344000 size = 753664
    libsaproc DEBUG: base = 0x313fc000 size = 16384
    libsaproc DEBUG: base = 0x31400000 size = 929792
    libsaproc DEBUG: base = 0x31500000 size = 1028096
    libsaproc DEBUG: base = 0x31600000 size = 966656
    libsaproc DEBUG: base = 0x31700000 size = 1028096
    libsaproc DEBUG: base = 0x31800000 size = 991232
    libsaproc DEBUG: base = 0x31900000 size = 1044480
    libsaproc DEBUG: base = 0x31a00000 size = 1032192
    libsaproc DEBUG: base = 0x31b00000 size = 1032192
    libsaproc DEBUG: base = 0x31c00000 size = 1003520
    libsaproc DEBUG: base = 0x31d51000 size = 319488
    libsaproc DEBUG: base = 0x31df9000 size = 28672
    libsaproc DEBUG: base = 0x31e00000 size = 1048576
    libsaproc DEBUG: base = 0x31f03000 size = 552960
    libsaproc DEBUG: base = 0x31f8a000 size = 20480
    libsaproc DEBUG: base = 0x31f90000 size = 331776
    libsaproc DEBUG: base = 0x31fe1000 size = 8192
    libsaproc DEBUG: base = 0x31ffa000 size = 12288
    libsaproc DEBUG: base = 0x31ffd000 size = 1040384
    libsaproc DEBUG: base = 0x320fb000 size = 12288
    libsaproc DEBUG: base = 0x320fe000 size = 1040384
    libsaproc DEBUG: base = 0x321fc000 size = 12288
    libsaproc DEBUG: base = 0x321ff000 size = 1040384
    libsaproc DEBUG: base = 0x322fd000 size = 12288
    libsaproc DEBUG: base = 0x32300000 size = 1040384
    libsaproc DEBUG: base = 0x323fe000 size = 12288
    libsaproc DEBUG: base = 0x32401000 size = 1040384
    libsaproc DEBUG: base = 0x324ff000 size = 12288
    libsaproc DEBUG: base = 0x32502000 size = 1957888
    libsaproc DEBUG: base = 0x32700000 size = 1024000
    libsaproc DEBUG: base = 0x32800000 size = 2072576
    libsaproc DEBUG: base = 0x32a00000 size = 1040384
    libsaproc DEBUG: base

  • Core dump when starting extract, no error messages

    Hello,
    This is a basic one way replication, Data Pump and Replicat start but Extract stops at once.
    In ggserr.log there's only a message: EXTRACT EORATE02 starting, nothing else. In ggsci it can be seen that it's stopped.
    CHECKPARAMS didn't give the message "Parameters processed successfully", neither did it give error messages
    when starting the extract.
    There are no old Oracle processes which could prevent Extract from starting.
    There's EORATE02.pce in dirpcs, although EORATE02 is not running. If I delete it and try to start the extract,
    the extract will immediately stop.
    A core file has been created in GG_HOME when trying to start the extract. I haven't been able to find out how to read it.
    Source and target are on Aix 6100-06. The source database is Oracle 10.1.0.5, target database is Oracle 11.2.0.3.
    The installation files are V32435-01.zip for db 10.1.0.5 (ggs_AIX_ppc_ora10.1_64bit.tar), V32437-01.zip
    for db 11.2.0.3 (ggs_AIX_ppc_ora11g_64bit.tar). This is GoldenGate 11.2.1.0.1.
    The db:s are on Asm.
    There's only 1 table in source, 1 in target, they are identical and empty.
    There's enough space in the OS.
    If I run the extract in OS (extract paramfile dirprm/eorate02.prm), it ends like this without more information:
    TRANLOGOPTIONS ASMUSER ggs_owner@HOSTNAME:1521/+ASM , ASMPASSWORD *********
    Abort(coredump)
    This happens in both ways of extract described below.
    (1)
    EXTRACT EORATE02
    USERID ggs_owner, PASSWORD [PASSWORD]
    EXTTRAIL ./dirdat/data02/te
    TRANLOGOPTIONS ASMUSER ggs_owner@HOSTNAME:1521/+ASM , ASMPASSWORD [PASSWORD]
    TABLE USER.myobjects2;
    (2)
    EXTRACT EORATE02
    USERID ggs_owner, PASSWORD [PASSWORD]
    EXTTRAIL ./dirdat/data02/te
    tranlogoptions COMPLETEARCHIVEDLOGONLY ALTARCHIVELOGDEST /backup/arch_log/abcd/ABCD/archivelog
    TRANLOGOPTIONS ASMUSER ggs_owner@HOSTNAME:1521/+ASM , ASMPASSWORD [PASSWORD]
    TABLE USER.myobjects2;
    Here's more information on this setup and commands which have been used:
    add extract EORATE02 tranlog begin now, threads 1
    add exttrail ./dirdat/data02/te, extract EORATE02, megabytes 5
    EXTRACT EPMPTE02
    PASSTHRU
    RMTHOST HOSTNAME, MGRPORT 13447
    RMTTRAIL /u01/app/oracle/gg11210/for_11g/dirdat/data02/tr
    TABLE USER.myobjects2;
    ADD EXTRACT EPMPTE02 EXTTRAILSOURCE ./dirdat/data02/te
    ADD RMTTRAIL /u01/app/oracle/gg11210/for_db11/dirdat/data02/tr EXTRACT EPMPTE02, MEGABYTES 5
    Target
    REPLICAT RORATE02
    USERID ggs_owner, PASSWORD [PASSWORD]
    HANDLECOLLISIONS
    ASSUMETARGETDEFS
    DISCARDFILE ./dirrpt/RORATE02.DSC, PURGE
    MAP USER.MYOBJECTS2, TARGET USER.MYOBJECTS2;
    add replicat RORATE02, exttrail /u01/app/oracle/gg11210/for_11g/dirdat/data02/tr
    add checkpointtable ggs_owner.ggschkpt
    Grants
    Source:
    grant connect, resource to ggs_owner;
    grant select any dictionary, select any table to ggs_owner;
    grant create table, alter any table to ggs_owner;
    grant flashback any table to ggs_owner;
    grant execute on dbms_flashback to ggs_owner;
    grant execute on utl_file to ggs_owner;
    grant create session, alter session to ggs_owner;
    Target:
    grant create session, alter session, resource, connect, select any dictionary to ggs_owner;
    grant select any table, insert any table, update any table, delete any table to ggs_owner;
    grant create table, alter any table, lock any table to ggs_owner;
    Source
    ALTER DATABASE ADD SUPPLEMENTAL LOG DATA (ALL) COLUMNS;
    ggsci add trandata USER.myobjects2
    mgr.prm
    --GoldenGate Manager parameter file
    PORT 13346
    Target
    GLOBALS
    CHECKPOINTTABLE ggs_owner.ggschkpt
    mgr.prm
    --GoldenGate Manager parameter file
    PORT 13447
    Thanks for reading this far. Possible comments will be much appreciated!
    Best regards
    Edited by: user11323660 on 14.6.2012 6:39
    Edited by: user11323660 on 14.6.2012 6:41

    Hello,
    Could you wrap your process definitions in proper code brackets so its easier to understand.
    Also I'm not sure what your problem is other then you are receiving core dumps. I'm happy to help.
    Two small comment though regarding your ASM config
    1 . Dont not use ggs_owner as the asm user
    TRANLOGOPTIONS ASMUSER ggs_owner@HOSTNAME:1521/+ASM , ASMPASSWORD *********2. Create a TNSNAMES entry for your ASM instance and tehn use the following:
    TRANLOGOPTIONS ASMUSER SYS@ASM, ASMPASSWORD *****Also here is an example of an extract process that I've setup on RAC database with ASM
    EXTRACT EWFMMTLP
    EXTTRAIL ./dirdat/ew
    USERID GGATE@MY_DB, PASSWORD ggatehcc
    DDLOPTIONS ADDTRANDATA RETRYOP RETRYDELAY 20 MAXRETRIES 5 REPORT
    TRANLOGOPTIONS EXCLUDEUSER ggate
    TRANLOGOPTIONS ASMUSER SYS@ASM, ASMPASSWORD ****
    TRANLOGOPTIONS ALTARCHIVELOGDEST /u02/oracle/fast_recovery_area/MY_DB/archivelog
    TRANLOGOPTIONS PURGEORPHANEDTRANSACTIONS
    STATOPTIONS RESETREPORTSTATS
    REPORT AT 00:01
    REPORTROLLOVER AT 00:01
    REPORTCOUNT EVERY 60 SECONDS, RATELet me know if that helps
    Jan S.

  • JNI - core dump - internal error on linux after calling Java method

    I'm getting a core dump after calling athe main statric method using JNNI.
    On linux.
    I can get the class id correcttly but when I attempt to call the method it craches with an internal error , anyone know why it would crash instead of just not work.
    if(cls)
        main_methodID = env->GetStaticMethodID(cls, "main", "([Ljava/lang/String;)V");
           printf("Class Found Successfully\n");
      else
        printf ( "cls not found\n");
        return 0;
      if(main_methodID)
              jstring first_str = env->NewStringUTF("The First String");//create string
              jobjectArray args = (jobjectArray)env->NewObjectArray(1,env->FindClass("java/lang/String"), first_str);//new array with 2 elements
                   env->SetObjectArrayElement(args, 2, first_str);//insert the second string into index 1 of the array
              jstring second_str = env->NewStringUTF("The Second String");//create string
              env->SetObjectArrayElement(args, 1, second_str);//insert the second string into index 1 of the array
         env->CallStaticVoidMethod(cls, main_methodID, args);//pass the array to the Java main method
                                  The JAVA method is
      public static void main(String[] args) {
        System.out.println("Main method in Framework");
            Framework framework = new Framework();
                                 

    I see yere points but what I see on linux is it makes it to the constructor of the Java object and somewhere afterwards it bails out, the Java app does work alone. It appears to have problems initializing the JFrame, could there be a problem with the Java inheritance when a JVM is invoked throurgh native invocation??
    Here's some of the Java stuff
    public class Framework extends WindowAdapter {
        public int numWindows = 0;
        private Point lastLocation = null;
        private int maxX = 500;
        private int maxY = 500;
        public Framework() {
            System.out.println("JAVA Framework cnst");//GETTING HERE
            makeNewWindow();
        public void makeNewWindow() {
            System.out.println("JAVA makeWindow"); //GETTING HERE
            JFrame frame = new MyFrame(this); //NOT GETTING HERE!!!!!!!!!
            numWindows++;
            System.out.println("Number of windows: " + numWindows);
            System.out.println("Frame location: " + lastLocation);
            frame.setVisible(true);
            System.out.println("Post Java set frame visible");
        public static void main(String[] args) {
        System.out.println("Main method in Framework");
            Framework framework = new Framework();//GETTING HERE
    class MyFrame extends JFrame {
        protected Dimension defaultSize = new Dimension(200, 200);
        protected Framework framework = null;
        public MyFrame(Framework controller) {
            super("New Frame");
            System.out.println("MyFrame cnst ");//NOT GETTING HERE!!!!!!
            framework = controller;
            setDefaultCloseOperation(DISPOSE_ON_CLOSE);
            addWindowListener(framework);
            JMenu menu = new JMenu("Window");
            menu.setMnemonic(KeyEvent.VK_W);
           setSize(defaultSize);
    }

  • OCI connect error reported to cause core dump

    I use OCI in my developped library. Other developers use my library for their development purposes. Last night, the oracle server went down for patching, and a user reported a core dump that I recognized it is comming from my OCI section of library.
    I do OCI initialization, select, execute a query, and cleanup.
    Has there been any reports as for the case, when a connection is initialized, and the server goes down after successful initialization but before calls to execute a query or commit?
    Any comment???
    I have the error message below, and replace prepriotory info with xxxxxxx.
    thanks,
    --M
    Fatal NI connect error 12541, connecting to:
    (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=xxxxxxx)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=xxxxxx)(CID=(PROGRAM=xxxxxx@fashing)(HOST=xxxxxx)(USER=xxxxx))))
    VERSION INFORMATION:
    TNS for Solaris: Version 10.1.0.4.0 - Production
    TCP/IP NT Protocol Adapter for Solaris: Version 10.1.0.4.0 - Production
    Time: 15-FEB-2007 15:49:09
    Tracing not turned on.
    Tns error struct:
    ns main err code: 12541
    TNS-12541: TNS:no listener
    ns secondary err code: 12560
    nt main err code: 511
    TNS-00511: No listener

    We have seen core dumps in system calls earlier and have tried to debug them. We did not have the exact same stack as you but the core used to show up a stack in _malloc.
    As it turned out that we had out of bound array reads (used purify to detect this) and which resulted in this dump. So the stack shown in this case could be totally misleading and the real cause could be somewhere else.
    Hope this helps.

Maybe you are looking for

  • Error while uploading Transport request

    Hi friends, Error while uploading transport request to the transport directory, we downloaded the trasnport request from one sap system which have a set of developments for example downloaded files are; control file: K900470.SAD and Data file: R90047

  • How can I control Read/Write for BegBalance under the same Scenario in different Years?

    As we know, we can set 'Start Year/Period' and 'End Year/Period' on a scenario member, e.g. Budget, to control whether planners can input data under this scenario. However, we can only choose years and month from Jan to Dec. BegBalance can't be chose

  • Table for fields

    im developing an invoice.in that i have to display packaging material for a particular material.i have the info from cs01 tcode.in the second screen,material&it's components will be entered. material, component(field-idnrk):this particular number tel

  • Screenshots for Search option using Enity  object(donot want session bean)

    I want to create Entity object(donot want session bean and Enity diagram) with search option. so any one help me. i could not find (b13895_oracle10g) PDF

  • Scroll Bars to be reset

    Hello All, In my application, the user enters customer no and obtains the list of materials in the next view. The list is displayed in a table with scroll bars. If the user scroll the tabel and then goes back to entry screen and provides another entr