- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: HPUX 11.23 PARISC, QPK1123 generating SIGFPE
Operating System - Linux
1753396
Members
7021
Online
108792
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
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
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
тАО02-13-2008 12:04 AM
тАО02-13-2008 12:04 AM
HPUX 11.23 PARISC, QPK1123 generating SIGFPE
Hi,
If I link the any c code with -lsec (though i may not be using any of -lsec functions), it generates SIGFPE, if the QPK1123 depot is installed.
If I link the any c code with -lsec (though i may not be using any of -lsec functions), it generates SIGFPE, if the QPK1123 depot is installed.
- Tags:
- SIGFPE
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-13-2008 12:09 AM
тАО02-13-2008 12:09 AM
Re: HPUX 11.23 PARISC, QPK1123 generating SIGFPE
It might be helpful to use a debugger to get a stack trace of that divide by 0.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-13-2008 01:21 AM
тАО02-13-2008 01:21 AM
Re: HPUX 11.23 PARISC, QPK1123 generating SIGFPE
I`am not doing any division in the code. If i remove the lsec file and compile the code it works fine. This started happening after i installed the QPK11.23 on this m/c. Following is the bt
#0 0xc3a3a874 in regular_seq () from /usr/lib/libc.2
(gdb) bt
#0 0xc3a3a874 in regular_seq () from /usr/lib/libc.2
#1 0xc3b2a2cc in pthread_key_delete () from /usr/lib/libc.2
#2 0xc0065c38 in __libsec_getspent_fini () from /usr/lib/libsec.2
#3 0xc00661f8 in __libsec_fini () from /usr/lib/libsec.2
#4 0xc00395b0 in shl_invoke_initfini () from /usr/lib/dld.sl
#5 0xc0039048 in shl_implicit_invoke_fini () from /usr/lib/dld.sl
#6 0xc3ac342c in exit () from /usr/lib/libc.2
#7 0x00002b1c in main () at test.c:27
#0 0xc3a3a874 in regular_seq () from /usr/lib/libc.2
(gdb) bt
#0 0xc3a3a874 in regular_seq () from /usr/lib/libc.2
#1 0xc3b2a2cc in pthread_key_delete () from /usr/lib/libc.2
#2 0xc0065c38 in __libsec_getspent_fini () from /usr/lib/libsec.2
#3 0xc00661f8 in __libsec_fini () from /usr/lib/libsec.2
#4 0xc00395b0 in shl_invoke_initfini () from /usr/lib/dld.sl
#5 0xc0039048 in shl_implicit_invoke_fini () from /usr/lib/dld.sl
#6 0xc3ac342c in exit () from /usr/lib/libc.2
#7 0x00002b1c in main () at test.c:27
- Tags:
- pthread
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-13-2008 02:35 AM
тАО02-13-2008 02:35 AM
Re: HPUX 11.23 PARISC, QPK1123 generating SIGFPE
Do you have libsec PHCO_37069 installed?
>I`am not doing any division in the code.
But libc is. Are you linking with -lpthread?
#0 0xc3a3a874 regular_seq libc.2
#1 0xc3b2a2cc pthread_key_delete libc.2
#2 0xc0065c38 __libsec_getspent_fini libsec.2
#3 0xc00661f8 __libsec_fini libsec.2
#4 0xc00395b0 shl_invoke_initfini dld.sl
#5 0xc0039048 shl_implicit_invoke_fini dld.sl
#6 0xc3ac342c exit libc.2
#7 0x00002b1c main test.c:27
The problem occurs if pthread_key_delete is called without calling pthread_key_create. I suppose this is a user error.
But the real problem is in libsec where it calls pthread_key_delete at exit time, even if it never created one.
I'm not sure how this can fail unless you are fiddling with __ismt??
>I`am not doing any division in the code.
But libc is. Are you linking with -lpthread?
#0 0xc3a3a874 regular_seq libc.2
#1 0xc3b2a2cc pthread_key_delete libc.2
#2 0xc0065c38 __libsec_getspent_fini libsec.2
#3 0xc00661f8 __libsec_fini libsec.2
#4 0xc00395b0 shl_invoke_initfini dld.sl
#5 0xc0039048 shl_implicit_invoke_fini dld.sl
#6 0xc3ac342c exit libc.2
#7 0x00002b1c main test.c:27
The problem occurs if pthread_key_delete is called without calling pthread_key_create. I suppose this is a user error.
But the real problem is in libsec where it calls pthread_key_delete at exit time, even if it never created one.
I'm not sure how this can fail unless you are fiddling with __ismt??
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.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP