Hi,
We are in the process of migrating our old HP-UX 11.00, PA-RISC
architecture to a new HP-UX 11.23i, Itanium architecture. We have
compiled the codes and now we are testing the executables. While
running the executable, we get the following error.
SEGV_ACCERR - Invalid Permissions for object
#0 0x60000000c0340160:1 in _wrtchk+0x341 () from /usr/lib/hpux32/
libc.so.1
I am not sure why we are getting this error. Am pretty new to C and
it
would great if someone can help me in this.
Thanks,
nan
|
|
0
|
|
|
|
Reply
|
rajanandhini (2)
|
5/28/2007 8:42:52 AM |
|
nan <rajanandhini@gmail.com> writes:
> running the executable, we get the following error.
>
> SEGV_ACCERR - Invalid Permissions for object
> #0 0x60000000c0340160:1 in _wrtchk+0x341 () from /usr/lib/hpux32/libc.so.1
>
> I am not sure why we are getting this error.
You are getting this error because there is (at least one) bug in
your program.
Your first step is to issue gdb 'where' command, and examine
the stack. If you don't know what that stack means, post it here
and someone will explain.
> Am pretty new to C and
Also note, that porting to new machine architecture, or even to new
OS, often requires quite a bit of skill. You may wish to hire a
consultant to help you along -- usenet will generally provide
answers with round-trip time in hours or days, and if your software
has not been ported to several 64-bit architectures before, you'll
likely see *many* more bugs.
Cheers,
--
In order to understand recursion you must first understand recursion.
Remove /-nsp/ for email.
|
|
0
|
|
|
|
Reply
|
Paul
|
5/28/2007 1:57:29 PM
|
|
> if your software has not been ported to several 64-bit architectures
> before, you'll likely see *many* more bugs.
Thankfully, the default compilation mode in HP-UX, even on Itanium, is
32-bit. At least with the HP compilers.
rick jones
--
web2.0 n, the dot.com reunion tour...
these opinions are mine, all mine; HP might not want them anyway... :)
feel free to post, OR email to rick.jones2 in hp.com but NOT BOTH...
|
|
0
|
|
|
|
Reply
|
Rick
|
5/29/2007 5:16:07 PM
|
|
|
2 Replies
354 Views
(page loaded in 0.021 seconds)
Similiar Articles: Segmentation fault (core dumped) - comp.unix.solarisHi there, I tried to test my OPEN MP compiler under SUN. I compiled the scource code with the following command: omcc -o openmp_test openmp_test.c -... segmentation fault (SIGSEGV) - comp.lang.fortranAfter compiling the whole codes without no errors, I'm getting into the trouble of "segmentation fault" when I try to run the executable file. I... Segmentation fault exiting isql from unixODBC - comp.databases ...Hi, I have been using the Pervasive ODBC drivers (odbcci.so) for a long time to connect a Linux RedHat 7.2 box to a Pervasive SQL Server 2000i under ... Segmentation fault on trying to deliver to bighotpay.com - comp ...I get a Segmentation fault when trying to send auto-replies back to a couple of domains (such as bigboobfund.com, bighotpay.com, fundtreesite.com).... May be slightly OT: Apache on Solaris Segmentation Fault - comp ...Hi, I have Apache 2.0.52, which I compiled using the gcc from (I think) the Companion CD for Solaris 9) awhile ago, running on a Solaris 9 SPARC sy... Segmentation Fault error in MPICH - comp.parallel.mpiHi, I'm trying to run an simple mpi program written in C but as soon as it starts running in 3 Linux clients I'm getting a "Segmentation Fault" error... segmentation fault with shared memory - comp.unix.programmer ...hi everybody i ve a pb with this code #include #include #include #include #include #include #define SHM_SIZE 4... rgb2gray gives segmentation fault on windows server 2008 r2 64bit ...On a 64bit windows 2008 R2 server, Matlab gives segmentation fault for rgb2gray on images of type 'double'. Does any of you know why? Bellow is th... segmentation fault when shared object using STL is statically ...Hi I am sure there are some people who have gone through this problem, but could not find specific solution to this. I am using GCC 3.3.2, on Solaris... ssh dumps core on s10_72 x86 - comp.unix.solarissegmentation fault (SIGSEGV) - comp.lang.fortran ssh dumps core on s10_72 x86 - comp.unix.solaris segmentation fault (SIGSEGV) - comp.lang.fortran ssh dumps core on s10_72 ... Segmentation fault - Wikipedia, the free encyclopediaA segmentation fault (often shortened to segfault), bus error or access violation is generally an attempt to access memory that the CPU cannot physically address. Why Does The Segmentation Fault Occur on Linux / UNIX Systems?According to wikipedia: A segmentation fault occurs when a program attempts to access a memory location that it is not allowed to access, or attempts to access a ... 7/23/2012 5:08:04 PM
|