- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Segmentation Fault
Operating System - HP-UX
1820057
Members
2930
Online
109608
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-27-2007 06:09 PM
тАО05-27-2007 06:09 PM
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,
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,
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-27-2007 08:31 PM
тАО05-27-2007 08:31 PM
Re: Segmentation Fault
You need to provide a complete stack trace. You use gdb's "bt" command.
I'm guessing you are trying to use fwrite(3)?
I'm guessing you are trying to use fwrite(3)?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-27-2007 08:34 PM
тАО05-27-2007 08:34 PM
Re: Segmentation Fault
Thanks for your suggestion. We used bt and below is its result. Sorry that i forgot to add it before.
#0 0x60000000c0340160:1 in _wrtchk+0x341 () from /usr/lib/hpux32/libc.so.1
#1 0x60000000c0341b40:0 in fprintf+0x160 () from /usr/lib/hpux32/libc.so.1
#2 0x60000000c55865d0:0 in Initialize (su=0x40051800, genhdr=0)
at fab_elec.c:1143
#3 0x60000000c5584220:0 in fab_elec (su=0x40051800, suf=0x40068c30)
at fab_elec.c:345
#4 0x60000000c5501190:0 in MontFabricate (msfr=112) at fab.c:740
#5 0x4008160:0 in main (argc=5, argv=0x7ffff064) at fabrptmod.c:881
Please let me know if anything more is needed.
#0 0x60000000c0340160:1 in _wrtchk+0x341 () from /usr/lib/hpux32/libc.so.1
#1 0x60000000c0341b40:0 in fprintf+0x160 () from /usr/lib/hpux32/libc.so.1
#2 0x60000000c55865d0:0 in Initialize (su=0x40051800, genhdr=0)
at fab_elec.c:1143
#3 0x60000000c5584220:0 in fab_elec (su=0x40051800, suf=0x40068c30)
at fab_elec.c:345
#4 0x60000000c5501190:0 in MontFabricate (msfr=112) at fab.c:740
#5 0x4008160:0 in main (argc=5, argv=0x7ffff064) at fabrptmod.c:881
Please let me know if anything more is needed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-27-2007 10:17 PM
тАО05-27-2007 10:17 PM
Solution
#1 0x60000000c0341b40:0 in fprintf+0x160 /usr/lib/hpux32/libc.so.1
Unless you have a bad FILE* value, you should look at the parms to fprintf and make sure they match with the format.
If you have a fairly new C compiler, A.06.05 or later (the latest is A.06.14), the compiler will warn if there is a mismatch.
Unless you have a bad FILE* value, you should look at the parms to fprintf and make sure they match with the format.
If you have a fairly new C compiler, A.06.05 or later (the latest is A.06.14), the compiler will warn if there is a mismatch.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP