diff --git a/game/massif.out.117125 b/game/massif.out.117125 new file mode 100644 index 0000000..007c6ec --- /dev/null +++ b/game/massif.out.117125 @@ -0,0 +1,2020 @@ +desc: (none) +cmd: ./wschod +time_unit: i +#----------- +snapshot=0 +#----------- +time=0 +mem_heap_B=0 +mem_heap_extra_B=0 +mem_stacks_B=0 +heap_tree=empty +#----------- +snapshot=1 +#----------- +time=966725159 +mem_heap_B=23108815 +mem_heap_extra_B=1622049 +mem_stacks_B=0 +heap_tree=empty +#----------- +snapshot=2 +#----------- +time=1889023821 +mem_heap_B=23295015 +mem_heap_extra_B=1646057 +mem_stacks_B=0 +heap_tree=empty +#----------- +snapshot=3 +#----------- +time=2898740857 +mem_heap_B=23454295 +mem_heap_extra_B=1662449 +mem_stacks_B=0 +heap_tree=empty +#----------- +snapshot=4 +#----------- +time=3542372202 +mem_heap_B=23727695 +mem_heap_extra_B=1697777 +mem_stacks_B=0 +heap_tree=detailed +n13: 23727695 (heap allocation functions) malloc/new/new[], --alloc-fns, etc. + n2: 8142336 0xC2786B0: ??? + n4: 7823984 0xC278708: ??? + n0: 6159248 in 948 places, all below massif's threshold (1.00%) + n1: 961728 0xC14C2C9: ??? + n0: 961728 in 198 places, all below massif's threshold (1.00%) + n1: 376992 0xC1A7685: ??? + n0: 376992 in 131 places, all below massif's threshold (1.00%) + n1: 326016 0xC1A7560: ??? + n0: 326016 in 90 places, all below massif's threshold (1.00%) + n0: 318352 in 22 places, all below massif's threshold (1.00%) + n2: 4956997 0x4AA05B2: SDL_malloc_REAL (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n1: 4861056 0x495161E: stbi__create_png_image_raw (in /nix/store/yhpvkmanp4ybn63zqnbzhzwnlkwghr6h-sdl3-image-3.2.4-lib/lib/libSDL3_image.so.0.2.4) + n1: 4861056 0x49599AC: stbi__parse_png_file.constprop.0 (in /nix/store/yhpvkmanp4ybn63zqnbzhzwnlkwghr6h-sdl3-image-3.2.4-lib/lib/libSDL3_image.so.0.2.4) + n1: 4861056 0x495B878: stbi__load_main.constprop.0 (in /nix/store/yhpvkmanp4ybn63zqnbzhzwnlkwghr6h-sdl3-image-3.2.4-lib/lib/libSDL3_image.so.0.2.4) + n1: 4861056 0x4961D3F: IMG_LoadSTB_IO (in /nix/store/yhpvkmanp4ybn63zqnbzhzwnlkwghr6h-sdl3-image-3.2.4-lib/lib/libSDL3_image.so.0.2.4) + n1: 4861056 0x493F738: IMG_LoadTyped_IO (in /nix/store/yhpvkmanp4ybn63zqnbzhzwnlkwghr6h-sdl3-image-3.2.4-lib/lib/libSDL3_image.so.0.2.4) + n2: 4861056 0x403AB8: resources_load_texture (resources.c:48) + n1: 4194304 0x403E4B: resources_init (resources.c:176) + n1: 4194304 0x40C0DB: SDL_AppInit (main.c:23) + n1: 4194304 0x4A3C265: SDL_InitMainCallbacks (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n1: 4194304 0x4C5357E: SDL_EnterAppMainCallbacks_REAL (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n0: 4194304 0x4F6547D: (below main) (in /nix/store/cg9s562sa33k78m63njfn1rw47dp9z0i-glibc-2.40-66/lib/libc.so.6) + n0: 666752 in 8 places, all below massif's threshold (1.00%) + n0: 95941 in 21 places, all below massif's threshold (1.00%) + n0: 4651500 in 1547 places, all below massif's threshold (1.00%) + n1: 1751256 0xC781248: ??? + n1: 1751256 0xCB9BF5E: ??? + n2: 1751256 0xC780D20: ??? + n2: 1744344 0xC750FF0: ??? + n3: 1741752 0xC751447: ??? + n2: 1105848 0xC751D89: ??? + n1: 1081296 0xC6CAF70: ??? + n2: 1081296 0xC6CE0B2: ??? + n1: 589824 0xC756881: ??? + n1: 589824 0xC2801E8: ??? + n1: 589824 0xC2B60A6: ??? + n1: 589824 0x4FD2E62: start_thread (in /nix/store/cg9s562sa33k78m63njfn1rw47dp9z0i-glibc-2.40-66/lib/libc.so.6) + n0: 589824 0x5056B93: clone (in /nix/store/cg9s562sa33k78m63njfn1rw47dp9z0i-glibc-2.40-66/lib/libc.so.6) + n1: 491472 0xC6D3264: ??? + n1: 491472 0xC7058D5: ??? + n1: 491472 0xC709045: ??? + n1: 491472 0xCBB928B: ??? + n1: 491472 0xCBC0945: ??? + n1: 491472 0xC4A200B: ??? + n1: 491472 0xC4A419A: ??? + n1: 491472 0xC4A4F97: ??? + n1: 491472 0xBE960AB: ??? + n1: 491472 0xBDE634A: ??? + n1: 491472 0xBCB5250: ??? + n1: 491472 0xBCAA8A2: ??? + n1: 491472 0xBC9DE00: ??? + n1: 491472 0x4BE4E02: Wayland_GLES_SwapWindow (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n1: 491472 0x40A1CA: graphics_render (graphics.c:98) + n1: 491472 0x40C180: SDL_AppIterate (main.c:58) + n1: 491472 0x4A3C311: SDL_IterateMainCallbacks (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n1: 491472 0x4C535EB: SDL_EnterAppMainCallbacks_REAL (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n0: 491472 0x4F6547D: (below main) (in /nix/store/cg9s562sa33k78m63njfn1rw47dp9z0i-glibc-2.40-66/lib/libc.so.6) + n0: 24552 in 1 place, below massif's threshold (1.00%) + n1: 632736 0xBFB045C: ??? + n1: 632736 0xBFB1218: ??? + n2: 632736 0xBFB63DD: ??? + n1: 614376 0xBE38128: ??? + n1: 614376 0xBE36971: ??? + n2: 614376 0xBE37031: ??? + n1: 589824 0xBF5BC72: ??? + n1: 589824 0x406EBB: SimpleMesh_make_quad1 (mesh.c:55) + n1: 589824 0x4090B7: entman_init (entman.c:39) + n1: 589824 0x40C0FE: SDL_AppInit (main.c:28) + n1: 589824 0x4A3C265: SDL_InitMainCallbacks (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n1: 589824 0x4C5357E: SDL_EnterAppMainCallbacks_REAL (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n0: 589824 0x4F6547D: (below main) (in /nix/store/cg9s562sa33k78m63njfn1rw47dp9z0i-glibc-2.40-66/lib/libc.so.6) + n0: 24552 in 1 place, below massif's threshold (1.00%) + n0: 18360 in 1 place, below massif's threshold (1.00%) + n0: 3168 in 2 places, all below massif's threshold (1.00%) + n0: 2592 in 1 place, below massif's threshold (1.00%) + n0: 6912 in 1 place, below massif's threshold (1.00%) + n3: 987580 0x4E45E2D: g_malloc (in /nix/store/bkpj51fz88rbyjd60i6lrp0xdax1b24g-glib-2.84.1/lib/libglib-2.0.so.0.8400.1) + n2: 584960 0x4E633DD: g_memdup2 (in /nix/store/bkpj51fz88rbyjd60i6lrp0xdax1b24g-glib-2.84.1/lib/libglib-2.0.so.0.8400.1) + n1: 571384 0x409206: spawn_queue_process_one (entman.c:69) + n1: 571384 0x409206: spawn_queue_process_one (entman.c:62) + n1: 571384 0x4092D3: entman_tick (entman.c:96) + n1: 571384 0x40C172: SDL_AppIterate (main.c:56) + n1: 571384 0x4A3C311: SDL_IterateMainCallbacks (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n1: 571384 0x4C535EB: SDL_EnterAppMainCallbacks_REAL (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n0: 571384 0x4F6547D: (below main) (in /nix/store/cg9s562sa33k78m63njfn1rw47dp9z0i-glibc-2.40-66/lib/libc.so.6) + n0: 13576 in 10 places, all below massif's threshold (1.00%) + n1: 302048 0x4E61918: g_slice_alloc (in /nix/store/bkpj51fz88rbyjd60i6lrp0xdax1b24g-glib-2.84.1/lib/libglib-2.0.so.0.8400.1) + n0: 302048 in 112 places, all below massif's threshold (1.00%) + n0: 100572 in 119 places, all below massif's threshold (1.00%) + n1: 831120 0xBE82A64: ??? + n1: 831120 0xBE95B51: ??? + n1: 831120 0xBDE51D1: ??? + n1: 831120 0xBDE9116: ??? + n1: 831120 0xBCAA56B: ??? + n1: 831120 0xBC9BD58: ??? + n1: 831120 0x4B41273: SDL_EGL_CreateContext (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n1: 831120 0x4BE4CA8: Wayland_GLES_CreateContext (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n1: 831120 0x4B66BF1: SDL_GL_CreateContext_REAL (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n1: 831120 0x409B87: graphics_init (graphics.c:41) + n1: 831120 0x40C0D4: SDL_AppInit (main.c:22) + n1: 831120 0x4A3C265: SDL_InitMainCallbacks (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n1: 831120 0x4C5357E: SDL_EnterAppMainCallbacks_REAL (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n0: 831120 0x4F6547D: (below main) (in /nix/store/cg9s562sa33k78m63njfn1rw47dp9z0i-glibc-2.40-66/lib/libc.so.6) + n1: 738544 0x4E45F05: g_realloc (in /nix/store/bkpj51fz88rbyjd60i6lrp0xdax1b24g-glib-2.84.1/lib/libglib-2.0.so.0.8400.1) + n0: 738544 in 50 places, all below massif's threshold (1.00%) + n1: 346018 0x4E45E95: g_malloc0 (in /nix/store/bkpj51fz88rbyjd60i6lrp0xdax1b24g-glib-2.84.1/lib/libglib-2.0.so.0.8400.1) + n0: 346018 in 99 places, all below massif's threshold (1.00%) + n1: 271272 0xC0D13C2: ??? + n1: 271272 0xBFBF790: ??? + n1: 271272 0xBE82ABF: ??? + n1: 271272 0xBE95B51: ??? + n1: 271272 0xBDE51D1: ??? + n1: 271272 0xBDE9116: ??? + n1: 271272 0xBCAA56B: ??? + n1: 271272 0xBC9BD58: ??? + n1: 271272 0x4B41273: SDL_EGL_CreateContext (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n1: 271272 0x4BE4CA8: Wayland_GLES_CreateContext (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n1: 271272 0x4B66BF1: SDL_GL_CreateContext_REAL (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n1: 271272 0x409B87: graphics_init (graphics.c:41) + n1: 271272 0x40C0D4: SDL_AppInit (main.c:22) + n1: 271272 0x4A3C265: SDL_InitMainCallbacks (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n1: 271272 0x4C5357E: SDL_EnterAppMainCallbacks_REAL (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n0: 271272 0x4F6547D: (below main) (in /nix/store/cg9s562sa33k78m63njfn1rw47dp9z0i-glibc-2.40-66/lib/libc.so.6) + n1: 264608 0xC7842DB: ??? + n1: 264608 0xC6C4879: ??? + n0: 264608 in 2 places, all below massif's threshold (1.00%) + n1: 262176 0x75A6A6A: pixman_glyph_cache_create (in /nix/store/r7sp55wajh5p7yh2ahgifr1c8jbqjgnl-pixman-0.44.2/lib/libpixman-1.so.0.44.2) + n1: 262176 0x6F1FD74: composite_glyphs (in /nix/store/41qbms27n02859ja4sc7wsd9mfp3ward-cairo-1.18.2/lib/libcairo.so.2.11802.2) + n1: 262176 0x6F719F5: clip_and_composite (in /nix/store/41qbms27n02859ja4sc7wsd9mfp3ward-cairo-1.18.2/lib/libcairo.so.2.11802.2) + n1: 262176 0x6F71DF2: _cairo_traps_compositor_glyphs (in /nix/store/41qbms27n02859ja4sc7wsd9mfp3ward-cairo-1.18.2/lib/libcairo.so.2.11802.2) + n1: 262176 0x6F1324E: _cairo_compositor_glyphs (in /nix/store/41qbms27n02859ja4sc7wsd9mfp3ward-cairo-1.18.2/lib/libcairo.so.2.11802.2) + n1: 262176 0x6F26E96: _cairo_image_surface_glyphs (in /nix/store/41qbms27n02859ja4sc7wsd9mfp3ward-cairo-1.18.2/lib/libcairo.so.2.11802.2) + n1: 262176 0x6F6B15D: _cairo_surface_show_text_glyphs (in /nix/store/41qbms27n02859ja4sc7wsd9mfp3ward-cairo-1.18.2/lib/libcairo.so.2.11802.2) + n1: 262176 0x6F64B0D: _cairo_surface_offset_glyphs (in /nix/store/41qbms27n02859ja4sc7wsd9mfp3ward-cairo-1.18.2/lib/libcairo.so.2.11802.2) + n1: 262176 0x6F65811: _cairo_surface_subsurface_glyphs (in /nix/store/41qbms27n02859ja4sc7wsd9mfp3ward-cairo-1.18.2/lib/libcairo.so.2.11802.2) + n1: 262176 0x6F6B15D: _cairo_surface_show_text_glyphs (in /nix/store/41qbms27n02859ja4sc7wsd9mfp3ward-cairo-1.18.2/lib/libcairo.so.2.11802.2) + n1: 262176 0x6F1D860: _cairo_gstate_show_text_glyphs (in /nix/store/41qbms27n02859ja4sc7wsd9mfp3ward-cairo-1.18.2/lib/libcairo.so.2.11802.2) + n1: 262176 0x6F7A016: cairo_show_glyphs (in /nix/store/41qbms27n02859ja4sc7wsd9mfp3ward-cairo-1.18.2/lib/libcairo.so.2.11802.2) + n1: 262176 0x6E0B23A: pango_cairo_renderer_show_text_glyphs (in /nix/store/z0kbsgnma0mijn5ssqfi3dk9z28bqlwj-pango-1.56.3/lib/libpangocairo-1.0.so.0.5600.3) + n1: 262176 0x6E0B4BA: pango_cairo_renderer_draw_glyph_item (in /nix/store/z0kbsgnma0mijn5ssqfi3dk9z28bqlwj-pango-1.56.3/lib/libpangocairo-1.0.so.0.5600.3) + n1: 262176 0x6E56F1D: pango_renderer_draw_glyph_item (in /nix/store/z0kbsgnma0mijn5ssqfi3dk9z28bqlwj-pango-1.56.3/lib/libpango-1.0.so.0.5600.3) + n1: 262176 0x6E57CF8: pango_renderer_draw_layout_line (in /nix/store/z0kbsgnma0mijn5ssqfi3dk9z28bqlwj-pango-1.56.3/lib/libpango-1.0.so.0.5600.3) + n1: 262176 0x6E58364: pango_renderer_draw_layout (in /nix/store/z0kbsgnma0mijn5ssqfi3dk9z28bqlwj-pango-1.56.3/lib/libpango-1.0.so.0.5600.3) + n1: 262176 0x6E0BC13: pango_cairo_show_layout (in /nix/store/z0kbsgnma0mijn5ssqfi3dk9z28bqlwj-pango-1.56.3/lib/libpangocairo-1.0.so.0.5600.3) + n1: 262176 0x7CB19D9: gtk_render_layout (in /nix/store/42dlyn8qbxdp55gxd35xymik0nhy0hdw-gtk+3-3.24.49/lib/libgtk-3.so.0.2417.32) + n1: 262176 0x7C22DE0: gtk_label_render (in /nix/store/42dlyn8qbxdp55gxd35xymik0nhy0hdw-gtk+3-3.24.49/lib/libgtk-3.so.0.2417.32) + n1: 262176 0x7B5735C: gtk_css_custom_gadget_draw (in /nix/store/42dlyn8qbxdp55gxd35xymik0nhy0hdw-gtk+3-3.24.49/lib/libgtk-3.so.0.2417.32) + n1: 262176 0x7B5E059: gtk_css_gadget_draw (in /nix/store/42dlyn8qbxdp55gxd35xymik0nhy0hdw-gtk+3-3.24.49/lib/libgtk-3.so.0.2417.32) + n1: 262176 0x7C1FAE0: gtk_label_draw (in /nix/store/42dlyn8qbxdp55gxd35xymik0nhy0hdw-gtk+3-3.24.49/lib/libgtk-3.so.0.2417.32) + n1: 262176 0x7D9ED03: gtk_widget_draw_internal (in /nix/store/42dlyn8qbxdp55gxd35xymik0nhy0hdw-gtk+3-3.24.49/lib/libgtk-3.so.0.2417.32) + n1: 262176 0x7D9F08D: gtk_widget_draw (in /nix/store/42dlyn8qbxdp55gxd35xymik0nhy0hdw-gtk+3-3.24.49/lib/libgtk-3.so.0.2417.32) + n1: 262176 0x77D15A2: draw_border_component (in /nix/store/5ax1jpfx16dwhbx3vwvmpzmlwdkypkyd-libdecor-0.2.2/lib/libdecor/plugins-1/libdecor-gtk.so) + n1: 262176 0x77D1DAE: draw_title_bar (in /nix/store/5ax1jpfx16dwhbx3vwvmpzmlwdkypkyd-libdecor-0.2.2/lib/libdecor/plugins-1/libdecor-gtk.so) + n1: 262176 0x77D2405: draw_decoration (in /nix/store/5ax1jpfx16dwhbx3vwvmpzmlwdkypkyd-libdecor-0.2.2/lib/libdecor/plugins-1/libdecor-gtk.so) + n1: 262176 0x77D266E: libdecor_plugin_gtk_frame_commit (in /nix/store/5ax1jpfx16dwhbx3vwvmpzmlwdkypkyd-libdecor-0.2.2/lib/libdecor/plugins-1/libdecor-gtk.so) + n0: 262176 0x6DEA996: libdecor_frame_commit (in /nix/store/5ax1jpfx16dwhbx3vwvmpzmlwdkypkyd-libdecor-0.2.2/lib/libdecor-0.so.0.200.2) + n1: 262144 0xC6C4932: ??? + n0: 262144 in 2 places, all below massif's threshold (1.00%) + n1: 262144 0xC768B17: ??? + n1: 262144 0xC6C4A44: ??? + n0: 262144 in 2 places, all below massif's threshold (1.00%) +#----------- +snapshot=5 +#----------- +time=4352024746 +mem_heap_B=23887831 +mem_heap_extra_B=1718121 +mem_stacks_B=0 +heap_tree=empty +#----------- +snapshot=6 +#----------- +time=5436121232 +mem_heap_B=24425767 +mem_heap_extra_B=1778641 +mem_stacks_B=0 +heap_tree=empty +#----------- +snapshot=7 +#----------- +time=6454963340 +mem_heap_B=24425767 +mem_heap_extra_B=1778625 +mem_stacks_B=0 +heap_tree=empty +#----------- +snapshot=8 +#----------- +time=7757480374 +mem_heap_B=24614239 +mem_heap_extra_B=1802385 +mem_stacks_B=0 +heap_tree=empty +#----------- +snapshot=9 +#----------- +time=8921107937 +mem_heap_B=25148055 +mem_heap_extra_B=1871057 +mem_stacks_B=0 +heap_tree=empty +#----------- +snapshot=10 +#----------- +time=9713248315 +mem_heap_B=25148055 +mem_heap_extra_B=1871073 +mem_stacks_B=0 +heap_tree=empty +#----------- +snapshot=11 +#----------- +time=10396559518 +mem_heap_B=25148183 +mem_heap_extra_B=1871105 +mem_stacks_B=0 +heap_tree=empty +#----------- +snapshot=12 +#----------- +time=11709856697 +mem_heap_B=25477215 +mem_heap_extra_B=1879705 +mem_stacks_B=0 +heap_tree=detailed +n9: 25477215 (heap allocation functions) malloc/new/new[], --alloc-fns, etc. + n2: 8142336 0xC2786B0: ??? + n4: 7823984 0xC278708: ??? + n0: 6159248 in 948 places, all below massif's threshold (1.00%) + n1: 961728 0xC14C2C9: ??? + n0: 961728 in 198 places, all below massif's threshold (1.00%) + n1: 376992 0xC1A7685: ??? + n0: 376992 in 131 places, all below massif's threshold (1.00%) + n1: 326016 0xC1A7560: ??? + n0: 326016 in 90 places, all below massif's threshold (1.00%) + n0: 318352 in 22 places, all below massif's threshold (1.00%) + n0: 5953380 in 1551 places, all below massif's threshold (1.00%) + n2: 4956997 0x4AA05B2: SDL_malloc_REAL (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n1: 4861056 0x495161E: stbi__create_png_image_raw (in /nix/store/yhpvkmanp4ybn63zqnbzhzwnlkwghr6h-sdl3-image-3.2.4-lib/lib/libSDL3_image.so.0.2.4) + n1: 4861056 0x49599AC: stbi__parse_png_file.constprop.0 (in /nix/store/yhpvkmanp4ybn63zqnbzhzwnlkwghr6h-sdl3-image-3.2.4-lib/lib/libSDL3_image.so.0.2.4) + n1: 4861056 0x495B878: stbi__load_main.constprop.0 (in /nix/store/yhpvkmanp4ybn63zqnbzhzwnlkwghr6h-sdl3-image-3.2.4-lib/lib/libSDL3_image.so.0.2.4) + n1: 4861056 0x4961D3F: IMG_LoadSTB_IO (in /nix/store/yhpvkmanp4ybn63zqnbzhzwnlkwghr6h-sdl3-image-3.2.4-lib/lib/libSDL3_image.so.0.2.4) + n1: 4861056 0x493F738: IMG_LoadTyped_IO (in /nix/store/yhpvkmanp4ybn63zqnbzhzwnlkwghr6h-sdl3-image-3.2.4-lib/lib/libSDL3_image.so.0.2.4) + n2: 4861056 0x403AB8: resources_load_texture (resources.c:48) + n1: 4194304 0x403E4B: resources_init (resources.c:176) + n1: 4194304 0x40C0DB: SDL_AppInit (main.c:23) + n1: 4194304 0x4A3C265: SDL_InitMainCallbacks (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n1: 4194304 0x4C5357E: SDL_EnterAppMainCallbacks_REAL (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n0: 4194304 0x4F6547D: (below main) (in /nix/store/cg9s562sa33k78m63njfn1rw47dp9z0i-glibc-2.40-66/lib/libc.so.6) + n0: 666752 in 8 places, all below massif's threshold (1.00%) + n0: 95941 in 21 places, all below massif's threshold (1.00%) + n3: 1995884 0x4E45E2D: g_malloc (in /nix/store/bkpj51fz88rbyjd60i6lrp0xdax1b24g-glib-2.84.1/lib/libglib-2.0.so.0.8400.1) + n2: 1461704 0x4E633DD: g_memdup2 (in /nix/store/bkpj51fz88rbyjd60i6lrp0xdax1b24g-glib-2.84.1/lib/libglib-2.0.so.0.8400.1) + n1: 1446984 0x409206: spawn_queue_process_one (entman.c:69) + n1: 1446984 0x409206: spawn_queue_process_one (entman.c:62) + n1: 1446984 0x4092D3: entman_tick (entman.c:96) + n1: 1446984 0x40C172: SDL_AppIterate (main.c:56) + n1: 1446984 0x4A3C311: SDL_IterateMainCallbacks (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n1: 1446984 0x4C535EB: SDL_EnterAppMainCallbacks_REAL (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n0: 1446984 0x4F6547D: (below main) (in /nix/store/cg9s562sa33k78m63njfn1rw47dp9z0i-glibc-2.40-66/lib/libc.so.6) + n0: 14720 in 10 places, all below massif's threshold (1.00%) + n1: 302048 0x4E61918: g_slice_alloc (in /nix/store/bkpj51fz88rbyjd60i6lrp0xdax1b24g-glib-2.84.1/lib/libglib-2.0.so.0.8400.1) + n0: 302048 in 112 places, all below massif's threshold (1.00%) + n0: 232132 in 119 places, all below massif's threshold (1.00%) + n1: 1762344 0xC781248: ??? + n1: 1762344 0xCB9BF5E: ??? + n2: 1762344 0xC780D20: ??? + n2: 1756584 0xC750FF0: ??? + n3: 1753992 0xC751447: ??? + n2: 1105848 0xC751D89: ??? + n1: 1081296 0xC6CAF70: ??? + n2: 1081296 0xC6CE0B2: ??? + n1: 589824 0xC756881: ??? + n1: 589824 0xC2801E8: ??? + n1: 589824 0xC2B60A6: ??? + n1: 589824 0x4FD2E62: start_thread (in /nix/store/cg9s562sa33k78m63njfn1rw47dp9z0i-glibc-2.40-66/lib/libc.so.6) + n0: 589824 0x5056B93: clone (in /nix/store/cg9s562sa33k78m63njfn1rw47dp9z0i-glibc-2.40-66/lib/libc.so.6) + n1: 491472 0xC6D3264: ??? + n1: 491472 0xC7058D5: ??? + n1: 491472 0xC709045: ??? + n1: 491472 0xCBB928B: ??? + n1: 491472 0xCBC0945: ??? + n1: 491472 0xC4A200B: ??? + n1: 491472 0xC4A419A: ??? + n1: 491472 0xC4A4F97: ??? + n1: 491472 0xBE960AB: ??? + n1: 491472 0xBDE634A: ??? + n1: 491472 0xBCB5250: ??? + n1: 491472 0xBCAA8A2: ??? + n1: 491472 0xBC9DE00: ??? + n1: 491472 0x4BE4E02: Wayland_GLES_SwapWindow (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n1: 491472 0x40A1CA: graphics_render (graphics.c:98) + n1: 491472 0x40C180: SDL_AppIterate (main.c:58) + n1: 491472 0x4A3C311: SDL_IterateMainCallbacks (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n1: 491472 0x4C535EB: SDL_EnterAppMainCallbacks_REAL (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n0: 491472 0x4F6547D: (below main) (in /nix/store/cg9s562sa33k78m63njfn1rw47dp9z0i-glibc-2.40-66/lib/libc.so.6) + n0: 24552 in 1 place, below massif's threshold (1.00%) + n1: 644976 0xBFB045C: ??? + n1: 644976 0xBFB1218: ??? + n2: 644976 0xBFB63DD: ??? + n1: 614376 0xBE38128: ??? + n1: 614376 0xBE36971: ??? + n2: 614376 0xBE37031: ??? + n1: 589824 0xBF5BC72: ??? + n1: 589824 0x406EBB: SimpleMesh_make_quad1 (mesh.c:55) + n1: 589824 0x4090B7: entman_init (entman.c:39) + n1: 589824 0x40C0FE: SDL_AppInit (main.c:28) + n1: 589824 0x4A3C265: SDL_InitMainCallbacks (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n1: 589824 0x4C5357E: SDL_EnterAppMainCallbacks_REAL (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n0: 589824 0x4F6547D: (below main) (in /nix/store/cg9s562sa33k78m63njfn1rw47dp9z0i-glibc-2.40-66/lib/libc.so.6) + n0: 24552 in 1 place, below massif's threshold (1.00%) + n0: 30600 in 1 place, below massif's threshold (1.00%) + n0: 3168 in 2 places, all below massif's threshold (1.00%) + n0: 2592 in 1 place, below massif's threshold (1.00%) + n0: 5760 in 1 place, below massif's threshold (1.00%) + n2: 940272 0x4E45F05: g_realloc (in /nix/store/bkpj51fz88rbyjd60i6lrp0xdax1b24g-glib-2.84.1/lib/libglib-2.0.so.0.8400.1) + n0: 544224 in 49 places, all below massif's threshold (1.00%) + n2: 396048 0x4E01F0F: g_array_maybe_expand (in /nix/store/bkpj51fz88rbyjd60i6lrp0xdax1b24g-glib-2.84.1/lib/libglib-2.0.so.0.8400.1) + n1: 395632 0x4E02829: g_array_append_vals (in /nix/store/bkpj51fz88rbyjd60i6lrp0xdax1b24g-glib-2.84.1/lib/libglib-2.0.so.0.8400.1) + n0: 395632 in 12 places, all below massif's threshold (1.00%) + n0: 416 in 4 places, all below massif's threshold (1.00%) + n1: 831120 0xBE82A64: ??? + n1: 831120 0xBE95B51: ??? + n1: 831120 0xBDE51D1: ??? + n1: 831120 0xBDE9116: ??? + n1: 831120 0xBCAA56B: ??? + n1: 831120 0xBC9BD58: ??? + n1: 831120 0x4B41273: SDL_EGL_CreateContext (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n1: 831120 0x4BE4CA8: Wayland_GLES_CreateContext (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n1: 831120 0x4B66BF1: SDL_GL_CreateContext_REAL (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n1: 831120 0x409B87: graphics_init (graphics.c:41) + n1: 831120 0x40C0D4: SDL_AppInit (main.c:22) + n1: 831120 0x4A3C265: SDL_InitMainCallbacks (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n1: 831120 0x4C5357E: SDL_EnterAppMainCallbacks_REAL (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n0: 831120 0x4F6547D: (below main) (in /nix/store/cg9s562sa33k78m63njfn1rw47dp9z0i-glibc-2.40-66/lib/libc.so.6) + n1: 548864 0x406707: Chunk_new (chunk.c:9) + n1: 548864 0x4042EE: chunkman_generate_Chunk_at (chunkman.c:247) + n1: 548864 0x4065A9: chunkman_tick (chunkman.c:136) + n1: 548864 0x40C16B: SDL_AppIterate (main.c:55) + n1: 548864 0x4A3C311: SDL_IterateMainCallbacks (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n1: 548864 0x4C535EB: SDL_EnterAppMainCallbacks_REAL (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n0: 548864 0x4F6547D: (below main) (in /nix/store/cg9s562sa33k78m63njfn1rw47dp9z0i-glibc-2.40-66/lib/libc.so.6) + n1: 346018 0x4E45E95: g_malloc0 (in /nix/store/bkpj51fz88rbyjd60i6lrp0xdax1b24g-glib-2.84.1/lib/libglib-2.0.so.0.8400.1) + n0: 346018 in 99 places, all below massif's threshold (1.00%) +#----------- +snapshot=13 +#----------- +time=12681332027 +mem_heap_B=25510207 +mem_heap_extra_B=1901505 +mem_stacks_B=0 +heap_tree=empty +#----------- +snapshot=14 +#----------- +time=14092808803 +mem_heap_B=25919543 +mem_heap_extra_B=1954729 +mem_stacks_B=0 +heap_tree=empty +#----------- +snapshot=15 +#----------- +time=15277291198 +mem_heap_B=26154863 +mem_heap_extra_B=1984537 +mem_stacks_B=0 +heap_tree=empty +#----------- +snapshot=16 +#----------- +time=16184427996 +mem_heap_B=26330175 +mem_heap_extra_B=2007929 +mem_stacks_B=0 +heap_tree=empty +#----------- +snapshot=17 +#----------- +time=17212365182 +mem_heap_B=26330303 +mem_heap_extra_B=2007945 +mem_stacks_B=0 +heap_tree=empty +#----------- +snapshot=18 +#----------- +time=18370016667 +mem_heap_B=26330239 +mem_heap_extra_B=2007889 +mem_stacks_B=0 +heap_tree=empty +#----------- +snapshot=19 +#----------- +time=19181366894 +mem_heap_B=26330239 +mem_heap_extra_B=2007889 +mem_stacks_B=0 +heap_tree=empty +#----------- +snapshot=20 +#----------- +time=20385344002 +mem_heap_B=26330367 +mem_heap_extra_B=2007937 +mem_stacks_B=0 +heap_tree=empty +#----------- +snapshot=21 +#----------- +time=21385780029 +mem_heap_B=26330431 +mem_heap_extra_B=2007913 +mem_stacks_B=0 +heap_tree=empty +#----------- +snapshot=22 +#----------- +time=22179726703 +mem_heap_B=26330511 +mem_heap_extra_B=2007921 +mem_stacks_B=0 +heap_tree=detailed +n9: 26330511 (heap allocation functions) malloc/new/new[], --alloc-fns, etc. + n2: 8142336 0xC2786B0: ??? + n4: 7823984 0xC278708: ??? + n0: 6159248 in 948 places, all below massif's threshold (1.00%) + n1: 961728 0xC14C2C9: ??? + n0: 961728 in 198 places, all below massif's threshold (1.00%) + n1: 376992 0xC1A7685: ??? + n0: 376992 in 131 places, all below massif's threshold (1.00%) + n1: 326016 0xC1A7560: ??? + n0: 326016 in 90 places, all below massif's threshold (1.00%) + n0: 318352 in 22 places, all below massif's threshold (1.00%) + n0: 6105628 in 1551 places, all below massif's threshold (1.00%) + n2: 4956997 0x4AA05B2: SDL_malloc_REAL (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n1: 4861056 0x495161E: stbi__create_png_image_raw (in /nix/store/yhpvkmanp4ybn63zqnbzhzwnlkwghr6h-sdl3-image-3.2.4-lib/lib/libSDL3_image.so.0.2.4) + n1: 4861056 0x49599AC: stbi__parse_png_file.constprop.0 (in /nix/store/yhpvkmanp4ybn63zqnbzhzwnlkwghr6h-sdl3-image-3.2.4-lib/lib/libSDL3_image.so.0.2.4) + n1: 4861056 0x495B878: stbi__load_main.constprop.0 (in /nix/store/yhpvkmanp4ybn63zqnbzhzwnlkwghr6h-sdl3-image-3.2.4-lib/lib/libSDL3_image.so.0.2.4) + n1: 4861056 0x4961D3F: IMG_LoadSTB_IO (in /nix/store/yhpvkmanp4ybn63zqnbzhzwnlkwghr6h-sdl3-image-3.2.4-lib/lib/libSDL3_image.so.0.2.4) + n1: 4861056 0x493F738: IMG_LoadTyped_IO (in /nix/store/yhpvkmanp4ybn63zqnbzhzwnlkwghr6h-sdl3-image-3.2.4-lib/lib/libSDL3_image.so.0.2.4) + n2: 4861056 0x403AB8: resources_load_texture (resources.c:48) + n1: 4194304 0x403E4B: resources_init (resources.c:176) + n1: 4194304 0x40C0DB: SDL_AppInit (main.c:23) + n1: 4194304 0x4A3C265: SDL_InitMainCallbacks (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n1: 4194304 0x4C5357E: SDL_EnterAppMainCallbacks_REAL (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n0: 4194304 0x4F6547D: (below main) (in /nix/store/cg9s562sa33k78m63njfn1rw47dp9z0i-glibc-2.40-66/lib/libc.so.6) + n0: 666752 in 8 places, all below massif's threshold (1.00%) + n0: 95941 in 21 places, all below massif's threshold (1.00%) + n3: 2462972 0x4E45E2D: g_malloc (in /nix/store/bkpj51fz88rbyjd60i6lrp0xdax1b24g-glib-2.84.1/lib/libglib-2.0.so.0.8400.1) + n2: 2060352 0x4E633DD: g_memdup2 (in /nix/store/bkpj51fz88rbyjd60i6lrp0xdax1b24g-glib-2.84.1/lib/libglib-2.0.so.0.8400.1) + n1: 2044768 0x409206: spawn_queue_process_one (entman.c:69) + n1: 2044768 0x409206: spawn_queue_process_one (entman.c:62) + n1: 2044768 0x4092D3: entman_tick (entman.c:96) + n1: 2044768 0x40C172: SDL_AppIterate (main.c:56) + n1: 2044768 0x4A3C311: SDL_IterateMainCallbacks (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n1: 2044768 0x4C535EB: SDL_EnterAppMainCallbacks_REAL (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n0: 2044768 0x4F6547D: (below main) (in /nix/store/cg9s562sa33k78m63njfn1rw47dp9z0i-glibc-2.40-66/lib/libc.so.6) + n0: 15584 in 10 places, all below massif's threshold (1.00%) + n1: 302048 0x4E61918: g_slice_alloc (in /nix/store/bkpj51fz88rbyjd60i6lrp0xdax1b24g-glib-2.84.1/lib/libglib-2.0.so.0.8400.1) + n0: 302048 in 112 places, all below massif's threshold (1.00%) + n0: 100572 in 119 places, all below massif's threshold (1.00%) + n1: 1768464 0xC781248: ??? + n1: 1768464 0xCB9BF5E: ??? + n2: 1768464 0xC780D20: ??? + n2: 1762704 0xC750FF0: ??? + n3: 1760112 0xC751447: ??? + n2: 1105848 0xC751D89: ??? + n1: 1081296 0xC6CAF70: ??? + n2: 1081296 0xC6CE0B2: ??? + n1: 589824 0xC756881: ??? + n1: 589824 0xC2801E8: ??? + n1: 589824 0xC2B60A6: ??? + n1: 589824 0x4FD2E62: start_thread (in /nix/store/cg9s562sa33k78m63njfn1rw47dp9z0i-glibc-2.40-66/lib/libc.so.6) + n0: 589824 0x5056B93: clone (in /nix/store/cg9s562sa33k78m63njfn1rw47dp9z0i-glibc-2.40-66/lib/libc.so.6) + n1: 491472 0xC6D3264: ??? + n1: 491472 0xC7058D5: ??? + n1: 491472 0xC709045: ??? + n1: 491472 0xCBB928B: ??? + n1: 491472 0xCBC0945: ??? + n1: 491472 0xC4A200B: ??? + n1: 491472 0xC4A419A: ??? + n1: 491472 0xC4A4F97: ??? + n1: 491472 0xBE960AB: ??? + n1: 491472 0xBDE634A: ??? + n1: 491472 0xBCB5250: ??? + n1: 491472 0xBCAA8A2: ??? + n1: 491472 0xBC9DE00: ??? + n1: 491472 0x4BE4E02: Wayland_GLES_SwapWindow (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n1: 491472 0x40A1CA: graphics_render (graphics.c:98) + n1: 491472 0x40C180: SDL_AppIterate (main.c:58) + n1: 491472 0x4A3C311: SDL_IterateMainCallbacks (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n1: 491472 0x4C535EB: SDL_EnterAppMainCallbacks_REAL (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n0: 491472 0x4F6547D: (below main) (in /nix/store/cg9s562sa33k78m63njfn1rw47dp9z0i-glibc-2.40-66/lib/libc.so.6) + n0: 24552 in 1 place, below massif's threshold (1.00%) + n1: 651096 0xBFB045C: ??? + n1: 651096 0xBFB1218: ??? + n2: 651096 0xBFB63DD: ??? + n1: 614376 0xBE38128: ??? + n1: 614376 0xBE36971: ??? + n2: 614376 0xBE37031: ??? + n1: 589824 0xBF5BC72: ??? + n1: 589824 0x406EBB: SimpleMesh_make_quad1 (mesh.c:55) + n1: 589824 0x4090B7: entman_init (entman.c:39) + n1: 589824 0x40C0FE: SDL_AppInit (main.c:28) + n1: 589824 0x4A3C265: SDL_InitMainCallbacks (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n1: 589824 0x4C5357E: SDL_EnterAppMainCallbacks_REAL (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n0: 589824 0x4F6547D: (below main) (in /nix/store/cg9s562sa33k78m63njfn1rw47dp9z0i-glibc-2.40-66/lib/libc.so.6) + n0: 24552 in 1 place, below massif's threshold (1.00%) + n0: 36720 in 1 place, below massif's threshold (1.00%) + n0: 3168 in 2 places, all below massif's threshold (1.00%) + n0: 2592 in 1 place, below massif's threshold (1.00%) + n0: 5760 in 1 place, below massif's threshold (1.00%) + n2: 942832 0x4E45F05: g_realloc (in /nix/store/bkpj51fz88rbyjd60i6lrp0xdax1b24g-glib-2.84.1/lib/libglib-2.0.so.0.8400.1) + n0: 546784 in 49 places, all below massif's threshold (1.00%) + n2: 396048 0x4E01F0F: g_array_maybe_expand (in /nix/store/bkpj51fz88rbyjd60i6lrp0xdax1b24g-glib-2.84.1/lib/libglib-2.0.so.0.8400.1) + n1: 395632 0x4E02829: g_array_append_vals (in /nix/store/bkpj51fz88rbyjd60i6lrp0xdax1b24g-glib-2.84.1/lib/libglib-2.0.so.0.8400.1) + n0: 395632 in 12 places, all below massif's threshold (1.00%) + n0: 416 in 4 places, all below massif's threshold (1.00%) + n1: 831120 0xBE82A64: ??? + n1: 831120 0xBE95B51: ??? + n1: 831120 0xBDE51D1: ??? + n1: 831120 0xBDE9116: ??? + n1: 831120 0xBCAA56B: ??? + n1: 831120 0xBC9BD58: ??? + n1: 831120 0x4B41273: SDL_EGL_CreateContext (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n1: 831120 0x4BE4CA8: Wayland_GLES_CreateContext (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n1: 831120 0x4B66BF1: SDL_GL_CreateContext_REAL (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n1: 831120 0x409B87: graphics_init (graphics.c:41) + n1: 831120 0x40C0D4: SDL_AppInit (main.c:22) + n1: 831120 0x4A3C265: SDL_InitMainCallbacks (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n1: 831120 0x4C5357E: SDL_EnterAppMainCallbacks_REAL (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n0: 831120 0x4F6547D: (below main) (in /nix/store/cg9s562sa33k78m63njfn1rw47dp9z0i-glibc-2.40-66/lib/libc.so.6) + n1: 774144 0x406707: Chunk_new (chunk.c:9) + n1: 774144 0x4042EE: chunkman_generate_Chunk_at (chunkman.c:247) + n1: 774144 0x4065A9: chunkman_tick (chunkman.c:136) + n1: 774144 0x40C16B: SDL_AppIterate (main.c:55) + n1: 774144 0x4A3C311: SDL_IterateMainCallbacks (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n1: 774144 0x4C535EB: SDL_EnterAppMainCallbacks_REAL (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n0: 774144 0x4F6547D: (below main) (in /nix/store/cg9s562sa33k78m63njfn1rw47dp9z0i-glibc-2.40-66/lib/libc.so.6) + n1: 346018 0x4E45E95: g_malloc0 (in /nix/store/bkpj51fz88rbyjd60i6lrp0xdax1b24g-glib-2.84.1/lib/libglib-2.0.so.0.8400.1) + n0: 346018 in 99 places, all below massif's threshold (1.00%) +#----------- +snapshot=23 +#----------- +time=23176274370 +mem_heap_B=26381248 +mem_heap_extra_B=2018952 +mem_stacks_B=0 +heap_tree=empty +#----------- +snapshot=24 +#----------- +time=24587718655 +mem_heap_B=26569983 +mem_heap_extra_B=2038713 +mem_stacks_B=0 +heap_tree=empty +#----------- +snapshot=25 +#----------- +time=25856249184 +mem_heap_B=26868143 +mem_heap_extra_B=2075617 +mem_stacks_B=0 +heap_tree=empty +#----------- +snapshot=26 +#----------- +time=26671602593 +mem_heap_B=26867823 +mem_heap_extra_B=2075609 +mem_stacks_B=0 +heap_tree=empty +#----------- +snapshot=27 +#----------- +time=27274036593 +mem_heap_B=26867951 +mem_heap_extra_B=2075593 +mem_stacks_B=0 +heap_tree=detailed +n9: 26867951 (heap allocation functions) malloc/new/new[], --alloc-fns, etc. + n2: 8142336 0xC2786B0: ??? + n4: 7823984 0xC278708: ??? + n0: 6159248 in 948 places, all below massif's threshold (1.00%) + n1: 961728 0xC14C2C9: ??? + n0: 961728 in 198 places, all below massif's threshold (1.00%) + n1: 376992 0xC1A7685: ??? + n0: 376992 in 131 places, all below massif's threshold (1.00%) + n1: 326016 0xC1A7560: ??? + n0: 326016 in 90 places, all below massif's threshold (1.00%) + n0: 318352 in 22 places, all below massif's threshold (1.00%) + n0: 6183260 in 1551 places, all below massif's threshold (1.00%) + n2: 4956997 0x4AA05B2: SDL_malloc_REAL (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n1: 4861056 0x495161E: stbi__create_png_image_raw (in /nix/store/yhpvkmanp4ybn63zqnbzhzwnlkwghr6h-sdl3-image-3.2.4-lib/lib/libSDL3_image.so.0.2.4) + n1: 4861056 0x49599AC: stbi__parse_png_file.constprop.0 (in /nix/store/yhpvkmanp4ybn63zqnbzhzwnlkwghr6h-sdl3-image-3.2.4-lib/lib/libSDL3_image.so.0.2.4) + n1: 4861056 0x495B878: stbi__load_main.constprop.0 (in /nix/store/yhpvkmanp4ybn63zqnbzhzwnlkwghr6h-sdl3-image-3.2.4-lib/lib/libSDL3_image.so.0.2.4) + n1: 4861056 0x4961D3F: IMG_LoadSTB_IO (in /nix/store/yhpvkmanp4ybn63zqnbzhzwnlkwghr6h-sdl3-image-3.2.4-lib/lib/libSDL3_image.so.0.2.4) + n1: 4861056 0x493F738: IMG_LoadTyped_IO (in /nix/store/yhpvkmanp4ybn63zqnbzhzwnlkwghr6h-sdl3-image-3.2.4-lib/lib/libSDL3_image.so.0.2.4) + n2: 4861056 0x403AB8: resources_load_texture (resources.c:48) + n1: 4194304 0x403E4B: resources_init (resources.c:176) + n1: 4194304 0x40C0DB: SDL_AppInit (main.c:23) + n1: 4194304 0x4A3C265: SDL_InitMainCallbacks (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n1: 4194304 0x4C5357E: SDL_EnterAppMainCallbacks_REAL (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n0: 4194304 0x4F6547D: (below main) (in /nix/store/cg9s562sa33k78m63njfn1rw47dp9z0i-glibc-2.40-66/lib/libc.so.6) + n0: 666752 in 8 places, all below massif's threshold (1.00%) + n0: 95941 in 21 places, all below massif's threshold (1.00%) + n3: 2781540 0x4E45E2D: g_malloc (in /nix/store/bkpj51fz88rbyjd60i6lrp0xdax1b24g-glib-2.84.1/lib/libglib-2.0.so.0.8400.1) + n2: 2378920 0x4E633DD: g_memdup2 (in /nix/store/bkpj51fz88rbyjd60i6lrp0xdax1b24g-glib-2.84.1/lib/libglib-2.0.so.0.8400.1) + n1: 2362888 0x409206: spawn_queue_process_one (entman.c:69) + n1: 2362888 0x409206: spawn_queue_process_one (entman.c:62) + n1: 2362888 0x4092D3: entman_tick (entman.c:96) + n1: 2362888 0x40C172: SDL_AppIterate (main.c:56) + n1: 2362888 0x4A3C311: SDL_IterateMainCallbacks (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n1: 2362888 0x4C535EB: SDL_EnterAppMainCallbacks_REAL (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n0: 2362888 0x4F6547D: (below main) (in /nix/store/cg9s562sa33k78m63njfn1rw47dp9z0i-glibc-2.40-66/lib/libc.so.6) + n0: 16032 in 10 places, all below massif's threshold (1.00%) + n1: 302048 0x4E61918: g_slice_alloc (in /nix/store/bkpj51fz88rbyjd60i6lrp0xdax1b24g-glib-2.84.1/lib/libglib-2.0.so.0.8400.1) + n0: 302048 in 112 places, all below massif's threshold (1.00%) + n0: 100572 in 119 places, all below massif's threshold (1.00%) + n1: 1786824 0xC781248: ??? + n1: 1786824 0xCB9BF5E: ??? + n2: 1786824 0xC780D20: ??? + n2: 1781064 0xC750FF0: ??? + n3: 1778472 0xC751447: ??? + n2: 1105848 0xC751D89: ??? + n1: 1081296 0xC6CAF70: ??? + n2: 1081296 0xC6CE0B2: ??? + n1: 589824 0xC756881: ??? + n1: 589824 0xC2801E8: ??? + n1: 589824 0xC2B60A6: ??? + n1: 589824 0x4FD2E62: start_thread (in /nix/store/cg9s562sa33k78m63njfn1rw47dp9z0i-glibc-2.40-66/lib/libc.so.6) + n0: 589824 0x5056B93: clone (in /nix/store/cg9s562sa33k78m63njfn1rw47dp9z0i-glibc-2.40-66/lib/libc.so.6) + n1: 491472 0xC6D3264: ??? + n1: 491472 0xC7058D5: ??? + n1: 491472 0xC709045: ??? + n1: 491472 0xCBB928B: ??? + n1: 491472 0xCBC0945: ??? + n1: 491472 0xC4A200B: ??? + n1: 491472 0xC4A419A: ??? + n1: 491472 0xC4A4F97: ??? + n1: 491472 0xBE960AB: ??? + n1: 491472 0xBDE634A: ??? + n1: 491472 0xBCB5250: ??? + n1: 491472 0xBCAA8A2: ??? + n1: 491472 0xBC9DE00: ??? + n1: 491472 0x4BE4E02: Wayland_GLES_SwapWindow (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n1: 491472 0x40A1CA: graphics_render (graphics.c:98) + n1: 491472 0x40C180: SDL_AppIterate (main.c:58) + n1: 491472 0x4A3C311: SDL_IterateMainCallbacks (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n1: 491472 0x4C535EB: SDL_EnterAppMainCallbacks_REAL (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n0: 491472 0x4F6547D: (below main) (in /nix/store/cg9s562sa33k78m63njfn1rw47dp9z0i-glibc-2.40-66/lib/libc.so.6) + n0: 24552 in 1 place, below massif's threshold (1.00%) + n1: 669456 0xBFB045C: ??? + n1: 669456 0xBFB1218: ??? + n2: 669456 0xBFB63DD: ??? + n1: 614376 0xBE38128: ??? + n1: 614376 0xBE36971: ??? + n2: 614376 0xBE37031: ??? + n1: 589824 0xBF5BC72: ??? + n1: 589824 0x406EBB: SimpleMesh_make_quad1 (mesh.c:55) + n1: 589824 0x4090B7: entman_init (entman.c:39) + n1: 589824 0x40C0FE: SDL_AppInit (main.c:28) + n1: 589824 0x4A3C265: SDL_InitMainCallbacks (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n1: 589824 0x4C5357E: SDL_EnterAppMainCallbacks_REAL (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n0: 589824 0x4F6547D: (below main) (in /nix/store/cg9s562sa33k78m63njfn1rw47dp9z0i-glibc-2.40-66/lib/libc.so.6) + n0: 24552 in 1 place, below massif's threshold (1.00%) + n0: 55080 in 1 place, below massif's threshold (1.00%) + n0: 3168 in 2 places, all below massif's threshold (1.00%) + n0: 2592 in 1 place, below massif's threshold (1.00%) + n0: 5760 in 1 place, below massif's threshold (1.00%) + n2: 942832 0x4E45F05: g_realloc (in /nix/store/bkpj51fz88rbyjd60i6lrp0xdax1b24g-glib-2.84.1/lib/libglib-2.0.so.0.8400.1) + n0: 546784 in 49 places, all below massif's threshold (1.00%) + n2: 396048 0x4E01F0F: g_array_maybe_expand (in /nix/store/bkpj51fz88rbyjd60i6lrp0xdax1b24g-glib-2.84.1/lib/libglib-2.0.so.0.8400.1) + n1: 395632 0x4E02829: g_array_append_vals (in /nix/store/bkpj51fz88rbyjd60i6lrp0xdax1b24g-glib-2.84.1/lib/libglib-2.0.so.0.8400.1) + n0: 395632 in 12 places, all below massif's threshold (1.00%) + n0: 416 in 4 places, all below massif's threshold (1.00%) + n1: 897024 0x406707: Chunk_new (chunk.c:9) + n1: 897024 0x4042EE: chunkman_generate_Chunk_at (chunkman.c:247) + n1: 897024 0x4065A9: chunkman_tick (chunkman.c:136) + n1: 897024 0x40C16B: SDL_AppIterate (main.c:55) + n1: 897024 0x4A3C311: SDL_IterateMainCallbacks (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n1: 897024 0x4C535EB: SDL_EnterAppMainCallbacks_REAL (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n0: 897024 0x4F6547D: (below main) (in /nix/store/cg9s562sa33k78m63njfn1rw47dp9z0i-glibc-2.40-66/lib/libc.so.6) + n1: 831120 0xBE82A64: ??? + n1: 831120 0xBE95B51: ??? + n1: 831120 0xBDE51D1: ??? + n1: 831120 0xBDE9116: ??? + n1: 831120 0xBCAA56B: ??? + n1: 831120 0xBC9BD58: ??? + n1: 831120 0x4B41273: SDL_EGL_CreateContext (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n1: 831120 0x4BE4CA8: Wayland_GLES_CreateContext (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n1: 831120 0x4B66BF1: SDL_GL_CreateContext_REAL (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n1: 831120 0x409B87: graphics_init (graphics.c:41) + n1: 831120 0x40C0D4: SDL_AppInit (main.c:22) + n1: 831120 0x4A3C265: SDL_InitMainCallbacks (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n1: 831120 0x4C5357E: SDL_EnterAppMainCallbacks_REAL (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n0: 831120 0x4F6547D: (below main) (in /nix/store/cg9s562sa33k78m63njfn1rw47dp9z0i-glibc-2.40-66/lib/libc.so.6) + n1: 346018 0x4E45E95: g_malloc0 (in /nix/store/bkpj51fz88rbyjd60i6lrp0xdax1b24g-glib-2.84.1/lib/libglib-2.0.so.0.8400.1) + n0: 346018 in 99 places, all below massif's threshold (1.00%) +#----------- +snapshot=28 +#----------- +time=28295582613 +mem_heap_B=27108135 +mem_heap_extra_B=2107153 +mem_stacks_B=0 +heap_tree=empty +#----------- +snapshot=29 +#----------- +time=29078535792 +mem_heap_B=27108199 +mem_heap_extra_B=2107177 +mem_stacks_B=0 +heap_tree=empty +#----------- +snapshot=30 +#----------- +time=29858397503 +mem_heap_B=27108135 +mem_heap_extra_B=2107185 +mem_stacks_B=0 +heap_tree=empty +#----------- +snapshot=31 +#----------- +time=30639269738 +mem_heap_B=27107943 +mem_heap_extra_B=2107113 +mem_stacks_B=0 +heap_tree=empty +#----------- +snapshot=32 +#----------- +time=31414264064 +mem_heap_B=27108263 +mem_heap_extra_B=2107185 +mem_stacks_B=0 +heap_tree=empty +#----------- +snapshot=33 +#----------- +time=32194740074 +mem_heap_B=27108071 +mem_heap_extra_B=2107113 +mem_stacks_B=0 +heap_tree=empty +#----------- +snapshot=34 +#----------- +time=33366392329 +mem_heap_B=27107943 +mem_heap_extra_B=2107129 +mem_stacks_B=0 +heap_tree=empty +#----------- +snapshot=35 +#----------- +time=34740173890 +mem_heap_B=27368855 +mem_heap_extra_B=2111025 +mem_stacks_B=0 +heap_tree=detailed +n9: 27368855 (heap allocation functions) malloc/new/new[], --alloc-fns, etc. + n2: 8142336 0xC2786B0: ??? + n4: 7823984 0xC278708: ??? + n0: 6159248 in 948 places, all below massif's threshold (1.00%) + n1: 961728 0xC14C2C9: ??? + n0: 961728 in 198 places, all below massif's threshold (1.00%) + n1: 376992 0xC1A7685: ??? + n0: 376992 in 131 places, all below massif's threshold (1.00%) + n1: 326016 0xC1A7560: ??? + n0: 326016 in 90 places, all below massif's threshold (1.00%) + n0: 318352 in 22 places, all below massif's threshold (1.00%) + n0: 6221084 in 1551 places, all below massif's threshold (1.00%) + n2: 4956997 0x4AA05B2: SDL_malloc_REAL (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n1: 4861056 0x495161E: stbi__create_png_image_raw (in /nix/store/yhpvkmanp4ybn63zqnbzhzwnlkwghr6h-sdl3-image-3.2.4-lib/lib/libSDL3_image.so.0.2.4) + n1: 4861056 0x49599AC: stbi__parse_png_file.constprop.0 (in /nix/store/yhpvkmanp4ybn63zqnbzhzwnlkwghr6h-sdl3-image-3.2.4-lib/lib/libSDL3_image.so.0.2.4) + n1: 4861056 0x495B878: stbi__load_main.constprop.0 (in /nix/store/yhpvkmanp4ybn63zqnbzhzwnlkwghr6h-sdl3-image-3.2.4-lib/lib/libSDL3_image.so.0.2.4) + n1: 4861056 0x4961D3F: IMG_LoadSTB_IO (in /nix/store/yhpvkmanp4ybn63zqnbzhzwnlkwghr6h-sdl3-image-3.2.4-lib/lib/libSDL3_image.so.0.2.4) + n1: 4861056 0x493F738: IMG_LoadTyped_IO (in /nix/store/yhpvkmanp4ybn63zqnbzhzwnlkwghr6h-sdl3-image-3.2.4-lib/lib/libSDL3_image.so.0.2.4) + n2: 4861056 0x403AB8: resources_load_texture (resources.c:48) + n1: 4194304 0x403E4B: resources_init (resources.c:176) + n1: 4194304 0x40C0DB: SDL_AppInit (main.c:23) + n1: 4194304 0x4A3C265: SDL_InitMainCallbacks (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n1: 4194304 0x4C5357E: SDL_EnterAppMainCallbacks_REAL (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n0: 4194304 0x4F6547D: (below main) (in /nix/store/cg9s562sa33k78m63njfn1rw47dp9z0i-glibc-2.40-66/lib/libc.so.6) + n0: 666752 in 8 places, all below massif's threshold (1.00%) + n0: 95941 in 21 places, all below massif's threshold (1.00%) + n3: 3179084 0x4E45E2D: g_malloc (in /nix/store/bkpj51fz88rbyjd60i6lrp0xdax1b24g-glib-2.84.1/lib/libglib-2.0.so.0.8400.1) + n2: 2546432 0x4E633DD: g_memdup2 (in /nix/store/bkpj51fz88rbyjd60i6lrp0xdax1b24g-glib-2.84.1/lib/libglib-2.0.so.0.8400.1) + n1: 2530176 0x409206: spawn_queue_process_one (entman.c:69) + n1: 2530176 0x409206: spawn_queue_process_one (entman.c:62) + n1: 2530176 0x4092D3: entman_tick (entman.c:96) + n1: 2530176 0x40C172: SDL_AppIterate (main.c:56) + n1: 2530176 0x4A3C311: SDL_IterateMainCallbacks (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n1: 2530176 0x4C535EB: SDL_EnterAppMainCallbacks_REAL (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n0: 2530176 0x4F6547D: (below main) (in /nix/store/cg9s562sa33k78m63njfn1rw47dp9z0i-glibc-2.40-66/lib/libc.so.6) + n0: 16256 in 10 places, all below massif's threshold (1.00%) + n0: 330604 in 119 places, all below massif's threshold (1.00%) + n1: 302048 0x4E61918: g_slice_alloc (in /nix/store/bkpj51fz88rbyjd60i6lrp0xdax1b24g-glib-2.84.1/lib/libglib-2.0.so.0.8400.1) + n0: 302048 in 112 places, all below massif's threshold (1.00%) + n1: 1786824 0xC781248: ??? + n1: 1786824 0xCB9BF5E: ??? + n2: 1786824 0xC780D20: ??? + n2: 1781064 0xC750FF0: ??? + n3: 1778472 0xC751447: ??? + n2: 1105848 0xC751D89: ??? + n1: 1081296 0xC6CAF70: ??? + n2: 1081296 0xC6CE0B2: ??? + n1: 589824 0xC756881: ??? + n1: 589824 0xC2801E8: ??? + n1: 589824 0xC2B60A6: ??? + n1: 589824 0x4FD2E62: start_thread (in /nix/store/cg9s562sa33k78m63njfn1rw47dp9z0i-glibc-2.40-66/lib/libc.so.6) + n0: 589824 0x5056B93: clone (in /nix/store/cg9s562sa33k78m63njfn1rw47dp9z0i-glibc-2.40-66/lib/libc.so.6) + n1: 491472 0xC6D3264: ??? + n1: 491472 0xC7058D5: ??? + n1: 491472 0xC709045: ??? + n1: 491472 0xCBB928B: ??? + n1: 491472 0xCBC0945: ??? + n1: 491472 0xC4A200B: ??? + n1: 491472 0xC4A419A: ??? + n1: 491472 0xC4A4F97: ??? + n1: 491472 0xBE960AB: ??? + n1: 491472 0xBDE634A: ??? + n1: 491472 0xBCB5250: ??? + n1: 491472 0xBCAA8A2: ??? + n1: 491472 0xBC9DE00: ??? + n1: 491472 0x4BE4E02: Wayland_GLES_SwapWindow (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n1: 491472 0x40A1CA: graphics_render (graphics.c:98) + n1: 491472 0x40C180: SDL_AppIterate (main.c:58) + n1: 491472 0x4A3C311: SDL_IterateMainCallbacks (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n1: 491472 0x4C535EB: SDL_EnterAppMainCallbacks_REAL (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n0: 491472 0x4F6547D: (below main) (in /nix/store/cg9s562sa33k78m63njfn1rw47dp9z0i-glibc-2.40-66/lib/libc.so.6) + n0: 24552 in 1 place, below massif's threshold (1.00%) + n1: 669456 0xBFB045C: ??? + n1: 669456 0xBFB1218: ??? + n2: 669456 0xBFB63DD: ??? + n1: 614376 0xBE38128: ??? + n1: 614376 0xBE36971: ??? + n2: 614376 0xBE37031: ??? + n1: 589824 0xBF5BC72: ??? + n1: 589824 0x406EBB: SimpleMesh_make_quad1 (mesh.c:55) + n1: 589824 0x4090B7: entman_init (entman.c:39) + n1: 589824 0x40C0FE: SDL_AppInit (main.c:28) + n1: 589824 0x4A3C265: SDL_InitMainCallbacks (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n1: 589824 0x4C5357E: SDL_EnterAppMainCallbacks_REAL (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n0: 589824 0x4F6547D: (below main) (in /nix/store/cg9s562sa33k78m63njfn1rw47dp9z0i-glibc-2.40-66/lib/libc.so.6) + n0: 24552 in 1 place, below massif's threshold (1.00%) + n0: 55080 in 1 place, below massif's threshold (1.00%) + n0: 3168 in 2 places, all below massif's threshold (1.00%) + n0: 2592 in 1 place, below massif's threshold (1.00%) + n0: 5760 in 1 place, below massif's threshold (1.00%) + n1: 962560 0x406707: Chunk_new (chunk.c:9) + n1: 962560 0x4042EE: chunkman_generate_Chunk_at (chunkman.c:247) + n1: 962560 0x4065A9: chunkman_tick (chunkman.c:136) + n1: 962560 0x40C16B: SDL_AppIterate (main.c:55) + n1: 962560 0x4A3C311: SDL_IterateMainCallbacks (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n1: 962560 0x4C535EB: SDL_EnterAppMainCallbacks_REAL (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n0: 962560 0x4F6547D: (below main) (in /nix/store/cg9s562sa33k78m63njfn1rw47dp9z0i-glibc-2.40-66/lib/libc.so.6) + n2: 942832 0x4E45F05: g_realloc (in /nix/store/bkpj51fz88rbyjd60i6lrp0xdax1b24g-glib-2.84.1/lib/libglib-2.0.so.0.8400.1) + n0: 546784 in 49 places, all below massif's threshold (1.00%) + n2: 396048 0x4E01F0F: g_array_maybe_expand (in /nix/store/bkpj51fz88rbyjd60i6lrp0xdax1b24g-glib-2.84.1/lib/libglib-2.0.so.0.8400.1) + n1: 395632 0x4E02829: g_array_append_vals (in /nix/store/bkpj51fz88rbyjd60i6lrp0xdax1b24g-glib-2.84.1/lib/libglib-2.0.so.0.8400.1) + n0: 395632 in 12 places, all below massif's threshold (1.00%) + n0: 416 in 4 places, all below massif's threshold (1.00%) + n1: 831120 0xBE82A64: ??? + n1: 831120 0xBE95B51: ??? + n1: 831120 0xBDE51D1: ??? + n1: 831120 0xBDE9116: ??? + n1: 831120 0xBCAA56B: ??? + n1: 831120 0xBC9BD58: ??? + n1: 831120 0x4B41273: SDL_EGL_CreateContext (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n1: 831120 0x4BE4CA8: Wayland_GLES_CreateContext (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n1: 831120 0x4B66BF1: SDL_GL_CreateContext_REAL (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n1: 831120 0x409B87: graphics_init (graphics.c:41) + n1: 831120 0x40C0D4: SDL_AppInit (main.c:22) + n1: 831120 0x4A3C265: SDL_InitMainCallbacks (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n1: 831120 0x4C5357E: SDL_EnterAppMainCallbacks_REAL (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n0: 831120 0x4F6547D: (below main) (in /nix/store/cg9s562sa33k78m63njfn1rw47dp9z0i-glibc-2.40-66/lib/libc.so.6) + n1: 346018 0x4E45E95: g_malloc0 (in /nix/store/bkpj51fz88rbyjd60i6lrp0xdax1b24g-glib-2.84.1/lib/libglib-2.0.so.0.8400.1) + n0: 346018 in 99 places, all below massif's threshold (1.00%) +#----------- +snapshot=36 +#----------- +time=35902108959 +mem_heap_B=27196039 +mem_heap_extra_B=2118409 +mem_stacks_B=0 +heap_tree=empty +#----------- +snapshot=37 +#----------- +time=36677725371 +mem_heap_B=27196039 +mem_heap_extra_B=2118441 +mem_stacks_B=0 +heap_tree=empty +#----------- +snapshot=38 +#----------- +time=37449279536 +mem_heap_B=27196551 +mem_heap_extra_B=2118505 +mem_stacks_B=0 +heap_tree=empty +#----------- +snapshot=39 +#----------- +time=38227257633 +mem_heap_B=27198919 +mem_heap_extra_B=2118553 +mem_stacks_B=0 +heap_tree=empty +#----------- +snapshot=40 +#----------- +time=39391978459 +mem_heap_B=27271439 +mem_heap_extra_B=2127177 +mem_stacks_B=0 +heap_tree=empty +#----------- +snapshot=41 +#----------- +time=40551738506 +mem_heap_B=27271572 +mem_heap_extra_B=2127116 +mem_stacks_B=0 +heap_tree=empty +#----------- +snapshot=42 +#----------- +time=41725198591 +mem_heap_B=27268943 +mem_heap_extra_B=2127081 +mem_stacks_B=0 +heap_tree=empty +#----------- +snapshot=43 +#----------- +time=42893944611 +mem_heap_B=27269135 +mem_heap_extra_B=2127073 +mem_stacks_B=0 +heap_tree=empty +#----------- +snapshot=44 +#----------- +time=43677550776 +mem_heap_B=27270287 +mem_heap_extra_B=2127057 +mem_stacks_B=0 +heap_tree=empty +#----------- +snapshot=45 +#----------- +time=44453534074 +mem_heap_B=27271759 +mem_heap_extra_B=2127105 +mem_stacks_B=0 +heap_tree=empty +#----------- +snapshot=46 +#----------- +time=45226333779 +mem_heap_B=27269327 +mem_heap_extra_B=2127065 +mem_stacks_B=0 +heap_tree=empty +#----------- +snapshot=47 +#----------- +time=46002021214 +mem_heap_B=27270543 +mem_heap_extra_B=2127041 +mem_stacks_B=0 +heap_tree=empty +#----------- +snapshot=48 +#----------- +time=46774753585 +mem_heap_B=27322903 +mem_heap_extra_B=2133721 +mem_stacks_B=0 +heap_tree=empty +#----------- +snapshot=49 +#----------- +time=47560129783 +mem_heap_B=27323031 +mem_heap_extra_B=2133769 +mem_stacks_B=0 +heap_tree=empty +#----------- +snapshot=50 +#----------- +time=48166775088 +mem_heap_B=27322839 +mem_heap_extra_B=2133713 +mem_stacks_B=0 +heap_tree=empty +#----------- +snapshot=51 +#----------- +time=48773180455 +mem_heap_B=27322583 +mem_heap_extra_B=2133649 +mem_stacks_B=0 +heap_tree=empty +#----------- +snapshot=52 +#----------- +time=49380499941 +mem_heap_B=27324183 +mem_heap_extra_B=2133745 +mem_stacks_B=0 +heap_tree=empty +#----------- +snapshot=53 +#----------- +time=49989548150 +mem_heap_B=27323031 +mem_heap_extra_B=2133721 +mem_stacks_B=0 +heap_tree=empty +#----------- +snapshot=54 +#----------- +time=50598296549 +mem_heap_B=27323031 +mem_heap_extra_B=2133753 +mem_stacks_B=0 +heap_tree=empty +#----------- +snapshot=55 +#----------- +time=51207067023 +mem_heap_B=27323159 +mem_heap_extra_B=2133817 +mem_stacks_B=0 +heap_tree=empty +#----------- +snapshot=56 +#----------- +time=51816160354 +mem_heap_B=27323383 +mem_heap_extra_B=2133793 +mem_stacks_B=0 +heap_tree=detailed +n9: 27323383 (heap allocation functions) malloc/new/new[], --alloc-fns, etc. + n2: 8142336 0xC2786B0: ??? + n4: 7823984 0xC278708: ??? + n0: 6159248 in 948 places, all below massif's threshold (1.00%) + n1: 961728 0xC14C2C9: ??? + n0: 961728 in 198 places, all below massif's threshold (1.00%) + n1: 376992 0xC1A7685: ??? + n0: 376992 in 131 places, all below massif's threshold (1.00%) + n1: 326016 0xC1A7560: ??? + n0: 326016 in 90 places, all below massif's threshold (1.00%) + n0: 318352 in 22 places, all below massif's threshold (1.00%) + n0: 6248524 in 1551 places, all below massif's threshold (1.00%) + n2: 4956997 0x4AA05B2: SDL_malloc_REAL (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n1: 4861056 0x495161E: stbi__create_png_image_raw (in /nix/store/yhpvkmanp4ybn63zqnbzhzwnlkwghr6h-sdl3-image-3.2.4-lib/lib/libSDL3_image.so.0.2.4) + n1: 4861056 0x49599AC: stbi__parse_png_file.constprop.0 (in /nix/store/yhpvkmanp4ybn63zqnbzhzwnlkwghr6h-sdl3-image-3.2.4-lib/lib/libSDL3_image.so.0.2.4) + n1: 4861056 0x495B878: stbi__load_main.constprop.0 (in /nix/store/yhpvkmanp4ybn63zqnbzhzwnlkwghr6h-sdl3-image-3.2.4-lib/lib/libSDL3_image.so.0.2.4) + n1: 4861056 0x4961D3F: IMG_LoadSTB_IO (in /nix/store/yhpvkmanp4ybn63zqnbzhzwnlkwghr6h-sdl3-image-3.2.4-lib/lib/libSDL3_image.so.0.2.4) + n1: 4861056 0x493F738: IMG_LoadTyped_IO (in /nix/store/yhpvkmanp4ybn63zqnbzhzwnlkwghr6h-sdl3-image-3.2.4-lib/lib/libSDL3_image.so.0.2.4) + n2: 4861056 0x403AB8: resources_load_texture (resources.c:48) + n1: 4194304 0x403E4B: resources_init (resources.c:176) + n1: 4194304 0x40C0DB: SDL_AppInit (main.c:23) + n1: 4194304 0x4A3C265: SDL_InitMainCallbacks (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n1: 4194304 0x4C5357E: SDL_EnterAppMainCallbacks_REAL (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n0: 4194304 0x4F6547D: (below main) (in /nix/store/cg9s562sa33k78m63njfn1rw47dp9z0i-glibc-2.40-66/lib/libc.so.6) + n0: 666752 in 8 places, all below massif's threshold (1.00%) + n0: 95941 in 21 places, all below massif's threshold (1.00%) + n3: 3058940 0x4E45E2D: g_malloc (in /nix/store/bkpj51fz88rbyjd60i6lrp0xdax1b24g-glib-2.84.1/lib/libglib-2.0.so.0.8400.1) + n2: 2656320 0x4E633DD: g_memdup2 (in /nix/store/bkpj51fz88rbyjd60i6lrp0xdax1b24g-glib-2.84.1/lib/libglib-2.0.so.0.8400.1) + n1: 2639912 0x409206: spawn_queue_process_one (entman.c:69) + n1: 2639912 0x409206: spawn_queue_process_one (entman.c:62) + n1: 2639912 0x4092D3: entman_tick (entman.c:96) + n1: 2639912 0x40C172: SDL_AppIterate (main.c:56) + n1: 2639912 0x4A3C311: SDL_IterateMainCallbacks (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n1: 2639912 0x4C535EB: SDL_EnterAppMainCallbacks_REAL (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n0: 2639912 0x4F6547D: (below main) (in /nix/store/cg9s562sa33k78m63njfn1rw47dp9z0i-glibc-2.40-66/lib/libc.so.6) + n0: 16408 in 10 places, all below massif's threshold (1.00%) + n1: 302048 0x4E61918: g_slice_alloc (in /nix/store/bkpj51fz88rbyjd60i6lrp0xdax1b24g-glib-2.84.1/lib/libglib-2.0.so.0.8400.1) + n0: 302048 in 112 places, all below massif's threshold (1.00%) + n0: 100572 in 119 places, all below massif's threshold (1.00%) + n1: 1787976 0xC781248: ??? + n1: 1787976 0xCB9BF5E: ??? + n2: 1787976 0xC780D20: ??? + n2: 1781064 0xC750FF0: ??? + n3: 1778472 0xC751447: ??? + n2: 1105848 0xC751D89: ??? + n1: 1081296 0xC6CAF70: ??? + n2: 1081296 0xC6CE0B2: ??? + n1: 589824 0xC756881: ??? + n1: 589824 0xC2801E8: ??? + n1: 589824 0xC2B60A6: ??? + n1: 589824 0x4FD2E62: start_thread (in /nix/store/cg9s562sa33k78m63njfn1rw47dp9z0i-glibc-2.40-66/lib/libc.so.6) + n0: 589824 0x5056B93: clone (in /nix/store/cg9s562sa33k78m63njfn1rw47dp9z0i-glibc-2.40-66/lib/libc.so.6) + n1: 491472 0xC6D3264: ??? + n1: 491472 0xC7058D5: ??? + n1: 491472 0xC709045: ??? + n1: 491472 0xCBB928B: ??? + n1: 491472 0xCBC0945: ??? + n1: 491472 0xC4A200B: ??? + n1: 491472 0xC4A419A: ??? + n1: 491472 0xC4A4F97: ??? + n1: 491472 0xBE960AB: ??? + n1: 491472 0xBDE634A: ??? + n1: 491472 0xBCB5250: ??? + n1: 491472 0xBCAA8A2: ??? + n1: 491472 0xBC9DE00: ??? + n1: 491472 0x4BE4E02: Wayland_GLES_SwapWindow (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n1: 491472 0x40A1CA: graphics_render (graphics.c:98) + n1: 491472 0x40C180: SDL_AppIterate (main.c:58) + n1: 491472 0x4A3C311: SDL_IterateMainCallbacks (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n1: 491472 0x4C535EB: SDL_EnterAppMainCallbacks_REAL (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n0: 491472 0x4F6547D: (below main) (in /nix/store/cg9s562sa33k78m63njfn1rw47dp9z0i-glibc-2.40-66/lib/libc.so.6) + n0: 24552 in 1 place, below massif's threshold (1.00%) + n1: 669456 0xBFB045C: ??? + n1: 669456 0xBFB1218: ??? + n2: 669456 0xBFB63DD: ??? + n1: 614376 0xBE38128: ??? + n1: 614376 0xBE36971: ??? + n2: 614376 0xBE37031: ??? + n1: 589824 0xBF5BC72: ??? + n1: 589824 0x406EBB: SimpleMesh_make_quad1 (mesh.c:55) + n1: 589824 0x4090B7: entman_init (entman.c:39) + n1: 589824 0x40C0FE: SDL_AppInit (main.c:28) + n1: 589824 0x4A3C265: SDL_InitMainCallbacks (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n1: 589824 0x4C5357E: SDL_EnterAppMainCallbacks_REAL (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n0: 589824 0x4F6547D: (below main) (in /nix/store/cg9s562sa33k78m63njfn1rw47dp9z0i-glibc-2.40-66/lib/libc.so.6) + n0: 24552 in 1 place, below massif's threshold (1.00%) + n0: 55080 in 1 place, below massif's threshold (1.00%) + n0: 3168 in 2 places, all below massif's threshold (1.00%) + n0: 2592 in 1 place, below massif's threshold (1.00%) + n0: 6912 in 1 place, below massif's threshold (1.00%) + n1: 1003520 0x406707: Chunk_new (chunk.c:9) + n1: 1003520 0x4042EE: chunkman_generate_Chunk_at (chunkman.c:247) + n1: 1003520 0x4065A9: chunkman_tick (chunkman.c:136) + n1: 1003520 0x40C16B: SDL_AppIterate (main.c:55) + n1: 1003520 0x4A3C311: SDL_IterateMainCallbacks (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n1: 1003520 0x4C535EB: SDL_EnterAppMainCallbacks_REAL (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n0: 1003520 0x4F6547D: (below main) (in /nix/store/cg9s562sa33k78m63njfn1rw47dp9z0i-glibc-2.40-66/lib/libc.so.6) + n2: 947952 0x4E45F05: g_realloc (in /nix/store/bkpj51fz88rbyjd60i6lrp0xdax1b24g-glib-2.84.1/lib/libglib-2.0.so.0.8400.1) + n0: 551904 in 49 places, all below massif's threshold (1.00%) + n2: 396048 0x4E01F0F: g_array_maybe_expand (in /nix/store/bkpj51fz88rbyjd60i6lrp0xdax1b24g-glib-2.84.1/lib/libglib-2.0.so.0.8400.1) + n1: 395632 0x4E02829: g_array_append_vals (in /nix/store/bkpj51fz88rbyjd60i6lrp0xdax1b24g-glib-2.84.1/lib/libglib-2.0.so.0.8400.1) + n0: 395632 in 12 places, all below massif's threshold (1.00%) + n0: 416 in 4 places, all below massif's threshold (1.00%) + n1: 831120 0xBE82A64: ??? + n1: 831120 0xBE95B51: ??? + n1: 831120 0xBDE51D1: ??? + n1: 831120 0xBDE9116: ??? + n1: 831120 0xBCAA56B: ??? + n1: 831120 0xBC9BD58: ??? + n1: 831120 0x4B41273: SDL_EGL_CreateContext (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n1: 831120 0x4BE4CA8: Wayland_GLES_CreateContext (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n1: 831120 0x4B66BF1: SDL_GL_CreateContext_REAL (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n1: 831120 0x409B87: graphics_init (graphics.c:41) + n1: 831120 0x40C0D4: SDL_AppInit (main.c:22) + n1: 831120 0x4A3C265: SDL_InitMainCallbacks (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n1: 831120 0x4C5357E: SDL_EnterAppMainCallbacks_REAL (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n0: 831120 0x4F6547D: (below main) (in /nix/store/cg9s562sa33k78m63njfn1rw47dp9z0i-glibc-2.40-66/lib/libc.so.6) + n1: 346018 0x4E45E95: g_malloc0 (in /nix/store/bkpj51fz88rbyjd60i6lrp0xdax1b24g-glib-2.84.1/lib/libglib-2.0.so.0.8400.1) + n0: 346018 in 99 places, all below massif's threshold (1.00%) +#----------- +snapshot=57 +#----------- +time=52418791648 +mem_heap_B=27323367 +mem_heap_extra_B=2133713 +mem_stacks_B=0 +heap_tree=empty +#----------- +snapshot=58 +#----------- +time=53021726426 +mem_heap_B=27322983 +mem_heap_extra_B=2133729 +mem_stacks_B=0 +heap_tree=empty +#----------- +snapshot=59 +#----------- +time=53624573141 +mem_heap_B=27323111 +mem_heap_extra_B=2133745 +mem_stacks_B=0 +heap_tree=empty +#----------- +snapshot=60 +#----------- +time=54227249506 +mem_heap_B=27323367 +mem_heap_extra_B=2133777 +mem_stacks_B=0 +heap_tree=empty +#----------- +snapshot=61 +#----------- +time=54792371370 +mem_heap_B=27652895 +mem_heap_extra_B=2144529 +mem_stacks_B=0 +heap_tree=peak +n9: 27652895 (heap allocation functions) malloc/new/new[], --alloc-fns, etc. + n2: 8142336 0xC2786B0: ??? + n4: 7823984 0xC278708: ??? + n0: 6159248 in 948 places, all below massif's threshold (1.00%) + n1: 961728 0xC14C2C9: ??? + n0: 961728 in 198 places, all below massif's threshold (1.00%) + n1: 376992 0xC1A7685: ??? + n0: 376992 in 131 places, all below massif's threshold (1.00%) + n1: 326016 0xC1A7560: ??? + n0: 326016 in 90 places, all below massif's threshold (1.00%) + n0: 318352 in 22 places, all below massif's threshold (1.00%) + n0: 6258828 in 1551 places, all below massif's threshold (1.00%) + n2: 4956997 0x4AA05B2: SDL_malloc_REAL (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n1: 4861056 0x495161E: stbi__create_png_image_raw (in /nix/store/yhpvkmanp4ybn63zqnbzhzwnlkwghr6h-sdl3-image-3.2.4-lib/lib/libSDL3_image.so.0.2.4) + n1: 4861056 0x49599AC: stbi__parse_png_file.constprop.0 (in /nix/store/yhpvkmanp4ybn63zqnbzhzwnlkwghr6h-sdl3-image-3.2.4-lib/lib/libSDL3_image.so.0.2.4) + n1: 4861056 0x495B878: stbi__load_main.constprop.0 (in /nix/store/yhpvkmanp4ybn63zqnbzhzwnlkwghr6h-sdl3-image-3.2.4-lib/lib/libSDL3_image.so.0.2.4) + n1: 4861056 0x4961D3F: IMG_LoadSTB_IO (in /nix/store/yhpvkmanp4ybn63zqnbzhzwnlkwghr6h-sdl3-image-3.2.4-lib/lib/libSDL3_image.so.0.2.4) + n1: 4861056 0x493F738: IMG_LoadTyped_IO (in /nix/store/yhpvkmanp4ybn63zqnbzhzwnlkwghr6h-sdl3-image-3.2.4-lib/lib/libSDL3_image.so.0.2.4) + n2: 4861056 0x403AB8: resources_load_texture (resources.c:48) + n1: 4194304 0x403E4B: resources_init (resources.c:176) + n1: 4194304 0x40C0DB: SDL_AppInit (main.c:23) + n1: 4194304 0x4A3C265: SDL_InitMainCallbacks (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n1: 4194304 0x4C5357E: SDL_EnterAppMainCallbacks_REAL (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n0: 4194304 0x4F6547D: (below main) (in /nix/store/cg9s562sa33k78m63njfn1rw47dp9z0i-glibc-2.40-66/lib/libc.so.6) + n0: 666752 in 8 places, all below massif's threshold (1.00%) + n0: 95941 in 21 places, all below massif's threshold (1.00%) + n3: 3357668 0x4E45E2D: g_malloc (in /nix/store/bkpj51fz88rbyjd60i6lrp0xdax1b24g-glib-2.84.1/lib/libglib-2.0.so.0.8400.1) + n2: 2710152 0x4E633DD: g_memdup2 (in /nix/store/bkpj51fz88rbyjd60i6lrp0xdax1b24g-glib-2.84.1/lib/libglib-2.0.so.0.8400.1) + n1: 2693680 0x409206: spawn_queue_process_one (entman.c:69) + n1: 2693680 0x409206: spawn_queue_process_one (entman.c:62) + n1: 2693680 0x4092D3: entman_tick (entman.c:96) + n1: 2693680 0x40C172: SDL_AppIterate (main.c:56) + n1: 2693680 0x4A3C311: SDL_IterateMainCallbacks (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n1: 2693680 0x4C535EB: SDL_EnterAppMainCallbacks_REAL (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n0: 2693680 0x4F6547D: (below main) (in /nix/store/cg9s562sa33k78m63njfn1rw47dp9z0i-glibc-2.40-66/lib/libc.so.6) + n0: 16472 in 10 places, all below massif's threshold (1.00%) + n0: 345468 in 119 places, all below massif's threshold (1.00%) + n1: 302048 0x4E61918: g_slice_alloc (in /nix/store/bkpj51fz88rbyjd60i6lrp0xdax1b24g-glib-2.84.1/lib/libglib-2.0.so.0.8400.1) + n0: 302048 in 112 places, all below massif's threshold (1.00%) + n1: 1787976 0xC781248: ??? + n1: 1787976 0xCB9BF5E: ??? + n2: 1787976 0xC780D20: ??? + n2: 1781064 0xC750FF0: ??? + n3: 1778472 0xC751447: ??? + n2: 1105848 0xC751D89: ??? + n1: 1081296 0xC6CAF70: ??? + n2: 1081296 0xC6CE0B2: ??? + n1: 589824 0xC756881: ??? + n1: 589824 0xC2801E8: ??? + n1: 589824 0xC2B60A6: ??? + n1: 589824 0x4FD2E62: start_thread (in /nix/store/cg9s562sa33k78m63njfn1rw47dp9z0i-glibc-2.40-66/lib/libc.so.6) + n0: 589824 0x5056B93: clone (in /nix/store/cg9s562sa33k78m63njfn1rw47dp9z0i-glibc-2.40-66/lib/libc.so.6) + n1: 491472 0xC6D3264: ??? + n1: 491472 0xC7058D5: ??? + n1: 491472 0xC709045: ??? + n1: 491472 0xCBB928B: ??? + n1: 491472 0xCBC0945: ??? + n1: 491472 0xC4A200B: ??? + n1: 491472 0xC4A419A: ??? + n1: 491472 0xC4A4F97: ??? + n1: 491472 0xBE960AB: ??? + n1: 491472 0xBDE634A: ??? + n1: 491472 0xBCB5250: ??? + n1: 491472 0xBCAA8A2: ??? + n1: 491472 0xBC9DE00: ??? + n1: 491472 0x4BE4E02: Wayland_GLES_SwapWindow (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n1: 491472 0x40A1CA: graphics_render (graphics.c:98) + n1: 491472 0x40C180: SDL_AppIterate (main.c:58) + n1: 491472 0x4A3C311: SDL_IterateMainCallbacks (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n1: 491472 0x4C535EB: SDL_EnterAppMainCallbacks_REAL (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n0: 491472 0x4F6547D: (below main) (in /nix/store/cg9s562sa33k78m63njfn1rw47dp9z0i-glibc-2.40-66/lib/libc.so.6) + n0: 24552 in 1 place, below massif's threshold (1.00%) + n1: 669456 0xBFB045C: ??? + n1: 669456 0xBFB1218: ??? + n2: 669456 0xBFB63DD: ??? + n1: 614376 0xBE38128: ??? + n1: 614376 0xBE36971: ??? + n2: 614376 0xBE37031: ??? + n1: 589824 0xBF5BC72: ??? + n1: 589824 0x406EBB: SimpleMesh_make_quad1 (mesh.c:55) + n1: 589824 0x4090B7: entman_init (entman.c:39) + n1: 589824 0x40C0FE: SDL_AppInit (main.c:28) + n1: 589824 0x4A3C265: SDL_InitMainCallbacks (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n1: 589824 0x4C5357E: SDL_EnterAppMainCallbacks_REAL (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n0: 589824 0x4F6547D: (below main) (in /nix/store/cg9s562sa33k78m63njfn1rw47dp9z0i-glibc-2.40-66/lib/libc.so.6) + n0: 24552 in 1 place, below massif's threshold (1.00%) + n0: 55080 in 1 place, below massif's threshold (1.00%) + n0: 3168 in 2 places, all below massif's threshold (1.00%) + n0: 2592 in 1 place, below massif's threshold (1.00%) + n0: 6912 in 1 place, below massif's threshold (1.00%) + n1: 1024000 0x406707: Chunk_new (chunk.c:9) + n1: 1024000 0x4042EE: chunkman_generate_Chunk_at (chunkman.c:247) + n1: 1024000 0x4065A9: chunkman_tick (chunkman.c:136) + n1: 1024000 0x40C16B: SDL_AppIterate (main.c:55) + n1: 1024000 0x4A3C311: SDL_IterateMainCallbacks (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n1: 1024000 0x4C535EB: SDL_EnterAppMainCallbacks_REAL (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n0: 1024000 0x4F6547D: (below main) (in /nix/store/cg9s562sa33k78m63njfn1rw47dp9z0i-glibc-2.40-66/lib/libc.so.6) + n2: 947952 0x4E45F05: g_realloc (in /nix/store/bkpj51fz88rbyjd60i6lrp0xdax1b24g-glib-2.84.1/lib/libglib-2.0.so.0.8400.1) + n0: 551904 in 49 places, all below massif's threshold (1.00%) + n2: 396048 0x4E01F0F: g_array_maybe_expand (in /nix/store/bkpj51fz88rbyjd60i6lrp0xdax1b24g-glib-2.84.1/lib/libglib-2.0.so.0.8400.1) + n1: 395632 0x4E02829: g_array_append_vals (in /nix/store/bkpj51fz88rbyjd60i6lrp0xdax1b24g-glib-2.84.1/lib/libglib-2.0.so.0.8400.1) + n0: 395632 in 12 places, all below massif's threshold (1.00%) + n0: 416 in 4 places, all below massif's threshold (1.00%) + n1: 831120 0xBE82A64: ??? + n1: 831120 0xBE95B51: ??? + n1: 831120 0xBDE51D1: ??? + n1: 831120 0xBDE9116: ??? + n1: 831120 0xBCAA56B: ??? + n1: 831120 0xBC9BD58: ??? + n1: 831120 0x4B41273: SDL_EGL_CreateContext (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n1: 831120 0x4BE4CA8: Wayland_GLES_CreateContext (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n1: 831120 0x4B66BF1: SDL_GL_CreateContext_REAL (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n1: 831120 0x409B87: graphics_init (graphics.c:41) + n1: 831120 0x40C0D4: SDL_AppInit (main.c:22) + n1: 831120 0x4A3C265: SDL_InitMainCallbacks (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n1: 831120 0x4C5357E: SDL_EnterAppMainCallbacks_REAL (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n0: 831120 0x4F6547D: (below main) (in /nix/store/cg9s562sa33k78m63njfn1rw47dp9z0i-glibc-2.40-66/lib/libc.so.6) + n1: 346018 0x4E45E95: g_malloc0 (in /nix/store/bkpj51fz88rbyjd60i6lrp0xdax1b24g-glib-2.84.1/lib/libglib-2.0.so.0.8400.1) + n0: 346018 in 99 places, all below massif's threshold (1.00%) +#----------- +snapshot=62 +#----------- +time=55394820091 +mem_heap_B=27407887 +mem_heap_extra_B=2144505 +mem_stacks_B=0 +heap_tree=empty +#----------- +snapshot=63 +#----------- +time=55997386307 +mem_heap_B=27408004 +mem_heap_extra_B=2144572 +mem_stacks_B=0 +heap_tree=empty +#----------- +snapshot=64 +#----------- +time=56606516034 +mem_heap_B=27407999 +mem_heap_extra_B=2144553 +mem_stacks_B=0 +heap_tree=empty +#----------- +snapshot=65 +#----------- +time=57209211031 +mem_heap_B=27407743 +mem_heap_extra_B=2144521 +mem_stacks_B=0 +heap_tree=empty +#----------- +snapshot=66 +#----------- +time=57816994136 +mem_heap_B=27407999 +mem_heap_extra_B=2144553 +mem_stacks_B=0 +heap_tree=empty +#----------- +snapshot=67 +#----------- +time=58426829335 +mem_heap_B=27407543 +mem_heap_extra_B=2144473 +mem_stacks_B=0 +heap_tree=empty +#----------- +snapshot=68 +#----------- +time=59029270891 +mem_heap_B=27407735 +mem_heap_extra_B=2144497 +mem_stacks_B=0 +heap_tree=empty +#----------- +snapshot=69 +#----------- +time=59638548125 +mem_heap_B=27407735 +mem_heap_extra_B=2144497 +mem_stacks_B=0 +heap_tree=empty +#----------- +snapshot=70 +#----------- +time=60240991894 +mem_heap_B=27404983 +mem_heap_extra_B=2144449 +mem_stacks_B=0 +heap_tree=empty +#----------- +snapshot=71 +#----------- +time=60849419535 +mem_heap_B=27407735 +mem_heap_extra_B=2144529 +mem_stacks_B=0 +heap_tree=detailed +n9: 27407735 (heap allocation functions) malloc/new/new[], --alloc-fns, etc. + n2: 8142336 0xC2786B0: ??? + n4: 7823984 0xC278708: ??? + n0: 6159248 in 948 places, all below massif's threshold (1.00%) + n1: 961728 0xC14C2C9: ??? + n0: 961728 in 198 places, all below massif's threshold (1.00%) + n1: 376992 0xC1A7685: ??? + n0: 376992 in 131 places, all below massif's threshold (1.00%) + n1: 326016 0xC1A7560: ??? + n0: 326016 in 90 places, all below massif's threshold (1.00%) + n0: 318352 in 22 places, all below massif's threshold (1.00%) + n0: 6258564 in 1551 places, all below massif's threshold (1.00%) + n2: 4956997 0x4AA05B2: SDL_malloc_REAL (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n1: 4861056 0x495161E: stbi__create_png_image_raw (in /nix/store/yhpvkmanp4ybn63zqnbzhzwnlkwghr6h-sdl3-image-3.2.4-lib/lib/libSDL3_image.so.0.2.4) + n1: 4861056 0x49599AC: stbi__parse_png_file.constprop.0 (in /nix/store/yhpvkmanp4ybn63zqnbzhzwnlkwghr6h-sdl3-image-3.2.4-lib/lib/libSDL3_image.so.0.2.4) + n1: 4861056 0x495B878: stbi__load_main.constprop.0 (in /nix/store/yhpvkmanp4ybn63zqnbzhzwnlkwghr6h-sdl3-image-3.2.4-lib/lib/libSDL3_image.so.0.2.4) + n1: 4861056 0x4961D3F: IMG_LoadSTB_IO (in /nix/store/yhpvkmanp4ybn63zqnbzhzwnlkwghr6h-sdl3-image-3.2.4-lib/lib/libSDL3_image.so.0.2.4) + n1: 4861056 0x493F738: IMG_LoadTyped_IO (in /nix/store/yhpvkmanp4ybn63zqnbzhzwnlkwghr6h-sdl3-image-3.2.4-lib/lib/libSDL3_image.so.0.2.4) + n2: 4861056 0x403AB8: resources_load_texture (resources.c:48) + n1: 4194304 0x403E4B: resources_init (resources.c:176) + n1: 4194304 0x40C0DB: SDL_AppInit (main.c:23) + n1: 4194304 0x4A3C265: SDL_InitMainCallbacks (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n1: 4194304 0x4C5357E: SDL_EnterAppMainCallbacks_REAL (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n0: 4194304 0x4F6547D: (below main) (in /nix/store/cg9s562sa33k78m63njfn1rw47dp9z0i-glibc-2.40-66/lib/libc.so.6) + n0: 666752 in 8 places, all below massif's threshold (1.00%) + n0: 95941 in 21 places, all below massif's threshold (1.00%) + n3: 3112772 0x4E45E2D: g_malloc (in /nix/store/bkpj51fz88rbyjd60i6lrp0xdax1b24g-glib-2.84.1/lib/libglib-2.0.so.0.8400.1) + n2: 2710152 0x4E633DD: g_memdup2 (in /nix/store/bkpj51fz88rbyjd60i6lrp0xdax1b24g-glib-2.84.1/lib/libglib-2.0.so.0.8400.1) + n1: 2693680 0x409206: spawn_queue_process_one (entman.c:69) + n1: 2693680 0x409206: spawn_queue_process_one (entman.c:62) + n1: 2693680 0x4092D3: entman_tick (entman.c:96) + n1: 2693680 0x40C172: SDL_AppIterate (main.c:56) + n1: 2693680 0x4A3C311: SDL_IterateMainCallbacks (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n1: 2693680 0x4C535EB: SDL_EnterAppMainCallbacks_REAL (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n0: 2693680 0x4F6547D: (below main) (in /nix/store/cg9s562sa33k78m63njfn1rw47dp9z0i-glibc-2.40-66/lib/libc.so.6) + n0: 16472 in 10 places, all below massif's threshold (1.00%) + n1: 302048 0x4E61918: g_slice_alloc (in /nix/store/bkpj51fz88rbyjd60i6lrp0xdax1b24g-glib-2.84.1/lib/libglib-2.0.so.0.8400.1) + n0: 302048 in 112 places, all below massif's threshold (1.00%) + n0: 100572 in 119 places, all below massif's threshold (1.00%) + n1: 1787976 0xC781248: ??? + n1: 1787976 0xCB9BF5E: ??? + n2: 1787976 0xC780D20: ??? + n2: 1781064 0xC750FF0: ??? + n3: 1778472 0xC751447: ??? + n2: 1105848 0xC751D89: ??? + n1: 1081296 0xC6CAF70: ??? + n2: 1081296 0xC6CE0B2: ??? + n1: 589824 0xC756881: ??? + n1: 589824 0xC2801E8: ??? + n1: 589824 0xC2B60A6: ??? + n1: 589824 0x4FD2E62: start_thread (in /nix/store/cg9s562sa33k78m63njfn1rw47dp9z0i-glibc-2.40-66/lib/libc.so.6) + n0: 589824 0x5056B93: clone (in /nix/store/cg9s562sa33k78m63njfn1rw47dp9z0i-glibc-2.40-66/lib/libc.so.6) + n1: 491472 0xC6D3264: ??? + n1: 491472 0xC7058D5: ??? + n1: 491472 0xC709045: ??? + n1: 491472 0xCBB928B: ??? + n1: 491472 0xCBC0945: ??? + n1: 491472 0xC4A200B: ??? + n1: 491472 0xC4A419A: ??? + n1: 491472 0xC4A4F97: ??? + n1: 491472 0xBE960AB: ??? + n1: 491472 0xBDE634A: ??? + n1: 491472 0xBCB5250: ??? + n1: 491472 0xBCAA8A2: ??? + n1: 491472 0xBC9DE00: ??? + n1: 491472 0x4BE4E02: Wayland_GLES_SwapWindow (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n1: 491472 0x40A1CA: graphics_render (graphics.c:98) + n1: 491472 0x40C180: SDL_AppIterate (main.c:58) + n1: 491472 0x4A3C311: SDL_IterateMainCallbacks (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n1: 491472 0x4C535EB: SDL_EnterAppMainCallbacks_REAL (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n0: 491472 0x4F6547D: (below main) (in /nix/store/cg9s562sa33k78m63njfn1rw47dp9z0i-glibc-2.40-66/lib/libc.so.6) + n0: 24552 in 1 place, below massif's threshold (1.00%) + n1: 669456 0xBFB045C: ??? + n1: 669456 0xBFB1218: ??? + n2: 669456 0xBFB63DD: ??? + n1: 614376 0xBE38128: ??? + n1: 614376 0xBE36971: ??? + n2: 614376 0xBE37031: ??? + n1: 589824 0xBF5BC72: ??? + n1: 589824 0x406EBB: SimpleMesh_make_quad1 (mesh.c:55) + n1: 589824 0x4090B7: entman_init (entman.c:39) + n1: 589824 0x40C0FE: SDL_AppInit (main.c:28) + n1: 589824 0x4A3C265: SDL_InitMainCallbacks (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n1: 589824 0x4C5357E: SDL_EnterAppMainCallbacks_REAL (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n0: 589824 0x4F6547D: (below main) (in /nix/store/cg9s562sa33k78m63njfn1rw47dp9z0i-glibc-2.40-66/lib/libc.so.6) + n0: 24552 in 1 place, below massif's threshold (1.00%) + n0: 55080 in 1 place, below massif's threshold (1.00%) + n0: 3168 in 2 places, all below massif's threshold (1.00%) + n0: 2592 in 1 place, below massif's threshold (1.00%) + n0: 6912 in 1 place, below massif's threshold (1.00%) + n1: 1024000 0x406707: Chunk_new (chunk.c:9) + n1: 1024000 0x4042EE: chunkman_generate_Chunk_at (chunkman.c:247) + n1: 1024000 0x4065A9: chunkman_tick (chunkman.c:136) + n1: 1024000 0x40C16B: SDL_AppIterate (main.c:55) + n1: 1024000 0x4A3C311: SDL_IterateMainCallbacks (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n1: 1024000 0x4C535EB: SDL_EnterAppMainCallbacks_REAL (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n0: 1024000 0x4F6547D: (below main) (in /nix/store/cg9s562sa33k78m63njfn1rw47dp9z0i-glibc-2.40-66/lib/libc.so.6) + n2: 947952 0x4E45F05: g_realloc (in /nix/store/bkpj51fz88rbyjd60i6lrp0xdax1b24g-glib-2.84.1/lib/libglib-2.0.so.0.8400.1) + n0: 551904 in 49 places, all below massif's threshold (1.00%) + n2: 396048 0x4E01F0F: g_array_maybe_expand (in /nix/store/bkpj51fz88rbyjd60i6lrp0xdax1b24g-glib-2.84.1/lib/libglib-2.0.so.0.8400.1) + n1: 395632 0x4E02829: g_array_append_vals (in /nix/store/bkpj51fz88rbyjd60i6lrp0xdax1b24g-glib-2.84.1/lib/libglib-2.0.so.0.8400.1) + n0: 395632 in 12 places, all below massif's threshold (1.00%) + n0: 416 in 4 places, all below massif's threshold (1.00%) + n1: 831120 0xBE82A64: ??? + n1: 831120 0xBE95B51: ??? + n1: 831120 0xBDE51D1: ??? + n1: 831120 0xBDE9116: ??? + n1: 831120 0xBCAA56B: ??? + n1: 831120 0xBC9BD58: ??? + n1: 831120 0x4B41273: SDL_EGL_CreateContext (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n1: 831120 0x4BE4CA8: Wayland_GLES_CreateContext (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n1: 831120 0x4B66BF1: SDL_GL_CreateContext_REAL (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n1: 831120 0x409B87: graphics_init (graphics.c:41) + n1: 831120 0x40C0D4: SDL_AppInit (main.c:22) + n1: 831120 0x4A3C265: SDL_InitMainCallbacks (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n1: 831120 0x4C5357E: SDL_EnterAppMainCallbacks_REAL (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n0: 831120 0x4F6547D: (below main) (in /nix/store/cg9s562sa33k78m63njfn1rw47dp9z0i-glibc-2.40-66/lib/libc.so.6) + n1: 346018 0x4E45E95: g_malloc0 (in /nix/store/bkpj51fz88rbyjd60i6lrp0xdax1b24g-glib-2.84.1/lib/libglib-2.0.so.0.8400.1) + n0: 346018 in 99 places, all below massif's threshold (1.00%) +#----------- +snapshot=72 +#----------- +time=61452037744 +mem_heap_B=27407740 +mem_heap_extra_B=2144548 +mem_stacks_B=0 +heap_tree=empty +#----------- +snapshot=73 +#----------- +time=62054695410 +mem_heap_B=27409524 +mem_heap_extra_B=2144812 +mem_stacks_B=0 +heap_tree=empty +#----------- +snapshot=74 +#----------- +time=62657204546 +mem_heap_B=27409727 +mem_heap_extra_B=2144753 +mem_stacks_B=0 +heap_tree=empty +#----------- +snapshot=75 +#----------- +time=63266475747 +mem_heap_B=27409455 +mem_heap_extra_B=2144753 +mem_stacks_B=0 +heap_tree=empty +#----------- +snapshot=76 +#----------- +time=63869042986 +mem_heap_B=27406772 +mem_heap_extra_B=2144700 +mem_stacks_B=0 +heap_tree=empty +#----------- +snapshot=77 +#----------- +time=64475742249 +mem_heap_B=27409519 +mem_heap_extra_B=2144761 +mem_stacks_B=0 +heap_tree=empty +#----------- +snapshot=78 +#----------- +time=65078286858 +mem_heap_B=27409268 +mem_heap_extra_B=2144716 +mem_stacks_B=0 +heap_tree=empty +#----------- +snapshot=79 +#----------- +time=65685977355 +mem_heap_B=27409519 +mem_heap_extra_B=2144729 +mem_stacks_B=0 +heap_tree=empty +#----------- +snapshot=80 +#----------- +time=66289375281 +mem_heap_B=27409727 +mem_heap_extra_B=2144769 +mem_stacks_B=0 +heap_tree=empty +#----------- +snapshot=81 +#----------- +time=66899350043 +mem_heap_B=27409391 +mem_heap_extra_B=2144745 +mem_stacks_B=0 +heap_tree=detailed +n9: 27409391 (heap allocation functions) malloc/new/new[], --alloc-fns, etc. + n2: 8142336 0xC2786B0: ??? + n4: 7823984 0xC278708: ??? + n0: 6159248 in 948 places, all below massif's threshold (1.00%) + n1: 961728 0xC14C2C9: ??? + n0: 961728 in 198 places, all below massif's threshold (1.00%) + n1: 376992 0xC1A7685: ??? + n0: 376992 in 131 places, all below massif's threshold (1.00%) + n1: 326016 0xC1A7560: ??? + n0: 326016 in 90 places, all below massif's threshold (1.00%) + n0: 318352 in 22 places, all below massif's threshold (1.00%) + n0: 6260212 in 1551 places, all below massif's threshold (1.00%) + n2: 4956997 0x4AA05B2: SDL_malloc_REAL (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n1: 4861056 0x495161E: stbi__create_png_image_raw (in /nix/store/yhpvkmanp4ybn63zqnbzhzwnlkwghr6h-sdl3-image-3.2.4-lib/lib/libSDL3_image.so.0.2.4) + n1: 4861056 0x49599AC: stbi__parse_png_file.constprop.0 (in /nix/store/yhpvkmanp4ybn63zqnbzhzwnlkwghr6h-sdl3-image-3.2.4-lib/lib/libSDL3_image.so.0.2.4) + n1: 4861056 0x495B878: stbi__load_main.constprop.0 (in /nix/store/yhpvkmanp4ybn63zqnbzhzwnlkwghr6h-sdl3-image-3.2.4-lib/lib/libSDL3_image.so.0.2.4) + n1: 4861056 0x4961D3F: IMG_LoadSTB_IO (in /nix/store/yhpvkmanp4ybn63zqnbzhzwnlkwghr6h-sdl3-image-3.2.4-lib/lib/libSDL3_image.so.0.2.4) + n1: 4861056 0x493F738: IMG_LoadTyped_IO (in /nix/store/yhpvkmanp4ybn63zqnbzhzwnlkwghr6h-sdl3-image-3.2.4-lib/lib/libSDL3_image.so.0.2.4) + n2: 4861056 0x403AB8: resources_load_texture (resources.c:48) + n1: 4194304 0x403E4B: resources_init (resources.c:176) + n1: 4194304 0x40C0DB: SDL_AppInit (main.c:23) + n1: 4194304 0x4A3C265: SDL_InitMainCallbacks (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n1: 4194304 0x4C5357E: SDL_EnterAppMainCallbacks_REAL (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n0: 4194304 0x4F6547D: (below main) (in /nix/store/cg9s562sa33k78m63njfn1rw47dp9z0i-glibc-2.40-66/lib/libc.so.6) + n0: 666752 in 8 places, all below massif's threshold (1.00%) + n0: 95941 in 21 places, all below massif's threshold (1.00%) + n3: 3112780 0x4E45E2D: g_malloc (in /nix/store/bkpj51fz88rbyjd60i6lrp0xdax1b24g-glib-2.84.1/lib/libglib-2.0.so.0.8400.1) + n2: 2710160 0x4E633DD: g_memdup2 (in /nix/store/bkpj51fz88rbyjd60i6lrp0xdax1b24g-glib-2.84.1/lib/libglib-2.0.so.0.8400.1) + n1: 2693680 0x409206: spawn_queue_process_one (entman.c:69) + n1: 2693680 0x409206: spawn_queue_process_one (entman.c:62) + n1: 2693680 0x4092D3: entman_tick (entman.c:96) + n1: 2693680 0x40C172: SDL_AppIterate (main.c:56) + n1: 2693680 0x4A3C311: SDL_IterateMainCallbacks (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n1: 2693680 0x4C535EB: SDL_EnterAppMainCallbacks_REAL (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n0: 2693680 0x4F6547D: (below main) (in /nix/store/cg9s562sa33k78m63njfn1rw47dp9z0i-glibc-2.40-66/lib/libc.so.6) + n0: 16480 in 10 places, all below massif's threshold (1.00%) + n1: 302048 0x4E61918: g_slice_alloc (in /nix/store/bkpj51fz88rbyjd60i6lrp0xdax1b24g-glib-2.84.1/lib/libglib-2.0.so.0.8400.1) + n0: 302048 in 112 places, all below massif's threshold (1.00%) + n0: 100572 in 119 places, all below massif's threshold (1.00%) + n1: 1787976 0xC781248: ??? + n1: 1787976 0xCB9BF5E: ??? + n2: 1787976 0xC780D20: ??? + n2: 1781064 0xC750FF0: ??? + n3: 1778472 0xC751447: ??? + n2: 1105848 0xC751D89: ??? + n1: 1081296 0xC6CAF70: ??? + n2: 1081296 0xC6CE0B2: ??? + n1: 589824 0xC756881: ??? + n1: 589824 0xC2801E8: ??? + n1: 589824 0xC2B60A6: ??? + n1: 589824 0x4FD2E62: start_thread (in /nix/store/cg9s562sa33k78m63njfn1rw47dp9z0i-glibc-2.40-66/lib/libc.so.6) + n0: 589824 0x5056B93: clone (in /nix/store/cg9s562sa33k78m63njfn1rw47dp9z0i-glibc-2.40-66/lib/libc.so.6) + n1: 491472 0xC6D3264: ??? + n1: 491472 0xC7058D5: ??? + n1: 491472 0xC709045: ??? + n1: 491472 0xCBB928B: ??? + n1: 491472 0xCBC0945: ??? + n1: 491472 0xC4A200B: ??? + n1: 491472 0xC4A419A: ??? + n1: 491472 0xC4A4F97: ??? + n1: 491472 0xBE960AB: ??? + n1: 491472 0xBDE634A: ??? + n1: 491472 0xBCB5250: ??? + n1: 491472 0xBCAA8A2: ??? + n1: 491472 0xBC9DE00: ??? + n1: 491472 0x4BE4E02: Wayland_GLES_SwapWindow (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n1: 491472 0x40A1CA: graphics_render (graphics.c:98) + n1: 491472 0x40C180: SDL_AppIterate (main.c:58) + n1: 491472 0x4A3C311: SDL_IterateMainCallbacks (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n1: 491472 0x4C535EB: SDL_EnterAppMainCallbacks_REAL (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n0: 491472 0x4F6547D: (below main) (in /nix/store/cg9s562sa33k78m63njfn1rw47dp9z0i-glibc-2.40-66/lib/libc.so.6) + n0: 24552 in 1 place, below massif's threshold (1.00%) + n1: 669456 0xBFB045C: ??? + n1: 669456 0xBFB1218: ??? + n2: 669456 0xBFB63DD: ??? + n1: 614376 0xBE38128: ??? + n1: 614376 0xBE36971: ??? + n2: 614376 0xBE37031: ??? + n1: 589824 0xBF5BC72: ??? + n1: 589824 0x406EBB: SimpleMesh_make_quad1 (mesh.c:55) + n1: 589824 0x4090B7: entman_init (entman.c:39) + n1: 589824 0x40C0FE: SDL_AppInit (main.c:28) + n1: 589824 0x4A3C265: SDL_InitMainCallbacks (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n1: 589824 0x4C5357E: SDL_EnterAppMainCallbacks_REAL (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n0: 589824 0x4F6547D: (below main) (in /nix/store/cg9s562sa33k78m63njfn1rw47dp9z0i-glibc-2.40-66/lib/libc.so.6) + n0: 24552 in 1 place, below massif's threshold (1.00%) + n0: 55080 in 1 place, below massif's threshold (1.00%) + n0: 3168 in 2 places, all below massif's threshold (1.00%) + n0: 2592 in 1 place, below massif's threshold (1.00%) + n0: 6912 in 1 place, below massif's threshold (1.00%) + n1: 1024000 0x406707: Chunk_new (chunk.c:9) + n1: 1024000 0x4042EE: chunkman_generate_Chunk_at (chunkman.c:247) + n1: 1024000 0x4065A9: chunkman_tick (chunkman.c:136) + n1: 1024000 0x40C16B: SDL_AppIterate (main.c:55) + n1: 1024000 0x4A3C311: SDL_IterateMainCallbacks (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n1: 1024000 0x4C535EB: SDL_EnterAppMainCallbacks_REAL (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n0: 1024000 0x4F6547D: (below main) (in /nix/store/cg9s562sa33k78m63njfn1rw47dp9z0i-glibc-2.40-66/lib/libc.so.6) + n2: 947952 0x4E45F05: g_realloc (in /nix/store/bkpj51fz88rbyjd60i6lrp0xdax1b24g-glib-2.84.1/lib/libglib-2.0.so.0.8400.1) + n0: 551904 in 49 places, all below massif's threshold (1.00%) + n2: 396048 0x4E01F0F: g_array_maybe_expand (in /nix/store/bkpj51fz88rbyjd60i6lrp0xdax1b24g-glib-2.84.1/lib/libglib-2.0.so.0.8400.1) + n1: 395632 0x4E02829: g_array_append_vals (in /nix/store/bkpj51fz88rbyjd60i6lrp0xdax1b24g-glib-2.84.1/lib/libglib-2.0.so.0.8400.1) + n0: 395632 in 12 places, all below massif's threshold (1.00%) + n0: 416 in 4 places, all below massif's threshold (1.00%) + n1: 831120 0xBE82A64: ??? + n1: 831120 0xBE95B51: ??? + n1: 831120 0xBDE51D1: ??? + n1: 831120 0xBDE9116: ??? + n1: 831120 0xBCAA56B: ??? + n1: 831120 0xBC9BD58: ??? + n1: 831120 0x4B41273: SDL_EGL_CreateContext (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n1: 831120 0x4BE4CA8: Wayland_GLES_CreateContext (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n1: 831120 0x4B66BF1: SDL_GL_CreateContext_REAL (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n1: 831120 0x409B87: graphics_init (graphics.c:41) + n1: 831120 0x40C0D4: SDL_AppInit (main.c:22) + n1: 831120 0x4A3C265: SDL_InitMainCallbacks (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n1: 831120 0x4C5357E: SDL_EnterAppMainCallbacks_REAL (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n0: 831120 0x4F6547D: (below main) (in /nix/store/cg9s562sa33k78m63njfn1rw47dp9z0i-glibc-2.40-66/lib/libc.so.6) + n1: 346018 0x4E45E95: g_malloc0 (in /nix/store/bkpj51fz88rbyjd60i6lrp0xdax1b24g-glib-2.84.1/lib/libglib-2.0.so.0.8400.1) + n0: 346018 in 99 places, all below massif's threshold (1.00%) +#----------- +snapshot=82 +#----------- +time=67501877498 +mem_heap_B=27409727 +mem_heap_extra_B=2144769 +mem_stacks_B=0 +heap_tree=empty +#----------- +snapshot=83 +#----------- +time=68110615085 +mem_heap_B=27409519 +mem_heap_extra_B=2144761 +mem_stacks_B=0 +heap_tree=empty +#----------- +snapshot=84 +#----------- +time=68714971551 +mem_heap_B=27409535 +mem_heap_extra_B=2144713 +mem_stacks_B=0 +heap_tree=empty +#----------- +snapshot=85 +#----------- +time=69317483883 +mem_heap_B=27409471 +mem_heap_extra_B=2144737 +mem_stacks_B=0 +heap_tree=empty +#----------- +snapshot=86 +#----------- +time=69927760036 +mem_heap_B=27409519 +mem_heap_extra_B=2144761 +mem_stacks_B=0 +heap_tree=empty +#----------- +snapshot=87 +#----------- +time=70532174043 +mem_heap_B=27425159 +mem_heap_extra_B=2146729 +mem_stacks_B=0 +heap_tree=empty +#----------- +snapshot=88 +#----------- +time=71135650412 +mem_heap_B=27425159 +mem_heap_extra_B=2146729 +mem_stacks_B=0 +heap_tree=empty +#----------- +snapshot=89 +#----------- +time=71739184486 +mem_heap_B=27425095 +mem_heap_extra_B=2146721 +mem_stacks_B=0 +heap_tree=empty +#----------- +snapshot=90 +#----------- +time=72342331747 +mem_heap_B=27425367 +mem_heap_extra_B=2146769 +mem_stacks_B=0 +heap_tree=empty +#----------- +snapshot=91 +#----------- +time=72944816301 +mem_heap_B=27425159 +mem_heap_extra_B=2146729 +mem_stacks_B=0 +heap_tree=detailed +n9: 27425159 (heap allocation functions) malloc/new/new[], --alloc-fns, etc. + n2: 8142336 0xC2786B0: ??? + n4: 7823984 0xC278708: ??? + n0: 6159248 in 948 places, all below massif's threshold (1.00%) + n1: 961728 0xC14C2C9: ??? + n0: 961728 in 198 places, all below massif's threshold (1.00%) + n1: 376992 0xC1A7685: ??? + n0: 376992 in 131 places, all below massif's threshold (1.00%) + n1: 326016 0xC1A7560: ??? + n0: 326016 in 90 places, all below massif's threshold (1.00%) + n0: 318352 in 22 places, all below massif's threshold (1.00%) + n0: 6263156 in 1551 places, all below massif's threshold (1.00%) + n2: 4956997 0x4AA05B2: SDL_malloc_REAL (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n1: 4861056 0x495161E: stbi__create_png_image_raw (in /nix/store/yhpvkmanp4ybn63zqnbzhzwnlkwghr6h-sdl3-image-3.2.4-lib/lib/libSDL3_image.so.0.2.4) + n1: 4861056 0x49599AC: stbi__parse_png_file.constprop.0 (in /nix/store/yhpvkmanp4ybn63zqnbzhzwnlkwghr6h-sdl3-image-3.2.4-lib/lib/libSDL3_image.so.0.2.4) + n1: 4861056 0x495B878: stbi__load_main.constprop.0 (in /nix/store/yhpvkmanp4ybn63zqnbzhzwnlkwghr6h-sdl3-image-3.2.4-lib/lib/libSDL3_image.so.0.2.4) + n1: 4861056 0x4961D3F: IMG_LoadSTB_IO (in /nix/store/yhpvkmanp4ybn63zqnbzhzwnlkwghr6h-sdl3-image-3.2.4-lib/lib/libSDL3_image.so.0.2.4) + n1: 4861056 0x493F738: IMG_LoadTyped_IO (in /nix/store/yhpvkmanp4ybn63zqnbzhzwnlkwghr6h-sdl3-image-3.2.4-lib/lib/libSDL3_image.so.0.2.4) + n2: 4861056 0x403AB8: resources_load_texture (resources.c:48) + n1: 4194304 0x403E4B: resources_init (resources.c:176) + n1: 4194304 0x40C0DB: SDL_AppInit (main.c:23) + n1: 4194304 0x4A3C265: SDL_InitMainCallbacks (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n1: 4194304 0x4C5357E: SDL_EnterAppMainCallbacks_REAL (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n0: 4194304 0x4F6547D: (below main) (in /nix/store/cg9s562sa33k78m63njfn1rw47dp9z0i-glibc-2.40-66/lib/libc.so.6) + n0: 666752 in 8 places, all below massif's threshold (1.00%) + n0: 95941 in 21 places, all below massif's threshold (1.00%) + n3: 3121508 0x4E45E2D: g_malloc (in /nix/store/bkpj51fz88rbyjd60i6lrp0xdax1b24g-glib-2.84.1/lib/libglib-2.0.so.0.8400.1) + n2: 2718888 0x4E633DD: g_memdup2 (in /nix/store/bkpj51fz88rbyjd60i6lrp0xdax1b24g-glib-2.84.1/lib/libglib-2.0.so.0.8400.1) + n1: 2702392 0x409206: spawn_queue_process_one (entman.c:69) + n1: 2702392 0x409206: spawn_queue_process_one (entman.c:62) + n1: 2702392 0x4092D3: entman_tick (entman.c:96) + n1: 2702392 0x40C172: SDL_AppIterate (main.c:56) + n1: 2702392 0x4A3C311: SDL_IterateMainCallbacks (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n1: 2702392 0x4C535EB: SDL_EnterAppMainCallbacks_REAL (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n0: 2702392 0x4F6547D: (below main) (in /nix/store/cg9s562sa33k78m63njfn1rw47dp9z0i-glibc-2.40-66/lib/libc.so.6) + n0: 16496 in 10 places, all below massif's threshold (1.00%) + n1: 302048 0x4E61918: g_slice_alloc (in /nix/store/bkpj51fz88rbyjd60i6lrp0xdax1b24g-glib-2.84.1/lib/libglib-2.0.so.0.8400.1) + n0: 302048 in 112 places, all below massif's threshold (1.00%) + n0: 100572 in 119 places, all below massif's threshold (1.00%) + n1: 1787976 0xC781248: ??? + n1: 1787976 0xCB9BF5E: ??? + n2: 1787976 0xC780D20: ??? + n2: 1781064 0xC750FF0: ??? + n3: 1778472 0xC751447: ??? + n2: 1105848 0xC751D89: ??? + n1: 1081296 0xC6CAF70: ??? + n2: 1081296 0xC6CE0B2: ??? + n1: 589824 0xC756881: ??? + n1: 589824 0xC2801E8: ??? + n1: 589824 0xC2B60A6: ??? + n1: 589824 0x4FD2E62: start_thread (in /nix/store/cg9s562sa33k78m63njfn1rw47dp9z0i-glibc-2.40-66/lib/libc.so.6) + n0: 589824 0x5056B93: clone (in /nix/store/cg9s562sa33k78m63njfn1rw47dp9z0i-glibc-2.40-66/lib/libc.so.6) + n1: 491472 0xC6D3264: ??? + n1: 491472 0xC7058D5: ??? + n1: 491472 0xC709045: ??? + n1: 491472 0xCBB928B: ??? + n1: 491472 0xCBC0945: ??? + n1: 491472 0xC4A200B: ??? + n1: 491472 0xC4A419A: ??? + n1: 491472 0xC4A4F97: ??? + n1: 491472 0xBE960AB: ??? + n1: 491472 0xBDE634A: ??? + n1: 491472 0xBCB5250: ??? + n1: 491472 0xBCAA8A2: ??? + n1: 491472 0xBC9DE00: ??? + n1: 491472 0x4BE4E02: Wayland_GLES_SwapWindow (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n1: 491472 0x40A1CA: graphics_render (graphics.c:98) + n1: 491472 0x40C180: SDL_AppIterate (main.c:58) + n1: 491472 0x4A3C311: SDL_IterateMainCallbacks (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n1: 491472 0x4C535EB: SDL_EnterAppMainCallbacks_REAL (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n0: 491472 0x4F6547D: (below main) (in /nix/store/cg9s562sa33k78m63njfn1rw47dp9z0i-glibc-2.40-66/lib/libc.so.6) + n0: 24552 in 1 place, below massif's threshold (1.00%) + n1: 669456 0xBFB045C: ??? + n1: 669456 0xBFB1218: ??? + n2: 669456 0xBFB63DD: ??? + n1: 614376 0xBE38128: ??? + n1: 614376 0xBE36971: ??? + n2: 614376 0xBE37031: ??? + n1: 589824 0xBF5BC72: ??? + n1: 589824 0x406EBB: SimpleMesh_make_quad1 (mesh.c:55) + n1: 589824 0x4090B7: entman_init (entman.c:39) + n1: 589824 0x40C0FE: SDL_AppInit (main.c:28) + n1: 589824 0x4A3C265: SDL_InitMainCallbacks (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n1: 589824 0x4C5357E: SDL_EnterAppMainCallbacks_REAL (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n0: 589824 0x4F6547D: (below main) (in /nix/store/cg9s562sa33k78m63njfn1rw47dp9z0i-glibc-2.40-66/lib/libc.so.6) + n0: 24552 in 1 place, below massif's threshold (1.00%) + n0: 55080 in 1 place, below massif's threshold (1.00%) + n0: 3168 in 2 places, all below massif's threshold (1.00%) + n0: 2592 in 1 place, below massif's threshold (1.00%) + n0: 6912 in 1 place, below massif's threshold (1.00%) + n1: 1028096 0x406707: Chunk_new (chunk.c:9) + n1: 1028096 0x4042EE: chunkman_generate_Chunk_at (chunkman.c:247) + n1: 1028096 0x4065A9: chunkman_tick (chunkman.c:136) + n1: 1028096 0x40C16B: SDL_AppIterate (main.c:55) + n1: 1028096 0x4A3C311: SDL_IterateMainCallbacks (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n1: 1028096 0x4C535EB: SDL_EnterAppMainCallbacks_REAL (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n0: 1028096 0x4F6547D: (below main) (in /nix/store/cg9s562sa33k78m63njfn1rw47dp9z0i-glibc-2.40-66/lib/libc.so.6) + n2: 947952 0x4E45F05: g_realloc (in /nix/store/bkpj51fz88rbyjd60i6lrp0xdax1b24g-glib-2.84.1/lib/libglib-2.0.so.0.8400.1) + n0: 551904 in 49 places, all below massif's threshold (1.00%) + n2: 396048 0x4E01F0F: g_array_maybe_expand (in /nix/store/bkpj51fz88rbyjd60i6lrp0xdax1b24g-glib-2.84.1/lib/libglib-2.0.so.0.8400.1) + n1: 395632 0x4E02829: g_array_append_vals (in /nix/store/bkpj51fz88rbyjd60i6lrp0xdax1b24g-glib-2.84.1/lib/libglib-2.0.so.0.8400.1) + n0: 395632 in 12 places, all below massif's threshold (1.00%) + n0: 416 in 4 places, all below massif's threshold (1.00%) + n1: 831120 0xBE82A64: ??? + n1: 831120 0xBE95B51: ??? + n1: 831120 0xBDE51D1: ??? + n1: 831120 0xBDE9116: ??? + n1: 831120 0xBCAA56B: ??? + n1: 831120 0xBC9BD58: ??? + n1: 831120 0x4B41273: SDL_EGL_CreateContext (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n1: 831120 0x4BE4CA8: Wayland_GLES_CreateContext (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n1: 831120 0x4B66BF1: SDL_GL_CreateContext_REAL (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n1: 831120 0x409B87: graphics_init (graphics.c:41) + n1: 831120 0x40C0D4: SDL_AppInit (main.c:22) + n1: 831120 0x4A3C265: SDL_InitMainCallbacks (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n1: 831120 0x4C5357E: SDL_EnterAppMainCallbacks_REAL (in /nix/store/lq0kv9jwgypcilcg9k39mz1h4gppr98v-sdl3-3.2.12-lib/lib/libSDL3.so.0.2.12) + n0: 831120 0x4F6547D: (below main) (in /nix/store/cg9s562sa33k78m63njfn1rw47dp9z0i-glibc-2.40-66/lib/libc.so.6) + n1: 346018 0x4E45E95: g_malloc0 (in /nix/store/bkpj51fz88rbyjd60i6lrp0xdax1b24g-glib-2.84.1/lib/libglib-2.0.so.0.8400.1) + n0: 346018 in 99 places, all below massif's threshold (1.00%) +#----------- +snapshot=92 +#----------- +time=73555003015 +mem_heap_B=27424647 +mem_heap_extra_B=2146713 +mem_stacks_B=0 +heap_tree=empty +#----------- +snapshot=93 +#----------- +time=74158196280 +mem_heap_B=27425367 +mem_heap_extra_B=2146721 +mem_stacks_B=0 +heap_tree=empty +#----------- +snapshot=94 +#----------- +time=74760635534 +mem_heap_B=27425031 +mem_heap_extra_B=2146697 +mem_stacks_B=0 +heap_tree=empty +#----------- +snapshot=95 +#----------- +time=75363075623 +mem_heap_B=27670847 +mem_heap_extra_B=2146713 +mem_stacks_B=0 +heap_tree=empty +#----------- +snapshot=96 +#----------- +time=75971808029 +mem_heap_B=27497511 +mem_heap_extra_B=2155969 +mem_stacks_B=0 +heap_tree=empty +#----------- +snapshot=97 +#----------- +time=76574941164 +mem_heap_B=27497655 +mem_heap_extra_B=2156049 +mem_stacks_B=0 +heap_tree=empty diff --git a/game/res/shaders/uielement.frag b/game/res/shaders/uielement.frag index e713d5d..d63a2d3 100644 --- a/game/res/shaders/uielement.frag +++ b/game/res/shaders/uielement.frag @@ -9,5 +9,5 @@ varying vec2 f_uv; void main () { - gl_FragColor = vec4 (color.xyz, 1.0); + gl_FragColor = color; } diff --git a/game/res/shaders/uitext.vert b/game/res/shaders/uitext.vert index e6d8332..d3afe73 100644 --- a/game/res/shaders/uitext.vert +++ b/game/res/shaders/uitext.vert @@ -11,7 +11,7 @@ varying vec2 f_uv; void main () { float tex_w = 128.0; - float tex_h = 128.0; + float tex_h = 256.0; float char_w = 8.0; float char_h = 16.0; diff --git a/game/res/textures/font.png b/game/res/textures/font.png index a346417..44e1eeb 100644 Binary files a/game/res/textures/font.png and b/game/res/textures/font.png differ diff --git a/game/res/textures/font.xcf b/game/res/textures/font.xcf index 4ab5815..cbe42ab 100644 Binary files a/game/res/textures/font.xcf and b/game/res/textures/font.xcf differ diff --git a/game/src/chunk/chunkman.c b/game/src/chunk/chunkman.c index d5dbe77..560cde9 100644 --- a/game/src/chunk/chunkman.c +++ b/game/src/chunk/chunkman.c @@ -117,12 +117,6 @@ chunkman_tick (vec3 position) { for (int x = cx - render_distance - 1; x <= cx + render_distance + 1; ++x) { - /* Check in a circle instead of a square. */ - if ((x - cx) * (x - cx) + (z - cz) * (z - cz) > (render_distance+1)*(render_distance+1)) - { - continue; - } - uint64_t now = SDL_GetPerformanceCounter (); elapsed_us = (double) (now - start) * 1000000.0 / (double) freq; @@ -142,11 +136,6 @@ chunkman_tick (vec3 position) { for (int x = cx - render_distance; x <= cx + render_distance; ++x) { - if ((x - cx) * (x - cx) + (z - cz) * (z - cz) > render_distance*render_distance) - { - continue; - } - uint64_t now = SDL_GetPerformanceCounter (); elapsed_us = (double) (now - start) * 1000000.0 / (double) freq; @@ -192,6 +181,7 @@ chunkman_render (vec3 position, vec4 planes[6]) { for (int x = cx - render_distance; x <= cx + render_distance; ++x) { + /* Render in a circle instead of a square. */ if ((x - cx) * (x - cx) + (z - cz) * (z - cz) > render_distance*render_distance) { continue; @@ -309,6 +299,11 @@ chunkman_generate_ChunkMesh_at (int x, int z) { Chunk *nr, *nd, *nc; chunkman_get_Chunk_neighbors_at (x, z, &nr, &nd, &nc); + + g_assert (nr != NULL); + g_assert (nd != NULL); + g_assert (nc != NULL); + chunkman_set_ChunkMesh_at (x, z, ChunkMesh_build (chunkman_get_Chunk_at (x, z), nr, nd, nc)); } diff --git a/game/src/chunk/chunkmesh.c b/game/src/chunk/chunkmesh.c index 0f5903e..74a1f6c 100644 --- a/game/src/chunk/chunkmesh.c +++ b/game/src/chunk/chunkmesh.c @@ -1,9 +1,5 @@ #include "chunkmesh.h" -/* TODO: Store the position in an ivec2, and the height as a seperate - vertex attribute and as a float. Should be a bit faster. Since the - materials are ints, we could use a ivec4 there as well. */ - ChunkMesh * ChunkMesh_build (Chunk *chunk, Chunk *nr, Chunk *nd, Chunk *nc) /* nd --- down neighbor; nr --- right neighbor; nc --- corner neighbor */ @@ -129,5 +125,5 @@ ChunkMesh_render (ChunkMesh *mesh, bool wireframe) glEnableVertexAttribArray (2); glVertexAttribPointer (2, 4, GL_INT, GL_FALSE, sizeof (ivec4), 0); - glDrawElements (wireframe ? GL_POINTS : GL_TRIANGLES, CHUNK_SIZE * 6, GL_UNSIGNED_INT, 0); + glDrawElements (wireframe ? GL_LINES : GL_TRIANGLES, CHUNK_SIZE * 6, GL_UNSIGNED_INT, 0); } diff --git a/game/src/graphics.h b/game/src/graphics.h index e5805f9..28e0606 100644 --- a/game/src/graphics.h +++ b/game/src/graphics.h @@ -13,12 +13,12 @@ #define FRUSTUM_CULL 1 -#define CHUNK_FRAME_BUDGET_US 5000 -#define ENTITY_FRAME_BUDGET_US 5000 +#define CHUNK_FRAME_BUDGET_US 500 +#define ENTITY_FRAME_BUDGET_US 500 #define RENDER_FRAME_BUDGET_US 16666 /* 60 FPS */ #define RENDER_AVG_FREQ_S 10 -#define RENDER_DISTANCE_MIN 1 +#define RENDER_DISTANCE_MIN 2 #define RENDER_DISTANCE_MAX 12 void graphics_init (); diff --git a/game/src/ui/uielement.c b/game/src/ui/uielement.c index 97b24b2..8c71ea8 100644 --- a/game/src/ui/uielement.c +++ b/game/src/ui/uielement.c @@ -1,8 +1,6 @@ #include "uielement.h" -/* TODO: Alpha blending. */ /* TODO: Texture support in the uielement shader. */ -/* TODO: UTF-8 support */ static SimpleMesh quad; static unsigned int last_program; @@ -56,16 +54,16 @@ UIElement_set_on_tick (UIElement *element, void *userdata) { element->on_tick = on_tick; - element->userdata = userdata; + element->tick_data = userdata; } void UIElement_set_on_left_click (UIElement *element, - void (*on_left_click) (struct UIElement *self, void *userdata), + void (*on_left_click) (struct UIElement *, void *), void *userdata) { element->on_left_click = on_left_click; - element->userdata = userdata; + element->left_click_data = userdata; } void @@ -120,14 +118,19 @@ UIElement_label_render_text (UIElement *element, mat3 parent_model) { last_program = program_use (RESPRG ("uitext")); } - - for (guint i = 0; i < element->label.text->len; ++i) + + const char *p = element->label.text->str; + while (*p) { + gunichar ch = g_utf8_get_char (p); + program_set_mat3 (RESPRG ("uitext"), "model", model); - program_set_float (RESPRG ("uitext"), "character", element->label.text->str[i]); + program_set_float (RESPRG ("uitext"), "character", ch); program_set_vec4 (RESPRG ("uitext"), "color", element->label.text_color); SimpleMesh_render (&quad, false); /* UI always without wireframe. */ glm_translate2d (model, (vec2) { 1.5f, 0.0f }); + + p = g_utf8_next_char (p); } } @@ -189,7 +192,7 @@ UIElement_render_with_model (UIElement *element, mat3 parent_model) program_set_vec4 (RESPRG ("uielement"), "color", element->hovered ? element->hover_background_color : element->background_color); - + glActiveTexture (GL_TEXTURE0); texture_use (element->texture); @@ -253,7 +256,7 @@ UIElement_tick (UIElement *element) { if (element->on_tick) { - element->on_tick (element, element->userdata); + element->on_tick (element, element->tick_data); } for (guint i = 0; i < element->children->len; ++i) diff --git a/game/src/ui/uielement.h b/game/src/ui/uielement.h index 0a3fd0d..479f229 100644 --- a/game/src/ui/uielement.h +++ b/game/src/ui/uielement.h @@ -1,5 +1,7 @@ #pragma once +/* TODO: Seperate userdata for each callback. */ + #include #include @@ -27,6 +29,7 @@ typedef struct UILabel { vec4 text_color; GString *text; + enum { ALIGN_LEFT, ALIGN_CENTER, ALIGN_RIGHT } alignment; } UILabel; typedef struct UIElement @@ -42,13 +45,13 @@ typedef struct UIElement bool visible; bool hovered; - void *userdata; - bool ignores_events; + void (*on_left_click) (struct UIElement *, void *); + void *left_click_data; + void (*on_right_click) (struct UIElement *, void *); + void *right_click_data; + void (*on_tick) (struct UIElement *, void *); + void *tick_data; - void (*on_left_click) (struct UIElement *self, void *userdata); - void (*on_right_click) (struct UIElement *self, void *userdata); - void (*on_tick) (struct UIElement *self, void *userdata); - union { UIContainer container; UILabel label; @@ -63,8 +66,9 @@ UIElement *UIElement_label_new (const char *text); void UIElement_add_child (UIElement *parent, UIElement *child); -void UIElement_set_on_left_click (UIElement *element, void (*on_left_click) (struct UIElement *self, void *userdata), void *userdata); -void UIElement_set_on_tick (UIElement *element, void (*on_tick) (struct UIElement *self, void *userdata), void *userdata); +void UIElement_set_on_left_click (UIElement *element, void (*on_left_click) (struct UIElement *, void *), void *userdata); +void UIElement_set_on_tick (UIElement *element, void (*on_tick) (struct UIElement *, void *), void *userdata); + void UIElement_set_background_color (UIElement *element, float r, float g, float b, float a); void UIElement_set_hover_background_color (UIElement *element, float r, float g, float b, float a); void UIElement_set_position (UIElement *element, float x, float y); diff --git a/game/src/ui/uiman.c b/game/src/ui/uiman.c index c4590e3..ea2b5a6 100644 --- a/game/src/ui/uiman.c +++ b/game/src/ui/uiman.c @@ -17,7 +17,7 @@ uiman_init () UIElement *container = UIElement_container_new (false); UIElement_set_position (container, -0.5, 0.75); UIElement_set_scale (container, 0.4, 0.15); - UIElement_set_background_color (container, 1.0, 0.0, 0.0, 1.0); + UIElement_set_background_color (container, 0.0, 0.0, 0.0, 0.8); UIElement *frame_time = UIElement_label_new ("Frame time: "); UIElement_set_on_tick (frame_time, uicb_label_show_float, &delta_time); @@ -47,13 +47,13 @@ uiman_init () UIElement_add_child (container3, pos_z); UIElement *wireframe_button = UIElement_label_new ("Toggle wireframe"); - UIElement_set_background_color (wireframe_button, 0.2, 0.2, 0.2, 1.0); - UIElement_set_hover_background_color (wireframe_button, 0.3, 0.3, 0.3, 1.0); + UIElement_set_background_color (wireframe_button, 1.0, 1.0, 1.0, 0.2); + UIElement_set_hover_background_color (wireframe_button, 1.0, 1.0, 1.0, 0.3); UIElement_set_on_left_click (wireframe_button, uicb_flag_switch, "wireframe_enabled"); UIElement *flight_button = UIElement_label_new ("Toggle flight"); - UIElement_set_background_color (flight_button, 0.2, 0.2, 0.2, 1.0); - UIElement_set_hover_background_color (flight_button, 0.3, 0.3, 0.3, 1.0); + UIElement_set_background_color (flight_button, 1.0, 1.0, 1.0, 0.2); + UIElement_set_hover_background_color (flight_button, 1.0, 1.0, 1.0, 0.3); UIElement_set_on_left_click (flight_button, uicb_flag_switch, "flight_enabled"); UIElement *container4 = UIElement_container_new (true); @@ -161,13 +161,13 @@ uiman_cb_button_down (SDL_Event *event, void *data) { if (event->button.button == SDL_BUTTON_LEFT && element->on_left_click) { - element->on_left_click (element, element->userdata); + element->on_left_click (element, element->left_click_data); return true; } if (event->button.button == SDL_BUTTON_RIGHT && element->on_right_click) { - element->on_right_click (element, element->userdata); + element->on_right_click (element, element->right_click_data); return true; } } diff --git a/game/src/util.h b/game/src/util.h index 4d9e71c..25f2972 100644 --- a/game/src/util.h +++ b/game/src/util.h @@ -3,7 +3,7 @@ #include #include -#define GAME_NAME "Wschod" +#define GAME_NAME "Wschód" #define GAME_VERSION "0.2" #define COLOR_BLUE "\x1B[34m"