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

Invalid memory access (signal 11) at address 0x20 #14993

Open
Sija opened this issue Sep 11, 2024 · 0 comments
Open

Invalid memory access (signal 11) at address 0x20 #14993

Sija opened this issue Sep 11, 2024 · 0 comments
Labels
kind:bug A bug in the code. Does not apply to documentation, specs, etc.

Comments

@Sija
Copy link
Contributor

Sija commented Sep 11, 2024

Bug Report

I just had a pretty random crash of my server running gphoto2-web (built using shards build --release -Dpreview_mt):

Invalid memory access (signal 11) at address 0x20
[0x102c94bd0] print_backtrace at /opt/homebrew/Cellar/crystal/1.13.2/share/crystal/src/exception/call_stack/libunwind.cr:100:5
[0x102c94698] -> at /opt/homebrew/Cellar/crystal/1.13.2/share/crystal/src/crystal/system/unix/signal.cr:171:5
[0x1b04774a4] _sigtramp +56 in /usr/lib/system/libsystem_platform.dylib
[0x103b0ac10] GC_finish_collection +2228 in /opt/homebrew/Cellar/bdw-gc/8.2.8/lib/libgc.1.5.4.dylib
[0x103b05e98] GC_try_to_collect_inner +404 in /opt/homebrew/Cellar/bdw-gc/8.2.8/lib/libgc.1.5.4.dylib
[0x103b0e29c] GC_collect_or_expand +220 in /opt/homebrew/Cellar/bdw-gc/8.2.8/lib/libgc.1.5.4.dylib
[0x103afc3ac] GC_generic_malloc_inner +860 in /opt/homebrew/Cellar/bdw-gc/8.2.8/lib/libgc.1.5.4.dylib
[0x103b02930] GC_generic_malloc_many +1124 in /opt/homebrew/Cellar/bdw-gc/8.2.8/lib/libgc.1.5.4.dylib
[0x103b01360] GC_malloc_kind +180 in /opt/homebrew/Cellar/bdw-gc/8.2.8/lib/libgc.1.5.4.dylib
[0x102cca2fc] parse_header at /opt/homebrew/Cellar/crystal/1.13.2/share/crystal/src/pointer.cr:519:11
[0x102d36d14] read_header_line at /opt/homebrew/Cellar/crystal/1.13.2/share/crystal/src/http/common.cr:114:15
[0x102da4ba4] handle_client at /opt/homebrew/Cellar/crystal/1.13.2/share/crystal/src/http/common.cr:33:11
[0x102c96e74] run at /opt/homebrew/Cellar/crystal/1.13.2/share/crystal/src/fiber.cr:143:11

Crystal 1.13.2 (2024-08-20)

LLVM: 18.1.8
Default target: aarch64-apple-darwin21.6.0
@Sija Sija added the kind:bug A bug in the code. Does not apply to documentation, specs, etc. label Sep 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind:bug A bug in the code. Does not apply to documentation, specs, etc.
Projects
None yet
Development

No branches or pull requests

1 participant