Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8154111
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T16:14:03+00:00 2026-06-06T16:14:03+00:00

Rather bizarrely the hpux unwind API _UNW_STACK_TRACE doesn’t take a file descriptor, but instead

  • 0

Rather bizarrely the hpux unwind API _UNW_STACK_TRACE doesn’t take a file descriptor, but instead takes a FILE*. The newer API uwx_stack_trace also takes a FILE*.

With both of these using buffered IO and not (signal safe IO interfaces) open/write/close, neither of these can safely be used in a signal handler (one of the most obvious places where one would wish to do so).

On one of our (probably now dead) ia64 platforms, we once had our own unwind implementation, but it was a beast to maintain and flaky, so I don’t want to go down that route again. Are there any other options for HPUX stack unwind?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T16:14:04+00:00Added an answer on June 6, 2026 at 4:14 pm

    I found the hpux documentation that details their stackwalk iterator interfaces. Unfortunately, and somewhat unbelievably, trying this out in the debugger shows that it’s busted in a signal context too (uwx_init calls malloc!)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Rather a simple question. But the implications are vast. Over the last few weeks
Rather noobish question but I have tried searching and just cannot find a solution.
Rather a simple question, this one - but I've no experience with VS macros,
Rather vague title, I know, but I'm binding a custom key event to the
My (rather small) company develops a popular Windows application, but one thing we've always
(I don't really care if it's my fault but rather why things are happening,
Bizarrely the stack collection seems to be missing the rather basic shift and unshift
Rather trivial question, but a quick google search didn't give me the answer. What
Due to some rather bizarre architectural considerations I've had to set up something that
Rather than using WMI to obtain the last boot time, I wanted to calculate

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.