solaris compilation errors while building.

From: rangareddym (ranga.reddy@criticalpath.net)
Date: Tue Oct 07 2003 - 21:47:01 EDT


Hi all,

 

I have written code and copiled for my application on solaris-6.

 

Now, at present I have compiled the same code in Solaris-8 with out of any
modification in code.

My application is throwing some errors.

 

Here I am attaching the truss output of the application.

 

Please any one help me regarding this...

 

Thanks in advance.

 

Ranga,
fstat(2, 0xFFBEEA2C) = 0
mmap(0x00000000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE, 2, 0) = 0xFEE80000
mmap(0x00000000, 221184, PROT_READ|PROT_EXEC, MAP_PRIVATE, 2, 0) = 0xFE2B0000
mmap(0xFE2E0000, 23200, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED,
2, 131072) = 0xFE2E0000
munmap(0xFE2D2000, 57344) = 0
memcntl(0xFE2B0000, 52604, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
close(2) = 0
mmap(0x00000000, 8192, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON,
-1, 0) = 0xFEC30000
munmap(0xFEE80000, 8192) = 0
getdents64(1, 0x0008D0B0, 1048) = 0
    Incurred fault #6, FLTBOUNDS %pc = 0xFEF32AD0
      siginfo: SIGSEGV SEGV_MAPERR addr=0x0000000A
    Received signal #11, SIGSEGV [caught]
      siginfo: SIGSEGV SEGV_MAPERR addr=0x0000000A
sigaction(SIGSEGV, 0xFFBEEC38, 0x00000000) = 0
sigprocmask(SIG_SETMASK, 0xFEECEFE8, 0x00000000) = 0
sigaction(SIGTERM, 0xFFBEEA40, 0xFFBEEB40) = 0
sigaction(SIGSEGV, 0xFFBEEA40, 0xFFBEEB40) = 0
sigaction(SIGSYS, 0xFFBEEA40, 0xFFBEEB40) = 0
sigaction(SIGABRT, 0xFFBEEA40, 0xFFBEEB40) = 0
sigaction(SIGILL, 0xFFBEEA40, 0xFFBEEB40) = 0
sigaction(SIGFPE, 0xFFBEEA40, 0xFFBEEB40) = 0
sigaction(SIGBUS, 0xFFBEEA40, 0xFFBEEB40) = 0
sigaction(SIGHUP, 0xFFBEEA40, 0xFFBEEB40) = 0
time() = 1065573781
lwp_create(0xFFBEE620, LWP_DETACHED|LWP_SUSPENDED, 0xFEA0BDB8) = 4
lwp_create() (returning as new lwp ...) = 0
lwp_continue(4) = 0
lwp_self() = 4
lwp_schedctl(SC_STATE|SC_BLOCK, -1, 0xFEA0BD0C) = 0
lwp_sema_post(0xFEECFA08) = 0
sigaction(SIGALRM, 0xFEA0BC38, 0x00000000) = 0
sigprocmask(SIG_BLOCK, 0xFEA0BDE4, 0x00000000) = 0
sigprocmask(SIG_UNBLOCK, 0xFEECF9F8, 0x00000000) = 0
lwp_mutex_lock(0xFF3E7D00) = 0
lwp_mutex_lock(0xFF3E7D00) = 0
lwp_mutex_wakeup(0xFF3E7D00) = 0
lwp_sema_wait(0xFEECFA08) = 0
sigprocmask(SIG_BLOCK, 0xFEECF9F8, 0x00000000) = 0
setitimer(ITIMER_REAL, 0xFEA0BC68, 0x00000000) = 0
sigprocmask(SIG_UNBLOCK, 0xFEECF9F8, 0x00000000) = 0
lwp_sema_wait(0x00026D20) (sleeping...)
signotifywait() (sleeping...)
lwp_cond_wait(0xFEED5548, 0xFEED5558, 0xFEECEDB0) (sleeping...)
lwp_sema_wait(0xFEECFA08) (sleeping...)
    Received signal #14, SIGALRM, in lwp_sema_wait() [caught]
lwp_sema_wait(0xFEECFA08) Err#91 ERESTART
sigprocmask(SIG_SETMASK, 0xFEA0BDE4, 0x00000000) = 0
lwp_sema_post(0x00026D20) = 0
lwp_sema_wait(0x00026D20) = 0
lwp_mutex_lock(0xFEED5558) = 0
sigprocmask(SIG_SETMASK, 0xFEEDAD68, 0x00000000) = 0
lwp_mutex_lock(0xFF3E7D00) = 0
lwp_mutex_wakeup(0xFF3E7D00) = 0
lwp_mutex_wakeup(0xFF3E7D00) = 0
lwp_mutex_lock(0xFF3E7D00) = 0
time() = 1065573786
lwp_mutex_lock(0xFF3E7D00) = 0
lwp_mutex_wakeup(0xFF3E7D00) = 0
setcontext(0xFEA0B6C8)
sigprocmask(SIG_BLOCK, 0xFEECF9F8, 0x00000000) = 0
sigprocmask(SIG_UNBLOCK, 0xFEECF9F8, 0x00000000) = 0
llseek(0, 0, SEEK_CUR) Err#29 ESPIPE
llseek(3, 0, SEEK_CUR) Err#9 EBADF
_exit(0)
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:27:15 EDT