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
05-30-2007 05:37 PM
05-30-2007 05:37 PM
Iam getting an error regarding ldiv.c. I gave a global search and i was not able to find this ldiv.c file anywhere. While executing the program Iam getting a core as follows
Program terminated with signal 8, Arithmetic exception.
FPE_INTDIV - integer divide by zero
#0 0x60000000c5347060:2 in _div32I () at ldiv.c:558
558 ldiv.c: No such file or directory.
in ldiv.c
(gdb) bt
#0 0x60000000c5347060:2 in _div32I () at ldiv.c:558
#1 0x60000000c5288950:0 in DumpTime () at common.c:6702
#2 0x60000000c52e1240:0 in MontPendingNotice (mspn=1) at pendntfc.c:353
#3 0x400c420:0 in GetWork () at fabrptmod.c:1409
#4 0x4006a50:0 in main (argc=5, argv=0x7ffff060) at fabrptmod.c:707
Please help me in this regard.
Thanks,
nan
Solved! Go to Solution.
- Tags:
- SIGFPE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2007 07:43 PM
05-30-2007 07:43 PM
Re: ldiv.c
part of a system library, and worry about
line 6702 in common.c, where you appear to
be trying to divide something by zero.
> nan
That's close. Look for "nan" (not a number)
in /usr/include/math.h.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2007 07:44 PM
05-30-2007 07:44 PM
SolutionYou need to look at the calling code to determine why zero is being passed.
Andrew
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2007 08:16 PM - edited 10-01-2011 10:44 PM
05-30-2007 08:16 PM - edited 10-01-2011 10:44 PM
Re: ldiv.c
>Steven: > nan
>That's close. Look for "NaN" (not a number)
Not quite. When you divide non-zero by 0, you get an INFINITY. :-)
>Andrew: library module _div32l ...
Yes, this is defined in /usr/lib/hpux##/milli.a.