Results 1 to 4 of 4
  1. #1
    Join Date
    Sep 2002
    Posts
    2

    Unanswered: Urgent: Application crashed during connect

    Hi,

    While connecting to UDB 7.1 on AIX, my application crashed
    with the following trace:

    #0 0xd38671c0 in sqlowque ()
    #1 0xd385884c in sqloTQMRequestMLN ()
    #2 0xd38a8e44 in sqlccipcconnr ()
    #3 0xd38b0300 in sqlogmshr3[2] [fdpr] ()
    #4 0xd38c3efc in sqle_db2ra_ar_connatt ()
    #5 0xd383dd30 in sqle_db2ra_ar_driver__FP10sqle_db2raP17sqle_ar_int erface[5] [fdpr] ()
    #6 0xd386fae8 in sqle_database_connect__FP10sqle_db2raP10sqler_glob[1] [fdpr] ()
    #7 0xd384667c in sqleriar ()
    #8 0xd3891c08 in sqleStartUsingDatabase__FPcciT2N31P10sqlf_dbcfdT1P 8sqledscbP5sqlcaT1T3[1] [fdpr] ()
    #9 0xd396e384 in sqlak_connect__FUsT1[4] [fdpr] ()
    #10 0xd384ba20 in sqlacall[3] [fdpr] ()
    #11 0xd3afa1ec in clp_connect__FP15CLI_CONNECTINFOP15sqla_program_id UsPcN34P5sqlca ()
    #12 0xd39f8620 in CLI_sqlConnect ()
    #13 0xd39a2f74 in SQLConnect2 ()
    #14 0xd39a85a4 in SQLDriverConnect2__FPP15CLI_CONNECTINFOPvPUcsT3T4P sUsUcT9P15CLI_ERRLISTINFO ()
    #15 0xd39a1328 in SQLConnect1 ()
    #16 0xd399eb1c in SQLConnect ()
    #17 0x100b7fa0 in UDBOdbcOperations::Connect ()
    #18 0x10129f98 in Search::execute ()
    #19 0x1016dc74 in AgentController:earch ()

    Wrote a small program to test connectivity to db2 and it works fine.

    There was no error logged in db2diag.log either.

    Any help will be greatly appreciated.

    Regards,
    Parvez

  2. #2
    Join Date
    Mar 2003
    Posts
    4

    Having the same problem on AIX

    Hi Pervez,

    I am getting the exact same crash in my C++ program on AIX with
    DB2 7.2. For me also a small test program works fine but a multithreaded application crashes.

    Were you able to resolve your problem - can you give me any clues as to what was happening ?

    Thanks !
    Aditi

  3. #3
    Join Date
    Sep 2002
    Posts
    2
    Hi,

    Its been a while since I worked on this.

    Anyways, the problem is that for multithreaded
    programs running on AIX using db2cli, the stack
    size of each thread must be atleast 124kb or
    132kb, don't remember exactly. Try 132kb, I
    guess that should work.

    BTW, name is spelt Parvez and not Pervez.

    Regards,
    Parvez

  4. #4
    Join Date
    Mar 2003
    Posts
    4
    Hi Parvez,

    Thanks for posting a reply to my question - it was very helpful. One more question - how do I set the stacksize for a thread on AIX ?

    Thanks,
    Aditi

    p.s. sorry for the misspelling of your name !

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •