[Bug 504578] New: XServer restarts while switching any option in KWin effects (or turing off kwin effects)
http://bugzilla.novell.com/show_bug.cgi?id=504578 Summary: XServer restarts while switching any option in KWin effects (or turing off kwin effects) Classification: openSUSE Product: openSUSE 11.1 Version: Final Platform: x86-64 OS/Version: openSUSE 11.1 Status: NEW Severity: Major Priority: P5 - None Component: X.Org AssignedTo: bnc-team-xorg-bugs@forge.provo.novell.com ReportedBy: gothica@inbox.ru QAContact: xorg-maintainer-bugs@forge.provo.novell.com Found By: --- Created an attachment (id=292623) --> (http://bugzilla.novell.com/attachment.cgi?id=292623) kdm.log User-Agent: Opera/9.64 (X11; Linux x86_64; U; en) Presto/2.1.1 My laptop: Lenovo x61s, Intel X3100, 4gb ram. System: KDE 4.2 from factory + kwin effects Intel drivers: from X11:Xorg repo. Main problem is: XServer restarts while switching any option in KWin effects (or turing off kwin effects). Reproducible: Always Steps to Reproduce: 1. Go to Gonfigure Desktop - Desktop 2. Change any option in effects.. 3. The click "Apply" Actual Results: XServer restarts.. Expected Results: Xserver works i looked at file /var/log/kdm.log and found there: Xorg: main/texobj.c:305: _mesa_reference_texobj: Assertion `valid_texture_object(oldTex)' failed. may be it helps to resolve this bug? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=504578
User gothica@inbox.ru added comment
http://bugzilla.novell.com/show_bug.cgi?id=504578#c1
--- Comment #1 from Pavel pavel
http://bugzilla.novell.com/show_bug.cgi?id=504578
Stefan Dirsch
http://bugzilla.novell.com/show_bug.cgi?id=504578
Stefan Dirsch
http://bugzilla.novell.com/show_bug.cgi?id=504578
Stefan Dirsch
http://bugzilla.novell.com/show_bug.cgi?id=504578
User sndirsch@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=504578#c2
--- Comment #2 from Stefan Dirsch
http://bugzilla.novell.com/show_bug.cgi?id=504578
Stefan Dirsch
http://bugzilla.novell.com/show_bug.cgi?id=504578
Stefan Dirsch
http://bugzilla.novell.com/show_bug.cgi?id=504578
User gothica@inbox.ru added comment
http://bugzilla.novell.com/show_bug.cgi?id=504578#c3
--- Comment #3 from Pavel pavel
http://bugzilla.novell.com/show_bug.cgi?id=504578
User gothica@inbox.ru added comment
http://bugzilla.novell.com/show_bug.cgi?id=504578#c4
--- Comment #4 from Pavel pavel
http://bugzilla.novell.com/show_bug.cgi?id=504578
User gothica@inbox.ru added comment
http://bugzilla.novell.com/show_bug.cgi?id=504578#c5
--- Comment #5 from Pavel pavel
No idea, why suddenly valid_texture_object() is called with an invalid texture object. Both functions - _mesa_reference_texobj() and valid_texture_object() didn't change since 2007-08-13. Probably the pointer to it in _mesa_reference_texobj is already broken.
Stefan, could you give the previous version of Mesa package? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=504578
User sndirsch@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=504578#c6
Stefan Dirsch
http://bugzilla.novell.com/show_bug.cgi?id=504578
User gothica@inbox.ru added comment
http://bugzilla.novell.com/show_bug.cgi?id=504578#c7
--- Comment #7 from Pavel pavel
What do you mean with previouse version of Mesa? Is this a regression? With which Mesa version? Which one still did work?
I suppose any earlier version before 05.17.2009 -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=504578
User sndirsch@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=504578#c8
--- Comment #8 from Stefan Dirsch
http://bugzilla.novell.com/show_bug.cgi?id=504578
User gothica@inbox.ru added comment
http://bugzilla.novell.com/show_bug.cgi?id=504578#c9
Pavel pavel
http://bugzilla.novell.com/show_bug.cgi?id=504578
User sndirsch@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=504578#c10
Stefan Dirsch
http://bugzilla.novell.com/show_bug.cgi?id=504578
User gothica@inbox.ru added comment
http://bugzilla.novell.com/show_bug.cgi?id=504578#c11
--- Comment #11 from Pavel pavel
It's r69 in buildservice (X11:XOrg/Mesa). You can build it yourself with osc.
Stefan, i downgraded all packages in Factory, and now this bug isn't for me now Everything work -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=504578
User gothica@inbox.ru added comment
http://bugzilla.novell.com/show_bug.cgi?id=504578#c12
Pavel pavel
It's r69 in buildservice (X11:XOrg/Mesa). You can build it yourself with osc.
Stefan, i downgraded all packages in Factory, and now this bug isn't for me now Everything work -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=504578
User sndirsch@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=504578#c13
Stefan Dirsch
http://bugzilla.novell.com/show_bug.cgi?id=504578
User gothica@inbox.ru added comment
http://bugzilla.novell.com/show_bug.cgi?id=504578#c14
--- Comment #14 from Pavel pavel
Ok. Apparently the issue has been fixed meanwhile.
finally, i can say that after downgrading all packages in Factory "suspend to disk" doesn't work... so I came back to X11:Xorg openSUSE 11.1 repo without Mesa package... and know it's ok.. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=504578
User sndirsch@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=504578#c15
Stefan Dirsch
http://bugzilla.novell.com/show_bug.cgi?id=504578
Stefan Dirsch
http://bugzilla.novell.com/show_bug.cgi?id=504578
User gothica@inbox.ru added comment
http://bugzilla.novell.com/show_bug.cgi?id=504578#c16
Pavel pavel
Could you add the output of 'rpm --changelog -q Mesa | head -n 10', so I can see which version this is in Factory, which still works? Thanks.
linux-trdb:/home/pavel # rpm --changelog -q Mesa | head -n 10 * Wed Apr 22 2009 sndirsch@suse.de - no longer package static libGL/libGLU; can't work any longer due to static X libraries having been removed * Sat Apr 18 2009 sndirsch@suse.de - Mesa 7.4.1 * Fixed a two-sided lighting bug in fixed-function-to-GPU code generation * Fixed some Darwin issues (Jeremy Huddleston) * Indexing the GLSL gl_EyePlane[] or gl_ObjectPlane[] arrays -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=504578
User sndirsch@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=504578#c17
Stefan Dirsch
http://bugzilla.novell.com/show_bug.cgi?id=504578
User sndirsch@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=504578#c18
Stefan Dirsch
From 63cde0ea0e2bc85005136c353c363777488804d2 Mon Sep 17 00:00:00 2001 From: Brian Paul
Date: Mon, 11 May 2009 09:47:17 -0600 Subject: [PATCH] mesa: Fixed a texture memory leak
The current texture for any particular texture unit is given an additional reference in update_texture_state(); but if the context is closed before that texture can be released (which is quite frequent in normal use, unless a program unbinds and deletes the texture and renders without it to force a call to update_texture_state(), the memory is lost. This affects general Mesa; but the i965 is particularly affected because it allocates a considerable amount of additional memory for each allocated texture. (cherry picked from master, commit c230767d6956b63a2b101acb48f98823bb5dd31a) --- src/mesa/main/texstate.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/src/mesa/main/texstate.c b/src/mesa/main/texstate.c index d172c5b..348a2d9 100644 --- a/src/mesa/main/texstate.c +++ b/src/mesa/main/texstate.c @@ -802,6 +802,9 @@ _mesa_free_texture_data(GLcontext *ctx) /* unreference current textures */ for (u = 0; u < MAX_TEXTURE_IMAGE_UNITS; u++) { struct gl_texture_unit *unit = ctx->Texture.Unit + u; + /* The _Current texture could account for another reference */ + _mesa_reference_texobj(&ctx->Texture.Unit[u]._Current, NULL); + for (tgt = 0; tgt < NUM_TEXTURE_TARGETS; tgt++) { _mesa_reference_texobj(&unit->CurrentTex[tgt], NULL); } -- 1.6.0.2 -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=504578
User gothica@inbox.ru added comment
http://bugzilla.novell.com/show_bug.cgi?id=504578#c19
Pavel pavel
http://bugzilla.novell.com/show_bug.cgi?id=504578
Stefan Dirsch
http://bugzilla.novell.com/show_bug.cgi?id=504578
User sndirsch@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=504578#c20
--- Comment #20 from Stefan Dirsch
http://bugzilla.novell.com/show_bug.cgi?id=504578
User sndirsch@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=504578#c21
Stefan Dirsch
http://bugzilla.novell.com/show_bug.cgi?id=504578
User sndirsch@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=504578#c22
--- Comment #22 from Stefan Dirsch
http://bugzilla.novell.com/show_bug.cgi?id=504578
User gothica@inbox.ru added comment
http://bugzilla.novell.com/show_bug.cgi?id=504578#c23
--- Comment #23 from Pavel pavel
Usual place: In OBS X11:XOrg.
what's strange is that you made the last comment on 19th may, and the last build of Mesa in that repository is 16th may -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=504578
User pascal.bleser@opensuse.org added comment
http://bugzilla.novell.com/show_bug.cgi?id=504578#c24
Pascal Bleser
http://bugzilla.novell.com/show_bug.cgi?id=504578
User sndirsch@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=504578#c25
--- Comment #25 from Stefan Dirsch
http://bugzilla.novell.com/show_bug.cgi?id=504578
User gothica@inbox.ru added comment
http://bugzilla.novell.com/show_bug.cgi?id=504578#c26
Pavel pavel
http://bugzilla.novell.com/show_bug.cgi?id=504578
User sndirsch@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=504578#c27
Stefan Dirsch
http://bugzilla.novell.com/show_bug.cgi?id=504578
User gothica@inbox.ru added comment
http://bugzilla.novell.com/show_bug.cgi?id=504578#c28
--- Comment #28 from Pavel pavel
I've applied it to X11:XOrg/Mesa. Mesa packages has been rebuilt, but apparently not been copied to the download location yet, probably due to the whole project not been rebuilt yet (to save consistency). Just a wild guess. Maybe try again later/tomorrow/friday. Of course you could do a local osc build as well ...
Stefan, how can I get the mesa packages with your patch now? You saied i can do a local osc build as well.. but i don't know how can i do it? Or just can you send me MESA rpms to my e-mail? ps. i don't want to wait for tommorow\friday -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=504578
User sndirsch@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=504578#c29
--- Comment #29 from Stefan Dirsch
http://bugzilla.novell.com/show_bug.cgi?id=504578
User gothica@inbox.ru added comment
http://bugzilla.novell.com/show_bug.cgi?id=504578#c30
--- Comment #30 from Pavel pavel
'osc build' (sorry, that I can't give you an introduction to our buildservice, my time does not permit this).
Heh, i just want you to send it me: gothica[at]inbox.ru -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=504578
User sndirsch@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=504578#c31
--- Comment #31 from Stefan Dirsch
http://bugzilla.novell.com/show_bug.cgi?id=504578
User gothica@inbox.ru added comment
http://bugzilla.novell.com/show_bug.cgi?id=504578#c32
--- Comment #32 from Pavel pavel
So you're not interested in learning how to use our buildservice, right? ;-) Which architecture are you using? i586 or x86_64? Which openSUSE release? Factory or 11.1?
I have no time now)) preparing for exams) x86_64, openSUSE 11.1 -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=504578
User sndirsch@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=504578#c33
--- Comment #33 from Stefan Dirsch
http://bugzilla.novell.com/show_bug.cgi?id=504578
User sndirsch@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=504578#c34
--- Comment #34 from Stefan Dirsch
http://bugzilla.novell.com/show_bug.cgi?id=504578
User gothica@inbox.ru added comment
http://bugzilla.novell.com/show_bug.cgi?id=504578#c35
--- Comment #35 from Pavel pavel
It's available now. :-)
i'll check it -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=504578
User gothica@inbox.ru added comment
http://bugzilla.novell.com/show_bug.cgi?id=504578#c36
Pavel pavel
(In reply to comment #34)
It's available now. :-)
i'll check it
now it's ok. Thank you Stefan, You are very kind) -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=504578
User sndirsch@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=504578#c37
--- Comment #37 from Stefan Dirsch
participants (1)
-
bugzilla_noreply@novell.com