- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to avoid SIGSEGV - segmentation violation(sig...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
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
Community
Resources
Forums
Blogs
- 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
тАО09-23-2004 11:05 PM - last edited on тАО03-28-2013 11:53 PM by Cathy_xu
тАО09-23-2004 11:05 PM - last edited on тАО03-28-2013 11:53 PM by Cathy_xu
How to avoid SIGSEGV - segmentation violation(signal no 11)
Right now I have faced a typical problemm in Unix (HP-UX uacob004 B.10.20 A 9000/782 2016569613 two-user license)
When i have run my application it is just thrown out of the system giving the following error .....
terminated by signal number 11
(20040924 04:56:31): Signal description: SIGSEGV - segmentation violation
I have checked the sar command it is giving like that
13:51:30 %usr %sys %wio %idle
13:51:31 100 0 0 0
13:51:32 100 0 0 0
Space is no issue ....
I guess memory utilization is the issue .....
Can u tell me how can i avoid that ...
Moved from HP-UX Technical Documentation to HP-UX > languages
- Tags:
- SIGSEGV
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-23-2004 11:14 PM
тАО09-23-2004 11:14 PM
Re: How to avoid SIGSEGV - segmentation violation(signal no 11)
It's very unlikely to be caused by an operating system issue.
Are you able to consult with the application supplier?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-23-2004 11:17 PM
тАО09-23-2004 11:17 PM
Re: How to avoid SIGSEGV - segmentation violation(signal no 11)
Execute as root and post the results of these:
#swapinfo -tam
#kmtune -l -q dbc_max_pct
#kmtune -l -q shmmax
Eric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-23-2004 11:33 PM
тАО09-23-2004 11:33 PM
Re: How to avoid SIGSEGV - segmentation violation(signal no 11)
If you get that on during application run, you will get one core there. Try to analys with gdb as,
gdb application-binary core
or simply
file core
what core
SIGSEGV will be the application code written problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-23-2004 11:35 PM
тАО09-23-2004 11:35 PM
Re: How to avoid SIGSEGV - segmentation violation(signal no 11)
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=670597
User limit corefile informations can be known as,
ulimit -c
You can know about core file limitation on using,
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=674445
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-24-2004 01:11 AM
тАО09-24-2004 01:11 AM
Re: How to avoid SIGSEGV - segmentation violation(signal no 11)
---------------------------------
wapinfo -tam
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 1024 0 1024 0% 0 - 1 /dev/vg00/lvol2
reserve - 52 -52
total 1024 52 972 5% - 0 -
----------------------------------
dbc_max_pct = 50
----------------------------------
shmmax = 67108864
---------------------------------
dbc_max_pct is high, lowering it may free more memory.
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-24-2004 01:27 AM
тАО09-24-2004 01:27 AM
Re: How to avoid SIGSEGV - segmentation violation(signal no 11)
You don't need gdb debugger too to analyse core there.
Try as,
file core
what core
If you want to analyse that problem of application and where it occured then it will be good with gdb.
Attaching core file to us will not be helpful. It will be effect to have that application binary with debug mode too there.
Or you can try adb there too.
http://software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=NEWADB11i
It is for 11.00 version there.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-24-2004 01:29 AM
тАО09-24-2004 01:29 AM
Re: How to avoid SIGSEGV - segmentation violation(signal no 11)
I m attaching the core in three parts and also attaching the split software for ur further necessary action ...
Pl read it As i dnt have gdb tools
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-24-2004 01:34 AM
тАО09-24-2004 01:34 AM
Re: How to avoid SIGSEGV - segmentation violation(signal no 11)
Sorry for earlier mail
I m attaching the core in three zip parts and also attaching the split software(core3.zip) for ur further necessary action ...
Pl read it As i dnt have gdb tools
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-24-2004 01:34 AM
тАО09-24-2004 01:34 AM
Re: How to avoid SIGSEGV - segmentation violation(signal no 11)
Sorry for earlier mail
I m attaching the core in three zip parts and also attaching the split software(core3.zip) for ur further necessary action ...
Pl read it As i dnt have gdb tools
---------------
core2.zip