-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bpdump crash on attribute file written by machine of different en #195
Comments
That's a bug. Can you send the attribute.bp to us? pnorbert at ornl dot
gov.
…On Mon, Mar 25, 2019, 3:49 AM Kaiyuan Hou ***@***.***> wrote:
Hi:
I ran the example program examples/C/attributes/attributes_write on a
***@***.*** (a big-endian machine).
I took the file generated (attributes.bp) to my PC (x86, little-endian).
I run bpdump on my PC to dump attributes.bp taken from cetus.
bpdump crash on a floating point error after printing most information.
$ bpdump attributes_big.bp
BP format version: 3
Process Groups Index:
Group: temperature
Process ID: 0
Time Name:
.
.
.
Var Name (ID): date (5)
Var Path:
Datatype: string
Is Dimension: N
Characteristics:
Offset(188) Transform-type(0 = none)
Floating point exception (core dumped)
I tried to debug the code and found it is a division by 0 at
adios_endianness.c:116
uint64_t num_elements = payload_size / size;
The issue did not occur on the file generated by
examples/C/arrays/arrays_write.
It also did not happen when I dump little-endian file (generate on my PC)
on big endian machine (cetus).
Is there any fix?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#195>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/ADGMLZpuki62Y5TTg1fJbtBae3UJdHS6ks5vaH-hgaJpZM4cGQzv>
.
|
Thank you for the bug report. It is now fixed in commit 1177319. |
Will this be included in the next official release? Thanks. |
It would be but we did not plan to have a release any time soon. Do you
need a release for your users?
…On Fri, Mar 29, 2019 at 2:30 PM Kaiyuan Hou ***@***.***> wrote:
Will this be included in the next official release? Thanks.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<#195 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ADGMLZunEthxWcwhj_v9EnY_a7j3TCkQks5vblvBgaJpZM4cGQzv>
.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi:
I ran the example program examples/C/attributes/attributes_write on a cetus@ALCF (a big-endian machine).
I took the file generated (attributes.bp) to my PC (x86, little-endian).
I run bpdump on my PC to dump attributes.bp taken from cetus.
bpdump crash on a floating point error after printing most information.
I tried to debug the code and found it is a division by 0 at adios_endianness.c:116
uint64_t num_elements = payload_size / size;
The issue did not occur on the file generated by examples/C/arrays/arrays_write.
It also did not happen when I dump little-endian file (generate on my PC) on big endian machine (cetus).
Is there any fix?
The text was updated successfully, but these errors were encountered: