AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.

 View Only
Expand all | Collapse all

Compatibility issue between AIX 5.3 and AIX 6.1

  • 1.  Compatibility issue between AIX 5.3 and AIX 6.1

    Posted Tue October 30, 2012 02:08 AM

    Originally posted by: SystemAdmin


    I have compiled by application in AIX 5.3 and when i run it on AIX 6.1 box it crashes and generates the below stack from the core dump..

    Any idea what this means? dsrv.cxx is my code file which actually calls socket select call(line 2369) from the function named waitOnSockets(). The signal caught is SIGSEGV.

    (dbx) where
    pthread_kill(??, ??) at 0xd0504740
    _p_raise(??) at 0xd0503ba8
    iss_generateCore()(), line 263 in "iss_signals.cxx"
    iss_sigHandler(int)(signo = 0), line 306 in "iss_signals.cxx"
    __fd_select(??, ??, ??, ??, ??) at 0xd024c78c
    dsrv.select(int,fd_set*,fd_set*,fd_set*,timeval*)(??, ??, ??, ??, ??), line 229 in "time.h"
    unnamed block in waitOnSockets(fd_set*)(_serverSockets = 0x1007ce74), line 2369 in "dsrv.cxx"
    waitOnSockets(fd_set*)(_serverSockets = 0x1007ce74), line 2369 in "dsrv.cxx"
    main(argc = 0, argv = (nil)), line 789 in "dsrv.cxx"


  • 2.  Re: Compatibility issue between AIX 5.3 and AIX 6.1

    Posted Thu November 01, 2012 03:45 AM

    Originally posted by: teletype


    Maybe APAR IV22982?


  • 3.  Re: Compatibility issue between AIX 5.3 and AIX 6.1

    Posted Wed November 07, 2012 04:35 AM

    Originally posted by: SystemAdmin


    Thanks for your information.

    Based on patch comments i tried out the below,

    1. Compile my application in AIX 6.1 and run it on AIX 6.1. But still it failed on the same SELECT call.
    Compiled AIX 6.1 machine - 6100-00-11-0943 (oslevel -s)
    Execution AIX 6.1 machine - 6100-06-06-1140 (oslevel -s)

    2. Compile my application in AIX 5.3 and run it on AIX 6.1, but replaced the SELECT call with PSELECT call. Still failed in the PSELECT call

    3. Ran 2 instances of my application one compiled in 5.3 and the other compiled in 6.1. Both of them crashed on the same SELECT call with the same stack trace as given above. The clue here is that both the instance crashed on the same time stamp.
    AIX 5.3 machine (oslevel -s) - 5300-09-03-0918

    Additionally we have another AIX 6.1 machine (6100-06-06-1140) on which the same application is running fine.

    Does anybody have any other suggestions?

    Thanks.