Is there a memory leak? - Printable Version +- PINE64 (https://forum.pine64.org) +-- Forum: PinePhone (https://forum.pine64.org/forumdisplay.php?fid=120) +--- Forum: PinePhone Software (https://forum.pine64.org/forumdisplay.php?fid=121) +---- Forum: Mobian on PinePhone (https://forum.pine64.org/forumdisplay.php?fid=139) +---- Thread: Is there a memory leak? (/showthread.php?tid=17978) |
Is there a memory leak? - anonymous - 02-27-2023 Hello I started having frequent crashes more than a month ago when the Pinephone was on for more than half a day. Recently, I tried to rerun Gnome Clocks, Megapixels, Gnome Control Center, etc after such crashes but in command line and I always obtained a first error message complaining about a failure to allocate memory and a segmentation fault. Is there a known memory leak in Phosh or Mobian? Am I missing something obvious? RE: Is there a memory leak? - dante404 - 02-28-2023 I also noticed that (especially with Megapixels, which works again after a reboot) but didn't thought about a memory leak yet - Sounds absolutely possible for me! RE: Is there a memory leak? - anonymous - 02-28-2023 When I run gnome-control-center in command line (same with gnome-clocks), I obtain: DRM_IOCTL_MODE_CREATE_DUMB failed: Cannot allocate memory Segmentation fault When I run megapixels in command line, I obtain: MPCamera: VIDIOC_REQBUFS error 12, Cannot allocate memory MPCamera: VIDIOC_DQBUFS error 22, Invalid argument It's a known issue: https://gitlab.com/postmarketOS/pmaports/-/issues/1909 Mesa 22.3.5-0.2 fixes this issue. We have to wait. RE: Is there a memory leak? - jsch - 02-28-2023 If the logs tell "DRM_IOCTL_MODE_CREATE_DUMB", then one can either wait for 22.3.6 (currently in sid aka. unstable) or downgrade to 22.3.2-1. The latter can be achieved by browsing snapshot.debian.org, search for the mesa related files ... libgbm1 libegl-mesa0 mesa-va-drivers libglapi-mesa libglx-mesa0 libgl1-mesa-dri mesa-vdpau-drivers RE: Is there a memory leak? - anonymous - 03-15-2023 I'm still waiting for the fixed version of Mesa. Why does it take so long? RE: Is there a memory leak? - diederik - 03-15-2023 (03-15-2023, 05:30 AM)anonymous Wrote: I'm still waiting for the fixed version of Mesa. Why does it take so long? mesa uses/(build?)depends on LLVM version 15 and that got stuck in their transition, holding up mesa's transition. See https://tracker.debian.org/pkg/mesa for details. RE: Is there a memory leak? - spaetz - 03-19-2023 (03-15-2023, 10:27 AM)diederik Wrote:(03-15-2023, 05:30 AM)anonymous Wrote: I'm still waiting for the fixed version of Mesa. Why does it take so long? Yeah, lets hope it still makes the cut to Bookworm. RE: Is there a memory leak? - diederik - 03-19-2023 (03-19-2023, 04:44 AM)spaetz Wrote:(03-15-2023, 10:27 AM)diederik Wrote: mesa uses/(build?)depends on LLVM version 15 and that got stuck in their transition, holding up mesa's transition. I'm quite certain it will :-) |