General

Profile

mk (Matthias Käppler)

  • Login: mk
  • Registered on: 08/05/2021
  • Last sign in: 04/04/2024

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 1 1 2

Like

Activity

04/04/2024

05:50 AM Ruby master Feature #20408: Add heap_live_slots to GC.stat_heap
peterzhu2118 (Peter Zhu) wrote in #note-2:
> Thank you for this ticket. I opened a PR that implements this feature: ...
mk (Matthias Käppler)

04/03/2024

02:24 PM Ruby master Feature #20408 (Open): Add heap_live_slots to GC.stat_heap
`GC.stat` exposes a `heap_live_slots` metric that returns the number of live objects occupying eden slots.
Because...
mk (Matthias Käppler)

12/02/2022

12:56 PM Ruby master Bug #19156: ObjectSpace.dump_all segfault during string inspection
I hope I summarized it correctly: https://gitlab.com/gitlab-org/ruby/gems/prometheus-client-mmap/-/issues/39
I'm n...
mk (Matthias Käppler)
12:32 PM Ruby master Bug #19156: ObjectSpace.dump_all segfault during string inspection
Thanks for sharing this; I still don't think this is related to the memory map going away. Not exclusively anyway. My... mk (Matthias Käppler)
09:54 AM Ruby master Bug #19156: ObjectSpace.dump_all segfault during string inspection
@byroot I wonder if you could help me understand the underlying issue better. I found a minimal, executable test case... mk (Matthias Käppler)

11/29/2022

03:29 PM Ruby master Bug #19156: ObjectSpace.dump_all segfault during string inspection
Thank you, this helps a lot! I will test the patch you suggest and see if that addresses the immediate problem.
If...
mk (Matthias Käppler)
03:13 PM Ruby master Bug #19156: ObjectSpace.dump_all segfault during string inspection
byroot (Jean Boussier) wrote in #note-15:
> It's even worse than using `str_new_static`, it's creating a regular s...
mk (Matthias Käppler)
03:00 PM Ruby master Bug #19156: ObjectSpace.dump_all segfault during string inspection
I'm not sure this makes sense but: we know the address being referenced is somewhere (half-way) into a memory region ... mk (Matthias Käppler)
02:37 PM Ruby master Bug #19156: ObjectSpace.dump_all segfault during string inspection
It looks like I can't do anything useful with that address:
```
(gdb) p *0x7fced23f4000
Cannot access memory at ...
mk (Matthias Käppler)
02:18 PM Ruby master Bug #19156: ObjectSpace.dump_all segfault during string inspection
byroot (Jean Boussier) wrote in #note-5:
> Also, based on the backtrace I believe that `ObjectSpace.each_object(Stri...
mk (Matthias Käppler)

Also available in: Atom