-
-
Notifications
You must be signed in to change notification settings - Fork 111
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pixel plots blow up upon reaching the far side #2150
Comments
so i ran a few |
ahh, switching the ==3936175== 69,206,016 bytes in 33 blocks are definitely lost in loss record 283 of 283
==3936175== at 0x48397B5: malloc (vg_replace_malloc.c:380)
==3936175== by 0x4A286E2: fbuf_initgrow (fbuf.h:116)
==3936175== by 0x4A286E2: fbuf_init (fbuf.h:141)
==3936175== by 0x4A286E2: sprixel_alloc (sprite.c:127)
==3936175== by 0x4A30898: ncvisual_render_pixels (visual.c:1021)
==3936175== by 0x4A30F94: ncvisual_render (visual.c:1096)
==3936175== by 0x4A150B9: redraw_pixelplot_uint64_t (plot.c:566)
==3936175== by 0x4A16175: redraw_plot_uint64_t (plot.c:566)
==3936175== by 0x11781E: demo_render.part.0 (hud.c:592)
==3936175== by 0x118667: demo_render (hud.c:537)
==3936175== by 0x118667: demo_nanosleep_abstime_ns (hud.c:547)
==3936175== by 0x119129: demo_nanosleep (hud.c:563)
==3936175== by 0x11A381: intro (intro.c:244)
==3936175== by 0x1103A3: ext_demos (demo.c:224)
==3936175== by 0x1103A3: main (demo.c:560) whoops! |
we definitely kill that in |
odd. |
so perhaps something is changing |
got it |
whoops! running an experimental
notcurses-demo
withNCBLIT_PIXEL
on a 40-cell-wide plot, we blew up in the middle offission
. interestingly, it wasn't aSIGSEGV
or anything of that nature, but rather aSIGKILL
, suggesting the OOM handler chose to throw us out of the plane. this might then have been a memory leak, and might have been resolved by very late work in the 2.3.x cycle on plots (this happened a few days before release--i forgot to file a bug then). Determine whether this is still a problem, and fix it if so.The text was updated successfully, but these errors were encountered: