[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[UDUNITS #QKV-165487]: udunits 1.12.4 bus error

This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.


  • Subject: [UDUNITS #QKV-165487]: udunits 1.12.4 bus error
  • Date: Thu, 08 May 2008 15:24:40 -0600

Yolande,

> The code you provided returns 4. -Y.

That surprises me.  On a 64-bit system, I expect the size of a
"void*" to be 8 bytes.

The fact that it's "4" means that the value of the UD_POINTER
macro should be INTEGER*4 (and not INTEGER*8).  So your
"udunits.inc" file is correct.

Can you rebuild the UDUNITS package with support for debugging
and then rebuild and re-execute your program to obtain a stack-
trace so that we can see why it's receiving a SIGBUS?

Regards,
Steve Emmerson

Ticket Details
===================
Ticket ID: QKV-165487
Department: Support UDUNITS
Priority: Normal
Status: On Hold