Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • mesa mesa
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 3.2k
    • Issues 3.2k
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1k
    • Merge requests 1k
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • MesaMesa
  • mesamesa
  • Issues
  • #121
Closed
Open
Issue created Sep 18, 2019 by Bugzilla Migration User@bugzilla-migration

Shared Memeory leakage in XCreateDrawable

Submitted by and..@..ook.de

Assigned to mes..@..op.org

Link to original bug (#111681)

Description

Created attachment 145344 Solving the shared memory leakge problem

In rc/glx/drisw_glx.c XCreateDrawable(struct drisw_drawable * pdp, int shmid, Display * dpy)

it will be checked at entering function if there is an image already defined and if so it will get destroyed. Unfortunately this marks the Shared Memory only as "dest" ( "Mark the segment to be destroyed. The segment will actually be destroyed only after the last process detaches it.") But after this call the XShmDetachCall is missing and so shared memory will sum up until the program is finished

I tested attached patch it works.

Patch 145344, "Solving the shared memory leakge problem":
sharedmem.patch

Version: 19.1

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking