|
Bugzilla – Full Text Bug Listing |
| Summary: | Qt widgets cause gnome(wayland) logout and gnome(xorg) memory leak | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE Distribution | Reporter: | Han Pengfei <pengphei> |
| Component: | GNOME | Assignee: | E-mail List <gnome-bugs> |
| Status: | NEW --- | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Normal | ||
| Priority: | P5 - None | CC: | fvogt, pengphei |
| Version: | Leap 15.5 | ||
| Target Milestone: | Leap 15.5 | ||
| Hardware: | x86-64 | ||
| OS: | openSUSE Leap 15.5 | ||
| URL: | https://bugreports.qt.io/browse/QTBUG-107755 | ||
| Whiteboard: | |||
| Found By: | Community User | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Attachments: | qtcreator memory usage by System Monitor | ||
With some search, I found some referring issues, https://bugreports.qt.io/browse/QTBUG-107755 And I have some tests: 1. for gnome based on walyland, when this happen, gnome(wayland) will log out. 2. for gnome based on xorg, when this happen, it will cause memory leak, and eat all of the memory. maybe the patch https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2592/diffs?commit_id=ed516dde899f87b19f3dd0ed4613b692f778d437 will give some help. If it's the linked issue it's a bug in GNOME, reassigning. |
Created attachment 868357 [details] qtcreator memory usage by System Monitor 1. Start qtcreator with project based on cmake. 2. after building, we try to got compiling issues. 3. then click the issues tab at bottom of qtcreator. 4. then we got memory leak, which will try to eat all the memory of Leap 15.5. 5. the strace log when we reach memory leak as below: poll([{fd=5, events=POLLIN}, {fd=6, events=POLLIN}, {fd=9, events=POLLIN}, {fd=13, events=POLLIN}, {fd=20, events=POLLIN}, {fd=23, events=POLLIN}, {fd=26, events=POLLIN}, {fd=29, events=POLLIN}, {fd=33, events=POLLIN}, {fd=68, events=POLLIN}], 10, 0) = 1 ([{fd=5, revents=POLLIN}]) read(5, "\16\0\0\0\0\0\0\0", 16) = 8 brk(0x5565e3263000) = 0x5565e3263000 brk(0x5565e3563000) = 0x5565e3563000 brk(0x5565e3b63000) = 0x5565e3b63000 mmap(NULL, 16781312, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5764ffb000 mremap(0x7f5764ffb000, 16781312, 33558528, MREMAP_MAYMOVE) = 0x7f5725fff000 mremap(0x7f5725fff000, 33558528, 67112960, MREMAP_MAYMOVE) = 0x7f5677fff000 mremap(0x7f5677fff000, 67112960, 134221824, MREMAP_MAYMOVE) = 0x7f566fffe000 mremap(0x7f566fffe000, 134221824, 268439552, MREMAP_MAYMOVE) = 0x7f565fffd000 mremap(0x7f565fffd000, 268439552, 536875008, MREMAP_MAYMOVE) = 0x7f563fffc000 mremap(0x7f563fffc000, 536875008, 1073741824, MREMAP_MAYMOVE) = 0x7f55ffffc000 mremap(0x7f55ffffc000, 1073741824, 2147487744, MREMAP_MAYMOVE) = 0x7f557fffb000 mremap(0x7f557fffb000, 2147487744, 4294967296, MREMAP_MAYMOVE) = 0x7f547fffb000 mremap(0x7f547fffb000, 4294967296, 8589934592, MREMAP_MAYMOVE) = 0x7f527fffb000 mremap(0x7f527fffb000, 8589934592, 17179873280, MREMAP_MAYMOVE) = 0x7f4e7fffa000 mremap(0x7f4e7fffa000, 17179873280, 34359742464, MREMAP_MAYMOVE) = 0x7f467fff9000