Skip to content
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

ASAN and UBSAN warnings #61

Open
XVilka opened this issue Apr 23, 2023 · 0 comments
Open

ASAN and UBSAN warnings #61

XVilka opened this issue Apr 23, 2023 · 0 comments
Assignees
Milestone

Comments

@XVilka
Copy link
Collaborator

XVilka commented Apr 23, 2023

../lib/capn.c:484:17: runtime error: left shift of negative value -1
[       OK ] WireFormat.StructRoundTrip_OneSegment (6 ms)
../lib/capn.c:704:19: runtime error: member access within null pointer of type 'struct copy'
../lib/capn-malloc.c:219:12: runtime error: store to misaligned address 0x7ffcfc967a0a for type 'uint32_t', which requires 4 byte alignment
0x7ffcfc967a0a: note: pointer points here
 00 00  f8 ff ff ff ff ff ff ff  90 7a 96 fc fc 7f 00 00  1e 00 00 00 00 00 00 00  f8 00 00 00 00 00
              ^ 
../lib/capn-malloc.c:220:22: runtime error: store to misaligned address 0x7ffcfc967a0e for type 'uint32_t', which requires 4 byte alignment
0x7ffcfc967a0e: note: pointer points here
 00 00 00 00 ff ff  90 7a 96 fc fc 7f 00 00  1e 00 00 00 00 00 00 00  f8 00 00 00 00 00 00 00  00 00
             ^ 
../lib/capn-malloc.c:225:17: runtime error: store to misaligned address 0x7ffcfc967a0e for type 'uint32_t', which requires 4 byte alignment
0x7ffcfc967a0e: note: pointer points here
 00 00 00 00 00 00  00 00 96 fc fc 7f 00 00  1e 00 00 00 00 00 00 00  f8 00 00 00 00 00 00 00  00 00
             ^ 
@XVilka XVilka self-assigned this Apr 23, 2023
@XVilka XVilka added this to the 0.4 milestone Apr 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant