Topic
  • 2 replies
  • Latest Post - ‏2012-11-07T09:34:34Z by SystemAdmin
SystemAdmin
SystemAdmin
6902 Posts

Pinned topic Compatibility issue between AIX 5.3 and AIX 6.1

‏2012-10-30T06:08:29Z |
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"
Updated on 2012-11-07T09:34:34Z at 2012-11-07T09:34:34Z by SystemAdmin
  • teletype
    teletype
    27 Posts

    Re: Compatibility issue between AIX 5.3 and AIX 6.1

    ‏2012-11-01T07:45:06Z  
    Maybe APAR IV22982?
  • SystemAdmin
    SystemAdmin
    6902 Posts

    Re: Compatibility issue between AIX 5.3 and AIX 6.1

    ‏2012-11-07T09:34:34Z  
    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.