HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- I got following result from tusc.
Operating System - HP-UX
1827056
Members
4577
Online
109713
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
Forums
Discussions
Discussions
Discussions
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
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-06-2006 01:52 PM
02-06-2006 01:52 PM
I got following result from tusc.
I got following result from tusc.
Any guess about this error?
read(-1, 0x7aea0c08, 256) ............................................................................ [running]
read(-1, 0x7aea0c08, 256) ............................................................................ ERR#9 EBADF
read(-1, 0x7aea0c08, 256) ............................................................................ ERR#9 EBADF
read(-1, 0x7aea0c08, 256) ............................................................................ ERR#9 EBADF
read(-1, 0x7aea0c08, 256) ............................................................................ ERR#9 EBADF
read(-1, 0x7aea0c08, 256) ............................................................................ ERR#9 EBADF
etc.....
Any guess about this error?
read(-1, 0x7aea0c08, 256) ............................................................................ [running]
read(-1, 0x7aea0c08, 256) ............................................................................ ERR#9 EBADF
read(-1, 0x7aea0c08, 256) ............................................................................ ERR#9 EBADF
read(-1, 0x7aea0c08, 256) ............................................................................ ERR#9 EBADF
read(-1, 0x7aea0c08, 256) ............................................................................ ERR#9 EBADF
read(-1, 0x7aea0c08, 256) ............................................................................ ERR#9 EBADF
etc.....
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2006 02:35 PM
02-06-2006 02:35 PM
Re: I got following result from tusc.
Yes, the first argument to the read system call is a file descriptor. Valid values range from 0 to N. The file descriptor is obtained from an open(), pipe(), or socket() system call. All of these return -1 on a failed open(). It appears that the real problem is an open() is done but the result is ignored and passed on to the read() which sets errno = 9 (EBADF). You need to look for read()'s that return -1 in your tusc trace.
If it ain't broke, I can fix that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2006 02:37 AM
02-07-2006 02:37 AM
Re: I got following result from tusc.
Ooops my last sentence should be:
You need to look for open()'s that return -1 in your tusc trace.
You need to look for open()'s that return -1 in your tusc trace.
If it ain't broke, I can fix that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2006 12:30 PM
02-07-2006 12:30 PM
Re: I got following result from tusc.
add accept() and perhaps the dup calls to that list :)
and if it isn't ignoring a return value from calls such as those mentioned, it could be someone reinitializing a variable somewhere where they shouldn't be.
in short, it is indicitive of an application bug
and if it isn't ignoring a return value from calls such as those mentioned, it could be someone reinitializing a variable somewhere where they shouldn't be.
in short, it is indicitive of an application bug
there is no rest for the wicked yet the virtuous have no pillows
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
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP