Is there a memory leak?
#1
Exclamation 
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?
  Reply
#2
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!
Using encrypted Mobian (bookworm) on pmOS CE Convergence PinePhone (3GB/32GB) as Daily Driver, and Beta Edition Convergence PinePhone (3GB/32GB) with encrypted Mobian (bookworm) as Backup device.
  Reply
#3
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.
  Reply
#4
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
  Reply
#5
I'm still waiting for the fixed version of Mesa. Why does it take so long?
  Reply
#6
(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.
  Reply
#7
(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?

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.

Yeah, lets hope it still makes the cut to Bookworm.
  Reply
#8
(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.
See https://tracker.debian.org/pkg/mesa for details.

Yeah, lets hope it still makes the cut to Bookworm.

I'm quite certain it will :-)
  Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)