- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- HP 11.11 SIGSEGV problem
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
Forums
Discussions
Discussions
Discussions
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
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
04-23-2003 06:13 PM
04-23-2003 06:13 PM
HP 11.11 SIGSEGV problem
I planed to port linux open source project (http://opensource.nailabs.com/lomac/) to HPUX 11.11.
When I test sample DLKM program, I got some problem.
DLKM program is intercept chmod system call and show it's parameters.
When I load DLKM into kernel and running some comand, I got "SIGSEGV for stack growth failure" message.
What should i do ?
This is console messages.
---------------------------
Generating module: test...
Requesting loadable module update...
Specified module(s) below is(are) activated successfully.
test
kmadmin -L test
kmadmin: Module test loaded, ID = 2
kmadmin -s
Name ID Status Type
==========================================================
krm 1 UNLOADED WSIO
test 2 LOADED WSIO
#
#
#
# passwd testuser
Changing password for testuser
New password:
Re-enter new password:
Pid 29704 received a SIGSEGV for stack growth failure.
Possible causes: insufficient memory or swap sapce,
or stack size exceeded maxssiz.
Passwd successfully changed
#
This is system log messages
------------------------------------
HP DLKM test start
chmod(), ret = 14
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2003 06:33 PM
04-23-2003 06:33 PM
Re: HP 11.11 SIGSEGV problem
You either need more stack space [increase your maxssiz kernel parameter], or you need more swap space and/or more memory, or else your application program has a bug in it.
I've seen this happen before with a C program that had a bug in it, and I believe it was doing a malloc inside of a loop without ever releasing the memory.
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2003 07:28 PM
04-23-2003 07:28 PM
Re: HP 11.11 SIGSEGV problem
#swapinfo -ta
If you are running with high load on memory you can check the individual process memory usage using
#UNIX95= ps -e -o ruser,pid,vsz=Kbytes|more
If you are running up with less memory usage then you would need to tune in the kernel parameters
maxssiz --->( for 32 bit application)
maxssiz--->64 bit applications
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2003 10:33 PM
04-23-2003 10:33 PM
Re: HP 11.11 SIGSEGV problem
I increase kernel parameter maxssize and maxssize_64.
but stil same.
and my DLKM doesn't use dynamic memory.
I attach test DLKM source code.
help me!!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2003 11:55 PM
04-23-2003 11:55 PM
Re: HP 11.11 SIGSEGV problem
using the search from there you'll get pretty relevant hits I'm sure.
Later,
Bill